:root {
  --paper: #fbf6ed;
  --cream: #f2e7d6;
  --clay: #b85f3f;
  --leaf: #355c45;
  --leaf-soft: #dbe5d7;
  --ink: #241f1b;
  --muted: #76685e;
  --white: #fffdfa;
  --line: rgba(36, 31, 27, 0.14);
  --shadow: 0 18px 55px rgba(43, 37, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 12%, rgba(53, 92, 69, 0.1), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(184, 95, 63, 0.1), transparent 26%),
    linear-gradient(180deg, #fffaf3, var(--paper));
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(20px, 5vw, 64px);
  background: rgba(251, 246, 237, 0.91);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  color: var(--leaf);
  font-weight: 700;
  letter-spacing: 0;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 0.95;
}

.brand-slogan {
  color: var(--clay);
  font-size: 11px;
  line-height: 1.1;
  text-transform: uppercase;
}

.site-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
}

.site-menu a {
  border-bottom: 1px solid transparent;
}

.site-menu a:hover {
  color: var(--leaf);
  border-color: currentColor;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 4px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--leaf);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1fr);
  min-height: calc(100vh - 74px);
  background:
    linear-gradient(90deg, rgba(242, 231, 214, 0.96), rgba(251, 246, 237, 0.86)),
    url("assets/shampoo-en-barra-natural.jpeg") right center / cover no-repeat;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 720px;
  padding: clamp(54px, 9vw, 112px) clamp(22px, 6vw, 76px);
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 86px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4.8vw, 58px);
}

h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
}

.hero-copy > p:not(.eyebrow),
.intro p,
.story p,
.ingredient-copy p {
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--leaf);
  border-radius: 4px;
  font-weight: 700;
}

.button.primary {
  background: var(--leaf);
  color: var(--white);
}

.button.secondary {
  color: var(--leaf);
}

.hero-media {
  min-height: 520px;
  clip-path: ellipse(94% 84% at 62% 50%);
  background:
    radial-gradient(circle at 40% 45%, rgba(255, 255, 255, 0.9), rgba(242, 231, 214, 0.72) 44%, rgba(53, 92, 69, 0.18)),
    var(--cream);
  padding: clamp(28px, 5vw, 70px);
}

.hero-media img {
  object-fit: contain;
  filter: drop-shadow(0 28px 38px rgba(36, 31, 27, 0.2));
}

section {
  padding: clamp(60px, 9vw, 108px) clamp(20px, 5vw, 64px);
}

.band {
  background:
    radial-gradient(circle at 10% 16%, rgba(53, 92, 69, 0.08), transparent 26%),
    radial-gradient(circle at 90% 80%, rgba(184, 95, 63, 0.08), transparent 26%),
    var(--white);
}

.ancestral-band {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(251, 246, 237, 0.93), rgba(255, 253, 250, 0.96)),
    url("assets/shampoo-en-barra-natural.jpeg") center / cover fixed no-repeat;
}

.ancestral-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 10%, rgba(53, 92, 69, 0.16), transparent 28%),
    radial-gradient(circle at 84% 92%, rgba(184, 95, 63, 0.12), transparent 30%);
}

.story {
  display: grid;
  gap: 34px;
}

.story-copy {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.story-highlight {
  max-width: 760px;
  margin: 28px auto;
  padding: 22px clamp(18px, 4vw, 34px);
  background: var(--leaf);
  color: var(--white) !important;
  border-radius: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 3vw, 34px) !important;
  line-height: 1.18;
}

.story-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}

.story-values article {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.story-values span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--clay);
  font-weight: 700;
}

.story-values p {
  color: var(--muted);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.intro-copy {
  max-width: 560px;
}

.benefit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.benefit-list article {
  min-height: 210px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.benefit-list span {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--clay);
  font-weight: 700;
}

.benefit-list h3 {
  font-size: 22px;
}

.benefit-list p,
.section-note {
  color: var(--muted);
}

.section-heading {
  max-width: 1120px;
  margin: 0 auto 34px;
}

.section-heading.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

.text-link {
  color: var(--leaf);
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}

.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1120px;
  margin: -12px auto 28px;
}

.category-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--leaf);
  font-weight: 700;
}

.category-row a:first-child {
  background: var(--leaf);
  color: var(--white);
  border-color: var(--leaf);
}

.ritual-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: 1120px;
  margin: 0 auto;
}

.product-category-heading {
  grid-column: 1 / -1;
  padding: 26px 28px;
  margin-top: 18px;
  background: rgba(255, 253, 250, 0.88);
  border: 1px solid var(--line);
  border-left: 6px solid var(--leaf);
  border-radius: 8px;
  scroll-margin-top: 96px;
}

.product-category-heading h3 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 38px);
}

.categorized-products .skin-heading {
  order: 1;
}

.categorized-products .skin-card {
  order: 2;
}

.categorized-products .hair-heading {
  order: 3;
}

.categorized-products .hair-card {
  order: 4;
}

.categorized-products .beauty-heading {
  order: 5;
}

.categorized-products .beauty-card {
  order: 6;
}

.ritual-card,
.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.ritual-card img {
  aspect-ratio: 4 / 5;
}

.ritual-card div,
.product-card {
  padding: 22px;
}

.ritual-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-weight: 700;
}

.ritual-card p,
.product-card p {
  color: var(--muted);
}

.product-result {
  margin: 14px 0 0;
  padding: 14px 15px;
  background: linear-gradient(135deg, var(--leaf-soft), #fff7ec);
  border: 1px solid rgba(53, 92, 69, 0.22);
  border-left: 5px solid var(--leaf);
  border-radius: 8px;
  color: var(--leaf) !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.product-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.product-card img {
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 0 20px;
  width: 100%;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 44%, #ffffff 0 36%, #f7efe4 68%, #efe0ce 100%);
  border: 1px solid rgba(36, 31, 27, 0.08);
  border-radius: 8px;
  padding: 18px;
  box-shadow: inset 0 0 0 10px rgba(255, 255, 255, 0.32);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.product-card:hover img {
  transform: scale(1.02);
  box-shadow:
    inset 0 0 0 10px rgba(255, 255, 255, 0.32),
    0 16px 32px rgba(36, 31, 27, 0.12);
}

.product-card strong {
  color: var(--leaf);
  font-size: 18px;
}

.product-label {
  display: block;
  margin: 8px 0 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.product-select {
  width: 100%;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.product-action {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
}

.product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--clay);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(184, 95, 63, 0.24);
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.product-button span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 10px;
  text-transform: uppercase;
  line-height: 1;
}

.product-button:hover {
  transform: translateY(-1px);
  background: #9f4d34;
  box-shadow: 0 14px 28px rgba(184, 95, 63, 0.3);
}

.product-button.added {
  background: var(--leaf);
  box-shadow: 0 10px 24px rgba(53, 92, 69, 0.22);
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.result-video,
.before-after article {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.result-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--ink);
  object-fit: cover;
}

.result-video div {
  padding: 22px;
}

.result-video p {
  color: var(--muted);
}

.before-after {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.before-after span {
  display: block;
  padding: 12px 14px;
  background: var(--leaf);
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.before-after img {
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.results-note {
  max-width: 1120px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 14px;
}

.ingredients {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  background:
    linear-gradient(135deg, rgba(251, 246, 237, 0.98), rgba(219, 229, 215, 0.78));
  border-radius: 8px;
}

.ingredient-media {
  overflow: hidden;
  min-height: 560px;
  border-radius: 8px;
}

.ingredient-copy ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.ingredient-copy li {
  padding: 14px 16px;
  background: var(--leaf-soft);
  border-left: 4px solid var(--leaf);
}

.corporate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr) auto;
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(53, 92, 69, 0.96), rgba(36, 31, 27, 0.84)),
    url("assets/crema-facial-hidratante-protectora.jpeg") center / cover no-repeat;
  color: var(--white);
}

.corporate h2 {
  max-width: 760px;
}

.corporate p:not(.section-kicker) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.corporate .section-kicker {
  color: #f1c8a9;
}

.corporate ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.corporate li {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  font-weight: 700;
}

.corporate .button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--leaf);
  white-space: nowrap;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(36, 31, 27, 0.38), rgba(53, 92, 69, 0.95)),
    url("assets/shampoo-anticaspa-nuevo.jpeg") center / cover no-repeat;
  color: var(--white);
}

.contact .section-kicker,
.contact label {
  color: #f1c8a9;
}

.contact form {
  display: grid;
  gap: 12px;
}

.form-row {
  display: flex;
  gap: 10px;
}

input {
  min-width: 0;
  flex: 1;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font: inherit;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.contact .button.primary {
  border-color: var(--white);
  background: var(--white);
  color: var(--leaf);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 920px) {
  .hero,
  .intro,
  .ingredients,
  .corporate,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 420px;
    clip-path: none;
  }

  .ritual-grid,
  .product-grid,
  .benefit-list,
  .story-values {
    grid-template-columns: 1fr;
  }

  .results-layout,
  .before-after {
    grid-template-columns: 1fr;
  }

  .section-heading.split,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
  }

  .site-menu {
    position: absolute;
    top: 73px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-menu.open {
    display: flex;
  }

  .site-menu a {
    padding: 14px;
  }

  .form-row,
  .actions,
  .product-action {
    flex-direction: column;
  }

  .product-action {
    display: flex;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .ingredient-media {
    min-height: 360px;
  }
}
