:root {
  --cream: #f5efdf;
  --paper: #fffdf8;
  --ink: #243b32;
  --muted: #68746a;
  --green: #315344;
  --green-dark: #203b30;
  --sage: #c9d1b9;
  --sage-light: #e5e8dc;
  --terracotta: #b96c4b;
  --sand: #e9dfce;
  --line: rgba(36, 59, 50, .16);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --shadow: 0 22px 65px rgba(39, 56, 43, .13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

button {
  font: inherit;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 105px 0;
}

.legal-section.section {
  padding: 20px 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 99;
  background: var(--paper);
  padding: 10px;
}

.skip-link:focus {
  left: 10px;
}


/* =========================================
   RAÍZ Y PULSO · ONDAS ANIMADAS DEL ENCABEZADO
   ========================================= */

.site-header {
  position: fixed;
  top: 38px;
  z-index: 1000;
  isolation: isolate;
  overflow: visible;
  background: rgba(247, 243, 235, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(185, 108, 75, 0.15);
}

.header-wave-bg {
  position: absolute;
  inset: 0;
  width: 200%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.85;
  animation: headerWaveMove 16s linear infinite;
}

.header-wave-bg svg {
  display: block;
  width: 100%;
  height: 100%;
}

.site-header .nav-wrap {
  position: relative;
  z-index: 2;
}

/* Movimiento suave de las ondas */
@keyframes headerWaveMove {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Respeta la preferencia de reducir movimiento */
@media (prefers-reduced-motion: reduce) {
  .header-wave-bg {
    animation: none;
  }
}

/* Estructura del encabezado */
.nav-wrap {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  margin-left: -12px;
}

.brand-mark {
  width: 31px;
  height: 34px;
  position: relative;
  display: inline-block;
}

.brand-mark:before {
  content: "";
  position: absolute;
  left: 14px;
  top: 5px;
  height: 27px;
  width: 2px;
  background: var(--terracotta);
  transform: rotate(3deg);
  border-radius: 2px;
}

.brand-mark span {
  position: absolute;
  width: 12px;
  height: 7px;
  background: var(--green);
  border-radius: 100% 0 100% 0;
  transform: rotate(22deg);
}

.brand-mark span:nth-child(1) {
  left: 2px;
  top: 8px;
}

.brand-mark span:nth-child(2) {
  left: 15px;
  top: 16px;
  transform: rotate(200deg);
}

.brand-mark span:nth-child(3) {
  left: 3px;
  top: 24px;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  gap: 4px;
}

.brand-wordmark strong {
  font-size: 14px;
  letter-spacing: .14em;
  font-weight: 700;
}

.brand-wordmark small {
  font-size: 8px;
  letter-spacing: .115em;
  color: var(--muted);
  font-weight: 600;
}

.brand-logo-full {
  display: block;
  width: clamp(80px, 9vw, 130px);
  max-width: 100%;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 12px;
  font-weight: 600;
  color: #4c5d51;
}

.main-nav > a:not(.nav-cta) {
  position: relative;
  padding: 7px 0;
  transition: color .25s ease;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #b99a5b, #d8d3c8);
  transition: width .25s ease;
}

.main-nav > a:not(.nav-cta):hover {
  color: var(--terracotta);
}

.main-nav > a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--green);
  color: var(--paper);
  border: 1px solid rgba(197, 169, 112, .65);
  border-radius: 3px;
  padding: 12px 17px;
  overflow: hidden;
  transition: background .25s ease, border-color .25s ease;
}

.nav-cta:hover {
  background: var(--terracotta);
  border-color: #c5a970;
}

.nav-cta span {
  display: inline-block;
  transition: transform .25s ease;
}

.nav-cta:hover span {
  transform: translateX(4px);
}


.button-primary:hover {
  background: var(--green-dark);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0;
  background: var(--ink);
  border-radius: 2px;
}

/* PORTADA PRINCIPAL */

.hero {
  padding: 65px 0 86px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  gap: 55px;
  align-items: center;
  min-height: 530px;
}

.hero-copy {
  padding: 15px 0 20px;
}

.eyebrow {
  margin: 0 0 23px;
  color: var(--terracotta);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .19em;
  line-height: 1.6;
}

.eyebrow-line {
  display: inline-block;
  width: 25px;
  height: 1px;
  background: var(--terracotta);
  vertical-align: middle;
  margin-right: 9px;
}

.hero h1,
.section h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.12;
}

.hero h1 {
  font-size: clamp(46px, 5.3vw, 73px);
  max-width: 600px;
}

.hero h1 em,
.section h2 em {
  color: var(--terracotta);
  font-weight: 400;
}

.hero-subtitle {
  max-width: 530px;
  margin: 17px 0 0;
  color: var(--green);
  font-family: var(--serif);
  font-size: clamp(21px, 2.2vw, 29px);
  line-height: 1.35;
}

.hero-lede {
  max-width: 510px;
  margin: 25px 0 30px;
  color: #59685d;
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 15px 21px;
  border-radius: 3px;
  font-size: 12px;
  letter-spacing: .02em;
  font-weight: 700;
  transition: transform .2s, background .2s;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: var(--paper);
}


/* Efecto uniforme para los botones principales */
.button-primary {
  border: 1px solid rgba(197, 169, 112, .65);
  transition: background .25s ease, border-color .25s ease;
}

.button-primary:hover {
  background: var(--terracotta);
  border-color: #c5a970;
}

.button-primary span {
  display: inline-block;
  transition: transform .25s ease;
}

.button-primary:hover span {
  transform: translateX(4px);
}


.text-link,
.underlined-link {
  position: relative;
  padding: 0 0 5px;
  color: var(--green);
  border-bottom: none;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.text-link::after,
.underlined-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #b99a5b, #d8d3c8);
  transition: width .25s ease;
}

.text-link:hover::after,
.underlined-link:hover::after {
  width: 100%;
}

.text-link span,
.underlined-link span {
  padding-left: 6px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 45px;
  color: var(--muted);
  font-size: 11px;
}

.note-dot,
.status-label > span {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  background: var(--terracotta);
  border-radius: 50%;
}

.hero-art {
  min-height: 520px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-art:before {
  content: "";
  position: absolute;
  right: 4%;
  top: 5%;
  width: 88%;
  height: 88%;
  background: #ebe8db;
  border-radius: 48% 48% 5px 5px;
  opacity: .55;
}

.art-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(185, 108, 75, .32);
  border-radius: 50%;
}

.orbit-one {
  width: 430px;
  height: 430px;
  transform: rotate(25deg);
}

.orbit-two {
  width: 465px;
  height: 385px;
  transform: rotate(-33deg);
}

.hero-product-image {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 445px);
  max-height: 560px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 18px 22px rgba(48, 36, 22, .12));
  cursor: zoom-in;
}

.floating-note {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  background: rgba(255, 253, 248, .94);
  box-shadow: 0 10px 35px rgba(39, 56, 43, .08);
  font-size: 10px;
  line-height: 1.45;
  color: #526458;
}

.note-symbol {
  color: var(--terracotta);
  font-size: 23px;
}

.note-left {
  left: 0;
  top: 95px;
}

.note-right {
  right: -8px;
  bottom: 90px;
}

.art-caption {
  display: none;
}

.hero-bottom-rule {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.hero-bottom-rule span {
  display: block;
  width: 22%;
  height: 1px;
  margin: auto;
  background: var(--terracotta);
}

/* ONDAS DORADAS Y PLATEADAS */

.pulse-wave {
  position: absolute;
  z-index: 0;
  left: 0;
  bottom: 18px;
  width: 200%;
  height: 120px;
  opacity: .65;
  pointer-events: none;
  animation: pulse-wave-move 18s linear infinite;
}

@keyframes pulse-wave-move {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* SECCIÓN DEL LIBRO */

.intro {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 250px;
  gap: 35px;
  align-items: start;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 5px;
  color: var(--terracotta);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .16em;
  white-space: nowrap;
}

.section-kicker > span:first-child {
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0;
}

.kicker-line {
  width: 22px;
  height: 1px;
  background: var(--terracotta);
}

.intro-content .eyebrow {
  margin-bottom: 15px;
}

.section h2 {
  font-size: clamp(35px, 4vw, 50px);
}

.intro-content h2 {
  max-width: 630px;
}

.body-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.intro-content .body-copy {
  max-width: 650px;
  margin: 21px 0;
}

.underlined-link {
  display: inline-block;
  margin-top: 11px;
}

.quote-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 250px;
  margin-top: 48px;
  padding: 28px 24px 23px;
  background: var(--sage-light);
}

.quote-mark {
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 55px;
  line-height: .8;
}

.quote-card p {
  margin: 13px 0 20px;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
}

.quote-rule {
  width: 29px;
  height: 2px;
  margin-top: auto;
  margin-bottom: 15px;
  background: var(--terracotta);
}

.quote-card small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
}

.book-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin: 48px 0 0;
}

.book-gallery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  margin: 0;
  padding: 18px 18px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.book-gallery-card img {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
  transition: filter 250ms ease;
}

.book-gallery-card figcaption {
  margin-top: 13px;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 16px;
  text-align: center;
}

.book-gallery-note {
  max-width: 780px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  text-align: center;
}

/* CONTENIDO Y TARJETAS */

.content-section {
  background: var(--cream);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 52px;
}

.centered-heading {
  text-align: center;
}

.centered-heading .eyebrow {
  margin-bottom: 16px;
}

.centered-heading h2 {
  max-width: 630px;
  margin: 0 auto;
}

.centered-heading .body-copy {
  max-width: 590px;
  margin: 20px auto 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  position: relative;
  min-height: 285px;
  padding: 30px 30px 34px;
  background: var(--paper);
  border: 1px solid rgba(36, 59, 50, .06);
  transition: transform .2s, box-shadow .2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(39, 56, 43, .07);
}

.feature-number {
  position: absolute;
  top: 23px;
  right: 24px;
  color: #a3aa9c;
  font-size: 10px;
  letter-spacing: .1em;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 53px;
  height: 53px;
  margin: 0 0 26px;
  border-radius: 50%;
  font-size: 27px;
}

.icon-body {
  background: #e6dfcf;
  color: var(--terracotta);
}

.icon-mind {
  background: #e3e8dd;
  color: var(--green);
}

.icon-habits {
  background: #f0dfd4;
  color: #a65c3e;
}

.feature-card h3,
.bonus-card h3 {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
}

.feature-card p,
.bonus-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.disclaimer {
  max-width: 760px;
  margin: 32px auto 0;
  color: #81897e;
  font-size: 10px;
  text-align: center;
}

/* AUTORA */

.author-section {
  background: var(--green-dark);
  color: var(--paper);
}

.author-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 100px;
  align-items: center;
}

.author-art {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1117 / 1409;
  max-height: 570px;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  background: #e8dfcf;
  box-shadow: 0 18px 45px rgba(10, 25, 17, .16);
}

.author-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.author-sun {
  position: absolute;
  top: -45px;
  right: -55px;
  width: 260px;
  height: 260px;
  background: #c88665;
  border-radius: 50%;
  opacity: .85;
}

.author-plant {
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 280px;
  background: var(--green);
  transform-origin: bottom;
}

.plant-one {
  left: 45%;
  transform: rotate(-7deg);
}

.plant-two {
  left: 52%;
  height: 220px;
  transform: rotate(13deg);
}

.author-plant:before,
.author-plant:after {
  content: "";
  position: absolute;
  width: 67px;
  height: 26px;
  background: #68836d;
  border-radius: 100% 0 100% 0;
}

.author-plant:before {
  top: 37px;
  left: -61px;
  transform: rotate(-15deg);
}

.author-plant:after {
  top: 100px;
  left: 0;
  transform: rotate(32deg);
}

.author-placeholder {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 178px;
  height: 235px;
  color: var(--green);
  background: rgba(255, 253, 248, .76);
  border: 1px solid rgba(36, 59, 50, .17);
}

.author-placeholder span {
  font-family: var(--serif);
  font-size: 75px;
  line-height: 1;
}

.author-placeholder small {
  font-size: 8px;
  line-height: 1.6;
  letter-spacing: .13em;
  text-align: center;
}

.author-signature {
  position: absolute;
  z-index: 3;
  left: 22px;
  bottom: 18px;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
}

.author-copy .section-kicker {
  margin-bottom: 40px;
  color: #d89a7a;
}

.author-copy .kicker-line {
  background: #d89a7a;
}

.author-copy .eyebrow {
  margin-bottom: 15px;
  color: #d89a7a;
}

.author-copy h2 {
  color: var(--paper);
}

.author-copy h2 em {
  color: #dfa080;
}

.author-copy .body-copy {
  margin: 22px 0;
  color: #d0d7cc;
}

.author-signoff {
  margin-top: 32px;
  color: #d0d7cc;
  font-family: var(--serif);
  font-style: italic;
}

.author-signoff span {
  display: block;
  margin-top: 1px;
  color: #e4b196;
  font-size: 30px;
}

.author-emblem {
  position: relative;
  z-index: 2;
  width: min(72%, 300px);
  height: auto;
  mix-blend-mode: multiply;
  border-radius: 50%;
  box-shadow: 0 18px 45px rgba(36, 59, 50, .12);
}

/* BONUS */

.bonus-section {
  background: var(--paper);
}

.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bonus-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 23px 24px 25px;
  background: #fffdf8;
  border: 1px solid var(--line);
}

.bonus-top {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  align-items: center;
  color: var(--terracotta);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}

.bonus-top span + span {
  font-size: 18px;
}

.bonus-cover {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  max-height: 330px;
  margin: 17px auto 20px;
  background: var(--cream);
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
  transition: filter 250ms ease;
}

.bonus-card h3 {
  font-size: 21px;
}

.bonus-card p {
  margin-bottom: 2px;
}

.bonus-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 130px;
  margin: 20px 0;
  overflow: hidden;
}

.bonus-art:before {
  content: "";
  position: absolute;
  width: 106px;
  height: 106px;
  border: 1px solid rgba(49, 83, 68, .35);
  border-radius: 50%;
}

.bonus-art span {
  position: relative;
  z-index: 1;
  display: block;
  width: 21px;
  height: 74px;
  background: #a9b8a0;
  border-radius: 100% 0 100% 0;
  transform: rotate(-24deg);
}

.bonus-art span:nth-child(2) {
  height: 95px;
  background: #d19a7d;
  transform: rotate(8deg);
}

.bonus-art span:nth-child(3) {
  height: 60px;
  background: #6f8875;
  transform: rotate(31deg);
}

.bonus-art-two {
  background: #f2e8da;
}

.bonus-art-two span {
  width: 33px;
  height: 70px;
  border-radius: 50% 50% 0 0;
  transform: rotate(-18deg);
}

.bonus-art-two span:nth-child(2) {
  height: 91px;
  transform: rotate(4deg);
}

.bonus-art-two span:nth-child(3) {
  height: 56px;
  transform: rotate(23deg);
}

.bonus-art-three {
  background: #e7e9de;
}

.bonus-art-three span {
  width: 60px;
  height: 60px;
  border: 1px solid #68836d;
  background: transparent;
  border-radius: 50%;
  transform: none;
}

.bonus-art-three span:nth-child(2) {
  position: absolute;
  width: 40px;
  height: 40px;
}

.bonus-art-three span:nth-child(3) {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #d19a7d;
  border: 0;
}

.edit-note {
  display: inline-block;
  margin-top: 17px;
  padding: 4px 8px;
  color: #97705c;
  background: #f4e9df;
  border-radius: 2px;
  font-size: 9px;
}

.bonus-included-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto 32px;
  padding: 20px 24px;
  background: var(--sage-light);
  border: 1px solid rgba(49, 83, 68, .15);
}

.bonus-gift-mark {
  flex: 0 0 auto;
  color: var(--terracotta);
  font-size: 26px;
  line-height: 1;
}

.bonus-included-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}

.bonus-included-note p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

/* PREGUNTAS FRECUENTES */

.faq-section {
  background: var(--cream);
  padding-top: 150px;
}

.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 95px;
}

.faq-intro .eyebrow {
  margin-bottom: 16px;
}

.faq-intro h2,
.faq-intro .body-copy {
  max-width: 390px;
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list details:first-child {
  border-top: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 21px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--terracotta);
  font-size: 21px;
  font-weight: 400;
  transition: transform .2s;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 530px;
  margin: -4px 25px 22px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

/* CIERRE Y MEDIOS DE PAGO */

.purchase-section {
  position: relative;
  overflow: hidden;
  padding: 48px 0;
  background: var(--terracotta);
  color: #fff8ef;
  text-align: center;
}

.purchase-inner {
  position: relative;
  z-index: 1;
  max-width: 750px;
}

.purchase-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  margin-bottom: 12px;
}

.purchase-ornament span {
  display: block;
  width: 23px;
  height: 39px;
  border: 1px solid rgba(255, 248, 239, .65);
  border-radius: 100% 0 100% 0;
  transform: rotate(-28deg);
}

.purchase-ornament span:nth-child(2) {
  transform: rotate(28deg);
}

.purchase-ornament span:nth-child(3) {
  transform: rotate(65deg);
}

.purchase-section .eyebrow {
  margin-bottom: 14px;
  color: #fae4d7;
}

.purchase-section h2 {
  color: #fff8ef;
  font-size: clamp(36px, 4.5vw, 55px);
}

.purchase-section h2 em {
  color: #f4d7c5;
}

.purchase-section p:not(.eyebrow) {
  max-width: 565px;
  margin: 12px auto;
  color: #f7e7db;
  font-size: 13px;
  line-height: 1.9;
}

.status-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 14px 0 16px;
  color: #fff1e5;
  font-size: 10px;
}

.status-label > span {
  background: #f2d6c0;
}

.purchase-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 24px 0 15px;
}

.button-pending {
  flex-direction: column;
  gap: 4px;
  background: rgba(255, 253, 248, .08);
  border: 1px solid rgba(255, 253, 248, .4);
  color: #f7f3eb;
  cursor: not-allowed;
  opacity: .86;
}

.button-pending span {
  color: #e4b196;
  font-size: 9px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.purchase-back-link {
  margin-top: 13px;
  color: #f7f3eb;
  border-color: rgba(247, 243, 235, .35);
}

/* PIE DE PÁGINA */

.site-footer {
  padding: 0;
  background: #d8c9b5;
  color: #e4e8de;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  align-items: center;
  column-gap: 24px;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 0;
}


/* Enlaces a la izquierda */
.footer-links-group {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.footer-link,
.footer-regret-link {
  color: var(--green-dark);
  font-size: 11px;
}

.footer-regret-link {
  margin-top: -4px;
}

/* Logo y frase centrados, más cerca de la línea inferior */
.footer-brand-group {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-align: center;
  transform: translateY(24px);
}

.footer-brand {
  display: block;
  margin: 0;
}

.footer-brand .brand-logo-full {
  display: block;
  width: clamp(90px, 9vw, 125px);
  height: auto;
  transform: none;
}

.footer-brand-group > p {
  margin: 0;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  text-align: center;
}

/* Franja inferior */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-top: 2px;
  padding-bottom: 2px;
  color: #000000;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: 9px;
  letter-spacing: .03em;
  line-height: 1.2;
}


/* Ajustes para celulares */
@media (max-width: 600px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    column-gap: 12px;
    padding-bottom: 4px;
    align-items: end;
  }

  /* Logo y frase a la izquierda */
  .footer-brand-group {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    text-align: center;
    transform: translateX(-20px);
  }

  .footer-brand {
    margin: 0;
  }

  .footer-brand .brand-logo-full {
    width: clamp(72px, 18vw, 100px);
    height: auto;
  }

  .footer-brand-group > p {
    margin: 0;
    font-size: 10px;
    line-height: 1.2;
  }

  /* Enlaces más a la derecha */
.footer-links-group {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 18px;
  min-height: 100%;
  padding: 0 5px 2px 0;
  transform: none;
}

/* Ambos enlaces empiezan desde el mismo margen izquierdo */
.footer-link,
.footer-regret-link {
  margin: 0;
  text-align: right;
  font-size: 10px;
  line-height: 1.3;
}

/* Preguntas frecuentes arriba */
.footer-link {
  order: 1;
  position: relative;
  top: 12px;
}

/* Arrepentimiento abajo */
.footer-regret-link {
  order: 2;
}

  /* Línea legal inferior */
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-top: 5px;
    font-size: 8px;
  }
}

/* AMPLIACIÓN DE IMÁGENES */

.hero-product-image,
.book-gallery-card img,
.bonus-cover {
  cursor: zoom-in;
}

.hero-product-image:focus-visible,
.book-gallery-card img:focus-visible,
.bonus-cover:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 4px;
}

.hero-product-image:hover,
.book-gallery-card img:hover,
.bonus-cover:hover {
  filter: brightness(1.015);
}

.image-zoom-hint {
  margin: 20px 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.bonus-grid + .image-zoom-hint {
  margin-top: 10px;
}

.image-lightbox {
  width: fit-content;
  max-width: 96vw;
  max-height: 96vh;
  padding: 0;
  overflow: visible;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid rgba(255, 253, 248, .45);
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .3);
}

.image-lightbox::backdrop {
  background: rgba(22, 31, 26, .84);
  backdrop-filter: blur(4px);
}

.image-lightbox__panel {
  position: relative;
  display: grid;
  place-items: center;
  max-width: 96vw;
  max-height: 96vh;
  padding: 50px 20px 17px;
}

.image-lightbox__close {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--green-dark);
  background: var(--cream);
  border: 1px solid rgba(36, 59, 50, .2);
  border-radius: 50%;
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
}

.image-lightbox__close:hover {
  background: var(--sage-light);
}

.image-lightbox__figure {
  display: grid;
  place-items: center;
  gap: 10px;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
}

.image-lightbox__image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(91vw, 1300px);
  max-height: 79vh;
  object-fit: contain;
  cursor: zoom-out;
}

.image-lightbox__caption {
  max-width: 90vw;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
}

/* BOTÓN FIJO DE ACCESO AL LIBRO */

.fixed-book-cta {
  position: fixed;
  z-index: 40;
  left: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px 20px;
  color: var(--paper);
  background: var(--green);
  border: 1px solid rgba(255, 253, 248, .25);
  border-radius: 4px;
  box-shadow: 0 8px 28px rgba(32, 59, 48, .22);
  text-decoration: none;
  animation: book-cta-vibrate 4s ease-in-out infinite,
             book-cta-pulse 3s ease-in-out infinite;
  transition: background .2s, transform .2s;
}

.fixed-book-cta:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

.fixed-book-cta__eyebrow {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
}

.fixed-book-cta__label {
  font-size: 12px;
  font-weight: 700;
}

.fixed-book-cta__label span {
  display: inline-block;
  margin-left: 5px;
  color: #e4c779;
  animation: book-cta-arrow 1.8s ease-in-out infinite;
}

@keyframes book-cta-pulse {
  0%, 100% {
    box-shadow: 0 8px 28px rgba(32, 59, 48, .22);
  }

  50% {
    box-shadow: 0 8px 30px rgba(32, 59, 48, .38);
  }
}

@keyframes book-cta-arrow {
  0%, 100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(4px);
  }
}

@keyframes book-cta-vibrate {
  0%, 91%, 100% {
    translate: 0 0;
  }

  92% {
    translate: -2px 0;
  }

  93% {
    translate: 2px 0;
  }

  94% {
    translate: -2px 0;
  }

  95% {
    translate: 2px 0;
  }

  96% {
    translate: 0 0;
  }
}

/* TABLETS */

@media (max-width: 980px) {
  .container {
    width: min(calc(100% - 40px), 760px);
  }

  .main-nav {
    gap: 18px;
  }

  .main-nav > a:not(.nav-cta) {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .hero h1 {
    font-size: clamp(42px, 6vw, 60px);
  }

  .hero-art {
    min-height: 465px;
  }

  .hero-product-image {
    width: min(100%, 390px);
    max-height: 490px;
  }

  .cover-placeholder {
    transform: scale(.89);
  }

  .orbit-one {
    width: 350px;
    height: 350px;
  }

  .orbit-two {
    width: 380px;
    height: 315px;
  }

  .note-left {
    left: -8px;
  }

  .note-right {
    right: -5px;
  }

  .intro-grid {
    grid-template-columns: 120px 1fr;
    gap: 25px;
  }

  .quote-card {
    grid-column: 2;
    min-height: 0;
    margin-top: 10px;
  }

  .author-grid {
    gap: 55px;
  }

  .author-art {
    max-height: 500px;
  }

  .faq-grid {
    gap: 50px;
  }

  .book-gallery {
    gap: 14px;
  }

  .book-gallery-card {
    padding: 13px;
  }

  .book-gallery-card img {
    height: 210px;
  }
}

/* CELULARES */

@media (max-width: 700px) {
  html {
    scroll-padding-top: 74px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .section {
    padding: 32px 0;
  }

  /* Cabezal: logo grande, alineado a la izquierda y menú visible */

  .nav-wrap {
    min-height: 68px;
    gap: 8px;
  }

  .site-header .brand {
    min-width: 0;
    width: calc(100% - 46px);
    max-width: calc(100% - 46px);
    gap: 0;
    margin-left: -110px;
  }

  .site-header .brand .brand-logo-full {
    width: min(100vw, 300px);
    max-width: none;
    max-height: 60px;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
  }

  .menu-toggle {
    display: flex;
    flex: 0 0 38px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    position: relative;
    z-index: 30;
    width: 38px;
    height: 38px;
    padding: 6px;
    cursor: pointer;
  }

  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 0;
    background: #243b32;
    border-radius: 2px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 67px;
    left: 0;
    right: 0;
    align-items: stretch;
    gap: 12px;
    padding: 17px 20px 22px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 15px 25px rgba(36, 59, 50, .06);
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-nav > a:not(.nav-cta) {
    display: block;
    padding: 6px 0;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 4px;
  }

  /* Portada principal */

  .hero {
    padding: 47px 0 68px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-copy {
    padding: 0;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 9px;
  }

  .hero h1 {
    max-width: 550px;
    font-size: clamp(43px, 12vw, 60px);
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: 23px;
  }

  .hero-lede {
    margin: 20px 0 23px;
    font-size: 14px;
  }

  .hero-actions {
    gap: 18px;
  }

  .button {
    padding: 14px 17px;
  }

  .hero-note {
    margin-top: 27px;
    font-size: 10px;
  }

  .hero-art {
    min-height: 400px;
    margin-top: 5px;
  }

  .hero-art:before {
    top: 15px;
    width: 88%;
    height: 86%;
  }

  .hero-product-image {
    width: min(100%, 360px);
    max-height: 450px;
  }

  .orbit-one {
    width: 335px;
    height: 335px;
  }

  .orbit-two {
    width: 350px;
    height: 290px;
  }

  .note-left {
    top: 54px;
    left: 0;
  }

  .note-right {
    right: 0;
    bottom: 52px;
  }

  .floating-note {
    padding: 9px 11px;
    font-size: 9px;
  }

  .note-symbol {
    font-size: 19px;
  }

  .pulse-wave {
    bottom: 8px;
    height: 85px;
    opacity: .5;
  }

  /* Sección del libro */

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-kicker {
    font-size: 8px;
  }

  .intro-content h2,
  .section h2 {
    font-size: clamp(35px, 9vw, 45px);
  }

  .intro-content .body-copy {
    margin: 17px 0;
  }

  .quote-card {
    grid-column: auto;
    min-height: 205px;
    margin-top: 5px;
    padding: 24px;
  }

  .quote-card p {
    font-size: 21px;
  }

  .book-gallery {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 33px;
  }

  .book-gallery-card {
    padding: 16px;
  }

  .book-gallery-card img {
    width: min(100%, 300px);
    height: auto;
    max-height: 340px;
  }

  .book-gallery-card figcaption {
    font-size: 15px;
  }

  .book-gallery-note {
    font-size: 10px;
  }

  /* Contenido */

  .section-heading {
    margin-bottom: 33px;
  }

  .feature-grid,
  .bonus-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .feature-card {
    min-height: 0;
    padding: 25px;
  }

  .feature-icon {
    margin-bottom: 17px;
  }

  .feature-card h3 {
    font-size: 23px;
  }

  .feature-card p {
    font-size: 12px;
  }

  .disclaimer {
    font-size: 10px;
    line-height: 1.75;
  }

  /* Autora */

  .author-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .author-art {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1117 / 1409;
    margin: 0 auto;
  }

  .author-placeholder {
    width: 155px;
    height: 208px;
  }

  .author-placeholder span {
    font-size: 65px;
  }

  .author-copy .section-kicker {
    margin-bottom: 28px;
  }

  .author-copy .body-copy {
    margin: 17px 0;
  }

  .author-emblem {
    width: min(68%, 250px);
  }

  /* Bonus */

  .bonus-card {
    padding: 20px;
  }

  .bonus-cover {
    width: min(100%, 280px);
    max-height: 300px;
  }

  .bonus-art {
    height: 115px;
    margin: 15px 0;
  }

  .bonus-included-note {
    gap: 12px;
    margin-bottom: 25px;
    padding: 17px;
  }

  .bonus-included-note strong {
    font-size: 19px;
  }

  .bonus-included-note p {
    font-size: 11px;
  }

  /* Preguntas frecuentes */

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-intro h2,
  .faq-intro .body-copy {
    max-width: 500px;
  }

  .faq-list summary {
    padding: 18px 0;
    font-size: 12px;
  }

  /* COMPRA: SECCIÓN TERRACOTA MÁS BAJA EN CELULARES */

  .purchase-section {
    padding: 24px 0;
  }

  .purchase-ornament {
    height: 26px;
    margin-bottom: 8px;
    gap: 4px;
  }

  .purchase-ornament span {
    width: 17px;
    height: 26px;
  }

  .purchase-section .eyebrow {
    margin-bottom: 8px;
  }

  .purchase-section h2 {
    font-size: clamp(32px, 8.5vw, 43px);
  }

  .purchase-section p:not(.eyebrow) {
    margin: 8px auto;
    font-size: 12px;
    line-height: 1.65;
  }

  .status-label {
    margin: 8px 0 10px;
  }

  .purchase-options {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin: 12px 0 6px;
  }

  .button-pending {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
  }

  .purchase-back-link {
    margin-top: 6px;
  }

  /* PIE DE PÁGINA: FRANJA VERDE MÁS BAJA EN CELULARES */

  .site-footer {
    padding: 8px 0 4px;
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 6px;
  }

  .site-footer .footer-main .footer-brand {
    margin-left: -18px;
  }

  .site-footer .footer-main .footer-brand .brand-logo-full {
    width: min(30vw, 100px);
    max-width: 100%;
    max-height: none;
    height: auto;
    transform: none;
  }

  .footer-main > p {
    margin: 0;
    font-size: 13px;
    line-height: 1.35;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 3px;
    padding-top: 4px;
    font-size: 8px;
  }

  .footer-bottom span:last-child {
    display: none;
  }

  /* Imagen ampliada en celular */

  .image-lightbox {
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    margin: auto 0 0;
    border-radius: 10px 10px 0 0;
  }

  .image-lightbox__panel {
    max-width: 100vw;
    max-height: 96dvh;
    padding: 48px 10px 16px;
  }

  .image-lightbox__image {
    max-width: 94vw;
    max-height: 80dvh;
  }

  .image-lightbox__caption {
    font-size: 14px;
  }


  /* BOTÓN FIJO DE ACCESO AL LIBRO */

  .fixed-book-cta {
    left: 50%;
    right: auto;
    bottom: 20px;
    transform: translateX(-50%);
    width: fit-content;
    max-width: 170px;
    align-items: flex-start;
    gap: 2px;
    padding: 7px 10px;
  }

  .fixed-book-cta__eyebrow {
    font-size: 7px;
    letter-spacing: .08em;
  }

  .fixed-book-cta__label {
    font-size: 10px;
  }

  .fixed-book-cta__label span {
    margin-left: 4px;
  }
}

/* EFECTOS Y ACCESIBILIDAD */

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .feature-card:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }

  .fixed-book-cta,
  .fixed-book-cta__label span {
    animation: none;
  }
}


/* BOTÓN FLOTANTE DE COMPRA Y WHATSAPP */

/* Botón de compra: a la izquierda de WhatsApp */
.floating-book-cta {
  position: fixed;
  z-index: 9999;
  right: 84px;
  bottom: 50px;
  left: auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: max-content;
  max-width: calc(100vw - 110px);
  padding: 15px 22px;

  background: #3f5947;
  color: #ffffff;
  border-radius: 999px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);

  text-decoration: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;

  animation: none;
  transition: background 0.2s ease;
}

.floating-book-cta:hover {
  background: #304536;
}

/* Efecto sutil para el botón flotante Obtener */
.floating-book-cta {
  animation: bookButtonPulse 2s ease-in-out infinite;
}

@keyframes bookButtonPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(227, 91, 12, 0);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(227, 91, 12, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-book-cta {
    animation: none;
  }
}

/* Sacudida suave sin desplazar la posición del botón */
@keyframes bookButtonShake {
  0%, 82%, 100% {
    transform: translateX(0) rotate(0);
  }

  84% {
    transform: translateX(-3px) rotate(-1deg);
  }

  86% {
    transform: translateX(3px) rotate(1deg);
  }

  88% {
    transform: translateX(-3px) rotate(-1deg);
  }

  90% {
    transform: translateX(3px) rotate(1deg);
  }

  92% {
    transform: translateX(0) rotate(0);
  }
}

/* Botón flotante de WhatsApp */
.floating-whatsapp {
  position: fixed;
  z-index: 10000;
  right: 22px;
  bottom: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 58px;
  height: 58px;
  border-radius: 50%;

  background: #25D366;
  color: #ffffff;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);

  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-whatsapp svg {
  display: block;
  width: 31px;
  height: 31px;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 7px 22px rgba(0, 0, 0, 0.28);
}

/* Ajustes para celulares */
@media (max-width: 480px) {
    .floating-book-cta {
    right: 66px;
    bottom: 80px;
    max-width: calc(100vw - 82px);
    padding: 10px 12px;
    font-size: 11px;
    line-height: 1.2;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 80px;
    width: 46px;
    height: 46px;
  }

  .floating-whatsapp svg {
    width: 25px;
    height: 25px;
  }
}


/* =========================================
   RAÍZ Y PULSO · MOVIMIENTO SUTIL
   ========================================= */

/* El libro flota suavemente */
.hero-product-image {
  animation: libroFlotante 6s ease-in-out infinite;
}

@keyframes libroFlotante {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* Las órbitas giran lentamente */
.orbit-one {
  animation: orbitaExterior 32s linear infinite;
}

.orbit-two {
  animation: orbitaInterior 42s linear infinite;
}

@keyframes orbitaExterior {
  from {
    transform: rotate(25deg);
  }
  to {
    transform: rotate(385deg);
  }
}

@keyframes orbitaInterior {
  from {
    transform: rotate(-33deg);
  }
  to {
    transform: rotate(-393deg);
  }
}

/* Las notas acompañan el movimiento del libro */
.note-left {
  animation: notaFlotante 5s ease-in-out infinite;
}

.note-right {
  animation: notaFlotante 7s ease-in-out infinite;
}

@keyframes notaFlotante {
  0%, 100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}

/* Más profundidad en el botón principal */
.button-primary {
  box-shadow: 0 4px 14px rgba(49, 83, 68, 0.16);
  transition:
    background 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.button-primary:hover {
  box-shadow: 0 7px 20px rgba(49, 83, 68, 0.24);
}

/* Evitar movimientos para quienes prefieren menos animación */
@media (prefers-reduced-motion: reduce) {
  .hero-product-image,
  .orbit-one,
  .orbit-two,
  .note-left,
  .note-right {
    animation: none !important;
  }
}

/* AJUSTE FINAL DE LAS ONDAS DEL HERO */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero .pulse-wave {
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 18px;
  width: 200%;
  max-width: none;
  height: 120px;
  opacity: 0.18;
  pointer-events: none;
}

.hero .hero-grid {
  position: relative;
  z-index: 2;
}

.hero .hero-bottom-rule {
  z-index: 3;
}

@media (max-width: 700px) {
  .hero .pulse-wave {
    bottom: 8px;
    height: 85px;
    opacity: 0.12;
  }
}


/* Resaltado de la frase final */
.hero-mantra {
  margin-top: 18px;
  color: var(--green);
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
}

/* Enlaces secundarios: línea dorada al pasar el cursor */
.text-link {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, #b99a5b, #d8d3c8);
  transition: width .25s ease;
}

.text-link:hover::after {
  width: 100%;
}

/* Botones principales: efecto coordinado con el encabezado */
.button-primary {
  border: 1px solid rgba(197, 169, 112, .65);
  transition: background .25s ease, border-color .25s ease;
}

.button-primary:hover {
  background: var(--terracotta);
  border-color: #c5a970;
}

.button-primary span {
  display: inline-block;
  transition: transform .25s ease;
}

.button-primary:hover span {
  transform: translateX(4px);
}


/* Resaltado tipo fibrón translúcido */

.text-highlight {
  background: linear-gradient(
    to bottom,
    transparent 10%,
    rgba(220, 190, 112, 0.55) 10%,
    rgba(220, 190, 112, 0.55) 90%,
    transparent 90%
  );
  padding: 2px 4px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.footer-main > p .text-highlight {
  padding-left: 0;
  padding-right: 0;
}

/* Entrada suave de la portada */
@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy > * {
  animation: heroFadeIn 0.7s ease-out both;
}

.hero-copy > *:nth-child(1) {
  animation-delay: 0.05s;
}

.hero-copy > *:nth-child(2) {
  animation-delay: 0.12s;
}

.hero-copy > *:nth-child(3) {
  animation-delay: 0.19s;
}

.hero-copy > *:nth-child(4) {
  animation-delay: 0.26s;
}

.hero-copy > *:nth-child(5) {
  animation-delay: 0.33s;
}

.hero-copy > *:nth-child(6) {
  animation-delay: 0.4s;
}

.hero-art {
  animation: heroFadeIn 0.9s ease-out 0.15s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy > *,
  .hero-art {
    animation: none;
  }
}

/* Pantalla de bienvenida de Raíz y Pulso */
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  opacity: 1;
  visibility: visible;
}

.intro-logo {
  display: block;
  width: min(78vw, 460px);
  max-height: 75vh;
  height: auto;
  object-fit: contain;
}

.intro-screen.is-leaving {
  opacity: 1;
  visibility: hidden;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .intro-screen.is-leaving {
    transition: none;
  }
}


.footer-regret-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.25s ease;
}

.footer-regret-link:hover {
  opacity: 0.72;
}

.footer-regret-link .regret-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.footer-regret-link:hover .regret-icon {
  transform: rotate(-35deg);
}

.footer-regret-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
  border-radius: 3px;
}


/* Botones flotantes más pequeños */
.floating-book-cta {
  padding: 10px 16px;
  font-size: 12px;
  border-radius: 30px;
}

.floating-whatsapp {
  width: 44px;
  height: 44px;
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
}

/* Ajustes para celulares */
@media (max-width: 600px) {
  .floating-book-cta {
    padding: 8px 12px;
    font-size: 10px;
  }

  .floating-whatsapp {
    width: 38px;
    height: 38px;
  }

  .floating-whatsapp svg {
    width: 19px;
    height: 19px;
  }
}


/* Pulso continuo del botón de WhatsApp */
.floating-whatsapp {
  animation: whatsapp-alert-pulse 1.5s ease-out infinite;
}

@keyframes whatsapp-alert-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.75);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Respetar la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .floating-whatsapp {
    animation: none;
  }
}

/* Optimización LCP: mostrar el texto principal sin demora */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation-delay: 0s;
    animation-duration: 0.2s;
  }
}

/* =========================================
   POLÍTICAS Y CONDICIONES
   Diseño más compacto y armonioso
   ========================================= */

.policy-page {
  padding-top: 150px;
  padding-bottom: 56px;
}

.policy-page > .container {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.policy-page h1,
.contact-page h1,
.faq-intro h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.2;
  color: var(--ink);
}

.policy-page h2 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 12px;
}

.policy-page p,
.policy-page li {
  font-size: 0.94rem;
  line-height: 1.7;
}

.policy-page p {
  margin-top: 0;
  margin-bottom: 12px;
}

.policy-page ul {
  padding-left: 22px;
  margin-top: 8px;
  margin-bottom: 18px;
}

.policy-page li {
  margin-bottom: 5px;
}

.policy-page section.section {
  padding-top: 24px;
  padding-bottom: 8px;
}

.policy-page .section-kicker {
  margin-bottom: 14px;
}

.policy-page .policy-action {
  padding: 20px 24px;
  margin: 22px 0;
}

.policy-page .policy-action .button {
  margin-top: 8px;
}

.policy-page nav[aria-label="Índice de políticas"] {
  margin: 24px 0;
  padding: 20px 24px;
}

.policy-page .button {
  font-size: 0.9rem;
}

@media (max-width: 600px) {
  .policy-page {
    padding-top: 140px;
    padding-bottom: 36px;
  }

  .policy-page h2 {
    font-size: 1.2rem;
  }

  .policy-page p,
  .policy-page li {
    font-size: 0.9rem;
    line-height: 1.65;
  }

  .policy-page section.section {
    padding-top: 18px;
    padding-bottom: 4px;
  }

  .policy-page .policy-action,
  .policy-page nav[aria-label="Índice de políticas"] {
    padding: 16px;
  }
}



/* CONTACTO · RAÍZ Y PULSO */

.contact-page {
  padding-top: 150px;
  padding-bottom: 64px;
}

.contact-content {
  max-width: 760px;
  margin: 0 auto;
}

.contact-intro,
.contact-form-wrap > p {
  line-height: 1.7;
}

/* OPCIONES DE CONTACTO · COMPACTAS */
.contact-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 18px 0;
  width: 100%;
  max-width: 620px;
  box-sizing: border-box;
}

.contact-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(80, 75, 60, 0.16);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
  box-sizing: border-box;
  min-width: 0;
}

.contact-option:hover {
  transform: translateY(-2px);
  border-color: rgba(80, 75, 60, 0.4);
}

.contact-option > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.contact-option > span:last-child span {
  overflow-wrap: anywhere;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f0e9dc;
  font-size: 1rem;
}

/* FORMULARIO DE CONTACTO */
.contact-form-wrap {
  width: 100%;
  max-width: 620px;
  margin: 28px 0 0;
  padding: 20px;
  border: 1px solid rgba(80, 75, 60, 0.16);
  border-radius: 14px;
  box-sizing: border-box;
}

.contact-form-wrap h2 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.contact-form-wrap > p {
  margin-bottom: 22px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}

.contact-field label {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 9px 11px;
  border: 1px solid rgba(80, 75, 60, 0.24);
  border-radius: 8px;
  background: #fffdf9;
  color: inherit;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

.contact-field textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: 2px solid rgba(100, 110, 75, 0.35);
  outline-offset: 2px;
}

.contact-note {
  margin-top: 14px;
  font-family: var(--sans);
  font-size: 13px;
  opacity: 0.8;
  line-height: 1.6;
}

.contact-back {
  display: inline-block;
  margin-top: 28px;
  text-decoration: none;
}

/* AJUSTES PARA CELULARES */
@media (max-width: 600px) {
  .contact-page {
    padding-top: 130px;
    padding-bottom: 40px;
  }

  .contact-options {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-form-wrap {
    padding: 16px;
  }
}

/* Barra promocional superior */
.promo-bar {
  width: 100%;
  overflow: hidden;
  background: #e35b0c;
  color: #f7f3eb;
  padding: 10px 0;
  white-space: nowrap;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
}

.promo-track {
  display: flex;
  width: max-content;
  animation: promo-scroll 10s linear infinite;
  will-change: transform;
}

.promo-track span {
  flex: 0 0 auto;
  padding-right: 48px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.045em;
}


@keyframes promo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-track {
    animation: none;
  }
}


@media (max-width: 600px) {
  .promo-bar {
    width: 100%;
    height: 30px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1001;
  }

  .promo-track {
    display: flex;
    align-items: center;
    width: max-content;
    flex-shrink: 0;
  }

  .promo-track span {
    display: block;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 11px;
    line-height: 16px;
    padding-right: 24px;
  }

  .site-header {
    position: sticky;
    top: 30px;
    z-index: 1000;
  }
}



/* BOTONES FLOTANTES: COMPRA Y WHATSAPP */
.floating-book-cta {
  position: fixed;
  z-index: 9999;
  right: 84px;
  bottom: 50px;
  left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100vw - 110px);
  box-sizing: border-box;
  padding: 10px 16px;
  background: #3f5947;
  color: #ffffff;
  border-radius: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  white-space: normal;
  animation: bookButtonShake 5s ease-in-out infinite;
  transition: background 0.2s ease;
  transform-origin: center;
}

.floating-book-cta:hover {
  background: #304536;
}

.floating-whatsapp {
  position: fixed;
  z-index: 10000;
  right: 22px;
  bottom: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  box-sizing: border-box;
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
}

/* Sacudida breve y delicada */
@keyframes bookButtonShake {
  0%, 88%, 100% {
    transform: translateX(0) rotate(0);
  }
90% {
  transform: translateX(-4px) rotate(-2deg);
}
92% {
  transform: translateX(4px) rotate(2deg);
}
94% {
  transform: translateX(-4px) rotate(-2deg);
}
  96% {
    transform: translateX(0) rotate(0);
  }
}

/* Respetar la preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .floating-book-cta {
    animation: none;
  }
}

/* Ajustes para celulares */
@media (max-width: 600px) {
  .floating-book-cta {
    right: 66px !important;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px)) !important;
    left: auto !important;
    max-width: calc(100vw - 90px) !important;
    padding: 8px 12px;
    font-size: 10px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    width: 38px;
    height: 38px;
  }

  .floating-whatsapp svg {
    width: 19px;
    height: 19px;
  }
}

/* ENCABEZADO Y BARRA PROMOCIONAL SIEMPRE VISIBLES */

.promo-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1001;
}

.site-header {
  position: fixed;
  top: 32px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  isolation: isolate;
  overflow: visible;
}

/* ESPACIO PARA EL ENCABEZADO FIJO EN COMPUTADORA */
@media (min-width: 601px) {
  .hero {
    padding-top: 150px;
  }
}

/* AJUSTES PARA MÓVILES */

@media (max-width: 600px) {
  .promo-bar {
    height: 30px;
    padding: 0;
  }

  .site-header {
    top: 30px;
  }

  body {
    padding-top: 0;
  }

  .hero {
    padding-top: 150px;
  }
}


/* FORMULARIO DE ARREPENTIMIENTO */
#formulario-arrepentimiento {
  scroll-margin-top: 110px;
}

#formulario-arrepentimiento form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

#formulario-arrepentimiento form p {
  margin: 0;
}

#formulario-arrepentimiento form label {
  display: inline-block;
  margin-bottom: 8px;
  color: #514b40;
  font-weight: 500;
}

#formulario-arrepentimiento form input,
#formulario-arrepentimiento form select {
  width: 100%;
  box-sizing: border-box;
  padding: 13px 14px;
  border: 1px solid rgba(80, 75, 60, 0.24);
  border-radius: 10px;
  background: #fffdf9;
  color: inherit;
  font: inherit;
  min-height: 48px;
}

#formulario-arrepentimiento form input:focus,
#formulario-arrepentimiento form select:focus {
  outline: 2px solid rgba(100, 110, 75, 0.35);
  outline-offset: 2px;
}

#formulario-arrepentimiento form button {
  align-self: flex-start;
  cursor: pointer;
  font: inherit;
}

@media (max-width: 600px) {
  #formulario-arrepentimiento form button {
    width: 100%;
    justify-content: center;
  }
}

/* PREGUNTAS FRECUENTES · AJUSTE PARA CELULARES */

@media (max-width: 600px) {
  .faq-section {
    padding-top: 140px;
  }
}

/* FORMULARIO DE ARREPENTIMIENTO · ESTILO ARMONIZADO */
.policy-page form label {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.policy-page form input,
.policy-page form select {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
}

/* FORMULARIO DE ARREPENTIMIENTO · MÁS COMPACTO */
.policy-page form {
  max-width: 320px;
}

.policy-page form input,
.policy-page form select {
  width: 280%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 7px 9px;
  border-radius: 8px;
}

.policy-page form p {
  margin-bottom: 14px;
}

.policy-page form label {
  display: inline-block;
  margin-bottom: 4px;
}

.contact-form-wrap {
  width: 100%;
  max-width: 620px;
  margin: 28px 0 0;
  box-sizing: border-box;
}