/* ==========================================================================
   Latinamigo — design system v4 ("quiet luxury")
   Sober, editorial, high-trust. Warm ivory + deep ink + a single bronze
   accent (the brand's ochre, tamed). No decorative shapes; motion is limited
   to reveals, a rotating phrase, count-ups and gentle parallax.
   Type: Newsreader (titles, wordmark) + Inter (text/UI).
   ========================================================================== */

:root{
  --ink:        #2A361B;   /* manual: verde oscuro */
  --ink-2:      #354424;
  --ink-3:      #43552E;
  --bone:       #FDFAE2;   /* manual: crema */
  --paper:      #FFFDF1;
  --sand:       #F2ECCB;
  --cta:        #CF8A45;   /* lighter tint of manual ochre #BC6D29 (AA text contrast) */
  --cta-hover:  #DB9A58;
  --bronze:     #8A4B1B;   /* accent on light */
  --ochre:      #BC6D29;   /* manual: ocre (large type / lines) */
  --olive:      #616C38;   /* manual: verde oliva (secondary details) */
  --brown:      #57290F;   /* manual: café */
  --bronze-lt:  #E2A468;   /* accent on dark   (8:1 on ink)    */

  --text:       #17191C;
  --text-2:     #4A4F55;
  --on-dark:    #F9F8ED;
  --on-dark-2:  rgba(253,250,226,.72);
  --line:       rgba(23,17,11,.14);
  --line-dark:  rgba(253,250,226,.16);

  --f-display: "Newsreader", "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-body:    "Assistant", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .9375rem;
  --step-0:  1.0625rem;
  --step-1:  clamp(1.1rem, 1.04rem + .35vw, 1.25rem);
  --step-2:  clamp(1.3rem, 1.15rem + .8vw, 1.7rem);
  --step-3:  clamp(1.85rem, 1.4rem + 1.9vw, 2.7rem);
  --step-4:  clamp(2.3rem, 1.5rem + 3.3vw, 3.9rem);

  --s1:.5rem; --s2:1rem; --s3:1.5rem; --s4:2rem; --s5:3rem; --s6:4.5rem; --s7:7rem;
  --maxw:1200px; --gutter:20px; --r:2px;
  --ease:cubic-bezier(.2,.7,.2,1);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top:90px; -webkit-text-size-adjust:100%; }
body{ margin:0; background:var(--bone); color:var(--text); font-family:var(--f-body); font-size:var(--step-0); line-height:1.65; -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility; animation:pageIn .5s both; }
@keyframes pageIn{ from{ opacity:0; } }
@view-transition{ navigation:auto; }
img{ display:block; max-width:100%; height:auto; }
ul,ol{ margin:0; padding:0; list-style:none; }
p{ margin:0 0 1em; }
a{ color:inherit; }
h1,h2,h3{ font-family:var(--f-display); margin:0; font-weight:500; line-height:1.12; letter-spacing:-.02em; text-wrap:balance; }
h2{ font-size:var(--step-3); }
h3{ font-size:var(--step-1); font-weight:600; letter-spacing:-.01em; line-height:1.25; }
em{ font-family:var(--f-display); font-style:italic; font-weight:400; }
strong,b{ font-weight:600; }
::selection{ background:var(--cta); color:var(--ink); }

.sr-only{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.skip-link{ position:absolute; left:12px; top:-60px; z-index:200; background:var(--cta); color:var(--ink); padding:.7rem 1rem; font-weight:600; transition:top .2s; }
.skip-link:focus{ top:12px; }
:focus-visible{ outline:2px solid var(--bronze); outline-offset:3px; }
.section-dark :focus-visible, .site-footer :focus-visible, .booking-card :focus-visible{ outline-color:var(--bronze-lt); }

.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 var(--gutter); }
.section{ padding:var(--s6) 0; }
.section-dark{ background:var(--ink); color:var(--on-dark); }
.section-dark h2,.section-dark h3{ color:var(--on-dark); }
.section-sand{ background:var(--sand); }
.section-head{ margin-bottom:var(--s5); max-width:46rem; }
.lede{ font-size:var(--step-1); line-height:1.55; color:var(--text-2); margin-top:var(--s2); max-width:38em; }
.section-dark .lede{ color:var(--on-dark-2); }
.center{ text-align:center; margin-top:var(--s5); }
.microcopy{ font-size:var(--step--1); color:var(--text-2); margin:0; }
.section-dark .microcopy{ color:var(--on-dark-2); }

/* ---------- buttons ---------- */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.6rem; min-height:52px; padding:.85rem 1.7rem; border:1px solid transparent; border-radius:var(--r);
  font-family:var(--f-body); font-weight:600; font-size:.9375rem; letter-spacing:.01em; line-height:1.1; text-decoration:none; text-align:center; cursor:pointer; touch-action:manipulation;
  transition:background-color .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn-sun{ background:var(--cta); color:var(--ink); }
.btn-sun:hover{ background:var(--cta-hover); }
.btn-ink{ background:var(--ink); color:var(--on-dark); }
.btn-ink:hover{ background:var(--ink-3); }
.btn-ink-outline{ border-color:var(--ink); color:var(--ink); background:transparent; }
.btn-ink-outline:hover{ background:var(--ink); color:var(--on-dark); }
.btn-sm{ min-height:44px; padding:.55rem 1.15rem; font-size:.875rem; }
.btn-lg{ min-height:58px; padding:1rem 2.1rem; font-size:1rem; }
.i-arrow{ width:1.1em; height:1.1em; flex:none; transition:transform .25s var(--ease); vertical-align:-.15em; }
.btn:hover .i-arrow, .text-link:hover .i-arrow{ transform:translateX(3px); }
.text-link{ display:inline-flex; align-items:center; gap:.5rem; font-weight:600; font-size:.9375rem; text-decoration:none; border-bottom:1px solid currentColor; padding-bottom:2px; }
.text-link-dark{ color:var(--bronze-lt); }

/* ---------- header (light) ---------- */
.site-header{ position:sticky; top:0; z-index:100; background:rgba(253,250,226,.92); backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px); border-bottom:1px solid var(--line);
  view-transition-name:site-header; transition:transform .4s var(--ease), box-shadow .3s; }
.site-header.is-scrolled{ box-shadow:0 10px 30px -22px rgba(0,0,0,.5); }
.site-header.is-hidden:not(.nav-open){ transform:translateY(-100%); }
.header-row{ display:flex; align-items:center; gap:var(--s3); min-height:72px; }
.brand{ display:inline-flex; align-items:center; gap:.7rem; text-decoration:none; margin-right:auto; }
.brand-mark{ height:34px; width:auto; }
.brand-word{ font-family:var(--f-display); font-weight:600; font-size:1.5rem; letter-spacing:-.015em; line-height:1; color:var(--ink); }
.main-nav,.header-cta{ display:none; }
.nav-toggle{ width:48px; height:48px; border:0; background:transparent; cursor:pointer; position:relative; }
.nav-toggle i{ position:absolute; left:12px; right:12px; height:2px; background:var(--ink); transition:transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle i:nth-of-type(1){ top:19px; } .nav-toggle i:nth-of-type(2){ top:27px; }
.nav-open .nav-toggle i:nth-of-type(1){ top:23px; transform:rotate(45deg); }
.nav-open .nav-toggle i:nth-of-type(2){ top:23px; transform:rotate(-45deg); }
.mobile-nav{ display:none; flex-direction:column; padding:var(--s2) var(--gutter) var(--s3); border-top:1px solid var(--line); background:var(--bone); }
.nav-open .mobile-nav{ display:flex; }
.mobile-nav a:not(.btn){ color:var(--ink); text-decoration:none; font-family:var(--f-display); font-size:1.4rem; font-weight:500; padding:.7rem 0; border-bottom:1px solid var(--line); }
.mobile-nav a[aria-current="page"]:not(.btn){ color:var(--bronze); }
.mobile-nav .btn{ margin-top:var(--s2); }

/* ---------- hero (light, photo bleeds right) ---------- */
.hero{ position:relative; background:var(--bone); overflow:hidden; }
.hero-grid{ display:grid; padding-top:var(--s5); padding-bottom:var(--s5); }
.hero-kicker{ font-size:1rem; font-weight:600; color:var(--olive); margin-bottom:var(--s3); max-width:42ch; line-height:1.5; animation:fadeUp .9s .1s both; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px); } }
.hero h1{ font-size:clamp(2.3rem, 1.3rem + 3.2vw, 4rem); line-height:1.05; letter-spacing:-.03em; color:var(--ink); }
.wm{ display:inline-block; overflow:hidden; vertical-align:top; padding-bottom:.16em; margin-bottom:-.16em; }
.wm-rot{ display:block; }
.js .w{ display:inline-block; transform:translateY(112%); animation:rise 1s cubic-bezier(.2,.8,.2,1) both; animation-delay:calc(var(--i) * 75ms + .15s); }
@keyframes rise{ to{ transform:none; } }
.rot{ display:inline-grid; vertical-align:top; color:var(--ochre); font-style:italic; font-weight:400; }
.rot-item{ grid-area:1 / 1; opacity:0; transform:translateY(40%); transition:opacity .6s var(--ease), transform .6s var(--ease); }
.rot-item.is-on{ opacity:1; transform:none; }
.rot-item.is-off{ opacity:0; transform:translateY(-40%); }
.hero-sub{ font-size:var(--step-1); line-height:1.6; color:var(--text-2); margin:var(--s3) 0 var(--s4); max-width:34em; }
.hero-sub strong{ color:var(--ink); }
.hero-actions{ display:flex; flex-direction:column; align-items:flex-start; gap:.9rem; }
.hero-actions .btn{ width:100%; }
.hero-proof{ display:grid; gap:.9rem; margin-top:var(--s5); padding-top:var(--s3); border-top:1px solid var(--line); font-size:var(--step--1); color:var(--text-2); }
.hero-proof strong{ display:block; color:var(--ink); font-family:var(--f-display); font-weight:600; font-size:1.15rem; }

.hero-visual{ position:relative; margin:0 calc(var(--gutter) * -1); }
.hero-photo{ overflow:hidden; aspect-ratio:1/1; background:var(--sand); }
.hero-photo img{ width:100%; height:100%; object-fit:cover; object-position:50% 25%; transform:scale(1.06); animation:settle 2.4s var(--ease) both; }
@keyframes settle{ from{ transform:scale(1.14); opacity:0; } to{ transform:scale(1.06); opacity:1; } }
.bubble{ position:absolute; left:var(--gutter); bottom:var(--s3); max-width:min(320px, 78%); background:var(--bone); color:var(--ink); padding:1rem 1.2rem; border-left:3px solid var(--cta); box-shadow:0 24px 50px -24px rgba(0,0,0,.55); animation:fadeUp .9s 1.1s both; }
.bubble span{ display:block; font-family:var(--f-display); font-weight:500; font-size:1.2rem; line-height:1.3; }
.bubble small{ display:block; margin-top:.35rem; font-size:.875rem; color:var(--text-2); }

/* ---------- stats ---------- */
.stats{ padding:var(--s5) 0 var(--s3); }
.stats-grid{ display:grid; grid-template-columns:1fr 1fr; gap:var(--s4) var(--s3); }
.stat{ border-top:1px solid var(--ink); padding-top:var(--s2); }
.stat strong{ display:block; font-family:var(--f-display); font-weight:500; font-size:clamp(2.8rem, 2rem + 4vw, 4.6rem); line-height:1; letter-spacing:-.03em; color:var(--ink); font-variant-numeric:tabular-nums; }
.stat strong small{ font-size:.38em; letter-spacing:0; margin-left:.2em; color:var(--bronze); font-weight:600; font-family:var(--f-body); }
.stat span{ display:block; margin-top:.6rem; color:var(--text-2); font-size:.9375rem; max-width:22ch; }

/* ---------- freeze ---------- */
.freeze-grid{ display:grid; gap:var(--s5); align-items:start; }
.freeze h2{ margin-bottom:var(--s2); }
.pain-list{ margin:var(--s4) 0; border-top:1px solid var(--line); }
.pain-list li{ padding:1rem 0; border-bottom:1px solid var(--line); font-size:1.0625rem; }
.pull{ font-family:var(--f-display); font-weight:500; font-size:var(--step-2); line-height:1.3; letter-spacing:-.01em; margin:0; }
.pull em{ color:var(--bronze); }
.convo{ display:grid; gap:.9rem; background:var(--sand); padding:var(--s3); }
.msg{ padding:1rem 1.15rem; max-width:92%; }
.msg .who{ display:block; font-size:.875rem; font-weight:600; margin-bottom:.25rem; opacity:.7; }
.msg p{ margin:0; line-height:1.35; }
.msg-in{ background:var(--paper); border-left:3px solid var(--bronze); justify-self:start; }
.msg-in p{ font-family:var(--f-display); font-weight:500; font-size:1.25rem; line-height:1.3; }
.msg-thought{ border:1px dashed rgba(23,17,11,.35); justify-self:end; }
.msg-thought p{ color:var(--text-2); }
.msg-thought em{ font-family:var(--f-body); font-style:normal; font-weight:600; }
.msg-out{ background:var(--ink); color:var(--on-dark); justify-self:end; }
.msg-out p{ font-family:var(--f-display); font-weight:500; font-size:1.2rem; }
.convo-note{ margin:.5rem .25rem 0; color:var(--text-2); font-size:var(--step--1); }

/* ---------- versus ---------- */
.versus{ background:var(--paper); }
.versus-table{ display:grid; border:1px solid var(--line); }
.vs-head,.vs-row{ display:grid; grid-template-columns:1fr 1fr; }
.vs-head div{ padding:1rem; font-family:var(--f-display); font-weight:600; font-size:1.05rem; }
.vs-old-h{ background:var(--sand); color:var(--text-2); }
.vs-new-h{ background:var(--ink); color:var(--bronze-lt); }
.vs-old,.vs-new{ padding:1.15rem 1rem 1.3rem; display:flex; flex-direction:column; gap:.3rem; border-top:1px solid var(--line); }
.vs-old{ background:var(--paper); color:var(--text-2); }
.vs-new{ background:var(--ink); color:var(--on-dark); border-top-color:var(--line-dark); }
.vs-old b,.vs-new b{ font-family:var(--f-display); font-weight:500; letter-spacing:-.005em; font-size:1.05rem; line-height:1.25; align-self:flex-start; }
.vs-old b{ text-decoration:line-through; text-decoration-thickness:1px; text-decoration-color:var(--bronze); }
.js .vs-old b{ text-decoration:none; background:linear-gradient(var(--bronze),var(--bronze)) 0 56% / 0 1px no-repeat; transition:background-size .9s var(--ease); }
.js .versus-table.in .vs-old b{ background-size:100% 1px; }
.vs-new b{ font-weight:600; color:var(--bronze-lt); }
.vs-old span,.vs-new span{ font-size:.9375rem; line-height:1.45; }
.vs-new span{ color:var(--on-dark-2); }

/* ---------- ecosystem / pillars ---------- */
.eco-grid{ display:grid; gap:var(--s5); }
.eco-intro{ display:flex; flex-direction:column; align-items:flex-start; gap:var(--s3); align-self:start; }
.eco-intro .lede{ margin:0; }
.pillars{ border-top:1px solid var(--ink); }
.pillar{ display:grid; grid-template-columns:auto 1fr; gap:1.4rem; padding:var(--s4) 0; border-bottom:1px solid var(--line); }
.pillar-n{ font-family:var(--f-display); font-size:2.6rem; line-height:1; color:rgba(23,17,11,.25); min-width:2.4rem; transition:color .5s; }
.pillar.is-active .pillar-n{ color:var(--bronze); }
.pillar h3{ font-size:var(--step-2); font-weight:500; }
.pillar-tag{ font-size:.9375rem; font-weight:600; color:var(--olive); margin:.35rem 0 .7rem; }
.pillar p:last-child{ color:var(--text-2); margin:0; max-width:34em; }
.addon{ background:var(--sand); border:1px solid var(--line); padding:var(--s4) var(--s3); display:grid; gap:var(--s3); align-items:center; }
.addon h3{ font-size:var(--step-2); font-weight:500; margin-bottom:.4rem; }
.addon p{ margin:0; max-width:40em; color:var(--text-2); }
.addon-section{ padding-top:0; }

/* ---------- inside a class ---------- */
.inside-grid{ display:grid; gap:var(--s5); align-items:center; }
.inside-photo{ width:min(100%, 440px); justify-self:center; }
.inside-arch{ aspect-ratio:4/5; position:relative; background:var(--ink-2); }
.inside-arch img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:50% 25%; }
.pin{ position:absolute; z-index:2; width:32px; height:32px; background:var(--cta); color:var(--ink); display:grid; place-items:center; font-weight:600; font-size:.875rem; box-shadow:0 0 0 4px rgba(207,138,69,.3); }
.pin-1{ left:24%; top:34%; } .pin-2{ right:6%; top:22%; } .pin-3{ left:46%; bottom:20%; }
.inside h2{ margin-bottom:var(--s1); }
.annot{ display:grid; gap:var(--s3); margin:var(--s4) 0; }
.annot li{ display:grid; grid-template-columns:34px 1fr; gap:1rem; }
.annot-n{ width:32px; height:32px; background:var(--cta); color:var(--ink); display:grid; place-items:center; font-weight:600; font-size:.875rem; }
.annot h3{ margin-bottom:.25rem; }
.annot p{ margin:0; color:var(--on-dark-2); }

/* ---------- medellin ---------- */
.medellin h2{ margin-bottom:var(--s2); }
.medellin-grid{ display:grid; gap:var(--s5); align-items:center; }
.medellin-copy p:last-child{ color:var(--text-2); }
.swap{ background:var(--ink); color:var(--on-dark); padding:var(--s3); }
.swap-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; padding:1.15rem 0; border-bottom:1px solid var(--line-dark); align-items:baseline; }
.swap-head{ padding-top:.25rem; font-size:.875rem; font-weight:600; color:var(--on-dark-2); }
.swap-old{ font-family:var(--f-display); font-size:1.15rem; color:var(--on-dark-2); text-decoration:line-through; text-decoration-thickness:1px; }
.swap-new{ font-family:var(--f-display); font-style:italic; font-weight:500; font-size:1.4rem; line-height:1.15; color:var(--bronze-lt); }
.swap-foot{ margin:1.2rem 0 0; color:var(--on-dark-2); font-size:var(--step--1); }

/* ---------- tutors page ---------- */
.tutor-feature{ display:grid; gap:var(--s3); padding:var(--s5) 0; border-bottom:1px solid var(--line-dark); }
.tutor-feature:first-child{ padding-top:0; }
.tf-photo{ width:min(100%, 340px); aspect-ratio:3/4; overflow:hidden; background:var(--ink-2); }
.tf-photo img{ width:100%; height:100%; object-fit:cover; scale:1.1; transition:transform 1.2s var(--ease); }
.tf-photo:hover img{ transform:scale(1.04); }
.tf-body h2{ font-size:var(--step-3); margin-bottom:.5rem; width:fit-content; max-width:100%; }
.tf-meta{ color:var(--bronze-lt); font-weight:500; margin:0 0 var(--s2); width:fit-content; }
.tf-spec{ margin:0 0 var(--s2); color:var(--on-dark-2); }
.tf-spec span{ display:block; font-size:.875rem; margin-bottom:.2rem; }
.tf-spec b{ color:var(--on-dark); }
.tf-body > p:last-child{ color:var(--on-dark-2); max-width:36em; width:fit-content; }
.tutors-foot{ margin:var(--s4) 0 0; color:var(--on-dark-2); font-family:var(--f-display); font-size:1.2rem; }
.todo{ background:rgba(226,164,104,.18); box-shadow:0 0 0 3px rgba(226,164,104,.18); border-radius:2px; }

/* ---------- audience tabs ---------- */
.audience{ background:var(--paper); }
.tablist{ display:flex; gap:.6rem; overflow-x:auto; padding:.25rem var(--gutter) .75rem; margin:0 calc(var(--gutter) * -1); scrollbar-width:none; }
.tablist::-webkit-scrollbar{ display:none; }
.tablist button{ flex:none; min-height:48px; padding:.7rem 1.2rem; border:1px solid var(--ink); background:transparent; color:var(--ink); font-family:var(--f-body); font-weight:500; font-size:.9375rem; cursor:pointer; transition:background-color .2s, color .2s; border-radius:var(--r); }
.tablist button:hover{ background:rgba(23,17,11,.06); }
.tablist button[aria-selected="true"]{ background:var(--ink); color:var(--on-dark); }
.tabpanel{ margin-top:var(--s3); background:var(--sand); padding:var(--s4) var(--s3); }
.tabpanel[hidden]{ display:none; }
.tabpanel h3{ font-size:var(--step-3); font-weight:500; letter-spacing:-.02em; line-height:1.12; max-width:18ch; margin-bottom:var(--s2); }
.tabpanel > p{ font-size:var(--step-1); line-height:1.55; max-width:34em; color:var(--text-2); }
.ticks{ display:grid; gap:.7rem; margin:var(--s3) 0 var(--s4); }
.ticks li{ position:relative; padding-left:1.8rem; font-weight:500; }
.ticks li::before{ content:""; position:absolute; left:0; top:.8em; width:.9rem; height:1px; background:var(--bronze); }

/* ---------- results (home) ---------- */
.results-light{ background:var(--paper); }
.results-light .text-link{ margin-top:var(--s3); }
.feature-quote{ margin:0 0 var(--s5); padding-bottom:var(--s4); border-bottom:1px solid var(--line); }
.feature-quote blockquote{ margin:0; }
.feature-quote p{ font-family:var(--f-display); font-weight:500; font-size:var(--step-3); line-height:1.2; letter-spacing:-.02em; margin:0 0 var(--s2); max-width:22em; }
.from{ color:var(--text-2); text-decoration:line-through; text-decoration-thickness:1px; text-decoration-color:var(--bronze); }
.feature-quote em{ color:var(--bronze); }
.feature-quote figcaption{ color:var(--text-2); font-weight:500; }
.feature-quote .i-arrow{ width:.75em; height:.75em; color:var(--bronze); }
.shifts li{ padding:1.4rem 0; border-bottom:1px solid var(--line); display:grid; gap:.4rem; }
.shifts p{ margin:0; font-family:var(--f-display); font-size:1.2rem; line-height:1.35; font-weight:500; }
.shifts p .from{ font-size:1.05rem; font-weight:400; }
.shifts .i-arrow{ color:var(--bronze); }
.shifts .who{ color:var(--text-2); font-size:.9375rem; }
.scrub .sw{ opacity:.25; transition:opacity .35s; }
.scrub .sw.on{ opacity:1; }

/* ---------- path + guarantee ---------- */
.steps{ display:grid; gap:var(--s4); }
.step{ position:relative; padding-left:3.4rem; }
.step-n{ position:absolute; left:0; top:0; width:34px; height:34px; background:var(--ink); color:var(--bronze-lt); display:grid; place-items:center; font-weight:600; font-size:.875rem; }
.step h3{ margin-bottom:.35rem; font-weight:600; font-size:1.15rem; }
.step p{ margin:0; color:var(--text-2); }
.guarantee{ margin-top:var(--s5); background:var(--ink); color:var(--on-dark); padding:var(--s5) var(--s3); }
.guarantee h3{ font-size:var(--step-3); line-height:1.15; letter-spacing:-.02em; font-weight:500; color:var(--on-dark); max-width:18em; margin-bottom:var(--s2); }
.guarantee p{ color:var(--bronze-lt); font-family:var(--f-display); font-weight:500; font-size:var(--step-2); line-height:1.3; margin:0; max-width:24em; }
.guarantee p span{ display:block; margin-top:var(--s2); font-family:var(--f-body); font-size:var(--step-0); line-height:1.55; color:var(--on-dark-2); font-weight:400; }

/* ---------- faq ---------- */
.faq-groups{ display:grid; gap:var(--s5); max-width:820px; }
.faq-group h2{ font-size:var(--step-2); margin-bottom:var(--s2); }
.faq-group .faq-item:first-of-type{ border-top:1px solid var(--ink); }
.faq-item{ border-bottom:1px solid var(--line); }
.faq-item summary{ list-style:none; cursor:pointer; padding:1.2rem 3rem 1.2rem 0; position:relative; font-family:var(--f-display); font-weight:600; font-size:1.15rem; line-height:1.3; min-height:56px; transition:color .2s; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary:hover{ color:var(--bronze); }
.faq-item summary::after{ content:""; position:absolute; right:4px; top:50%; width:18px; height:18px; margin-top:-9px; background:linear-gradient(var(--ink),var(--ink)) center/100% 1.5px no-repeat, linear-gradient(var(--ink),var(--ink)) center/1.5px 100% no-repeat; transition:transform .3s var(--ease); }
.faq-item[open] summary::after{ transform:rotate(45deg); }
.faq-item p{ margin:0 0 1.3rem; color:var(--text-2); max-width:38em; animation:fadeDown .35s var(--ease); }
@keyframes fadeDown{ from{ opacity:0; transform:translateY(-6px); } }

/* ---------- stories page ---------- */
.story{ display:grid; gap:var(--s3); padding:var(--s4) 0; border-bottom:1px solid var(--line); }
.story:first-child{ padding-top:0; }
.story h2{ font-size:var(--step-2); font-weight:500; }
.story-meta{ margin:.25rem 0 0; color:var(--text-2); font-size:.9375rem; }
.story-arc{ display:grid; gap:var(--s2); }
.story-arc h3{ font-family:var(--f-body); font-size:.875rem; font-weight:600; color:var(--text-2); margin-bottom:.35rem; }
.story-arc p{ margin:0; font-family:var(--f-display); font-size:1.3rem; line-height:1.3; font-weight:500; }
.story-before p{ color:var(--text-2); font-weight:400; text-decoration:line-through; text-decoration-thickness:1px; text-decoration-color:var(--bronze); }
.story-after{ border-left:2px solid var(--bronze); padding-left:var(--s2); }
.story-after h3{ color:var(--bronze); }
.js .story .story-after{ clip-path:inset(0 100% 0 0); transition:clip-path 1s .25s var(--ease); }
.js .story.in .story-after{ clip-path:inset(0); }

/* ---------- inner page head (light) ---------- */
.page-head{ background:var(--paper); border-bottom:1px solid var(--line); padding:var(--s5) 0 var(--s6); }
.page-head h1{ font-size:var(--step-4); max-width:16ch; margin:var(--s2) 0; line-height:1.06; letter-spacing:-.03em; }
.page-head .lede{ margin-top:0; }
.crumb{ margin:0; font-size:.875rem; color:var(--text-2); }
.crumb a{ color:var(--text-2); text-underline-offset:3px; }
.crumb a:hover{ color:var(--ink); }

/* ---------- booking page ---------- */
.booking-grid{ display:grid; gap:var(--s5); align-items:start; }
.booking-info h2{ font-size:var(--step-2); margin-bottom:var(--s3); }
.booking-steps{ display:grid; gap:var(--s3); margin-bottom:var(--s4); }
.booking-steps li{ display:grid; grid-template-columns:34px 1fr; gap:1rem; }
.booking-steps p{ margin:0; color:var(--text-2); }
.booking-guarantee{ padding:var(--s3); background:var(--sand); border-left:2px solid var(--bronze); margin:0; }
.booking-card{ background:var(--ink); color:var(--on-dark); padding:var(--s4) var(--s3); }
.booking-card h2{ color:var(--on-dark); font-size:var(--step-2); margin-bottom:var(--s1); }
.booking-card > p{ color:var(--on-dark-2); }
.booking-embed{ min-height:220px; border:1px dashed var(--line-dark); display:grid; place-items:center; margin:var(--s3) 0; color:var(--on-dark-2); }
.booking-embed p{ margin:0; }
.booking-card .btn{ width:100%; }
.microcopy-light{ margin:var(--s2) 0 0; font-size:.875rem; color:var(--on-dark-2); }

/* ---------- closing CTA band ---------- */
.book{ text-align:center; padding:var(--s7) 0; }
.book-inner{ display:flex; flex-direction:column; align-items:center; }
.book h2{ font-size:var(--step-4); line-height:1.08; letter-spacing:-.03em; }
.book .lede{ margin:var(--s3) auto var(--s4); }

/* ---------- footer + sticky ---------- */
.site-footer{ background:var(--ink); color:var(--on-dark-2); padding:var(--s4) 0 6rem; border-top:1px solid var(--line-dark); }
.site-footer .brand-word{ color:var(--on-dark); }
.footer-row{ display:grid; gap:var(--s3); }
.footer-row p{ margin:0; }
.fine{ font-size:.875rem; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:.4rem 1.4rem; }
.footer-nav a{ color:var(--on-dark-2); text-decoration:none; font-size:.9375rem; }
.footer-nav a:hover{ color:var(--on-dark); text-decoration:underline; text-underline-offset:4px; }
.sticky-cta{ position:fixed; left:0; right:0; bottom:0; z-index:90; padding:.75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom)); background:linear-gradient(to top, rgba(253,250,226,.97) 70%, rgba(253,250,226,0)); transform:translateY(110%); transition:transform .35s var(--ease); pointer-events:none; }
.sticky-cta .btn{ width:100%; }
.sticky-cta.show{ transform:none; pointer-events:auto; }
.page-book .sticky-cta{ display:none; }

/* ---------- reveal ---------- */
.js .reveal{ opacity:0; transform:translateY(18px); transition:opacity .7s var(--ease), transform .7s var(--ease); transition-delay:var(--d,0s); }
.js .reveal.in{ opacity:1; transform:none; }

/* ==========================================================================
   >= 640
   ========================================================================== */
@media (min-width:640px){
  :root{ --gutter:32px; }
  .hero-actions{ flex-direction:row; align-items:center; flex-wrap:wrap; gap:1.2rem; }
  .hero-actions .btn{ width:auto; }
  .hero-proof{ grid-template-columns:repeat(3,1fr); gap:1.4rem; }
  .vs-head div{ padding:1.1rem 1.6rem; font-size:1.2rem; }
  .vs-old,.vs-new{ padding:1.5rem 1.6rem 1.6rem; }
  .vs-old b,.vs-new b{ font-size:1.25rem; }
  .vs-old span,.vs-new span{ font-size:1rem; }
  .addon{ grid-template-columns:1fr auto; padding:var(--s4); }
  .steps{ grid-template-columns:repeat(4,1fr); gap:var(--s3); }
  .step{ padding:3.6rem 0 0; }
  .tabpanel{ padding:var(--s5) var(--s4); }
  .guarantee{ padding:var(--s6) var(--s5); }
  .shifts li{ grid-template-columns:1fr auto; align-items:baseline; gap:2rem; }
  .stats-grid{ grid-template-columns:repeat(4,1fr); }
}
@media (min-width:860px){
  .tutor-feature{ grid-template-columns:340px 1fr; gap:var(--s6); align-items:center; padding:var(--s6) 0; }
  .tutor-feature:first-child{ padding-top:var(--s2); }
  .tutor-feature:nth-child(even){ grid-template-columns:1fr 340px; }
  .tutor-feature:nth-child(even) .tf-photo{ order:2; justify-self:end; }
  .story{ grid-template-columns:.7fr 1.3fr; gap:var(--s5); padding:var(--s5) 0; align-items:start; }
  .story-arc{ grid-template-columns:1fr 1fr; gap:var(--s4); }
  .story-arc p{ font-size:1.45rem; }
}

/* ==========================================================================
   >= 960 desktop
   ========================================================================== */
@media (min-width:960px){
  .section{ padding:var(--s7) 0; }
  .nav-toggle,.mobile-nav{ display:none !important; }
  .main-nav{ display:flex; gap:2rem; margin-right:var(--s2); }
  .main-nav a{ color:var(--text-2); text-decoration:none; font-weight:500; font-size:.9375rem; padding:.5rem 0; position:relative; transition:color .2s; }
  .main-nav a::after{ content:""; position:absolute; left:0; right:0; bottom:2px; height:1px; background:var(--ink); transform:scaleX(0); transform-origin:left; transition:transform .3s var(--ease); }
  .main-nav a:hover,.main-nav a[aria-current="page"]{ color:var(--ink); }
  .main-nav a:hover::after,.main-nav a[aria-current="page"]::after{ transform:scaleX(1); }
  .header-cta{ display:inline-flex; }
  .header-cta[aria-current="page"]{ box-shadow:0 0 0 2px var(--ink) inset; }
  .brand{ margin-right:0; } .header-row{ justify-content:space-between; }

  /* hero: copy left, photo bleeds to the right edge, full height */
  .hero{ min-height:min(88vh, 780px); display:flex; }
  .hero-grid{ align-content:center; padding-top:var(--s6); padding-bottom:var(--s6); }
  .hero-copy{ max-width:min(580px, calc(60vw - var(--gutter) * 2)); position:relative; z-index:1; }
  .hero-visual{ position:absolute; top:0; right:0; bottom:0; width:40vw; margin:0; }
  .hero-photo{ height:100%; aspect-ratio:auto; }
  .bubble{ left:auto; right:var(--s4); bottom:var(--s4); }

  .freeze-grid{ grid-template-columns:1.05fr .95fr; gap:var(--s6); }
  .convo{ position:sticky; top:110px; padding:var(--s4); }
  .msg-in p{ font-size:1.4rem; }
  .eco-grid{ grid-template-columns:.8fr 1.2fr; gap:var(--s6); }
  .eco-intro{ position:sticky; top:110px; }
  .pillar{ gap:2rem; padding:var(--s5) 0; }
  .pillar-n{ font-size:3.2rem; min-width:3.2rem; }
  .addon{ padding:var(--s5); }
  .inside-grid{ grid-template-columns:.85fr 1.15fr; gap:var(--s6); }
  .inside-photo{ justify-self:start; width:100%; max-width:460px; }
  .medellin-grid{ grid-template-columns:1fr 1fr; gap:var(--s6); }
  .swap{ padding:var(--s4); }
  .swap-old{ font-size:1.3rem; } .swap-new{ font-size:1.6rem; }
  .tabpanel{ display:grid; grid-template-columns:1.1fr .9fr; column-gap:var(--s5); align-content:start; }
  .tabpanel[hidden]{ display:none; }
  .tabpanel h3,.tabpanel > p{ grid-column:1; }
  .tabpanel .ticks{ grid-column:2; grid-row:1 / span 3; align-self:center; margin:0; padding:var(--s4); background:var(--paper); }
  .tabpanel .btn{ grid-column:1; justify-self:start; margin-top:var(--s2); }
  .booking-grid{ grid-template-columns:1fr 1fr; gap:var(--s6); }
  .booking-card{ position:sticky; top:110px; padding:var(--s5); }
  .site-footer{ padding-bottom:var(--s4); }
  .footer-row{ grid-template-columns:auto 1fr auto; align-items:center; gap:var(--s4); }
  .footer-nav{ justify-content:center; }
  .footer-row p.fine{ text-align:right; }
  .sticky-cta{ display:none; }
}
@media (min-width:1280px){ :root{ --gutter:40px; } }


/* ---------- brand logo loop (hero) ---------- */
.logo-loop{ display:none; width:min(460px, 100%); aspect-ratio:1104/416; margin:0 0 var(--s3) -24px; opacity:0; transition:opacity .8s; }
.logo-loop.is-ready{ display:block; opacity:1; }
.logo-loop video{ width:100%; height:100%; object-fit:contain; display:block; }

/* ---------- video ---------- */
.video-hero{ position:relative; background:#000; aspect-ratio:16/9; max-width:960px; margin-bottom:var(--s3); }
.video-hero video{ width:100%; height:100%; display:block; background:#000; }
.video-grid{ display:grid; gap:var(--s4) var(--s2); grid-template-columns:repeat(2,1fr); }
.video-card h3{ margin:.9rem 0 .15rem; font-size:1.25rem; }
.video-card p{ margin:0; color:var(--on-dark-2); font-size:.9375rem; }
.yt{ position:relative; display:block; width:100%; aspect-ratio:9/16; padding:0; border:0; background:var(--ink-2); cursor:pointer; overflow:hidden; color:var(--bone); }
.yt img,.yt iframe{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border:0; transition:transform .8s var(--ease), opacity .3s; }
.yt:hover img{ transform:scale(1.04); }
.yt::after{ content:""; position:absolute; inset:0; background:linear-gradient(to top, rgba(23,17,11,.55), transparent 55%); pointer-events:none; }
.i-play{ position:absolute; left:50%; top:50%; width:52px; height:52px; margin:-26px 0 0 -26px; z-index:2; transition:transform .3s var(--ease); }
.yt:hover .i-play{ transform:scale(1.1); }
@media (min-width:640px){ .video-grid{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:960px){ .video-grid{ grid-template-columns:repeat(6,1fr); gap:var(--s4) var(--s2); } }
.video-card h3{ font-size:1.1rem; }
.video-card iframe{ display:block; width:100%; aspect-ratio:9/16; border:0; background:#000; }

.logo-loop video{ -webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent); -webkit-mask-composite:source-in; mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent); mask-composite:intersect; }


/* ==========================================================================
   v5 — FUTURISTIC / LIQUID GLASS LAYER
   Palette: manual (café, ocre, crema, oliva) on deep coffee-black.
   Ambient motion (liquid blobs, logo loop) always runs; it has a visible
   pause button (.motion-toggle). Parallax / tilt / scrubbing respect
   prefers-reduced-motion.
   ========================================================================== */
:root{
  --ink:#17110B; --ink-2:#221810; --ink-3:#33261A;
  --cta:#E3943F; --cta-hover:#EDA553;
  --bronze-lt:#EDAE6A;
  --line:rgba(23,17,11,.14);
  --rad:28px;
}
@property --ang{ syntax:'<angle>'; inherits:false; initial-value:0deg; }
@keyframes spinang{ to{ --ang:360deg; } }
@keyframes spin{ to{ transform:rotate(360deg); } }
@keyframes blobmove{ 0%{ transform:translate(0,0) scale(1); border-radius:60% 40% 55% 45% / 50% 60% 40% 50%; } 50%{ transform:translate(40px,-30px) scale(1.12); border-radius:42% 58% 46% 54% / 56% 44% 56% 44%; } 100%{ transform:translate(-30px,40px) scale(.95); border-radius:55% 45% 60% 40% / 45% 55% 45% 55%; } }
@keyframes floatY{ from{ transform:translateY(0); } to{ transform:translateY(-14px); } }
@keyframes morph{ 0%,100%{ border-radius:58% 42% 52% 48% / 46% 54% 46% 54%; } 33%{ border-radius:44% 56% 40% 60% / 56% 42% 58% 44%; } 66%{ border-radius:52% 48% 62% 38% / 42% 58% 42% 58%; } }
@keyframes fadeIn{ from{ opacity:0; } }
@keyframes glowpulse{ from{ opacity:.7; transform:scale(1); } to{ opacity:1; transform:scale(1.06); } }

/* ---------- blobs / backdrops ---------- */
.ph-bg{ position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.blob{ position:absolute; border-radius:50%; filter:blur(70px); opacity:.55; will-change:transform; animation:blobmove 18s ease-in-out infinite alternate; }
.ph-bg .b1{ width:520px; height:520px; background:radial-gradient(circle at 30% 30%, #E3943F, transparent 70%); right:-120px; top:-160px; }
.ph-bg .b2{ width:480px; height:480px; background:radial-gradient(circle, #6B3416, transparent 70%); left:-140px; bottom:-200px; animation-duration:22s; opacity:.8; }
.ph-bg .b3{ width:380px; height:380px; background:radial-gradient(circle, #616C38, transparent 70%); left:42%; top:8%; opacity:.35; animation-duration:26s; }
.ph-bg.light .blob{ opacity:.32; }
.ph-bg.light .b1{ background:radial-gradient(circle at 30% 30%, #E3943F, transparent 70%); right:-80px; top:-100px; }
.ph-bg.light .b2{ background:radial-gradient(circle, #616C38, transparent 70%); left:-120px; bottom:-120px; opacity:.28; }
.ph-bg.light .b3{ background:radial-gradient(circle, #BC6D29, transparent 70%); left:46%; bottom:-160px; top:auto; opacity:.25; }
.section-dark, .site-footer{ position:relative; }
.video-feature, .book, .pillars-section, .stories-home{ position:relative; overflow:hidden; isolation:isolate; }
.book .ph-bg{ z-index:-1; }
.videos{ position:relative; overflow:hidden; isolation:isolate; }
.videos::before,.videos::after{ content:""; position:absolute; z-index:-1; border-radius:50%; filter:blur(80px); pointer-events:none; animation:blobmove 22s ease-in-out infinite alternate; }
.videos::before{ width:520px; height:520px; right:-120px; top:-120px; background:radial-gradient(circle,#E3943F,transparent 70%); opacity:.4; }
.videos::after{ width:480px; height:480px; left:-140px; bottom:-160px; background:radial-gradient(circle,#616C38,transparent 70%); opacity:.35; animation-duration:28s; }

/* ---------- liquid glass ---------- */
.liquid{
  position:relative; border-radius:var(--rad); overflow:hidden; color:var(--on-dark);
  background:linear-gradient(135deg, rgba(253,250,226,.16), rgba(253,250,226,.04));
  border:1px solid rgba(253,250,226,.2);
  -webkit-backdrop-filter:blur(20px) saturate(150%); backdrop-filter:blur(20px) saturate(150%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(255,255,255,.05), 0 30px 60px -30px rgba(0,0,0,.7);
  transition:transform .5s var(--ease), box-shadow .5s;
}
.liquid > *{ position:relative; z-index:1; }
.liquid::before{ content:""; position:absolute; inset:0; z-index:0; background:radial-gradient(420px circle at var(--px,30%) var(--py,0%), rgba(255,255,255,.24), transparent 55%); opacity:.75; transition:opacity .3s; pointer-events:none; }
.liquid::after{ content:""; position:absolute; inset:0; z-index:2; border-radius:inherit; padding:1px; pointer-events:none; opacity:.85;
  background:conic-gradient(from var(--ang), rgba(227,148,63,0), rgba(227,148,63,.95), rgba(253,250,226,0) 38%, rgba(227,148,63,0) 70%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude;
  animation:spinang 9s linear infinite; }
.liquid-light{ color:var(--ink);
  background:linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.4));
  border-color:rgba(255,255,255,.9);
  box-shadow:inset 0 1px 0 #fff, 0 30px 60px -34px rgba(87,41,15,.55), 0 2px 0 rgba(188,109,41,.06); }
.liquid-light::before{ background:radial-gradient(420px circle at var(--px,30%) var(--py,0%), rgba(227,148,63,.22), transparent 60%); }
.liquid-light::after{ opacity:.55; }
.liquid:hover{ box-shadow:inset 0 1px 0 rgba(255,255,255,.4), 0 40px 70px -30px rgba(0,0,0,.75); }
.tilt{ transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); }

/* ---------- header: dark glass everywhere ---------- */
.site-header{ background:rgba(23,17,11,.72); -webkit-backdrop-filter:blur(16px) saturate(140%); backdrop-filter:blur(16px) saturate(140%); border-bottom:1px solid rgba(253,250,226,.1); }
.brand-word{ color:var(--on-dark); }
.nav-toggle i{ background:var(--on-dark); }
.mobile-nav{ background:var(--ink); border-top:1px solid var(--line-dark); }
.mobile-nav a:not(.btn){ color:var(--on-dark); border-bottom-color:var(--line-dark); }
.mobile-nav a[aria-current="page"]:not(.btn){ color:var(--bronze-lt); }
@media (min-width:960px){
  .main-nav a{ color:rgba(253,250,226,.68); }
  .main-nav a::after{ background:var(--cta); }
  .main-nav a:hover,.main-nav a[aria-current="page"]{ color:var(--on-dark); }
  .header-cta[aria-current="page"]{ box-shadow:0 0 0 2px var(--on-dark) inset; }
}

/* ---------- buttons ---------- */
.btn-sun{ background:linear-gradient(135deg,#EDA553,#E3943F 55%,#D4822B); color:#17110B; box-shadow:0 14px 34px -14px rgba(227,148,63,.8), inset 0 1px 0 rgba(255,255,255,.45); }
.btn-sun:hover{ background:linear-gradient(135deg,#F3B166,#EDA553 55%,#DD8C36); transform:translateY(-2px); }
.btn{ border-radius:999px; }
.btn-ink{ background:var(--ink); }
.btn-ink-outline{ border-radius:999px; }

/* ---------- HERO ---------- */
.hero{ background:var(--ink); color:var(--on-dark); overflow:hidden; isolation:isolate; display:block; min-height:0; }
.hero-bg{ position:absolute; inset:0; z-index:-1; overflow:hidden; pointer-events:none; }
.hero-bg .b1{ width:720px; height:720px; right:-160px; top:-120px; background:radial-gradient(circle at 35% 35%, #E3943F, transparent 68%); opacity:.5; }
.hero-bg .b2{ width:620px; height:620px; left:-220px; bottom:-260px; background:radial-gradient(circle, #7A3B1A, transparent 68%); opacity:.85; animation-duration:24s; }
.hero-bg .b3{ width:420px; height:420px; left:36%; top:-140px; background:radial-gradient(circle, #616C38, transparent 68%); opacity:.38; animation-duration:28s; }
.hero-bg .b4{ width:360px; height:360px; right:22%; bottom:-120px; background:radial-gradient(circle, #FDFAE2, transparent 70%); opacity:.14; animation-duration:20s; }
.hero-bg .dots{ position:absolute; inset:0; background-image:radial-gradient(rgba(253,250,226,.16) 1px, transparent 1.6px); background-size:30px 30px; -webkit-mask-image:radial-gradient(75% 85% at 72% 42%, #000, transparent 78%); mask-image:radial-gradient(75% 85% at 72% 42%, #000, transparent 78%); }
.hero::after{ content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; opacity:.09; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-grid{ display:grid; gap:var(--s5); padding-top:var(--s5); padding-bottom:var(--s6); align-items:center; }
.hero-kicker{ color:var(--bronze-lt); font-weight:600; font-size:1rem; padding-left:.9rem; border-left:2px solid var(--cta); }
.hero h1{ color:var(--on-dark); max-width:none; font-size:clamp(2.4rem, 1.3rem + 3.6vw, 4.4rem); }
.rot{ background:linear-gradient(100deg,#EDAE6A 0%,#FDFAE2 45%,#E3943F 100%); background-size:220% 100%; -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; animation:shimmer 7s linear infinite; padding-right:.08em; }
@keyframes shimmer{ to{ background-position:-220% 0; } }
.hero-sub{ color:var(--on-dark-2); }
.hero-sub strong{ color:var(--on-dark); }
.hero .microcopy{ color:var(--on-dark-2); }
.hero-proof{ border-top-color:rgba(253,250,226,.14); color:var(--on-dark-2); }
.hero-proof strong{ color:var(--on-dark); }

.hero-visual{ position:relative; width:100%; max-width:600px; justify-self:center; margin:0 auto; aspect-ratio:1/1; top:auto; right:auto; bottom:auto; }
.halo{ position:absolute; inset:6%; border-radius:50%; background:conic-gradient(from 0deg,#E3943F,#7A3B1A,#616C38,#FDFAE2,#E3943F); filter:blur(48px); opacity:.55; animation:spin 22s linear infinite; }
.hero-photo{ position:absolute; inset:4% 4% 10% 12%; height:auto; aspect-ratio:auto; overflow:hidden; border-radius:58% 42% 52% 48% / 46% 54% 46% 54%; animation:morph 14s ease-in-out infinite; box-shadow:0 50px 90px -40px rgba(0,0,0,.85), 0 0 0 1px rgba(253,250,226,.18); background:var(--ink-2); will-change:transform; }
.hero-photo img{ width:100%; height:100%; object-fit:cover; object-position:50% 22%; transform:scale(1.04); animation:settle 2.4s var(--ease) both; }
.logo-card{ position:absolute; left:-2%; bottom:1%; width:min(72%, 370px); background:var(--bone); border-radius:22px; padding:.35rem .4rem; box-shadow:0 36px 60px -24px rgba(0,0,0,.75), inset 0 0 0 1px rgba(255,255,255,.7); opacity:0; transition:opacity .9s; animation:floatY 7s ease-in-out infinite alternate; will-change:transform; z-index:3; }
.logo-card.is-ready{ opacity:1; }
.logo-card .logo-loop{ display:block; width:100%; margin:0; opacity:1; aspect-ratio:1104/416; }
.glass-quote{ position:absolute; right:-1%; top:10%; max-width:250px; padding:1rem 1.2rem; z-index:3; animation:fadeUp .9s 1.1s both; }
.glass-quote span{ display:block; font-family:var(--f-display); font-size:1.15rem; line-height:1.3; font-weight:500; color:var(--on-dark); }
.glass-quote small{ display:block; margin-top:.35rem; color:var(--on-dark-2); font-size:.875rem; }
.glass-chip{ position:absolute; left:8%; top:3%; z-index:3; border-radius:999px; padding:.5rem .95rem; font-size:.875rem; font-weight:600; display:inline-flex; align-items:center; gap:.55rem; animation:fadeUp .9s 1.3s both; }
.live-dot{ width:8px; height:8px; border-radius:50%; background:#FF7A45; box-shadow:0 0 0 0 rgba(255,122,69,.7); animation:pulse 2s infinite; }
@keyframes pulse{ 70%{ box-shadow:0 0 0 9px rgba(255,122,69,0); } 100%{ box-shadow:0 0 0 0 rgba(255,122,69,0); } }
.logo-loop video{ -webkit-mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent); -webkit-mask-composite:source-in; mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 12%,#000 88%,transparent); mask-composite:intersect; }

@media (min-width:960px){
  .hero{ min-height:min(calc(100svh - 73px), 860px); display:flex; align-items:center; }
  .hero-grid{ width:100%; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); gap:var(--s4); padding-top:var(--s5); padding-bottom:var(--s5); }
  .hero-copy{ max-width:none; padding-bottom:0; }
  .hero-visual{ position:relative; width:100%; max-width:640px; justify-self:end; top:auto; right:auto; bottom:auto; }
  .hero-photo{ height:auto; aspect-ratio:auto; }
}

/* ---------- marquee ---------- */
.marquee{ background:var(--ink); overflow:hidden; border-block:1px solid rgba(253,250,226,.08); padding:1.1rem 0; position:relative; z-index:2; }
.marquee-track{ display:flex; align-items:center; gap:2.4rem; width:max-content; animation:marquee 46s linear infinite; font-family:var(--f-display); font-size:clamp(2rem,4.4vw,3.6rem); line-height:1; color:transparent; -webkit-text-stroke:1px rgba(253,250,226,.4); white-space:nowrap; }
.marquee-track span:nth-of-type(3n+1){ color:var(--cta); -webkit-text-stroke:0; font-style:italic; }
.marquee-track i{ width:10px; height:10px; border-radius:50%; background:rgba(253,250,226,.35); flex:none; }
@keyframes marquee{ to{ transform:translateX(-50%); } }
.marquee:hover .marquee-track{ animation-play-state:paused; }

/* ---------- stats (dark glass) ---------- */
.stats{ background:var(--ink); padding:var(--s5) 0 var(--s6); }
.stats-grid{ gap:var(--s3); }
.stat{ border-top:0; padding:1.6rem 1.5rem 1.5rem; }
.stat strong{ background:linear-gradient(120deg,#FDFAE2 20%,#EDAE6A); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; font-size:clamp(2.8rem, 2rem + 3.6vw, 4.4rem); }
.stat strong small{ -webkit-text-fill-color:#EDAE6A; color:#EDAE6A; }
.stat span{ color:var(--on-dark-2); }

/* ---------- pillar cards ---------- */
.pillars-section{ background:var(--bone); }
.pillars-section .section-head{ max-width:44rem; }
.head-actions{ display:flex; flex-wrap:wrap; align-items:center; gap:1.4rem; margin-top:var(--s3); }
.pcards{ display:grid; gap:var(--s3); grid-template-columns:1fr; margin-top:var(--s4); }
.pcard{ padding:2rem 1.8rem 2rem; display:flex; flex-direction:column; min-height:280px; }
.pc-n{ font-family:var(--f-display); font-size:3.4rem; line-height:1; background:linear-gradient(120deg,#BC6D29,#E3943F); -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent; margin-bottom:auto; padding-bottom:var(--s3); }
.pcard h3{ font-size:var(--step-2); font-weight:500; margin-bottom:.35rem; }
.pc-tag{ color:var(--bronze); font-weight:600; font-size:.9375rem; margin:0 0 .7rem; }
.pcard p:last-child{ color:var(--text-2); margin:0; }
@media (min-width:860px){ .pcards{ grid-template-columns:repeat(3,1fr); } }

/* ---------- video stage ---------- */
.video-feature{ padding-bottom:var(--s6); }
.video-stage{ position:relative; max-width:1040px; margin:0 auto var(--s3); }
.stage-glow{ position:absolute; inset:-10% -8%; z-index:0; filter:blur(46px); pointer-events:none; animation:glowpulse 7s ease-in-out infinite alternate;
  background:radial-gradient(55% 60% at 28% 38%, rgba(227,148,63,.6), transparent 70%), radial-gradient(50% 60% at 78% 72%, rgba(97,108,56,.55), transparent 70%), radial-gradient(40% 50% at 60% 10%, rgba(253,250,226,.2), transparent 70%); }
.liquid-frame{ position:relative; z-index:1; padding:12px; border-radius:32px; background:linear-gradient(135deg, rgba(253,250,226,.22), rgba(253,250,226,.05)); border:1px solid rgba(253,250,226,.28); -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); box-shadow:inset 0 1px 0 rgba(255,255,255,.35), 0 50px 90px -40px rgba(0,0,0,.85); }
.video-hero.liquid-frame{ aspect-ratio:auto; max-width:none; margin:0; background:linear-gradient(135deg, rgba(253,250,226,.22), rgba(253,250,226,.05)); }
.video-hero.liquid-frame video{ border-radius:22px; display:block; width:100%; aspect-ratio:16/9; background:#000; }

/* ---------- testimonial cards ---------- */
.yt{ border-radius:22px; box-shadow:0 30px 50px -30px rgba(0,0,0,.8); transition:transform .5s var(--ease), box-shadow .5s; }
.video-card:hover .yt{ transform:translateY(-6px); box-shadow:0 40px 60px -30px rgba(227,148,63,.35); }
.i-play{ filter:drop-shadow(0 8px 18px rgba(0,0,0,.45)); }

/* ---------- story cards (home) ---------- */
.stories-home{ background:var(--paper); }
.scards{ display:grid; gap:var(--s3); grid-template-columns:1fr; margin-bottom:var(--s4); }
.scard{ padding:1.9rem 1.8rem; display:flex; flex-direction:column; justify-content:space-between; gap:var(--s3); }
.sc-q{ margin:0; font-family:var(--f-display); font-weight:500; font-size:1.3rem; line-height:1.3; }
.scard-lead .sc-q{ font-size:var(--step-3); line-height:1.2; letter-spacing:-.02em; }
.sc-q b{ color:var(--bronze); font-weight:500; }
.sc-q .i-arrow{ color:var(--bronze); }
.sc-who{ margin:0; color:var(--text-2); font-weight:600; font-size:.9375rem; }
@media (min-width:900px){ .scards{ grid-template-columns:1.35fr 1fr; } .scard-lead{ grid-row:span 2; padding:2.6rem; } }

/* ---------- inner page heads: dark + liquid ---------- */
.page-head{ background:var(--ink); color:var(--on-dark); border:0; position:relative; overflow:hidden; isolation:isolate; padding:var(--s6) 0 var(--s6); }
.page-head::before,.page-head::after{ content:none; }
.page-head h1{ color:var(--on-dark); }
.page-head .lede{ color:var(--on-dark-2); }
.crumb,.crumb a{ color:var(--on-dark-2); }
.crumb a:hover{ color:var(--on-dark); }

/* ---------- CTA band: glass card ---------- */
.book{ background:var(--ink); }
.book::after,.book::before{ content:none; }
.book-inner.liquid{ max-width:880px; margin:0 auto; padding:var(--s6) var(--s4); align-items:center; text-align:center; display:flex; flex-direction:column; }
.book h2{ color:var(--on-dark); }
.book .lede{ color:var(--on-dark-2); }

/* ---------- misc ---------- */
.section-dark{ background:var(--ink); }
.vs-new-h{ background:var(--ink); }
.vs-new{ background:var(--ink); }
.guarantee{ background:var(--ink); }
.swap{ background:var(--ink); }
.booking-card{ background:var(--ink); }
.site-footer{ background:var(--ink); }

/* motion toggle + scroll progress */
.motion-toggle{ position:fixed; right:16px; bottom:16px; z-index:95; width:46px; height:46px; border-radius:50%; border:1px solid rgba(253,250,226,.3); background:rgba(23,17,11,.72); -webkit-backdrop-filter:blur(10px); backdrop-filter:blur(10px); color:var(--on-dark); display:grid; place-items:center; cursor:pointer; transition:background-color .25s, transform .25s var(--ease); }
.motion-toggle:hover{ background:rgba(23,17,11,.9); transform:scale(1.06); }
.motion-toggle svg{ width:18px; height:18px; grid-area:1/1; }
.mt-play{ display:none; } .motion-paused .mt-play{ display:block; } .motion-paused .mt-pause{ display:none; }
.motion-paused *,.motion-paused *::before,.motion-paused *::after{ animation-play-state:paused !important; }
.scroll-progress{ position:fixed; left:0; top:0; height:3px; width:100%; transform-origin:left; transform:scaleX(var(--p,0)); background:linear-gradient(90deg,#E3943F,#FDFAE2); z-index:120; pointer-events:none; }
@media (max-width:959px){ .motion-toggle{ bottom:86px; right:12px; width:42px; height:42px; } }

/* mobile hero */
@media (max-width:959px){
  .hero-visual{ max-width:460px; margin-top:var(--s3); }
  .logo-card{ left:0; width:70%; }
  .glass-quote{ right:0; max-width:210px; padding:.8rem 1rem; }
  .glass-quote span{ font-size:1rem; }
}

/* ---------- reduced motion: gentle fades only for large movement ---------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  .js .reveal{ transform:none; transition:opacity .6s var(--ease); }
  .js .w{ transform:none; animation:fadeIn .8s both; animation-delay:calc(var(--i) * 60ms); }
  .scrub .sw{ opacity:1; }
  .js .vs-old b{ background-size:100% 1px; } .js .story .story-after{ clip-path:none; }
  .hero-photo img{ animation:none; }
  .marquee-track{ animation-duration:140s; }
}


/* ==========================================================================
   v6 — hero rotator fix + same liquid-glass system on every page
   ========================================================================== */

/* Rotator: the gradient text-fill must live on EACH phrase. On the parent,
   background-clip:text paints through every child's glyphs even at opacity 0. */
.rot{ background:none; -webkit-background-clip:border-box; background-clip:border-box; color:inherit; -webkit-text-fill-color:currentColor; animation:none; }
.rot-item{ background:linear-gradient(100deg,#EDAE6A 0%,#FDFAE2 45%,#E3943F 100%); background-size:220% 100%;
  -webkit-background-clip:text; background-clip:text; color:transparent; -webkit-text-fill-color:transparent;
  animation:shimmer 7s linear infinite; padding-right:.08em; visibility:hidden; }
.rot-item.is-on, .rot-item.is-off{ visibility:visible; }
.rot-item.is-off{ pointer-events:none; }

/* tilt must beat the reveal transform once revealed */
.js .reveal.in.tilt{ transform:perspective(900px) rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition:opacity .7s var(--ease), transform .45s var(--ease); }

/* absolute children inside glass cards */
.liquid > .step-n{ position:absolute; }

/* ---------- soft liquid blobs behind every light section ---------- */
.freeze, .versus, .path, .faq, .stories-list, .booking, .audience, .medellin, .addon-section, .page-head + section{ position:relative; overflow:hidden; isolation:isolate; }
.freeze::before, .versus::before, .path::before, .faq::before, .stories-list::before, .booking::before, .audience::before, .medellin::before, .addon-section::before,
.freeze::after, .versus::after, .path::after, .faq::after, .stories-list::after, .booking::after, .audience::after, .medellin::after, .addon-section::after{
  content:""; position:absolute; z-index:-1; border-radius:50%; filter:blur(80px); pointer-events:none; animation:blobmove 24s ease-in-out infinite alternate; }
.freeze::before, .versus::before, .path::before, .faq::before, .stories-list::before, .booking::before, .audience::before, .medellin::before, .addon-section::before{
  width:520px; height:520px; right:-140px; top:-120px; background:radial-gradient(circle,#E3943F,transparent 70%); opacity:.26; }
.freeze::after, .versus::after, .path::after, .faq::after, .stories-list::after, .booking::after, .audience::after, .medellin::after, .addon-section::after{
  width:460px; height:460px; left:-160px; bottom:-160px; background:radial-gradient(circle,#616C38,transparent 70%); opacity:.22; animation-duration:30s; }

/* dark sections get the same atmosphere */
.inside, .tutors-list{ position:relative; overflow:hidden; isolation:isolate; }
.inside::before, .tutors-list::before, .inside::after, .tutors-list::after{ content:""; position:absolute; z-index:-1; border-radius:50%; filter:blur(90px); pointer-events:none; animation:blobmove 22s ease-in-out infinite alternate; }
.inside::before, .tutors-list::before{ width:560px; height:560px; right:-160px; top:-100px; background:radial-gradient(circle,#E3943F,transparent 70%); opacity:.38; }
.inside::after, .tutors-list::after{ width:520px; height:520px; left:-180px; bottom:-180px; background:radial-gradient(circle,#7A3B1A,transparent 70%); opacity:.7; animation-duration:28s; }

/* ---------- component skins (classes added at build time: liquid / liquid-light) ---------- */
/* steps */
.step.liquid{ padding:4.4rem 1.4rem 1.6rem; min-height:0; }
.step.liquid > .step-n{ left:1.4rem; top:1.4rem; border-radius:12px; }
@media (max-width:639px){ .step.liquid{ padding:1.5rem 1.4rem 1.6rem 4.6rem; } .step.liquid > .step-n{ left:1.2rem; } }
.step::before{ content:none; }
.steps{ gap:var(--s3); }
.js .step-n{ transform:none; opacity:1; }
/* comparison table */
.versus-table.liquid{ border-radius:var(--rad); }
.vs-new{ background:linear-gradient(135deg,#221810,#33261A); }
.vs-new-h{ background:linear-gradient(135deg,#E3943F,#C77A2B); color:#17110B; }
.vs-old-h{ background:rgba(255,255,255,.5); }
.vs-old{ background:rgba(255,255,255,.4); }
/* conversation, add-on, guarantee, swap, tabs */
.convo.liquid, .addon.liquid, .tabpanel.liquid, .booking-guarantee.liquid{ padding:var(--s4) var(--s3); }
.tabpanel.liquid{ margin-top:var(--s3); }
.convo.liquid{ background:linear-gradient(135deg, rgba(255,255,255,.82), rgba(255,255,255,.4)); }
.guarantee.liquid{ background:linear-gradient(135deg,#221810,#17110B); border-radius:var(--rad); }
.swap.liquid{ background:linear-gradient(135deg,#221810,#17110B); }
.booking-card.liquid{ background:linear-gradient(135deg,#221810,#17110B); border-radius:var(--rad); }
.booking-guarantee.liquid{ border-left:0; }
.addon.liquid{ background:linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,255,255,.45)); }
/* stories (written) */
.story.liquid{ padding:var(--s4); margin-bottom:var(--s3); border-bottom:1px solid rgba(255,255,255,.9); }
.story.liquid:first-child{ padding-top:var(--s4); }
.story:last-child.liquid{ margin-bottom:0; }
/* tutors */
.tutor-feature.liquid{ padding:var(--s4); margin-bottom:var(--s4); border-bottom:1px solid rgba(253,250,226,.2); }
.tutor-feature.liquid:first-child{ padding-top:var(--s4); }
@media (min-width:860px){ .tutor-feature.liquid{ padding:var(--s4) var(--s5); } .tutor-feature.liquid:first-child{ padding-top:var(--s4); } }
.tf-photo{ border-radius:24px; box-shadow:0 30px 60px -30px rgba(0,0,0,.8); }
.tf-photo img{ transition:transform 1.2s var(--ease); }
.tutors-list .tutors-foot{ margin-top:var(--s2); }
.inside-arch{ border-radius:32px; box-shadow:0 40px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(253,250,226,.16); }
.inside-arch img{ border-radius:inherit; }
.pin{ border-radius:50%; background:linear-gradient(135deg,#EDA553,#E3943F); box-shadow:0 0 0 5px rgba(227,148,63,.3), 0 10px 24px rgba(0,0,0,.5); }
.annot-n{ border-radius:50%; background:linear-gradient(135deg,#EDA553,#E3943F); }
.step-n{ border-radius:12px; }
.tablist button{ border-radius:999px; }
/* faq accordion as glass cards */
.faq-group .faq-item.liquid{ padding:0 1.5rem; margin-bottom:.8rem; border:1px solid rgba(255,255,255,.9); border-radius:22px; }
.faq-group .faq-item.liquid:first-of-type{ border-top:1px solid rgba(255,255,255,.9); }
.faq-item.liquid summary{ padding-right:2.4rem; }
.faq-item.liquid summary::after{ right:0; }
.faq-item.liquid > p{ position:relative; z-index:1; }
/* booking */
.booking-embed{ border-radius:18px; }
.page-head .lede, .page-head h1{ position:relative; z-index:1; }
.page-head + section{ padding-top:var(--s5); }

/* mobile: tame blob sizes so they never cause horizontal scroll */
@media (max-width:639px){
  .freeze::before,.versus::before,.path::before,.faq::before,.stories-list::before,.booking::before,.audience::before,.medellin::before,.addon-section::before{ width:320px; height:320px; right:-120px; }
}

.hero h1{ font-size:clamp(2.3rem, 1.2rem + 3.3vw, 3.7rem); }
.rot-item{ white-space:nowrap; }
@media (max-width:420px){ .rot-item{ white-space:normal; } }

/* ---------- secondary member login link (kept quiet: it must not compete with the main CTA) ---------- */
.login-link{ display:none; align-items:center; gap:.35rem; font-size:.875rem; color:rgba(253,250,226,.62); text-decoration:none; white-space:nowrap; transition:color .2s; }
.login-link b{ font-weight:600; color:rgba(253,250,226,.88); border-bottom:1px solid rgba(253,250,226,.3); }
.login-link:hover{ color:var(--on-dark); }
.login-link:hover b{ border-bottom-color:var(--cta); }
.login-link .sl-long{ display:none; }
@media (min-width:1024px){ .login-link{ display:inline-flex; } }
@media (min-width:1240px){ .login-link .sl-long{ display:inline; } }
.mobile-nav a.login-m{ display:flex; justify-content:center; align-items:center; gap:.4rem; margin-top:.6rem; padding:.7rem 0 0; border-bottom:0; font-family:var(--f-body); font-size:.9375rem; font-weight:400; color:var(--on-dark-2); }
.mobile-nav a.login-m b{ color:var(--on-dark); font-weight:600; }
.footer-login{ color:var(--on-dark-2); text-decoration:underline; text-underline-offset:3px; }
.footer-login:hover{ color:var(--on-dark); }

/* stats: three cards now */
@media (min-width:640px){ .stats-grid{ grid-template-columns:repeat(3,1fr); } }
@media (max-width:639px){ .stats-grid{ grid-template-columns:1fr 1fr; } .stats-grid .stat:last-child{ grid-column:1 / -1; } }


/* ---------- services: six cards (3 x 2 desktop, 2 x 3 tablet, 1 column mobile) ---------- */
.pcards{ display:grid; gap:.75rem; grid-template-columns:1fr; }
@media (min-width:640px){ .pcards{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:960px){ .pcards{ grid-template-columns:repeat(3,1fr); } }

/* ---------- services: compact feature cards ---------- */
.pcards{ margin-top:var(--s3); }
.pcard{ padding:1rem .9rem; min-height:0; border-radius:20px; }
.pc-n{ font-size:2.2rem; margin-bottom:0; padding-bottom:.5rem; }
.pcard h3{ font-size:clamp(1.2rem, 1.05rem + .7vw, 1.55rem); margin-bottom:.25rem; }
.pcard p:last-child{ font-size:.9375rem; line-height:1.5; }


/* ---------- book-call: two equal ways to connect ---------- */
.connect{ position:relative; overflow:hidden; isolation:isolate; padding-bottom:var(--s5); }
.connect .section-head{ margin-bottom:var(--s4); }
.connect-grid{ display:grid; gap:var(--s3); grid-template-columns:1fr; }
.cc{ display:flex; flex-direction:column; align-items:flex-start; padding:1.8rem 1.6rem; min-height:260px; }
.cc-i{ width:38px; height:38px; color:var(--bronze); margin-bottom:1rem; }
.cc h3{ font-size:var(--step-2); font-weight:500; margin-bottom:.4rem; }
.cc p{ color:var(--text-2); margin:0 0 1.4rem; max-width:30em; }
.cc .btn{ margin-top:auto; }
.anchor-offset{ display:block; height:0; scroll-margin-top:100px; position:absolute; top:-100px; }
.booking-card{ position:relative; }
@media (min-width:720px){ .connect-grid{ grid-template-columns:1fr 1fr; } .cc{ padding:2.2rem 2rem; } }


/* ---------- mobile polish: tap targets (>=44px) and readable text (>=14px) ---------- */
.footer-nav{ gap:0 .6rem; }
.footer-nav a{ display:inline-flex; align-items:center; min-height:44px; padding:0 .4rem; }
.footer-login{ display:inline-block; padding:.65rem 0; }
.text-link{ position:relative; }
.text-link::before{ content:""; position:absolute; inset:-12px -6px; }        /* larger invisible hit area, no visual change */
.motion-toggle{ width:44px; height:44px; }
@media (max-width:959px){ .motion-toggle{ width:44px; height:44px; } }
.footer-row{ gap:var(--s2); }
@media (max-width:639px){
  .site-footer{ padding-bottom:7rem; }                                        /* clear the sticky CTA */
  .footer-nav{ margin-left:-.4rem; }
}

/* ---------- mobile hero: photo stays fully visible, glass cards stack below (no overlap) ---------- */
@media (max-width:959px){
  .hero-visual{ aspect-ratio:auto; display:flex; flex-direction:column; align-items:center; gap:.9rem; max-width:420px; width:100%; margin:var(--s3) auto 0; }
  .hero-visual [data-parallax]{ translate:none !important; }
  .halo{ inset:0 8% auto 8%; height:min(78vw,340px); }
  .hero-photo{ position:relative; inset:auto; width:min(88%,340px); aspect-ratio:1/1; order:1; }
  .glass-chip{ position:static; order:0; align-self:flex-start; }
  .logo-card{ position:relative; left:auto; bottom:auto; width:min(92%,360px); order:2; margin-top:-3.2rem; align-self:flex-start; animation:none; }
  .glass-quote{ position:static; order:3; max-width:none; width:100%; animation:none; }
  .motion-toggle{ opacity:.92; }
}

/* phones: pause button lives in the header (left of the hamburger) so it never covers content */
@media (max-width:959px){
  .motion-toggle{ top:14px; bottom:auto; right:calc(var(--gutter) + 54px); z-index:101; width:44px; height:44px; background:rgba(253,250,226,.08); border-color:rgba(253,250,226,.22); }
}

.footer-nav a{ min-width:44px; justify-content:center; }


/* ==========================================================================
   Spanish Level Diagnostic (diagnostico.html) + secondary hero button
   ========================================================================== */
.btn-ghost{ background:transparent; color:var(--on-dark); border:1px solid rgba(253,250,226,.42); border-radius:999px; }
.btn-ghost:hover{ background:rgba(253,250,226,.1); border-color:rgba(253,250,226,.7); }
@media (min-width:640px){ .hero-actions .microcopy{ flex-basis:100%; } }

.diag{ position:relative; overflow:hidden; isolation:isolate; background:var(--bone); min-height:calc(100svh - 72px); padding:var(--s5) 0 var(--s6); }
.diag-wrap{ max-width:760px; }
.diag-card{ padding:clamp(1.4rem, 4.5vw, 3rem); }
.d-screen{ animation:dIn .45s var(--ease) both; }
.d-screen[hidden], .d-field[hidden]{ display:none !important; }
@keyframes dIn{ from{ opacity:0; transform:translateY(10px); } }

.d-title{ font-size:clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); line-height:1.1; letter-spacing:-.025em; margin:0 0 .7rem; outline:none; }
.d-intro{ color:var(--text-2); font-size:var(--step-1); line-height:1.55; max-width:38em; margin:0 0 .4rem; }
.d-kicker{ color:var(--bronze); font-weight:600; margin:0 0 .4rem; }
.d-level{ display:block; margin-top:.3rem; color:var(--ochre); font-size:clamp(2.3rem, 1.4rem + 3.4vw, 3.8rem); line-height:1.05; }
.d-note{ margin:1rem 0 1.6rem; padding:1rem 1.2rem; border-left:3px solid var(--cta); background:rgba(255,255,255,.6); border-radius:0 14px 14px 0; color:var(--text); max-width:40em; }

.diag fieldset{ border:0; padding:0; margin:0; min-width:0; }
.diag legend{ display:block; width:100%; padding:0; font-weight:600; margin-bottom:.6rem; }
.d-field{ margin-top:1.3rem; }
.d-field > label{ display:block; font-weight:600; margin-bottom:.45rem; }
.req{ color:var(--bronze); }
.d-field input[type=text], .d-field input[type=email], .d-field input[type=tel], .d-field textarea{
  width:100%; min-height:52px; padding:.8rem 1rem; font:inherit; font-size:1rem; color:var(--ink);
  background:rgba(255,255,255,.88); border:1px solid rgba(23,17,11,.28); border-radius:14px; transition:border-color .2s, box-shadow .2s, background-color .2s; }
.d-field textarea{ resize:vertical; min-height:96px; line-height:1.5; }
.d-field input:focus, .d-field textarea:focus{ outline:none; border-color:var(--bronze); box-shadow:0 0 0 3px rgba(227,148,63,.35); }
.d-sub{ margin-top:1rem; }
.d-error{ color:#B3261E; font-size:.875rem; font-weight:600; margin:.45rem 0 0; }
.d-error:empty{ display:none; }
.d-field.is-invalid > label, .d-field.is-invalid > legend{ color:#B3261E; }
.d-field.is-invalid input[type=text], .d-field.is-invalid input[type=email], .d-field.is-invalid input[type=tel], .d-field.is-invalid textarea{ border-color:#B3261E; background:#FFF6F5; box-shadow:0 0 0 3px rgba(179,38,30,.14); }
.d-field.is-invalid .d-pill span{ border-color:#B3261E; }

/* A1 / A2 / B1 / B2 / Other and Yes / No */
.d-levels{ display:flex; flex-wrap:wrap; gap:.6rem; }
.d-pill{ position:relative; }
.d-pill input{ position:absolute; opacity:0; width:1px; height:1px; }
.d-pill span{ display:inline-flex; align-items:center; justify-content:center; min-width:68px; min-height:48px; padding:0 1.3rem; border:1px solid rgba(23,17,11,.3); border-radius:999px; background:rgba(255,255,255,.75); font-weight:600; cursor:pointer; transition:background-color .2s, color .2s, border-color .2s; }
.d-pill:hover span{ border-color:var(--bronze); }
.d-pill input:checked + span{ background:var(--ink); color:var(--on-dark); border-color:var(--ink); }
.d-pill input:focus-visible + span{ outline:2px solid var(--bronze); outline-offset:3px; }

.d-start{ margin-top:1.8rem; width:100%; }
.d-start[aria-disabled="true"]{ opacity:.5; filter:saturate(.6); cursor:not-allowed; box-shadow:none; }
.d-fine{ font-size:.875rem; color:var(--text-2); margin:.9rem 0 0; }

/* test */
.d-count{ font-weight:600; color:var(--bronze); margin:0 0 .6rem; outline:none; }
.d-bar{ height:8px; border-radius:99px; background:rgba(23,17,11,.12); overflow:hidden; }
.d-bar span{ display:block; height:100%; width:0; border-radius:inherit; background:linear-gradient(90deg,#E3943F,#BC6D29); transition:width .45s var(--ease); }
.d-qbox legend{ font-family:var(--f-display); font-size:clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); line-height:1.3; font-weight:500; letter-spacing:-.01em; margin:1.6rem 0 1.2rem; }
.d-opts{ display:grid; gap:.7rem; }
.d-opt{ display:flex; gap:.9rem; align-items:flex-start; min-height:56px; padding:.95rem 1.1rem; border:1px solid rgba(23,17,11,.2); border-radius:16px; background:rgba(255,255,255,.72); cursor:pointer; transition:border-color .2s, background-color .2s, transform .2s var(--ease); }
.d-opt:hover{ border-color:var(--bronze); transform:translateX(3px); }
.d-opt input{ -webkit-appearance:none; appearance:none; flex:none; width:22px; height:22px; margin:.1rem 0 0; border-radius:50%; border:2px solid rgba(23,17,11,.4); display:grid; place-content:center; background:transparent; }
.d-opt input::before{ content:""; width:10px; height:10px; border-radius:50%; background:var(--bronze); transform:scale(0); transition:transform .15s; }
.d-opt input:checked::before{ transform:scale(1); }
.d-opt span{ font-size:1.0625rem; line-height:1.45; }
.d-opt.is-picked{ border-color:var(--bronze); background:rgba(227,148,63,.16); }
.d-opt:focus-within{ outline:2px solid var(--bronze); outline-offset:2px; }
#next-btn{ margin-top:1.6rem; width:100%; }
#next-btn:disabled{ opacity:.45; cursor:not-allowed; box-shadow:none; }
#convo-form .btn[type=submit]{ margin-top:1.8rem; width:100%; }
@media (min-width:640px){ .d-start, #next-btn, #convo-form .btn[type=submit]{ width:auto; min-width:220px; } }

/* ============ BLOG ============ */
.blog-head h1{ max-width:24ch; font-size:var(--step-3); }
.blog-meta{ margin:var(--s2) 0 0; font-size:.9375rem; color:var(--text-2); }
.blog-grid{ display:grid; gap:var(--s4); grid-template-columns:1fr; }
@media (min-width:760px){ .blog-grid{ grid-template-columns:repeat(2,1fr); } }
.blog-card{ display:flex; flex-direction:column; background:var(--paper); border:1px solid var(--line); text-decoration:none; color:inherit; transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
.blog-card:hover{ transform:translateY(-3px); box-shadow:0 14px 34px rgba(23,17,11,.12); }
.blog-card img{ display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.bc-body{ padding:var(--s3); display:grid; gap:.6rem; align-content:start; }
.bc-body .blog-meta{ margin:0; }
.bc-body h2{ font-size:var(--step-2); }
.bc-body p{ margin:0; color:var(--text-2); }
.bc-more{ font-weight:600; color:var(--bronze); }
.blog-hero{ max-width:900px; margin:0 auto var(--s5); }
.blog-hero img{ display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; max-height:520px; border:1px solid var(--line); }
.blog-article{ max-width:720px; margin:0 auto; font-size:1.125rem; line-height:1.75; }
.blog-article h2{ font-size:var(--step-2); margin:var(--s5) 0 var(--s2); }
.blog-article p{ margin:0 0 var(--s2); }
.blog-article ul{ margin:0 0 var(--s3); padding-left:1.35rem; }
.blog-article li{ margin:.4rem 0; }
.blog-article a{ color:var(--bronze); text-underline-offset:3px; }
.quick-answer{ background:var(--sand); border-left:3px solid var(--bronze); padding:var(--s3); margin:0 0 var(--s4); }
.quick-answer p{ margin:0; }
.qa-label{ display:block; margin-bottom:.4rem; font-size:.8125rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:var(--bronze); }
.blog-more{ max-width:720px; margin:var(--s6) auto 0; padding-top:var(--s4); border-top:1px solid var(--line); }
.blog-more h2{ font-size:var(--step-2); margin-bottom:var(--s2); }
.blog-more ul{ margin:0; padding-left:1.25rem; }
.blog-more li{ margin:.5rem 0; }
.blog-more a{ color:var(--bronze); text-underline-offset:3px; }

/* Booking calendar embedded from the CRM (book-call.html): the card holds a tall iframe, so it must not be sticky */
.booking-card.booking-card--embed{ position:relative; top:auto; }
.booking-embed.is-live{ display:block; min-height:0; border:0; margin:var(--s3) 0; padding:0; background:#fff; border-radius:18px; overflow:hidden; }
.booking-embed.is-live iframe{ display:block; width:100%; min-height:640px; border:0; overflow:hidden; }
.booking-card .link-light{ color:var(--bronze-lt); text-decoration:underline; text-underline-offset:3px; }
