/* ==========================================================================
   MAR EN CALMA — Design System
   Calm-sea editorial design · Spec v1.1
   ========================================================================== */

:root {
  /* Palette drawn from the brand logo */
  --ink: #16384f;          /* deep sea navy */
  --ink-soft: #40607a;
  --sea: #2e6f7e;          /* quiet teal */
  --sea-deep: #1d4d59;
  --sea-mist: #e8f0ef;
  --sand: #f6f1e8;         /* warm sand */
  --cream: #fdfbf7;
  --gold: #bd9668;         /* sun dot from the logo */
  --gold-soft: #d9c3a5;
  --white: #ffffff;
  --line: #e3ddd2;
  --error: #b3402f;
  --ok: #2f7d58;

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 18px 50px -18px rgba(22, 56, 79, .22);
  --shadow-card: 0 10px 34px -14px rgba(22, 56, 79, .16);
  --container: 1180px;
  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 550; line-height: 1.18; margin: 0 0 .6em; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul { padding: 0; margin: 0; list-style: none; }

/* Accessible focus */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }

/* ---------- Typographic helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sea); margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); border-radius: 2px; flex: none; }
.section-title { font-size: clamp(1.85rem, 4vw, 2.7rem); max-width: 21ch; }
.section-title.centered { margin-inline: auto; text-align: center; max-width: 26ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: 1rem 1.9rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 12px 26px -12px rgba(22,56,79,.55); }
.btn-primary:hover { background: var(--sea-deep); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: rgba(22,56,79,.35); }
.btn-secondary:hover { border-color: var(--ink); background: rgba(22,56,79,.05); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sand); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a9835a; transform: translateY(-2px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }
.btn-block { width: 100%; }

/* ---------- Announcement bar ---------- */
.announcement {
  background: linear-gradient(90deg, var(--ink), var(--sea-deep));
  color: #fff; font-size: .92rem; text-align: center;
}
.announcement[hidden] { display: none; }
.announcement a {
  color: #fff; text-decoration: none; display: block; padding: .65rem 1rem;
}
.announcement a strong { color: var(--gold-soft); }
.announcement a:hover span.bar-cta { text-decoration: underline; }
.announcement .bar-cta { font-weight: 700; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 247, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s ease, border-color .3s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(22,56,79,.25); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 132px; height: auto; mix-blend-mode: multiply; }
.mobile-menu img { mix-blend-mode: multiply; }
/* Logo tagline hidden in the sticky header (still present in the footer). */
.brand-sub { display: none; }
.nav-desktop { display: flex; align-items: center; gap: 1.6rem; }
.nav-desktop a.nav-link {
  text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500;
  padding: .35rem 0; position: relative; white-space: nowrap;
}
.nav-desktop a.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-desktop a.nav-link:hover::after, .nav-desktop a.nav-link[aria-current="true"]::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: flex; gap: .15rem; font-size: .85rem; font-weight: 600; }
.lang-switch a, .lang-switch span[aria-current] {
  text-decoration: none; color: var(--ink-soft); padding: .3rem .45rem; border-radius: 6px;
}
.lang-switch [aria-current="page"] { color: var(--ink); background: var(--sand); }
.lang-switch a:hover { color: var(--ink); }
.header-cta { padding: .8rem 1.4rem; font-size: .92rem; white-space: nowrap; }

/* Mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: .5rem;
  flex-direction: column; gap: 5px;
}
.nav-toggle .bar { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.mobile-menu {
  position: fixed; inset: 0; z-index: 150; background: var(--cream);
  padding: 1.2rem clamp(1.25rem, 5vw, 2.5rem) 3rem;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s ease; visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-menu-close { background: none; border: 0; cursor: pointer; font-size: 1rem; padding: .6rem; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.mobile-menu nav { display: flex; flex-direction: column; gap: .35rem; }
.mobile-menu nav a {
  font-family: var(--font-display); font-size: 1.6rem; color: var(--ink); text-decoration: none;
  padding: .55rem 0; border-bottom: 1px solid var(--line);
}
.mobile-menu .btn { margin-top: 2rem; }
.mobile-menu .lang-switch { margin-top: 1.4rem; justify-content: center; }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); }
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center; padding-top: clamp(2.5rem, 6vh, 5rem); padding-bottom: clamp(3rem, 7vh, 5.5rem);
}
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.55rem); max-width: 17ch; }
.hero h1 em { font-style: italic; color: var(--sea); }
.hero .lead { margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.6rem; }
.trust-line { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .88rem; color: var(--ink-soft); }
.trust-line span { display: inline-flex; align-items: center; gap: .45rem; }
.trust-line svg { color: var(--gold); flex: none; }

.hero-media { position: relative; }
.hero-media .photo-frame {
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 4.6;
}
.hero-media .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
/* breathing rings — decorative only */
.breath-rings { position: absolute; z-index: -1; inset: -12% -18% auto auto; width: 70%; aspect-ratio: 1; pointer-events: none; }
.breath-rings span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid rgba(46, 111, 126, .25);
  animation: breathe 7s ease-in-out infinite;
}
.breath-rings span:nth-child(2) { inset: 12%; animation-delay: .6s; border-color: rgba(189,150,104,.3); }
.breath-rings span:nth-child(3) { inset: 24%; animation-delay: 1.2s; }
@keyframes breathe { 0%, 100% { transform: scale(.94); opacity: .55; } 50% { transform: scale(1.04); opacity: 1; } }
.hero-wave { display: block; width: 100%; height: 70px; color: var(--cream); margin-top: -1px; }

/* ---------- Generic section rhythm ---------- */
.section { padding: clamp(3.5rem, 9vh, 6.5rem) 0; }
.section-sand { background: var(--sand); }
.section-mist { background: var(--sea-mist); }
.section-dark { background: linear-gradient(160deg, var(--ink) 0%, var(--sea-deep) 100%); color: #fff; }
.section-dark .section-title, .section-dark h3 { color: #fff; }
.section-dark .eyebrow { color: var(--gold-soft); }
.section-dark .lead { color: rgba(255,255,255,.82); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.2rem, 5vw, 4.5rem); align-items: center; }
.split .photo-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.split .photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-arch { border-radius: 180px 180px var(--radius-lg) var(--radius-lg) !important; }

/* ---------- Identification list ---------- */
.id-list { display: grid; gap: .8rem; margin: 1.4rem 0 1.8rem; }
.id-list li {
  display: flex; gap: .9rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: .95rem 1.2rem; box-shadow: 0 6px 18px -12px rgba(22,56,79,.12);
}
.id-list .tide-dot {
  flex: none; width: 30px; height: 30px; margin-top: .1rem; border-radius: 50%;
  background: var(--sea-mist); color: var(--sea);
  display: inline-flex; align-items: center; justify-content: center;
}
.closing-note {
  border-left: 3px solid var(--gold); background: #fff;
  padding: 1.2rem 1.5rem; border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 1.05rem; color: var(--ink-soft);
}
.closing-note strong { color: var(--ink); }

/* ---------- Reframe steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 2.6rem 0 2.2rem; counter-reset: step; }
.step-card {
  position: relative; background: #fff; border-radius: var(--radius-md);
  padding: 2rem 1.7rem 1.7rem; border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.step-card .step-num {
  font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--gold);
  display: block; margin-bottom: .7rem; font-style: italic;
}
.step-card h3 { font-size: 1.35rem; }
.step-card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.steps-closing { max-width: 68ch; color: var(--ink-soft); }

/* ---------- ORIGEN pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin-top: 2.6rem; }
.pillar {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-md); padding: 1.9rem 1.8rem;
  transition: transform .3s ease, background .3s ease;
}
.pillar:hover { transform: translateY(-4px); background: rgba(255,255,255,.1); }
.pillar .pillar-icon {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.1rem;
  background: rgba(189,150,104,.18); color: var(--gold-soft);
  display: inline-flex; align-items: center; justify-content: center;
}
.pillar h3 { font-size: 1.3rem; margin-bottom: .45em; }
.pillar p { margin: 0; color: rgba(255,255,255,.78); font-size: .97rem; }
.origen-cta-row { display: flex; justify-content: center; margin-top: 2.6rem; }
.origen-intro { max-width: 62ch; }

/* ---------- Featured program (Volviendo a Mí) ---------- */
.featured-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line);
}
.featured-media { position: relative; min-height: 320px; }
.featured-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.featured-media .flag {
  position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2;
  background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; padding: .5rem .9rem; border-radius: 999px;
}
.featured-body { padding: clamp(1.8rem, 4vw, 3.2rem) clamp(1.5rem, 3.5vw, 3rem) clamp(1.8rem, 4vw, 3rem) 0; }
.featured-body h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin-bottom: .3em; }
.featured-sub { font-family: var(--font-display); font-style: italic; font-size: 1.18rem; color: var(--sea); margin-bottom: 1.1rem; }
.benefits { display: grid; gap: .65rem; margin: 1.4rem 0 1.9rem; }
.benefits li { display: flex; gap: .7rem; align-items: flex-start; font-size: .99rem; color: var(--ink-soft); }
.benefits svg { flex: none; margin-top: .22rem; color: var(--ok); }
.featured-ctas { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.program-lang-note { font-size: .85rem; color: var(--ink-soft); margin-top: .9rem; }

/* ---------- Testimonials ---------- */
.testimonials-head { text-align: center; max-width: 60ch; margin: 0 auto 2.6rem; }
.carousel { position: relative; }
.carousel-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.8rem) / 3);
  gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .8rem; scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }
.testimonial-card {
  scroll-snap-align: start; background: #fff; border-radius: var(--radius-md);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-card);
}
.testimonial-card video { width: 100%; aspect-ratio: 9 / 12; object-fit: cover; background: var(--ink); }
.testimonial-meta { padding: 1.1rem 1.3rem 1.3rem; }
.testimonial-meta p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.testimonial-meta strong { display: block; color: var(--ink); font-size: 1rem; margin-bottom: .15rem; }
.carousel-nav { display: flex; gap: .7rem; justify-content: center; margin-top: 1.6rem; }
.carousel-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: transparent; color: var(--ink); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease;
}
.carousel-btn:hover { background: var(--ink); color: #fff; }
.carousel-btn:disabled { opacity: .35; cursor: default; }
.carousel-btn:disabled:hover { background: transparent; color: var(--ink); }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: var(--ink); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: .85rem 1rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--sea); box-shadow: 0 0 0 3px rgba(46,111,126,.15); }
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { display: none; font-size: .82rem; color: var(--error); margin-top: .35rem; }
.field.has-error .field-error { display: block; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--ink-soft); }
.consent input { width: 18px; height: 18px; margin-top: .25rem; accent-color: var(--sea); flex: none; }
.consent.has-error { color: var(--error); }
.form-msg { display: none; border-radius: var(--radius-sm); padding: 1rem 1.2rem; font-size: .95rem; margin-top: .4rem; }
.form-msg.is-visible { display: block; }
.form-msg.success { background: #eaf5ef; border: 1px solid #bfe0cf; color: var(--ok); }
.form-msg.error { background: #faeae7; border: 1px solid #eac4bc; color: var(--error); }
.form-note { font-size: .82rem; color: var(--ink-soft); }

/* ---------- ORIGEN 1:1 ---------- */
.origen11-card {
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); overflow: hidden;
  display: grid; grid-template-columns: .9fr 1.1fr;
}
.origen11-media { position: relative; min-height: 340px; }
.origen11-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.origen11-body { padding: clamp(1.8rem, 4vw, 3rem); }
.who-for {
  background: var(--sea-mist); border-radius: var(--radius-sm);
  padding: 1rem 1.3rem; font-size: .95rem; color: var(--sea-deep); margin-bottom: 1.6rem;
}

/* ---------- Club ---------- */
.club-tagline { font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--gold-soft); margin-bottom: 1.2rem; }
.club-list { display: grid; gap: .7rem; margin: 1.5rem 0 2rem; }
.club-list li { display: flex; gap: .7rem; align-items: flex-start; color: rgba(255,255,255,.85); }
.club-list svg { flex: none; margin-top: .3rem; color: var(--gold-soft); }

/* ---------- Program cards ---------- */
.program-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 2.4rem; }
.program-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.program-card .card-media { aspect-ratio: 16 / 9.5; overflow: hidden; position: relative; }
.program-card .card-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.program-card:hover .card-media img { transform: scale(1.045); }
.card-media.crop-left img, .card-media.crop-right img { width: 200%; max-width: none; object-position: center 42%; }
.card-media.crop-left img { transform-origin: left center; }
.card-media.crop-right img { margin-left: -100%; transform-origin: right center; }
.program-card .card-body { padding: 1.7rem 1.7rem 1.9rem; display: flex; flex-direction: column; flex: 1; }
.card-label { font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .6rem; }
.program-card h3 { font-size: 1.5rem; }
.program-card p { color: var(--ink-soft); font-size: .97rem; flex: 1; }
.card-cta { margin-top: 1.2rem; align-self: flex-start; }

/* ---------- Book ---------- */
.book-media { display: flex; justify-content: center; }
.book-media .photo-frame { max-width: 400px; border-radius: var(--radius-md); transform: rotate(-2deg); }
.book-ctas { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- About ---------- */
.about-quote { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--sea); border-left: 3px solid var(--gold); padding-left: 1.2rem; margin: 1.6rem 0; }

/* ---------- Masterclass ---------- */
.masterclass-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 4vw, 3.5rem);
  background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-soft); overflow: hidden;
}
.masterclass-media { position: relative; min-height: 320px; }
.masterclass-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.masterclass-body { padding: clamp(1.8rem, 4vw, 3rem) clamp(1.5rem, 3.5vw, 3rem) clamp(1.8rem, 4vw, 3rem) 0; }
.lang-notice {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--sand); border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  padding: .4rem .95rem; margin-bottom: 1.2rem;
}
.masterclass-date {
  background: var(--sea-mist); color: var(--sea-deep); font-weight: 600;
  border-radius: var(--radius-sm); padding: .8rem 1.1rem; font-size: .95rem; margin-bottom: 1.4rem;
}
.masterclass-date[hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq { max-width: 800px; margin: 2.4rem auto 0; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; margin-bottom: .9rem; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; color: var(--ink);
  padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq-q .faq-icon { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--sea-mist); color: var(--sea); display: inline-flex; align-items: center; justify-content: center; transition: transform .3s ease, background .3s ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); background: var(--ink); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 1.5rem 1.4rem; color: var(--ink-soft); font-size: .98rem; }

/* ---------- Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; }
.final-cta .bg { position: absolute; inset: 0; }
.final-cta .bg img { width: 100%; height: 100%; object-fit: cover; }
.final-cta .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(15,40,58,.88) 20%, rgba(15,40,58,.45) 70%, rgba(15,40,58,.25)); }
.final-cta .container { position: relative; z-index: 1; }
.final-cta-inner { padding: clamp(4.5rem, 12vh, 8rem) 0; max-width: 620px; color: #fff; }
.final-cta h2 { color: #fff; font-size: clamp(2rem, 4vw, 2.9rem); }
.final-cta p { color: rgba(255,255,255,.88); font-size: 1.1rem; margin-bottom: 2rem; }
.final-cta .hero-ctas { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); font-size: .93rem; }
.footer-main {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding: 4rem 0 3rem;
}
.footer-brand img { width: 150px; background: var(--cream); padding: .7rem .9rem; border-radius: 12px; margin-bottom: 1rem; }
.footer-brand .sub { font-size: .85rem; color: var(--gold-soft); margin-bottom: 1rem; font-style: italic; }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.social-row { display: flex; gap: .8rem; margin-top: 1.2rem; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.social-row a:hover { background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-disclaimer {
  border-top: 1px solid rgba(255,255,255,.14); padding: 1.6rem 0;
  font-size: .8rem; color: rgba(255,255,255,.55); line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 1.4rem 0;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .82rem;
}
.footer-bottom .lang-switch a, .footer-bottom .lang-switch span { color: rgba(255,255,255,.7); }
.footer-bottom .lang-switch [aria-current="page"] { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .55);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 1.55rem; bottom: 5.6rem; z-index: 90;
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .reduced-motion .reveal { opacity: 1; transform: none; }

/* ---------- Wave divider ---------- */
.wave-divider { display: block; width: 100%; height: 60px; margin-bottom: -1px; }

/* ---------- Simple page (legal / thanks) ---------- */
.page-simple { padding: clamp(3rem, 8vh, 5rem) 0; }
.page-simple .container { max-width: 820px; }
.page-simple h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.page-simple h2 { font-size: 1.5rem; margin-top: 2.4em; }
.page-simple p, .page-simple li { color: var(--ink-soft); }
.page-simple ul { list-style: disc; padding-left: 1.4rem; display: grid; gap: .4rem; }
.thanks-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: clamp(2rem, 5vw, 3.5rem); text-align: center;
  max-width: 640px; margin: 0 auto;
}
.thanks-card .badge {
  width: 74px; height: 74px; border-radius: 50%; background: var(--sea-mist); color: var(--sea);
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.4rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .header-actions .lang-switch { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; }
  .steps { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
  .featured-card, .origen11-card, .masterclass-card { grid-template-columns: 1fr; }
  .featured-body, .masterclass-body { padding: 2rem clamp(1.4rem, 4vw, 2.2rem) 2.4rem; }
  .featured-media, .masterclass-media, .origen11-media { min-height: 280px; position: relative; }
  .featured-media img, .masterclass-media img, .origen11-media img { position: absolute; }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; max-width: 560px; }
  .program-cards { grid-template-columns: 1fr; }
  .carousel-track { grid-auto-columns: calc((100% - 1.4rem) / 2); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --header-h: 72px; }
  body { font-size: 1rem; }
  .brand img { width: 108px; }
  .brand-sub { display: none; }
  .carousel-track { grid-auto-columns: 88%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }
  .hero-ctas .btn { width: 100%; }
  .featured-ctas .btn, .book-ctas .btn { width: 100%; }
  .wa-float { width: 52px; height: 52px; right: 1rem; bottom: 1rem; }
  .to-top { right: 1.1rem; bottom: 4.9rem; }
}

/* ==========================================================================
   Interactive wellness layer
   ========================================================================== */

/* ---------- Tide scroll progress ---------- */
.tide-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 210;
  background: linear-gradient(90deg, var(--sea), var(--gold));
  border-radius: 0 3px 3px 0;
}

/* ---------- Calm words marquee ---------- */
.calm-marquee {
  overflow: hidden; background: var(--cream);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 1.05rem 0;
}
.calm-marquee .track {
  display: flex; width: max-content;
  animation: marquee 46s linear infinite;
}
.calm-marquee span {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.22rem; color: var(--sea); white-space: nowrap; padding-right: .6ch;
}
.calm-marquee span b { color: var(--gold); font-weight: 500; padding: 0 .8ch; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .calm-marquee .track { animation: none; } }

/* ---------- Hero motion polish ---------- */
.hero h1 em {
  background: linear-gradient(100deg, var(--sea) 30%, var(--sea-deep) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-media { transition: transform .35s ease-out; will-change: transform; }
.breath-rings { transition: transform .5s ease-out; }
.hero-wave { width: 106%; margin-left: -3%; animation: waveDrift 13s ease-in-out infinite alternate; }
@keyframes waveDrift { from { transform: translateX(-1.4%); } to { transform: translateX(1.4%); } }

/* ---------- Centered title flourish ---------- */
.section-title.centered::after {
  content: ""; display: block; width: 66px; height: 12px; margin: 1rem auto 0;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 10'><path d='M2 6c6 0 6-4 12-4s6 4 12 4 6-4 12-4 6 4 12 4' fill='none' stroke='%23bd9668' stroke-width='2.2' stroke-linecap='round'/></svg>") no-repeat center / contain;
}

/* ---------- Interactive identification list ---------- */
.id-hint { font-size: .88rem; color: var(--gold); font-weight: 600; letter-spacing: .04em; margin: -0.6rem 0 1rem; display: inline-flex; align-items: center; gap: .5rem; }
.id-hint::before { content: "☟"; font-size: 1rem; }
.id-list li { cursor: pointer; user-select: none; transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease; }
.id-list li:hover { transform: translateX(5px); border-color: var(--gold-soft); }
.id-list li:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.id-list li.resonates { border-color: var(--gold); background: #fbf5ea; box-shadow: 0 8px 22px -12px rgba(189,150,104,.45); }
.id-list li.resonates .tide-dot { background: var(--gold); color: #fff; }
.id-response[hidden] { display: none; }
.id-response {
  display: flex; align-items: center; gap: .7rem;
  background: var(--sea-mist); border: 1px solid #d3e2e0; color: var(--sea-deep);
  border-radius: var(--radius-md); padding: .95rem 1.2rem; font-size: .97rem;
  margin: 0 0 1.4rem; animation: fadeRise .5s ease;
}
.id-response svg { flex: none; color: var(--sea); }
@keyframes fadeRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Breathing exercise ---------- */
.breath-section {
  background: linear-gradient(180deg, var(--sea-mist) 0%, var(--cream) 100%);
  position: relative; overflow: hidden;
}
.breath-section .split { align-items: center; }
.breath-stage {
  position: relative; width: min(340px, 78vw); aspect-ratio: 1; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.breath-stage::before, .breath-stage::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.breath-stage::before { inset: 0; border: 1.5px dashed rgba(46,111,126,.35); }
.breath-stage::after { inset: 7%; border: 1px solid rgba(189,150,104,.35); }
.breath-circle {
  position: absolute; inset: 13%; border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #7fb0ba 0%, var(--sea) 55%, var(--sea-deep) 100%);
  box-shadow: 0 24px 60px -18px rgba(29,77,89,.55), inset 0 0 40px rgba(255,255,255,.18);
  transform: scale(.68);
  transition-property: transform; transition-timing-function: cubic-bezier(.45,.05,.55,.95);
}
.breath-circle.inhale, .breath-circle.hold { transform: scale(1); }
.breath-circle.exhale { transform: scale(.68); }
.breath-readout { position: relative; z-index: 2; text-align: center; color: #fff; pointer-events: none; }
.breath-phase { font-family: var(--font-display); font-size: 1.5rem; display: block; text-shadow: 0 2px 12px rgba(22,56,79,.4); }
.breath-count { font-size: 2.1rem; font-weight: 700; line-height: 1.1; display: block; min-height: 2.3rem; text-shadow: 0 2px 12px rgba(22,56,79,.4); }
.breath-widget:not(.is-running) .breath-readout { color: var(--sea-deep); text-shadow: none; }
.breath-widget:not(.is-running) .breath-circle { opacity: .28; }
.breath-controls { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.breath-cycles-wrap { font-size: .92rem; color: var(--ink-soft); }
.breath-cycles { font-weight: 700; color: var(--sea); font-size: 1.1rem; }
.breath-note { font-size: .88rem; color: var(--ink-soft); margin-top: 1rem; }
.breath-pattern { display: flex; gap: .6rem; margin: 1.2rem 0 0; flex-wrap: wrap; }
.breath-pattern span {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--sea-deep); padding: .35rem .9rem;
}

/* ---------- Card micro-interactions ---------- */
.pillar:hover { transform: translateY(-6px) rotate3d(1, -1, 0, 2deg); }
.testimonial-card { transition: transform .3s ease, box-shadow .3s ease; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.step-card { transition: transform .3s ease, box-shadow .3s ease; }
.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.step-card:hover .step-num { color: var(--sea); }
.step-num { transition: color .3s ease; }

::selection { background: var(--sea); color: #fff; }

@media (max-width: 640px) {
  .calm-marquee span { font-size: 1.05rem; }
  .breath-controls .btn { width: auto; }
}

/* ==========================================================================
   Animation layer v2
   ========================================================================== */

/* ---------- Hero entrance sequence ---------- */
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroMediaIn { from { opacity: 0; transform: scale(.965); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: heroIn .65s ease both; }
.hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-copy > *:nth-child(4) { animation-delay: .24s; }
.hero-copy > *:nth-child(5) { animation-delay: .32s; }
.hero-copy > *:nth-child(6) { animation-delay: .4s; }
.hero-media { animation: heroMediaIn .9s ease both .2s; }

/* ---------- Announcement bar slide-in ---------- */
@keyframes barIn { from { transform: translateY(-100%); } to { transform: none; } }
.announcement:not([hidden]) { animation: barIn .45s ease; }

/* ---------- Ambient drifting glows in dark sections ---------- */
.section-dark { position: relative; overflow: hidden; }
.section-dark .container { position: relative; z-index: 1; }
.section-dark::before, .section-dark::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.section-dark::before {
  width: 460px; aspect-ratio: 1; top: -140px; right: -100px;
  background: radial-gradient(circle, rgba(127,176,186,.20) 0%, transparent 70%);
  animation: glowDrift1 17s ease-in-out infinite alternate;
}
.section-dark::after {
  width: 380px; aspect-ratio: 1; bottom: -120px; left: -90px;
  background: radial-gradient(circle, rgba(189,150,104,.16) 0%, transparent 70%);
  animation: glowDrift2 21s ease-in-out infinite alternate;
}
@keyframes glowDrift1 { from { transform: translate(0, 0); } to { transform: translate(-70px, 50px); } }
@keyframes glowDrift2 { from { transform: translate(0, 0); } to { transform: translate(80px, -40px); } }

/* Breathing section ambient glow */
.breath-section::before {
  content: ""; position: absolute; width: 520px; aspect-ratio: 1; border-radius: 50%;
  top: -160px; left: -140px; pointer-events: none;
  background: radial-gradient(circle, rgba(46,111,126,.10) 0%, transparent 70%);
  animation: glowDrift2 19s ease-in-out infinite alternate;
}

/* ---------- Ken Burns drift on editorial photos ---------- */
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.055); } }
.split .photo-frame img,
.featured-media img,
.origen11-media img,
.masterclass-media img {
  animation: kenburns 22s ease-in-out infinite alternate;
}

/* ---------- Benefits checkmarks draw themselves ---------- */
.benefits li.reveal svg path { stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .6s ease .35s; }
.benefits li.reveal.is-visible svg path { stroke-dashoffset: 0; }

/* ---------- Reveal transition tuning for interactive lists ---------- */
.id-list li.reveal { transition: opacity .7s ease, transform .7s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease; }
.id-list li.reveal.reveal-done { transition: border-color .25s ease, background .25s ease, transform .25s ease, box-shadow .25s ease; }

/* ---------- Primary button shine sweep ---------- */
.btn-primary, .btn-gold { position: relative; overflow: hidden; }
.btn-primary::before, .btn-gold::before {
  content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent);
  transform: skewX(-18deg); transition: left .7s ease; pointer-events: none;
}
.btn-primary:hover::before, .btn-gold:hover::before { left: 130%; }

/* ---------- WhatsApp float pulse ---------- */
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: rgba(37, 211, 102, .45); z-index: -1;
  animation: waPing 3s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes waPing { 0%, 20% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(1.65); opacity: 0; } }

/* ---------- FAQ icon micro-bounce ---------- */
.faq-q:hover .faq-icon { transform: scale(1.12); }
.faq-item.is-open .faq-q:hover .faq-icon { transform: rotate(45deg) scale(1.12); }

/* ---------- Social icons wave on hover ---------- */
.social-row a { transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.social-row a:hover { animation: bob .6s ease; }
@keyframes bob { 0% { transform: translateY(0); } 40% { transform: translateY(-6px); } 70% { transform: translateY(-2px); } 100% { transform: translateY(-3px); } }
.testimonial-card.reveal:not(.reveal-done) { transition: opacity .7s ease, transform .7s ease; }
