/* =========================================================
   MENTE PLENA — Psicología clínica en línea
   Estética: calma editorial + ilustración serena (luna/colinas)
   Motivo de marca: enso / luna (plenitud)
   Tipografía: Fraunces (display) + Mulish (texto)
   ========================================================= */

:root {
  /* Paleta de marca */
  --cream:        #F4EFE6;
  --cream-2:      #FBF8F2;
  --cream-3:      #EBE3D5;
  --teal:         #1F5C66;
  --teal-deep:    #143A42;
  --teal-ink:     #1A3D43;
  --teal-900:     #0D2A30;
  --sage:         #8FAE9B;
  --sage-soft:    #C9D8CD;
  --terracotta:   #D9A066;
  --terracotta-d: #BC8244;

  /* Tintes pastel para bandas (estilo wellness) */
  --mint:         #E6EFE9;
  --mint-2:       #D9E8DE;
  --peach:        #FBEEDB;
  --peach-2:      #F6E2C8;
  --night-top:    #123740;

  /* Sistema */
  --maxw: 1180px;
  --gut: clamp(1.25rem, 4vw, 3rem);
  --radius: 18px;
  --radius-lg: 30px;
  --shadow-sm: 0 2px 14px rgba(20, 58, 66, .06);
  --shadow-md: 0 18px 50px -22px rgba(20, 58, 66, .35);
  --shadow-lg: 0 40px 90px -40px rgba(13, 42, 48, .45);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Mulish", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);

  /* Trazo de pincel (enso) para subrayar titulares clave */
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 18' preserveAspectRatio='none'%3E%3Cpath d='M4 11C44 4 84 14 124 8s78-9 112 3' fill='none' stroke='%23D9A066' stroke-width='4.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--sans);
  color: var(--teal-ink);
  background: var(--cream);
  line-height: 1.65;
  font-weight: 400;
  font-size: clamp(1rem, .55vw + .9rem, 1.12rem);
  letter-spacing: .002em;
  overflow-x: clip;
  position: relative;
}

/* Grano cálido sutil sobre todo el lienzo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: .03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
section { position: relative; }

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--teal-900); line-height: 1.08; letter-spacing: -.012em; }
h1 em, h2 em { font-style: italic; color: var(--teal); }

/* Subrayado de pincel (enso) bajo titulares clave */
.brush { position: relative; display: inline-block; }
.brush::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: -.36em; height: .42em;
  background-image: var(--brush); background-repeat: no-repeat; background-size: 100% 100%;
  opacity: 0; transform: scaleX(.7); transform-origin: left;
  transition: opacity .7s var(--ease) .25s, transform .9s var(--ease) .25s;
}
.brush.is-visible::after { opacity: .9; transform: scaleX(1); }
html:not(.js) .brush::after { opacity: .9; transform: none; }

.eyebrow {
  font-family: var(--sans); font-weight: 700; font-size: .8rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta-d);
}

.label {
  font-family: var(--sans); font-weight: 700; font-size: .76rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--teal); margin-bottom: 1rem;
}
.label--light { color: var(--sage); }

.section-head { max-width: 42rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-sub { margin-top: 1.3rem; font-size: 1.08rem; color: var(--teal-ink); opacity: .85; }
.section-sub--light { color: var(--cream); opacity: .8; }
.section-sub a { color: var(--teal); font-weight: 600; border-bottom: 1.5px solid var(--terracotta); }

/* ---------- Botones ---------- */
.btn {
  --bg: var(--teal); --fg: var(--cream-2);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  background: var(--bg); color: var(--fg);
  padding: .85em 1.5em; border-radius: 100px; border: 1.5px solid var(--bg);
  cursor: pointer; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -12px rgba(31, 92, 102, .55); }
.btn:active { transform: translateY(-1px); }
.btn--lg { padding: 1.05em 1.9em; font-size: 1.04rem; }
.btn--sm { padding: .62em 1.15em; font-size: .9rem; }
.btn--ghost { background: transparent; color: var(--teal); border-color: rgba(31, 92, 102, .35); }
.btn--ghost:hover { background: rgba(31, 92, 102, .06); border-color: var(--teal); }
.btn--cream { --bg: var(--cream-2); --fg: var(--teal-900); border-color: var(--cream-2); }
.btn--cream:hover { box-shadow: 0 14px 34px -12px rgba(0,0,0,.45); }

/* ---------- Accesibilidad ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 10000;
  background: var(--teal); color: var(--cream-2); padding: .8rem 1.2rem; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2.5px solid var(--terracotta); outline-offset: 3px; border-radius: 4px; }

/* ---------- Píldoras de confianza ---------- */
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.3rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(251, 248, 242, .8); border: 1px solid rgba(31, 92, 102, .16);
  padding: .42rem .9rem; border-radius: 100px; font-size: .82rem; font-weight: 600; color: var(--teal-deep);
  backdrop-filter: blur(4px); box-shadow: var(--shadow-sm);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracotta); flex: none; }

/* ---------- Ondas entre secciones ---------- */
.wave { position: relative; }
.wave::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: clamp(38px, 5.5vw, 74px);
  transform: translateY(-99%); background-repeat: no-repeat; background-size: 100% 100%; z-index: 1;
}
.wave--mint::before  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80 L0 38 C 420 6 1020 70 1440 30 L1440 80 Z' fill='%23E6EFE9'/%3E%3C/svg%3E"); }
.wave--cream::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80 L0 38 C 420 6 1020 70 1440 30 L1440 80 Z' fill='%23F4EFE6'/%3E%3C/svg%3E"); }
.wave--peach::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80 L0 38 C 420 6 1020 70 1440 30 L1440 80 Z' fill='%23FBEEDB'/%3E%3C/svg%3E"); }
.wave--night::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 80 L0 38 C 420 6 1020 70 1440 30 L1440 80 Z' fill='%23123740'/%3E%3C/svg%3E"); }

/* =========================================================
   TOPBAR + HEADER / NAV
   ========================================================= */
.topbar { background: var(--teal-900); color: rgba(244,239,230,.8); font-size: .82rem; }
.topbar__row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .5rem; }
.topbar__actions { display: inline-flex; align-items: center; }
.topbar__actions a { color: var(--cream); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color .3s; }
.topbar__actions a:hover { border-color: var(--terracotta); }
.topbar__sep { opacity: .4; margin-inline: .6rem; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(244, 239, 230, .82);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(20, 58, 66, .08);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: 1.05rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-22deg); }
.brand__word { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; color: var(--teal-900); letter-spacing: -.01em; }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__links > a:not(.btn) { font-weight: 500; font-size: .98rem; color: var(--teal-ink); position: relative; padding-block: .3rem; }
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--terracotta); transition: width .35s var(--ease);
}
.nav__links > a:not(.btn):hover::after { width: 100%; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: .4rem; }
.nav__toggle span { width: 26px; height: 2px; background: var(--teal-900); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO (escena ilustrada)
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(5rem, 12vw, 9rem);
  background: linear-gradient(180deg, #D6E7DE 0%, #E5EFE9 28%, #EFEDE4 58%, var(--cream) 100%);
}
.hero__sky { position: absolute; left: 0; top: 0; width: 100%; height: clamp(320px, 50%, 520px); z-index: 0; }
.hero__stars circle { opacity: .22; }
.hero__hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(70px, 11vw, 150px); z-index: 0; }
.hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__title { font-size: clamp(2.6rem, 6.2vw, 5rem); margin: 0 0 1rem; max-width: 15ch; }
.hero__kw { font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.5; color: var(--teal); margin: 0 0 1.2rem; max-width: 46ch; }

/* ---- Páginas de servicio (subpáginas SEO) ---- */
.page-hero { background: linear-gradient(180deg, #E6EFE9 0%, var(--cream) 100%); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.breadcrumbs { font-size: .82rem; color: var(--teal); margin-bottom: 1rem; }
.breadcrumbs a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.breadcrumbs a:hover { border-color: var(--terracotta); }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); max-width: 20ch; }
.page-hero .page-sub { margin-top: 1.1rem; font-size: 1.12rem; color: var(--teal-ink); max-width: 52ch; }
.page-hero .btn { margin-top: 1.6rem; }
.prose { max-width: 44rem; margin: 0 auto; padding-block: clamp(2.5rem, 6vw, 4rem); }
.prose h2 { font-family: var(--serif); font-size: clamp(1.45rem, 3vw, 2.05rem); color: var(--teal-900); margin: 2.2rem 0 .8rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.1rem; color: var(--teal-ink); }
.prose p strong { color: var(--teal-900); }
.page-cta { background: var(--mint); text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.page-cta h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--teal-900); margin-bottom: 1.4rem; }
.page-links { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.page-links a { font-size: .9rem; font-weight: 600; color: var(--teal); background: var(--cream-2); border: 1px solid var(--cream-3); border-radius: 100px; padding: .5rem 1rem; transition: border-color .3s, transform .3s; }
.page-links a:hover { border-color: var(--sage); transform: translateY(-2px); }
.hero__lead { font-size: clamp(1.08rem, 1.4vw, 1.28rem); max-width: 44ch; color: var(--teal-ink); }
.hero__lead strong { color: var(--teal-900); font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero__reassure { margin-top: .95rem; font-size: .9rem; color: var(--teal); font-weight: 600; }
.hero__reassure::before { content: "✦ "; color: var(--terracotta); }

/* Luna-retrato (a la derecha) */
.hero__visual { display: grid; place-items: center; }
.moon { position: relative; width: min(86%, 380px); aspect-ratio: 1; display: grid; place-items: center; }
.moon__glow { position: absolute; inset: -4%; border-radius: 50%; background: radial-gradient(circle, rgba(217,160,102,.35), transparent 66%); z-index: 0; }
.moon__glow--2 { inset: -16%; background: radial-gradient(circle, rgba(143,174,155,.32), transparent 62%); }
.moon__disc {
  position: relative; z-index: 2; width: 80%; aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  background: radial-gradient(circle at 34% 30%, #FBF8F2 0%, #E2E9E1 58%, #C6D5C9 100%);
  box-shadow: inset -14px -18px 44px rgba(20,58,66,.18), var(--shadow-lg);
  display: grid; place-items: center; animation: floaty 9s ease-in-out infinite;
}
.moon .photo-ph { color: rgba(31,92,102,.55); }
.moon__logo { width: 72%; height: auto; filter: drop-shadow(0 6px 14px rgba(20,58,66,.16)); }
.moon__star { position: absolute; border-radius: 50%; z-index: 3; }
.moon__star--1 { width: 15px; height: 15px; top: 4%; right: 9%; background: var(--terracotta); box-shadow: 0 6px 16px -4px rgba(188,130,68,.7); }
.moon__star--2 { width: 10px; height: 10px; bottom: 12%; left: 3%; background: var(--teal); }
.moon__mark { position: absolute; right: -2%; bottom: 3%; z-index: 4; filter: drop-shadow(0 8px 18px rgba(20,58,66,.25)); animation: floaty 7s ease-in-out infinite reverse; }
.photo-ph { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 3vw, 2rem); text-align: center; padding: 1rem; letter-spacing: .02em; }

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

/* =========================================================
   ¿QUÉ TE TRAE HOY? — tarjetas-tema clicables (crema)
   ========================================================= */
.temas { background: var(--cream); padding-block: clamp(4rem, 8vw, 7rem); }

/* Lista de temas: minimal, gran tipografía, engancha como primera impresión */
.topics { list-style: none; max-width: 62rem; margin: clamp(2rem, 4vw, 3.2rem) auto 0; border-top: 1px solid var(--cream-3); }
.topic-row { border-bottom: 1px solid var(--cream-3); }
.topic {
  display: flex; align-items: center; gap: 1.1rem; color: inherit; position: relative; overflow: hidden;
  padding: clamp(1rem, 2.4vw, 1.5rem) clamp(.7rem, 2vw, 1.4rem);
}
.topic::before {
  content: ""; position: absolute; inset: 0; background: var(--cream-2);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); z-index: 0;
}
.topic > * { position: relative; z-index: 1; }
.topic__n { font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .12em; color: var(--terracotta-d); width: 2.1rem; flex: none; }
.topic__name {
  font-family: var(--serif); font-size: clamp(1.35rem, 3vw, 2.1rem); color: var(--teal-900);
  line-height: 1.1; letter-spacing: -.01em; transition: transform .4s var(--ease), color .3s;
}
.topic__arrow {
  margin-left: auto; font-family: var(--sans); font-size: 1.5rem; color: var(--teal); flex: none;
  opacity: 0; transform: translateX(-10px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.topic:hover::before, .topic:focus-visible::before { transform: scaleX(1); }
.topic:hover .topic__name, .topic:focus-visible .topic__name { color: var(--teal); transform: translateX(10px); }
.topic:hover .topic__arrow, .topic:focus-visible .topic__arrow { opacity: 1; transform: none; }
@media (max-width: 560px) { .topic__name { transform: none !important; } .topic__arrow { opacity: 1; transform: none; font-size: 1.2rem; } }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--cream-2); border: 1px solid var(--cream-3); border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative; overflow: hidden; color: inherit;
}
.card::after {
  content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%;
  background: var(--sage-soft); opacity: 0; transition: opacity .4s var(--ease), transform .5s var(--ease); transform: scale(.6);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.card:hover::after { opacity: .5; transform: scale(1); }
.card__icon {
  width: 30px; height: 30px; border-radius: 50%; position: relative; z-index: 1; margin-bottom: 1rem;
  border: 2.5px solid var(--teal); border-right-color: transparent; transition: transform .5s var(--ease), border-color .4s;
}
.card__icon::after { content: ""; position: absolute; right: -3px; top: 2px; width: 7px; height: 7px; border-radius: 50%; background: var(--terracotta); }
.card:hover .card__icon { transform: rotate(115deg); border-color: var(--sage); border-right-color: transparent; }
.card h3 { font-size: 1.28rem; margin: 0 0 .5rem; position: relative; z-index: 1; }
.card p { font-size: .95rem; color: var(--teal-ink); opacity: .85; position: relative; z-index: 1; flex-grow: 1; }
.card__go {
  margin-top: 1.1rem; font-family: var(--sans); font-weight: 700; font-size: .82rem; letter-spacing: .04em; color: var(--teal);
  position: relative; z-index: 1; opacity: 0; transform: translateX(-6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.card:hover .card__go, .card:focus-visible .card__go { opacity: 1; transform: none; }
.temas__note { margin-top: 2.4rem; text-align: center; font-size: 1rem; color: var(--teal-ink); }
.temas__note a { color: var(--teal); font-weight: 700; border-bottom: 1.5px solid var(--terracotta); }

/* =========================================================
   ENFOQUE (banda menta, clara)
   ========================================================= */
.enfoque { background: var(--mint); padding-block: clamp(4.5rem, 9vw, 7.5rem); overflow: hidden; }
.enfoque .wrap { position: relative; z-index: 1; }
.blob { position: absolute; border-radius: 50%; z-index: 0; pointer-events: none; filter: blur(6px); }
.blob--a { width: 320px; height: 320px; top: -80px; right: -60px; background: radial-gradient(circle, rgba(217,160,102,.18), transparent 70%); }
.enfoque__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.enfoque__head h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 18ch; color: var(--teal-900); }
.enfoque__head h2 em { color: var(--teal); }
.enfoque__body p { margin-bottom: 1.2rem; color: var(--teal-ink); }
.principles {
  list-style: none; margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem;
  border-top: 1px solid rgba(20,58,66,.14); padding-top: 1.8rem;
}
.principles li { font-size: .98rem; color: var(--teal-ink); }
.principles span { display: block; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--teal); margin-bottom: .2rem; }

/* =========================================================
   SOBRE GABRIELA (crema)
   ========================================================= */
.sobre { background: var(--cream); padding-block: clamp(4.5rem, 9vw, 8rem); }
.sobre__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.sobre__media { position: relative; }
.sobre__photo {
  aspect-ratio: 4/5; border-radius: var(--radius-lg);
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.25), transparent 50%), linear-gradient(160deg, var(--sage) 0%, var(--teal) 90%);
  display: grid; place-items: center; box-shadow: var(--shadow-lg); overflow: hidden;
}
.sobre__photo .photo-ph--lg { font-size: clamp(1.4rem, 3vw, 2.2rem); color: rgba(251,248,242,.92); }
.sobre__badge {
  position: absolute; right: -8px; bottom: -18px; background: var(--cream-2); border: 1px solid var(--cream-3);
  border-radius: 16px; padding: 1rem 1.3rem; box-shadow: var(--shadow-md); display: grid; gap: .1rem;
}
.sobre__badge strong { font-family: var(--serif); font-size: 1.25rem; color: var(--teal-900); }
.sobre__badge span { font-size: .88rem; color: var(--teal); font-weight: 600; }
.sobre__col { color: var(--terracotta-d) !important; }
.sobre__copy h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 1.3rem; }
.sobre__copy p { margin-bottom: 1.1rem; }
.sobre__copy p strong { color: var(--teal-900); font-weight: 700; }
.facts {
  list-style: none; margin-top: 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.5rem;
  border-top: 1px solid var(--cream-3); padding-top: 1.6rem;
}
.facts li { font-size: .98rem; color: var(--teal-ink); }
.facts span { display: block; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--sage); margin-bottom: .25rem; }
.sobre__diff {
  margin-top: 1.6rem; padding: .9rem 1.1rem; border-left: 3px solid var(--terracotta);
  background: rgba(217,160,102,.1); border-radius: 0 10px 10px 0; font-size: .94rem; color: var(--teal-ink);
}

/* =========================================================
   CÓMO EMPEZAMOS (cielo nocturno · fases de luna)
   ========================================================= */
.proceso {
  background: linear-gradient(180deg, var(--night-top) 0%, var(--teal-900) 100%);
  color: var(--cream); padding-block: clamp(4.5rem, 9vw, 8rem); overflow: hidden;
}
.proceso .wrap { position: relative; z-index: 1; }
.proceso__stars {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='400'%3E%3Cg fill='%23FBF8F2'%3E%3Ccircle cx='60' cy='70' r='1.6'/%3E%3Ccircle cx='180' cy='40' r='1.1'/%3E%3Ccircle cx='300' cy='90' r='1.7'/%3E%3Ccircle cx='430' cy='50' r='1.2'/%3E%3Ccircle cx='540' cy='100' r='1.5'/%3E%3Ccircle cx='120' cy='180' r='1.2'/%3E%3Ccircle cx='360' cy='210' r='1.5'/%3E%3Ccircle cx='500' cy='250' r='1.1'/%3E%3Ccircle cx='240' cy='300' r='1.4'/%3E%3Ccircle cx='80' cy='330' r='1.2'/%3E%3C/g%3E%3C/svg%3E");
}
.proceso h2 { color: var(--cream); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step {
  background: rgba(244, 239, 230, .06); border: 1px solid rgba(244,239,230,.16);
  border-radius: var(--radius); padding: 2rem 1.7rem; position: relative; transition: transform .4s var(--ease), background .4s;
}
.step:hover { transform: translateY(-6px); background: rgba(244,239,230,.1); }
.step__moon { display: block; width: 48px; height: 48px; margin-bottom: 1.1rem; }
.step__moon svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 4px 12px rgba(13,42,48,.4)); }
.m-lit  { fill: var(--cream); }
.m-dark { fill: var(--teal-900); }
.m-glow { fill: none; stroke: var(--sage); stroke-width: 2; opacity: .55; }
.step__n { font-family: var(--sans); font-weight: 700; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: .55rem; }
.step h3 { color: var(--cream); font-size: 1.32rem; margin-bottom: .5rem; }
.step p { color: rgba(244,239,230,.8); font-size: .95rem; }
.proceso__cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); position: relative; z-index: 1; }

/* =========================================================
   PRIMERO CONOZCÁMONOS (banda durazno · oferta sin riesgo)
   ========================================================= */
.conoce { background: var(--peach); padding-block: clamp(4rem, 8vw, 6.5rem); }
.conoce__card {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  background: radial-gradient(circle at 88% 12%, rgba(143,174,155,.22), transparent 55%), var(--cream-2);
  border: 1px solid var(--cream-3); border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.conoce__mark { width: clamp(72px, 10vw, 108px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1px solid var(--cream-3); box-shadow: var(--shadow-sm); }
.conoce__mark img { width: 64%; height: auto; animation: floaty 8s ease-in-out infinite; }
.conoce__body h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); margin-bottom: .9rem; }
.conoce__body h2 em, .conoce__body p em { color: var(--terracotta-d); font-style: italic; }
.conoce__body p { color: var(--teal-ink); max-width: 52ch; }
.conoce__cta { margin-top: 1.6rem; }

/* =========================================================
   TESTIMONIOS (banda menta)
   ========================================================= */
.testi { background: var(--mint); padding-block: clamp(4.5rem, 9vw, 8rem); }
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.quote { background: var(--cream-2); border: 1px solid var(--cream-3); border-radius: var(--radius); padding: 2.2rem 1.8rem 1.6rem; position: relative; box-shadow: var(--shadow-sm); }
.quote::before { content: "\201C"; font-family: var(--serif); font-size: 4.5rem; line-height: 1; color: var(--sage); position: absolute; top: .2rem; left: 1.2rem; opacity: .6; }
.quote blockquote { font-family: var(--serif); font-size: 1.18rem; line-height: 1.5; color: var(--teal-900); margin-top: 1.4rem; }
.quote figcaption { margin-top: 1.3rem; font-size: .9rem; color: var(--teal); font-weight: 600; display: flex; align-items: center; gap: .7rem; }
.quote__av { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sage-soft); color: var(--teal-deep); font-family: var(--serif); font-style: italic; font-size: 1.1rem; }
.testi__note { text-align: center; margin-top: 2rem; font-size: .85rem; color: var(--teal-ink); opacity: .6; }

/* =========================================================
   BANDA ANCLA (frase, durazno)
   ========================================================= */
.ancla { background: var(--peach); padding-block: clamp(4rem, 8vw, 6.5rem); overflow: hidden; text-align: center; }
.ancla__moon {
  position: absolute; width: clamp(180px, 26vw, 280px); aspect-ratio: 1; border-radius: 50%;
  right: -4%; top: 50%; transform: translateY(-50%); z-index: 0; pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #FBF8F2 0%, #F4E4CB 52%, rgba(244,228,203,0) 72%); opacity: .8;
}
.ancla__inner { position: relative; z-index: 1; }
.ancla__eyebrow { font-family: var(--sans); font-weight: 700; font-size: .76rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta-d); margin-bottom: 1.2rem; }
.ancla__quote { font-family: var(--serif); font-size: clamp(1.8rem, 4.2vw, 3.1rem); line-height: 1.18; color: var(--teal-900); margin-bottom: 2rem; }
.ancla__quote em { color: var(--teal); font-style: italic; }

/* =========================================================
   FAQ (crema)
   ========================================================= */
.faq { background: var(--cream); padding-block: clamp(4rem, 8vw, 6.5rem); }
.faq__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq__head { position: sticky; top: 100px; }
.faq__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.faq__list details { border-bottom: 1px solid var(--cream-3); padding: 1.3rem 0; }
.faq__list summary {
  font-family: var(--serif); font-size: 1.2rem; color: var(--teal-900); cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 1.7rem; color: var(--terracotta); transition: transform .35s var(--ease); line-height: 1; flex: none; }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { margin-top: .9rem; color: var(--teal-ink); opacity: .88; max-width: 60ch; }
.faq__list details p em { color: var(--terracotta-d); }

/* =========================================================
   CONTACTO (cielo nocturno)
   ========================================================= */
.contacto { background: linear-gradient(180deg, var(--night-top) 0%, var(--teal-deep) 100%); color: var(--cream); padding-block: clamp(4.5rem, 9vw, 8rem); overflow: hidden; }
.contacto__glow { position: absolute; bottom: -30%; left: -10%; width: 60vw; height: 60vw; max-width: 640px; max-height: 640px; background: radial-gradient(circle, rgba(143,174,155,.3), transparent 65%); z-index: 0; }
.contacto__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.contacto h2 { color: var(--cream); font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 1.2rem; }
.contacto h2 + .contacto__lead, .contacto__lead { color: rgba(244,239,230,.82); font-size: 1.1rem; max-width: 38ch; }
.contacto__list { list-style: none; margin-top: 2.2rem; display: grid; gap: 1.1rem; }
.contacto__list li { display: grid; grid-template-columns: 7rem 1fr; align-items: baseline; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid rgba(244,239,230,.14); }
.ci { font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--sage); }
.contacto__list a { border-bottom: 1.5px solid transparent; transition: border-color .3s, color .3s; }
.contacto__list a:hover { border-color: var(--terracotta); color: #fff; }
.contacto__social { display: flex; gap: 1.4rem; }
.contacto__form { background: rgba(244,239,230,.06); border: 1px solid rgba(244,239,230,.16); border-radius: var(--radius-lg); padding: clamp(1.8rem, 3vw, 2.6rem); backdrop-filter: blur(6px); }
.form__intro { font-family: var(--serif); font-size: 1.2rem; color: var(--cream); margin-bottom: 1.4rem; }
.contacto__form label { display: block; margin-bottom: 1.1rem; }
.contacto__form label > span { display: block; font-size: .82rem; font-weight: 600; color: var(--sage); margin-bottom: .45rem; letter-spacing: .04em; }
.contacto__form input, .contacto__form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--cream);
  background: rgba(244,239,230,.07); border: 1px solid rgba(244,239,230,.22); border-radius: 12px; padding: .85rem 1rem; transition: border-color .3s, background .3s;
}
.contacto__form input::placeholder, .contacto__form textarea::placeholder { color: rgba(244,239,230,.4); }
.contacto__form input:focus, .contacto__form textarea:focus { outline: none; border-color: var(--sage); background: rgba(244,239,230,.12); }
.contacto__form textarea { resize: vertical; }
.contacto__form .btn { width: 100%; margin-top: .4rem; }
.form__fine { font-size: .8rem; color: rgba(244,239,230,.55); margin-top: 1rem; text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--teal-900); color: rgba(244,239,230,.7); padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.6rem; }
.brand--footer .brand__word { color: var(--cream); }
.footer__tag { margin-top: 1.1rem; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--sage); line-height: 1.5; }
.footer__nav h4, .footer__contact h4 { font-family: var(--sans); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-bottom: 1.1rem; font-weight: 700; }
.footer__nav, .footer__contact { display: flex; flex-direction: column; gap: .7rem; }
.footer__nav a, .footer__contact a { font-size: .98rem; width: fit-content; border-bottom: 1.5px solid transparent; transition: color .3s, border-color .3s; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--cream); border-color: var(--terracotta); }
.footer__crisis { font-size: .86rem; line-height: 1.6; color: rgba(244,239,230,.62); border-top: 1px solid rgba(244,239,230,.12); padding-block: 1.5rem; max-width: 70ch; }
.footer__crisis strong { color: var(--terracotta); font-weight: 700; }
.footer__crisis em { color: rgba(244,239,230,.85); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(244,239,230,.12); padding-block: 1.6rem; font-size: .85rem; }
.footer__bottom a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.footer__bottom a:hover { border-color: var(--sage); }

/* =========================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================= */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 2rem); bottom: clamp(1rem, 3vw, 2rem); z-index: 90;
  height: 58px; padding: 0 18px; border-radius: 100px; display: inline-flex; align-items: center; gap: .55rem;
  background: #25D366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.wa-float:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 16px 36px -8px rgba(37,211,102,.7); }
.wa-float__label { font-weight: 700; font-size: .95rem; }

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  /* Red de seguridad: si el JS no revelara el contenido (caché, bloqueador,
     error), el contenido aparece igual tras 2.2s. Nunca queda en blanco. */
  animation: revealSafety .6s var(--ease) 2.2s forwards;
}
.js .reveal.is-visible { opacity: 1; transform: none; animation: none; }
@keyframes revealSafety { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; animation: none; }
}
.js .reveal[data-delay="1"] { transition-delay: .09s; }
.js .reveal[data-delay="2"] { transition-delay: .18s; }
.js .reveal[data-delay="3"] { transition-delay: .27s; }
.js .reveal[data-delay="4"] { transition-delay: .36s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero { padding-bottom: clamp(4rem, 16vw, 7rem); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; width: min(64vw, 280px); margin-inline: auto; }
  .moon { width: 100%; }
  .enfoque__grid, .sobre__grid, .faq__grid, .contacto__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; max-width: 30rem; margin-inline: auto; }
  .testi__grid { grid-template-columns: 1fr; }
  .sobre__media { width: min(86vw, 380px); margin-inline: auto; }
  .conoce__card { grid-template-columns: 1fr; text-align: center; }
  .conoce__mark { margin-inline: auto; }
  .conoce__body p { margin-inline: auto; }
  .conoce__body .label { text-align: center; }
}

@media (max-width: 720px) {
  .topbar__msg { display: none; }
  .topbar__row { justify-content: center; }
  .nav__toggle { display: flex; z-index: 101; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px);
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.6rem;
    background: var(--cream-2); padding: 2rem 2.4rem; box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .45s var(--ease); z-index: 100;
  }
  .nav__links.open { transform: translateX(0); }
  .nav__links > a:not(.btn) { font-size: 1.2rem; font-family: var(--serif); }
  .nav__links .btn { margin-top: .5rem; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .principles, .facts { grid-template-columns: 1fr; }
  .contacto__list li { grid-template-columns: 1fr; gap: .2rem; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__title { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .hero__cta .btn { width: 100%; }
  .wa-float__label { display: none; }
  .wa-float { width: 58px; padding: 0; justify-content: center; }
}
