/* =========================================================
   MARIETTA GARCÍA — Amuletos energéticos & terapias
   Estética: lujo orgánico / celestial · cálido · artesanal
   ========================================================= */

:root {
  /* Paleta */
  --ink:        #14110d;   /* casi negro cálido */
  --ink-soft:   #1d1812;
  --char:       #2a231b;
  --cream:      #f4ece0;   /* crema papel */
  --cream-2:    #ece1d0;
  --sand:       #d8c7ad;
  --clay:       #b07a56;   /* terracota */
  --gold:       #c9a24b;
  --gold-light: #e6cd8f;
  --gold-deep:  #a07e35;
  --sage:       #8a9676;
  --line:       rgba(201,162,75,.22);

  --maxw: 1240px;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, sans-serif;
  --script:'Tangerine', cursive;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--cream);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .045; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografía base ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; letter-spacing: .005em; }
h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 em, h1 em { font-style: italic; color: var(--gold-light); }
.script { font-family: var(--script); font-weight: 700; color: var(--gold-light); line-height: .8; }

.eyebrow {
  font-family: var(--sans); font-weight: 400;
  text-transform: uppercase; letter-spacing: .42em; font-size: .68rem;
  color: var(--gold); margin-bottom: 1.1rem;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 400; font-size: .82rem;
  letter-spacing: .16em; text-transform: uppercase;
  padding: 1rem 2rem; border-radius: 100px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s, color .4s;
  position: relative; will-change: transform;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-deep));
  color: var(--ink);
  box-shadow: 0 10px 34px -12px rgba(201,162,75,.7);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 44px -12px rgba(201,162,75,.85); }
.btn--ghost { border: 1px solid var(--line); color: var(--cream); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); transform: translateY(-3px); }
.btn--full { width: 100%; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem clamp(1.2rem, 4vw, 3rem);
  transition: background .5s var(--ease), padding .5s var(--ease), box-shadow .5s;
}
.nav.scrolled {
  background: rgba(20,17,13,.82);
  backdrop-filter: blur(14px);
  padding-top: 1rem; padding-bottom: 1rem;
  box-shadow: 0 1px 0 var(--line);
}
.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__emblem { color: var(--gold); display: inline-flex; }
.nav__name {
  font-family: var(--serif); font-size: 1.5rem; letter-spacing: .14em;
  text-transform: uppercase; line-height: 1;
}
.nav__name em { font-family: var(--script); font-style: normal; font-size: 2.1rem;
  text-transform: none; letter-spacing: 0; color: var(--gold-light); margin-left: .2rem; }

.nav__links { display: flex; gap: 2.2rem; }
.nav__links a {
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2);
  position: relative; padding: .3rem 0; transition: color .3s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--gold-light); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 1rem; }
.cart-btn { position: relative; color: var(--cream); display: inline-flex; padding: .4rem; transition: color .3s; }
.cart-btn:hover { color: var(--gold-light); }
.cart-count {
  position: absolute; top: -4px; right: -6px;
  background: var(--gold); color: var(--ink); font-size: .62rem; font-weight: 500;
  min-width: 17px; height: 17px; border-radius: 100px;
  display: grid; place-items: center; padding: 0 4px;
  transform: scale(0); transition: transform .35s var(--ease);
}
.cart-count[data-count]:not([data-count="0"]) { transform: scale(1); }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: .4rem; }
.nav__burger span { width: 24px; height: 1.5px; background: var(--cream); transition: .35s var(--ease); display: block; }
.nav__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.open span:nth-child(2) { opacity: 0; }
.nav__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: clamp(2rem, 4vw, 3rem);
  padding: 8rem clamp(1.2rem, 4vw, 3rem) 5rem;
  max-width: var(--maxw); margin: 0 auto;
}
.hero__inner { max-width: 760px; }
.hero__glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 80vw; max-width: 900px; max-height: 900px; z-index: -1;
  background: radial-gradient(circle, rgba(201,162,75,.20), rgba(201,162,75,.05) 40%, transparent 65%);
  filter: blur(20px); animation: breathe 9s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { transform: translateX(-50%) scale(1); opacity: .9; } 50% { transform: translateX(-50%) scale(1.08); opacity: 1; } }

.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .3em; font-size: .72rem; color: var(--gold);
  margin-bottom: 1.6rem;
}
.hero__title {
  font-size: clamp(3.2rem, 8vw, 6.4rem); line-height: .98; letter-spacing: .01em;
}
.hero__title .script { font-size: clamp(4.4rem, 11vw, 9rem); display: inline-block; margin-top: -.1em; }
.hero__lead { max-width: 34rem; margin: 2rem auto 2.6rem; color: var(--cream-2); font-size: 1.05rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

/* Banner completo (imagen ancha de marca, sin recortar) */
.hero__banner {
  width: 100%; max-width: 1120px; position: relative;
  border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,.85);
}
.hero__banner img {
  width: 100%; height: auto; display: block;
  filter: saturate(1.02) contrast(1.02);
}
.hero__banner::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: 22px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
  background: linear-gradient(180deg, transparent 70%, rgba(20,17,13,.12));
}

.hero__scroll {
  position: absolute; bottom: 2rem; left: clamp(1.2rem, 4vw, 3rem);
  display: flex; align-items: center; gap: .7rem;
  font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
}
.hero__scroll i { width: 40px; height: 1px; background: var(--gold); transform-origin: left; animation: scrollLine 2.4s var(--ease) infinite; }
@keyframes scrollLine { 0%,100% { transform: scaleX(.3); opacity: .4; } 50% { transform: scaleX(1); opacity: 1; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; padding: 1.1rem 0; background: var(--ink-soft);
}
.marquee__track {
  display: flex; align-items: center; gap: 2.4rem; width: max-content;
  animation: scrollX 38s linear infinite;
  font-family: var(--serif); font-size: 1.5rem; font-style: italic; color: var(--cream-2);
}
.marquee__track .dot { color: var(--gold); font-style: normal; font-size: .9rem; }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* =========================================================
   SOBRE MÍ
   ========================================================= */
.about {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.about__media { position: relative; }
.about__media img { width: 100%; aspect-ratio: 3/3.4; object-fit: cover; object-position: 78% center; border-radius: 18px; }
.about__badge {
  position: absolute; bottom: -22px; right: -10px;
  background: var(--gold); color: var(--ink); border-radius: 100px;
  padding: .6rem 1.6rem; box-shadow: 0 14px 30px -12px rgba(0,0,0,.6);
}
.about__badge .script { font-size: 2.2rem; color: var(--ink); }
.about__text h2 { margin-bottom: 1.6rem; }
.about__text p { color: var(--cream-2); margin-bottom: 1.2rem; max-width: 34rem; }
.about__stats { display: flex; gap: 2.5rem; margin-top: 2.4rem; }
.about__stats div { display: flex; flex-direction: column; }
.about__stats strong { font-family: var(--serif); font-size: 2.4rem; color: var(--gold-light); font-weight: 500; }
.about__stats span { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }

/* =========================================================
   SECTION HEADS
   ========================================================= */
.section-head { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3rem); }
.section-head--center { text-align: center; }
.section-head h2 { margin-bottom: 1.2rem; }
.section-head__lead { max-width: 36rem; color: var(--cream-2); }
.section-head--center .section-head__lead { margin: 0 auto; }

/* =========================================================
   SHOP / PRODUCTS
   ========================================================= */
.shop { padding: clamp(4rem, 9vw, 8rem) 0; }
.products {
  max-width: var(--maxw); margin: 3.5rem auto 0;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem;
}
.card {
  position: relative; border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  background: linear-gradient(180deg, var(--ink-soft), var(--ink));
  transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: rgba(201,162,75,.5); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.card__art {
  aspect-ratio: 1/1; position: relative; display: grid; place-items: center;
  overflow: hidden;
}
.card__art .stone {
  width: 56%; height: 56%; border-radius: 50%;
  filter: blur(.4px); box-shadow: inset 0 6px 18px rgba(255,255,255,.35), inset 0 -10px 24px rgba(0,0,0,.45), 0 16px 36px -12px rgba(0,0,0,.6);
  transition: transform .7s var(--ease);
}
.card:hover .stone { transform: scale(1.07) rotate(8deg); }
.card__art::after { /* halo */
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, rgba(201,162,75,.18), transparent 60%);
}
.card__tag {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: .58rem; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(20,17,13,.7); border: 1px solid var(--line); color: var(--gold-light);
  padding: .3rem .7rem; border-radius: 100px; backdrop-filter: blur(6px);
}
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__name { font-family: var(--serif); font-size: 1.5rem; line-height: 1.1; }
.card__name em { font-style: italic; color: var(--gold-light); display: block; font-size: 1.05rem; }
.card__desc { font-size: .86rem; color: var(--sand); margin: .5rem 0 1.2rem; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card__price { font-family: var(--serif); font-size: 1.5rem; color: var(--cream); }
.card__price small { font-size: .7rem; color: var(--sand); }
.card__add {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--gold); color: var(--gold-light);
  padding: .65rem 1.1rem; border-radius: 100px; font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase; transition: .35s var(--ease);
}
.card__add:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.card--custom { background: linear-gradient(160deg, rgba(176,122,86,.22), var(--ink)); border-color: rgba(176,122,86,.45); }
.card--custom .card__art::after { background: radial-gradient(circle at 50% 42%, rgba(176,122,86,.3), transparent 62%); }

/* =========================================================
   PROCESO
   ========================================================= */
.process { position: relative; padding: clamp(5rem, 10vw, 9rem) 0; background: var(--ink-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.process__glow { position: absolute; top: -20%; right: -10%; width: 50vw; height: 50vw; z-index: 0;
  background: radial-gradient(circle, rgba(201,162,75,.12), transparent 60%); filter: blur(30px); }
.steps {
  position: relative; z-index: 1; max-width: var(--maxw); margin: 3.5rem auto 0;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem;
}
.step { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.step__num { font-family: var(--serif); font-size: 1rem; color: var(--gold); letter-spacing: .2em; }
.step h3 { font-size: 1.5rem; margin: .8rem 0 .6rem; }
.step p { font-size: .9rem; color: var(--cream-2); }

/* =========================================================
   TERAPIAS
   ========================================================= */
.therapies { padding: clamp(5rem, 10vw, 9rem) 0; }
.therapy-list {
  max-width: var(--maxw); margin: 3rem auto 0; padding: 0 clamp(1.2rem, 4vw, 3rem);
  display: flex; flex-direction: column;
}
.therapy {
  display: grid; grid-template-columns: auto 1fr auto auto; gap: 1.6rem; align-items: center;
  padding: 1.8rem 0; border-top: 1px solid var(--line);
  transition: padding-left .4s var(--ease);
}
.therapy:last-child { border-bottom: 1px solid var(--line); }
.therapy:hover { padding-left: .8rem; }
.therapy__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.therapy__info h3 { font-size: 1.7rem; }
.therapy__info p { font-size: .88rem; color: var(--sand); }
.therapy__meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-2); white-space: nowrap; }
.therapy__price { font-family: var(--serif); font-size: 1.6rem; color: var(--gold-light); white-space: nowrap; }
.therapy__book {
  grid-column: 1 / -1; justify-self: start; margin-top: .4rem;
}

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.quotes {
  position: relative; padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem);
  max-width: var(--maxw); margin: 0 auto;
}
.quotes__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 50% 0%, rgba(201,162,75,.08), transparent 55%); }
.quote { border: 1px solid var(--line); border-radius: 18px; padding: 2rem; background: var(--ink-soft); }
.quote blockquote { font-family: var(--serif); font-size: 1.35rem; font-style: italic; line-height: 1.35; color: var(--cream); }
.quote figcaption { margin-top: 1.4rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { padding: clamp(5rem, 10vw, 9rem) clamp(1.2rem, 4vw, 3rem); }
.contact__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.contact__text h2 { margin-bottom: 1.2rem; }
.contact__text p { color: var(--cream-2); max-width: 28rem; }
.contact__links { margin-top: 2rem; display: flex; flex-direction: column; gap: .6rem; }
.contact__links a { font-family: var(--serif); font-size: 1.4rem; font-style: italic; color: var(--gold-light); transition: color .3s; width: fit-content; }
.contact__links a:hover { color: var(--gold); }

.contact__form { display: flex; flex-direction: column; gap: 1.1rem;
  background: var(--ink-soft); border: 1px solid var(--line); border-radius: 20px; padding: clamp(1.6rem, 4vw, 2.6rem); }
.contact__form label { display: flex; flex-direction: column; gap: .5rem; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.contact__form input, .contact__form textarea {
  font-family: var(--sans); font-weight: 300; font-size: 1rem; color: var(--cream);
  background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem;
  transition: border-color .3s; resize: vertical;
}
.contact__form input::placeholder, .contact__form textarea::placeholder { color: rgba(216,199,173,.4); }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--gold); }
.contact__note { color: var(--gold-light); font-family: var(--serif); font-style: italic; font-size: 1.1rem; text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--line); background: var(--ink-soft);
  padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.2rem, 4vw, 3rem) 2.5rem;
  display: grid; grid-template-columns: 1.4fr 2fr; gap: 3rem;
  max-width: var(--maxw); margin: 0 auto;
}
.footer__brand .nav__emblem { color: var(--gold); }
.footer__name { font-family: var(--serif); font-size: 2rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .6rem; }
.footer__name em { font-family: var(--script); font-style: normal; font-size: 2.8rem; text-transform: none; color: var(--gold-light); }
.footer__tag { color: var(--sand); font-size: .85rem; margin-top: .4rem; max-width: 24rem; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__cols h4 { font-family: var(--sans); font-weight: 500; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer__cols a { display: block; color: var(--cream-2); font-size: .9rem; padding: .25rem 0; transition: color .3s; }
.footer__cols a:hover { color: var(--gold-light); }
.footer__legal { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 1rem; padding-top: 1.6rem; font-size: .74rem; letter-spacing: .08em; color: var(--sand); }

/* =========================================================
   DRAWER / CARRITO
   ========================================================= */
.drawer-overlay { position: fixed; inset: 0; background: rgba(10,8,6,.6); backdrop-filter: blur(3px); z-index: 300; opacity: 0; transition: opacity .4s; }
.drawer-overlay.show { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw); z-index: 310;
  background: var(--ink-soft); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .5s var(--ease);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); box-shadow: -30px 0 60px -30px rgba(0,0,0,.8); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem; border-bottom: 1px solid var(--line); }
.drawer__head h3 { font-size: 1.6rem; }
.drawer__close { font-size: 1.8rem; color: var(--cream); line-height: 1; transition: color .3s, transform .3s; }
.drawer__close:hover { color: var(--gold); transform: rotate(90deg); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1.2rem 1.6rem; }
.drawer__empty { text-align: center; color: var(--sand); font-family: var(--serif); font-style: italic; font-size: 1.2rem; margin-top: 3rem; }

.line { display: grid; grid-template-columns: 56px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.line__art { width: 56px; height: 56px; border-radius: 12px; }
.line__name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; }
.line__price { font-size: .8rem; color: var(--sand); }
.line__qty { display: inline-flex; align-items: center; gap: .6rem; margin-top: .4rem; }
.line__qty button { width: 22px; height: 22px; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-light); display: grid; place-items: center; font-size: .9rem; transition: .3s; }
.line__qty button:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.line__qty span { min-width: 18px; text-align: center; font-size: .9rem; }
.line__remove { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sand); transition: color .3s; }
.line__remove:hover { color: var(--clay); }

.drawer__foot { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--line); }
.drawer__total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .4rem; }
.drawer__total span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sand); }
.drawer__total strong { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-light); }
.drawer__ship { font-size: .76rem; color: var(--sand); margin-bottom: 1.1rem; }
.drawer__secure { display: flex; align-items: center; gap: .4rem; justify-content: center; margin-top: .9rem; font-size: .68rem; color: var(--sand); }

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 1.5rem;
  background: rgba(10,8,6,.7); backdrop-filter: blur(6px); animation: fade .35s var(--ease); }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal__box { position: relative; max-width: 440px; width: 100%; background: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 22px; padding: 2.6rem 2rem 2.2rem; text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.modal__emblem { color: var(--gold); display: inline-flex; margin-bottom: .6rem; }
.modal__box h3 { font-size: 1.9rem; margin-bottom: 1rem; }
.modal__box p { color: var(--cream-2); font-size: .95rem; margin-bottom: 1.6rem; }
.modal__box p em { color: var(--gold-light); font-style: italic; }
.modal__close { position: absolute; top: 1rem; right: 1.2rem; font-size: 1.7rem; color: var(--sand); transition: color .3s; }
.modal__close:hover { color: var(--gold); }

/* =========================================================
   TOAST
   ========================================================= */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(150%);
  background: var(--gold); color: var(--ink); padding: .9rem 1.6rem; border-radius: 100px;
  font-size: .82rem; letter-spacing: .06em; z-index: 500; box-shadow: 0 18px 40px -16px rgba(0,0,0,.7);
  transition: transform .5s var(--ease); font-weight: 400;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* =========================================================
   REVEAL ANIMATION
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
.reveal.in { opacity: 1; transform: none; }

/* emblema rays draw-in en hover de nav brand */
.nav__brand:hover .emblem-rays line { animation: ray .6s var(--ease); }
@keyframes ray { from { opacity: .2; } to { opacity: 1; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero__scroll { display: none; }
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .contact__inner { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw);
    flex-direction: column; justify-content: center; gap: 1.8rem;
    background: var(--ink-soft); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .5s var(--ease); padding: 2rem;
    z-index: 190;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links a { font-size: 1.1rem; }
  .nav__burger { display: flex; }
  .nav__name { font-size: 1.2rem; }
  .nav__name em { font-size: 1.7rem; }
  .therapy { grid-template-columns: 1fr auto; row-gap: .4rem; }
  .therapy__num { display: none; }
  .therapy__meta { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .products { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about__stats { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   ============  V2 · SITIO MULTIPÁGINA  ====================
   Submenús, tienda, ficha de producto, páginas de terapia,
   acordeón, carrusel, WhatsApp flotante, pop-up, legales.
   ========================================================= */

/* ---------- utilidades comunes ---------- */
.btn--sm { padding: .6rem 1.1rem; font-size: .72rem; }
.section-cta { text-align: center; margin-top: 3rem; padding: 0 clamp(1.2rem,4vw,3rem); }
.page { padding-top: 0; }
.page-head { padding-top: clamp(7rem, 12vw, 9rem); padding-bottom: 1rem; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem,6vw,4.4rem); }
.loading { text-align: center; padding: 8rem 1rem; color: var(--sand); }
.empty-state { text-align: center; padding: 9rem clamp(1.2rem,4vw,3rem); }
.empty-state h1 { margin-bottom: 1.6rem; }
.back-link { display: inline-block; margin: 2.5rem clamp(1.2rem,4vw,3rem); color: var(--gold); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; transition: color .3s; }
.back-link:hover { color: var(--gold-light); }

/* ---------- NAV: submenús ---------- */
.has-sub { position: relative; }
.has-sub__toggle { display: inline-flex; align-items: center; gap: .4rem; }
.caret { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin-bottom: 3px; transition: transform .3s; opacity: .8; }
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 230px;
  background: rgba(20,17,13,.96); backdrop-filter: blur(14px);
  border: 1px solid var(--line); border-radius: 14px; padding: .6rem;
  display: flex; flex-direction: column; gap: .1rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  z-index: 220; box-shadow: 0 30px 60px -30px rgba(0,0,0,.85);
}
.has-sub:hover > .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { font-size: .8rem; letter-spacing: .06em; text-transform: none; padding: .55rem .8rem; border-radius: 9px; color: var(--cream-2); transition: background .25s, color .25s; }
.submenu a::after { display: none; }
.submenu a:hover { background: rgba(201,162,75,.12); color: var(--gold-light); }
.has-sub--nested > .submenu { left: 100%; top: -.6rem; }
.submenu--stones { min-width: 360px; display: grid; grid-template-columns: 1fr 1fr; gap: .05rem; max-height: 70vh; overflow-y: auto; }

/* ---------- MARQUEE frase única ---------- */
.marquee--phrase .marquee__track { animation-duration: 48s; font-size: clamp(1.1rem, 2.6vw, 1.7rem); }
.marquee__phrase em { font-style: italic; }
.marquee--phrase .dot { color: var(--gold); padding: 0 1.4rem; }

/* ---------- SOBRE MÍ (texto largo) ---------- */
.about__body p { color: var(--cream-2); margin-bottom: 1rem; max-width: 36rem; }
.about__body p:first-child { font-size: 1.15rem; color: var(--cream); }

/* ---------- CARD como enlace ---------- */
.card { color: inherit; }
.card__img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card__more { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-light); transition: color .3s; }
.card:hover .card__more { color: var(--gold); }
.card__badge { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; background: var(--gold); color: var(--ink); padding: .3rem .6rem; border-radius: 100px; }
.products--preview { grid-template-columns: repeat(4, 1fr); }

.shop__titlelink { transition: color .3s; }
.shop__titlelink:hover { color: var(--gold-light); }

/* ---------- TIENDA: tabs + chips ---------- */
.shop-page { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem,4vw,3rem) 5rem; }
.shop-tabs { display: flex; justify-content: center; gap: .6rem; flex-wrap: wrap; margin: 2rem 0 1.2rem; }
.shop-tab { border: 1px solid var(--line); color: var(--cream-2); padding: .6rem 1.4rem; border-radius: 100px; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; transition: .3s var(--ease); }
.shop-tab:hover { border-color: var(--gold); color: var(--gold-light); }
.shop-tab.is-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.shop-stones { display: flex; justify-content: center; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; max-width: 900px; margin-left: auto; margin-right: auto; }
.stone-chip { border: 1px solid var(--line); color: var(--sand); padding: .35rem .9rem; border-radius: 100px; font-size: .72rem; transition: .3s; }
.stone-chip:hover { border-color: var(--gold); color: var(--gold-light); }
.stone-chip.is-active { background: rgba(201,162,75,.18); color: var(--gold-light); border-color: var(--gold); }
.shop-page .products { margin-top: 1.5rem; }
.shop-empty { text-align: center; color: var(--sand); font-family: var(--serif); font-style: italic; font-size: 1.3rem; padding: 4rem 1rem; }

/* ---------- FICHA DE PRODUCTO ---------- */
.product-page { max-width: var(--maxw); margin: 0 auto; padding: 5rem clamp(1.2rem,4vw,3rem) 5rem; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: start; }
.product__main { aspect-ratio: 1/1; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: grid; place-items: center; background: var(--ink-soft); }
.product__main img { width: 100%; height: 100%; object-fit: cover; }
.product__stone { width: 60%; height: 60%; border-radius: 50%; box-shadow: inset 0 6px 18px rgba(255,255,255,.35), inset 0 -10px 24px rgba(0,0,0,.45); }
.product__thumbs { display: flex; gap: .7rem; margin-top: 1rem; }
.product__thumb { width: 70px; height: 70px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); opacity: .6; transition: .3s; }
.product__thumb.is-active, .product__thumb:hover { opacity: 1; border-color: var(--gold); }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__title { font-family: var(--serif); font-size: clamp(2.2rem,5vw,3.4rem); margin: .4rem 0 .8rem; }
.product__price { font-family: var(--serif); font-size: 2rem; color: var(--gold-light); margin-bottom: 1.6rem; }
.product__price small { font-size: .9rem; color: var(--sand); }
.product__desc p { color: var(--cream-2); margin-bottom: 1rem; }
.product__details { margin: 1.2rem 0 2rem; display: flex; flex-direction: column; gap: .5rem; }
.product__details li { position: relative; padding-left: 1.4rem; color: var(--sand); font-size: .92rem; }
.product__details li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
.product__buy { margin-top: .5rem; }
.product__note { text-align: center; color: var(--sand); font-size: .82rem; margin-top: .9rem; }

/* ---------- HOME: acciones terapia ---------- */
.therapy__actions { grid-column: 1 / -1; display: flex; gap: .7rem; margin-top: .5rem; flex-wrap: wrap; }

/* ---------- CARRUSEL ---------- */
.carousel { position: relative; max-width: var(--maxw); margin: 2.5rem auto 0; padding: 0 clamp(1.2rem,4vw,3rem); display: flex; align-items: center; gap: .6rem; }
.carousel__viewport { overflow: hidden; flex: 1; }
.carousel__track { display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .5rem; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > .quote { scroll-snap-align: start; flex: 0 0 clamp(260px, 32%, 360px); }
.quote--img { padding: 0; overflow: hidden; }
.quote--img img { width: 100%; height: auto; display: block; }
.carousel__nav { width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; color: var(--gold-light); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: .3s; }
.carousel__nav:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- BLOQUE 98% AFIRMAN ---------- */
.afirman { max-width: var(--maxw); margin: 0 auto; padding: clamp(3rem,7vw,6rem) clamp(1.2rem,4vw,3rem); }
.afirman__inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; background: linear-gradient(160deg, rgba(201,162,75,.1), var(--ink-soft)); border: 1px solid var(--line); border-radius: 24px; padding: clamp(2rem,5vw,3.5rem); }
.afirman__ring { width: 180px; height: 180px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold); box-shadow: inset 0 0 40px rgba(201,162,75,.2); }
.afirman__num { font-family: var(--serif); font-size: 3.6rem; color: var(--gold-light); }
.afirman__copy h2 { font-size: clamp(1.8rem,3.6vw,2.8rem); margin: .4rem 0 1rem; }
.afirman__lead { letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--sand); }
.afirman__pillars { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.4rem; }
.afirman__pillars li { font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 100px; }
.afirman__foot { text-align: center; font-family: var(--serif); font-style: italic; color: var(--sand); margin-top: 1.6rem; }

.contact__schedule { font-size: .85rem; color: var(--sand); margin-top: 1rem; }

/* ---------- PÁGINAS DE TERAPIA ---------- */
.therapy-page { overflow: hidden; }
.therapy-page section { max-width: 900px; margin: 0 auto; }
.th-hero { max-width: none !important; min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 9rem clamp(1.2rem,4vw,3rem) 5rem; background: radial-gradient(circle at 50% 30%, rgba(201,162,75,.14), var(--ink) 60%); background-size: cover; background-position: center; }
.th-hero__inner { max-width: 700px; }
.th-hero h1 { font-size: clamp(2.6rem,7vw,5rem); margin: .6rem 0 1.2rem; }
.th-hero__sub { font-size: 1.15rem; color: var(--cream-2); max-width: 36rem; margin: 0 auto 2rem; }
.th-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 1.8rem; margin-top: 2rem; }
.th-trust li { font-size: .82rem; color: var(--gold-light); letter-spacing: .04em; }
.th-block { padding: clamp(3rem,6vw,5rem) clamp(1.2rem,4vw,3rem); }
.th-block h2 { font-size: clamp(1.9rem,4vw,3rem); margin-bottom: 1.6rem; }
.th-bullets { display: flex; flex-direction: column; gap: .8rem; }
.th-bullets li { position: relative; padding-left: 1.6rem; color: var(--cream-2); }
.th-bullets li::before { content: '●'; position: absolute; left: 0; color: var(--gold); font-size: .7rem; top: .35rem; }
.th-bridge { margin-top: 2.2rem; border-left: 2px solid var(--gold); padding: .4rem 0 .4rem 1.4rem; }
.th-bridge h3 { font-size: 1.5rem; color: var(--gold-light); margin-bottom: .6rem; }
.th-bridge p { color: var(--cream-2); }
.th-whatis { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.th-whatis.has-img { grid-template-columns: 1.2fr .8fr; align-items: center; }
.th-whatis__text p { color: var(--cream-2); margin-bottom: 1rem; }
.th-whatis__img img { width: 100%; border-radius: 18px; border: 1px solid var(--line); }
.th-grid-check { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem 1.6rem; }
.th-grid-check li { position: relative; padding-left: 1.6rem; color: var(--cream-2); }
.th-grid-check li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); }
.th-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.th-card { border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem 1.4rem; background: var(--ink-soft); font-family: var(--serif); font-size: 1.25rem; color: var(--cream); }
.th-legal-note { margin-top: 1.4rem; font-size: .8rem; color: var(--sand); font-style: italic; }
.th-timeline { display: flex; flex-direction: column; gap: 0; }
.th-timeline li { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.th-timeline li:first-child { border-top: 1px solid var(--line); }
.th-timeline__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.4rem; }
.th-timeline h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.th-timeline p { color: var(--cream-2); }
.th-practical__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.th-fact { border: 1px solid var(--line); border-radius: 14px; padding: 1.2rem; background: var(--ink-soft); text-align: center; }
.th-fact span { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.th-fact strong { font-family: var(--serif); font-size: 1.4rem; color: var(--cream); font-weight: 400; }
.th-includes { margin-top: 1.2rem; color: var(--cream-2); }
.th-flyer { margin-top: 1.6rem; max-width: 420px; aspect-ratio: 4/5; }
.th-flyer img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); }
.th-cta { text-align: center; background: linear-gradient(160deg, rgba(201,162,75,.22), rgba(176,122,86,.12)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(3.5rem,7vw,6rem) clamp(1.2rem,4vw,3rem) !important; max-width: none !important; }
.th-cta h2 { font-size: clamp(2rem,5vw,3.4rem); margin-bottom: 1rem; }
.th-cta p { color: var(--cream-2); max-width: 36rem; margin: 0 auto 2rem; }
.th-disclaimer { max-width: 760px; margin: 0 auto; padding: 2.5rem clamp(1.2rem,4vw,3rem); font-size: .78rem; color: var(--sand); line-height: 1.7; }
.th-disclaimer strong { color: var(--cream-2); }

/* ---------- Testimonios en páginas de terapia (igual que en la home) ---------- */
.th-testi { text-align: center; }
.th-testi h2 { text-align: center; }
.th-testi .carousel { text-align: left; margin-top: 2rem; padding: 0; }

/* ---------- ACORDEÓN (FAQ) ---------- */
.accordion { display: flex; flex-direction: column; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.2rem 0; font-family: var(--serif); font-size: 1.25rem; color: var(--cream); transition: color .3s; }
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary:hover { color: var(--gold-light); }
.accordion__plus { color: var(--gold); font-size: 1.5rem; transition: transform .3s; flex: 0 0 auto; }
.accordion__item[open] .accordion__plus { transform: rotate(45deg); }
.accordion__body { padding: 0 0 1.4rem; color: var(--cream-2); max-width: 48rem; }

/* ---------- FAQ & CONTACTO PAGE ---------- */
.faq-page { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem,4vw,3rem) 4rem; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); margin-top: 2rem; }
.faq-col h2 { font-size: 1.8rem; margin-bottom: 1rem; }

/* ---------- PÁGINAS SIMPLES (eventos / descargables) ---------- */
.simple-page { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem,4vw,3rem) 5rem; }
.two-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 2.5rem; }
.block-card { border: 1px solid var(--line); border-radius: 20px; padding: clamp(2rem,4vw,3rem); background: var(--ink-soft); text-align: center; }
.block-card--soft { background: linear-gradient(160deg, rgba(176,122,86,.14), var(--ink-soft)); }
.block-card h2 { font-size: 1.9rem; margin-bottom: 1rem; }
.block-card p { color: var(--cream-2); margin-bottom: 1.8rem; }

/* ---------- DESCARGABLES ---------- */
.downloads-grid { max-width: var(--maxw); margin: 2.5rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.download-card { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--ink-soft); display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s; }
.download-card:hover { transform: translateY(-5px); border-color: rgba(201,162,75,.5); }
.download__cover { aspect-ratio: 4/3; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, rgba(201,162,75,.14), var(--ink)); }
.download__cover img { width: 100%; height: 100%; object-fit: cover; }
.download__cover--icon { color: var(--gold); }
.download__body { padding: 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.download__body h3 { font-family: var(--serif); font-size: 1.5rem; }
.download__body p { font-size: .9rem; color: var(--sand); flex: 1; }
.download__body .btn { margin-top: .6rem; align-self: flex-start; }
@media (max-width: 900px) { .downloads-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .downloads-grid { grid-template-columns: 1fr; } }

/* ---------- LEGALES ---------- */
.legal-page { max-width: 820px; margin: 0 auto; padding: 0 clamp(1.2rem,4vw,3rem) 4rem; }
.legal-body h2 { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-light); margin: 2rem 0 .8rem; }
.legal-body p, .legal-body li { color: var(--cream-2); margin-bottom: .8rem; line-height: 1.8; }
.legal-body ul { padding-left: 1.2rem; }
.legal-body li { list-style: disc; }
.legal-body em { color: var(--sand); }

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 450;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px -10px rgba(37,211,102,.7);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 20px 44px -10px rgba(37,211,102,.85); }

/* ---------- POP-UP ---------- */
.popup { position: fixed; inset: 0; z-index: 460; display: grid; place-items: center; padding: 1.5rem; background: rgba(10,8,6,.7); backdrop-filter: blur(6px); }
.popup[hidden] { display: none; }
.popup__box { position: relative; max-width: 420px; width: 100%; background: var(--ink-soft); border: 1px solid var(--line); border-radius: 22px; padding: 2.6rem 2rem 2rem; text-align: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8); }
.popup__box h3 { font-size: 1.9rem; margin-bottom: .8rem; }
.popup__box > p { color: var(--cream-2); margin-bottom: 1.4rem; }
.popup__form { display: flex; flex-direction: column; gap: .8rem; }
.popup__form input { font-family: var(--sans); font-size: 1rem; color: var(--cream); background: var(--ink); border: 1px solid var(--line); border-radius: 12px; padding: .85rem 1rem; }
.popup__form input:focus { outline: none; border-color: var(--gold); }
.popup__note { font-size: .74rem; color: var(--sand); margin-top: .9rem; }
.popup__close { position: absolute; top: 1rem; right: 1.2rem; font-size: 1.7rem; color: var(--sand); transition: color .3s; }
.popup__close:hover { color: var(--gold); }

/* ---------- RESPONSIVE V2 ---------- */
@media (max-width: 1024px) { .products--preview { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw);
    flex-direction: column; justify-content: flex-start; gap: .4rem;
    background: var(--ink-soft); border-left: 1px solid var(--line);
    transform: translateX(100%); transition: transform .5s var(--ease);
    padding: 5.5rem 1.6rem 2rem; z-index: 190; overflow-y: auto;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links > a, .has-sub { width: 100%; }
  .nav__links a { font-size: 1.05rem; padding: .7rem 0; }
  .nav__burger { display: flex; }
  .nav__name { font-size: 1.2rem; }
  .nav__name em { font-size: 1.7rem; }

  /* submenús en móvil: desplegables al tocar */
  .submenu { position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: none; box-shadow: none; padding: 0 0 0 1rem;
    max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
  .has-sub.open > .submenu { max-height: 1400px; }
  .has-sub--nested > .submenu { left: auto; top: auto; }
  .submenu--stones { grid-template-columns: 1fr 1fr; min-width: 0; max-height: 0; }
  .has-sub.open > .submenu.submenu--stones { max-height: 1400px; }
  .has-sub.open > .has-sub__toggle .caret { transform: rotate(-135deg); }
}

@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; }
  .product__main { max-width: 460px; }
  .afirman__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .afirman__pillars { justify-content: center; }
  .faq-cols { grid-template-columns: 1fr; }
  .two-blocks { grid-template-columns: 1fr; }
  .th-whatis.has-img { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .products--preview { grid-template-columns: 1fr; }
  .th-grid-check, .th-cards, .th-practical__rows { grid-template-columns: 1fr; }
  .carousel__track > .quote { flex-basis: 86%; }
  .wa-float { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
}
