/* ALIMAX KIDS — design ported from 'Alimax Redesign.html' (Claude Design handoff).
   Base = mockup design system. Components carried forward (not in mockup): bento, video, modals, mobile-nav, reveal. */

  :root{
    /* Display heading font (swappable via Tweaks) */
    --font-display: "DM Serif Display", Georgia, serif;

    /* Palette — refined from brief */
    --bg:        #f7f5ee;          /* warmer than original mint, premium */
    --bg-card:   #fffdf7;
    --sand:      #ece1cf;          /* deepened sand */
    --sand-soft: #f3ead9;
    --sage:      #8FA998;
    --sage-deep: #6b8a78;
    --sage-soft: #d8e1d8;
    --terra:     #c4885a;          /* brand terracotta */
    --terra-cta: #b06a3a;          /* CTA — passes WCAG AA on cream */
    --terra-deep:#8a4e26;
    --ink:       #2b231b;          /* primary text — darker, more contrast */
    --ink-mute:  #574c42;
    --line:      rgba(43,35,27,.10);
    --line-2:    rgba(43,35,27,.06);

    /* Type scale (clamp-based, mobile-first) */
    --fs-display: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
    --fs-h1:      clamp(2.1rem, 1.4rem + 3.0vw, 3.6rem);
    --fs-h2:      clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
    --fs-h3:      clamp(1.15rem, 1rem + .5vw, 1.35rem);
    --fs-body:    1.05rem;
    --fs-small:   .85rem;
    --fs-eyebrow: .78rem;

    --radius-sm: 10px;
    --radius:    18px;
    --radius-lg: 28px;
    --radius-xl: 40px;

    --shadow-sm: 0 1px 2px rgba(43,35,27,.04), 0 2px 8px rgba(43,35,27,.04);
    --shadow:    0 2px 6px rgba(43,35,27,.05), 0 12px 32px rgba(43,35,27,.07);
    --shadow-lg: 0 8px 20px rgba(43,35,27,.06), 0 30px 60px rgba(43,35,27,.10);

    --container: 1240px;
    --gutter: clamp(1.25rem, 3vw, 2.5rem);
  }

  *,*::before,*::after{box-sizing:border-box}
  html{scroll-behavior:smooth}
  body{
    margin:0;
    font-family:"Outfit", system-ui, sans-serif;
    font-size:var(--fs-body);
    line-height:1.55;
    color:var(--ink);
    background:var(--bg);
    -webkit-font-smoothing:antialiased;
    text-rendering:optimizeLegibility;
  }
  img{max-width:100%;display:block}
  a{color:inherit;text-decoration:none}
  button{font:inherit;cursor:pointer;border:0;background:none;color:inherit}

  .wrap{max-width:var(--container);margin:0 auto;padding:0 var(--gutter)}

  /* Display headings */
  h1,h2,h3,.serif{
    font-family:var(--font-display);
    font-weight:420;
    font-variation-settings:"opsz" 144, "SOFT" 50;
    color:var(--ink);
    letter-spacing:-.012em;
    line-height:1.06;
    margin:0;
    text-wrap:balance;
  }
  h2{font-size:var(--fs-h1);font-weight:430}
  h3{font-size:var(--fs-h3);font-weight:500;line-height:1.2;letter-spacing:-.005em}
  p{margin:0 0 1em;text-wrap:pretty}
  p:last-child{margin-bottom:0}

  .eyebrow{
    font-family:"JetBrains Mono", ui-monospace, monospace;
    font-size:var(--fs-eyebrow);
    text-transform:uppercase;
    letter-spacing:.16em;
    color:var(--terra-deep);
    font-weight:500;
  }

  /* ---------- BUTTONS ---------- */
  .btn{
    display:inline-flex;align-items:center;gap:.55em;
    padding:.95em 1.5em;
    border-radius:999px;
    font-weight:500;
    font-size:1rem;
    line-height:1;
    transition:transform .25s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
    white-space:nowrap;
  }
  .btn-primary{
    background:var(--terra-cta);
    color:#fff8ec;
    box-shadow:0 6px 16px -6px rgba(176,106,58,.6), inset 0 1px 0 rgba(255,255,255,.18);
  }
  .btn-primary:hover{
    background:var(--terra-deep);
    transform:translateY(-1px);
    box-shadow:0 10px 24px -8px rgba(138,78,38,.6), inset 0 1px 0 rgba(255,255,255,.2);
  }
  .btn-primary:active{transform:translateY(0)}
  .btn-secondary{
    background:transparent;
    color:var(--ink);
    border:1px solid var(--line);
    padding-block:calc(.95em - 1px);
    padding-inline:calc(1.5em - 1px);
  }
  .btn-secondary:hover{background:#fff;border-color:var(--ink)}
  .btn-ghost{
    color:var(--terra-deep);
    padding:.4em 0;
    border-bottom:1px solid currentColor;
    border-radius:0;
    gap:.4em;
  }
  .btn-ghost:hover{color:var(--terra-cta)}
  .btn .arrow{
    display:inline-block;
    transition:transform .25s ease;
  }
  .btn:hover .arrow{transform:translate(2px,-2px)}

  /* ---------- HEADER ---------- */
  header{
    position:sticky;top:0;z-index:50;
    background:rgba(247,245,238,.85);
    backdrop-filter:saturate(140%) blur(16px);
    -webkit-backdrop-filter:saturate(140%) blur(16px);
    border-bottom:1px solid transparent;
    transition:border-color .3s ease, background .3s ease;
  }
  header.scrolled{border-bottom-color:var(--line)}
  .nav{
    display:flex;align-items:center;justify-content:space-between;
    padding:1.1rem 0;
  }
  .logo{
    font-family:var(--font-display);
    font-size:1.45rem;
    font-weight:500;
    letter-spacing:-.01em;
    display:flex;align-items:center;gap:.35em;
  }
  .logo span{color:var(--terra-deep);font-weight:600}
  .nav-links{display:flex;gap:2rem;align-items:center;font-size:.95rem;color:var(--ink-mute)}
  .nav-links a{position:relative;transition:color .15s}
  .nav-links a:hover{color:var(--ink)}
  .nav-links a::after{
    content:"";position:absolute;left:0;right:0;bottom:-6px;height:1px;
    background:var(--terra-cta);transform:scaleX(0);transform-origin:left;
    transition:transform .3s ease;
  }
  .nav-links a:hover::after{transform:scaleX(1)}

  .nav-cta{display:flex;gap:.6rem;align-items:center}
  .nav-cta .btn-primary{padding:.7em 1.15em;font-size:.92rem}
  .mobile-burger{display:none;width:36px;height:36px;align-items:center;justify-content:center;border-radius:8px}
  .mobile-burger:hover{background:var(--sand-soft)}

  @media (max-width:840px){
    .nav-links{display:none}
    .mobile-burger{display:flex}
  }

  /* ---------- HERO ---------- */
  .hero{
    padding:clamp(2rem,3vw,3.5rem) 0 clamp(3rem,5vw,6rem);
    position:relative;
  }
  .hero-grid{
    display:grid;
    grid-template-columns: 1.05fr 1fr;
    gap:clamp(2rem,4vw,4rem);
    align-items:center;
  }
  .hero-copy{position:relative;z-index:2}
  .hero-eyebrow{
    display:inline-flex;align-items:center;gap:.5em;
    margin-bottom:1.5rem;
    padding:.35em 1.1em .35em .45em;
    background:var(--sage-soft);
    border-radius:999px;
    font-family:var(--font-display);
    font-style:italic;
    font-weight:460;
    font-size:1.05rem;
    letter-spacing:0;
    color:var(--sage-deep);
    border:1px solid rgba(107,138,120,.22);
  }
  .hero-eyebrow .seed{
    width:26px;height:26px;border-radius:50%;flex:0 0 auto;
    background:var(--bg-card);
    display:grid;place-items:center;
    color:var(--sage-deep);
  }
  .hero h1{
    font-size:var(--fs-display);
    font-weight:380;
    font-variation-settings:"opsz" 144, "SOFT" 100, "WONK" 0;
    line-height:1.1;
    letter-spacing:-.022em;
    margin-bottom:1.5rem;
  }
  .hero h1 em{
    font-style:italic;
    font-weight:380;
    color:var(--terra-deep);
    font-variation-settings:"opsz" 144, "SOFT" 100, "WONK" 1;
  }
  .hero-sub{
    font-size:clamp(1.05rem, .95rem + .4vw, 1.18rem);
    color:var(--ink-mute);
    max-width:34ch;
    margin-bottom:2rem;
    line-height:1.5;
  }
  .hero-cta{display:flex;flex-wrap:wrap;gap:.8rem;margin-bottom:2.5rem}
  .hero-proof{
    display:flex;flex-wrap:wrap;gap:1.5rem 2rem;align-items:center;
    padding-top:1.75rem;
    border-top:1px solid var(--line);
  }
  .proof-item{display:flex;align-items:center;gap:.6rem;font-size:.88rem;color:var(--ink-mute)}
  .proof-num{
    font-family:var(--font-display);font-size:1.55rem;font-weight:500;color:var(--ink);
    line-height:1;
  }
  .proof-stars{color:var(--terra-cta);letter-spacing:1px;font-size:1rem}

  /* Hero image side */
  .hero-image-stack{
    position:relative;
    width:100%;
    aspect-ratio:1/1.08;
    max-width:560px;
    margin-left:auto;
    justify-self:end;
  }
  .hero-photo{
    position:absolute;inset:0;
    border-radius:var(--radius-lg);
    overflow:hidden;
    background:var(--sand-soft);
    box-shadow:var(--shadow-lg);
  }
  .hero-photo img{
    width:100%;height:100%;object-fit:cover;display:block;
  }
  /* Floating badge cards */
  .hero-badge{
    position:absolute;
    background:var(--bg-card);
    border-radius:var(--radius);
    padding:.85rem 1.1rem;
    box-shadow:var(--shadow);
    display:flex;align-items:center;gap:.7rem;
    font-size:.85rem;
    border:1px solid var(--line-2);
    white-space:nowrap;
    min-width:max-content;
  }
  .hero-badge > div{display:flex;flex-direction:column;line-height:1.2}
  .hero-badge-1{
    top:8%;left:-8%;
    animation: float 6s ease-in-out infinite;
  }
  .hero-badge-2{
    bottom:10%;right:-6%;
    animation: float 6s ease-in-out infinite -3s;
  }
  .hero-badge .icon{
    width:34px;height:34px;border-radius:10px;
    display:grid;place-items:center;
    background:var(--sage-soft);
    color:var(--sage-deep);
  }
  .hero-badge-1 .icon{background:#e8e0d0;color:var(--terra-deep)}
  .hero-badge strong{display:block;font-weight:600;color:var(--ink);font-size:.92rem}
  .hero-badge small{color:var(--ink-mute);font-size:.75rem}

  @keyframes float{
    0%,100%{transform:translateY(0)}
    50%{transform:translateY(-8px)}
  }

  @media (max-width:880px){
    .hero-grid{grid-template-columns:1fr;gap:2.5rem}
    .hero-image-stack{margin:0 auto;max-width:480px}
    .hero-badge-1{left:0;top:5%}
    .hero-badge-2{right:0;bottom:8%}
  }

  /* ---------- TRUST STRIP ---------- */
  .trust-strip{
    background:var(--bg);
    padding:clamp(2.25rem,4vw,3.25rem) 0;
    border-top:1px solid var(--line-2);
    border-bottom:1px solid var(--line-2);
  }
  .trust-strip-inner{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1rem;
  }
  .trust-badge{
    display:flex;align-items:center;gap:.95rem;
    padding:.5rem 1.25rem;
    justify-content:center;
  }
  .trust-badge + .trust-badge{border-left:1px solid var(--line-2)}
  .trust-badge .ic{
    width:46px;height:46px;border-radius:50%;
    display:grid;place-items:center;
    background:var(--sand-soft);
    color:var(--terra-deep);
    flex:0 0 auto;
  }
  .trust-badge .txt{display:flex;flex-direction:column;line-height:1.25}
  .trust-badge strong{font-size:.95rem;font-weight:600;color:var(--ink);letter-spacing:-.005em}
  .trust-badge small{
    font-size:.7rem;color:var(--ink-mute);
    font-family:"JetBrains Mono",monospace;letter-spacing:.06em;text-transform:uppercase;
    margin-top:.15em;
  }
  @media (max-width:760px){
    .trust-strip-inner{grid-template-columns:repeat(2,1fr);gap:1.5rem 1rem}
    .trust-badge:nth-child(odd){border-left:0}
    .trust-badge{padding:.5rem .75rem}
  }
  @media (max-width:420px){
    .trust-strip-inner{grid-template-columns:1fr}
    .trust-badge{border-left:0;justify-content:flex-start}
  }

  /* ---------- SECTION SHARED ---------- */
  section{padding:clamp(4rem,7vw,7rem) 0;position:relative}
  .section-head{
    display:grid;grid-template-columns: 1fr;gap:1rem;
    max-width:760px;
    margin:0 auto clamp(2.5rem,4vw,4rem);
    text-align:center;
  }
  .section-head .eyebrow{margin-bottom:.4rem}
  .section-head p{color:var(--ink-mute);font-size:1.05rem;margin:0 auto}
  .section-head h2{max-width:18ch;margin:0 auto}

  /* ---------- WHY ALIMAX (3 pillars) ---------- */
  .pillars{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
  }
  .pillar{
    background:var(--bg-card);
    border:1px solid var(--line-2);
    border-radius:var(--radius-lg);
    padding:2rem 1.75rem;
    transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    display:flex;flex-direction:column;gap:1rem;
  }
  .pillar:hover{transform:translateY(-4px);box-shadow:var(--shadow);border-color:var(--line)}
  .pillar-icon{
    width:54px;height:54px;border-radius:16px;
    background:var(--sand-soft);
    display:grid;place-items:center;
    color:var(--terra-deep);
  }
  .pillar-icon--img{
    background:var(--sage-soft);
    width:64px;height:64px;
    border-radius:18px;
  }
  .pillar-icon--img img{width:42px;height:42px;object-fit:contain;display:block}
  .pillar h3{font-size:1.25rem}
  .pillar p{color:var(--ink-mute);font-size:.97rem;margin:0}
  .pillar ul{
    list-style:none;padding:0;margin:.5rem 0 0;display:flex;flex-direction:column;gap:.4rem;
    font-size:.88rem;color:var(--ink-mute);
  }
  .pillar ul li{display:flex;align-items:flex-start;gap:.5em;padding-top:.4rem;border-top:1px solid var(--line-2)}
  .pillar ul li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--sage);margin-top:.55em;flex:0 0 auto}
  @media (max-width:840px){.pillars{grid-template-columns:1fr}}

  /* ---------- BOOKS ---------- */
  .books-bg{background:linear-gradient(180deg, var(--bg) 0%, var(--sand-soft) 100%)}
  .books{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1.5rem;
  }
  .book-card{
    background:var(--bg-card);
    border-radius:var(--radius-lg);
    overflow:hidden;
    display:flex;flex-direction:column;
    border:1px solid var(--line-2);
    transition:transform .3s ease, box-shadow .3s ease;
  }
  .book-card:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
  .book-cover{
    aspect-ratio:1/1;
    position:relative;
    overflow:hidden;
    display:grid;place-items:center;
  }
  .book-cover.farm,
  .book-cover.forest,
  .book-cover.pets{background:var(--bg-card)}
  .book-img{
    position:absolute;inset:4.5% 4.5% 4.5% 4.5%;width:91%;height:91%;
    object-fit:contain;
    filter:drop-shadow(0 14px 24px rgba(0,0,0,.25));
    transition:transform .4s ease;
    z-index:1;
  }
  .book-card:hover .book-img{transform:translateY(-4px) rotate(-1deg) scale(1.03)}
  .book-cover::after{
    content:"";position:absolute;inset:0;
    background:repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,253,247,.08) 14px 15px);
    pointer-events:none;
  }
  .book-cover .ph{
    background:rgba(255,253,247,.92);
    padding:.55em 1em;border-radius:8px;
    font-family:"JetBrains Mono",monospace;
    font-size:.75rem;color:var(--ink-mute);
    letter-spacing:.05em;
    z-index:1;
  }
  .book-tag{
    position:absolute;top:1rem;left:1rem;
    padding:.35em .8em;
    background:rgba(255,253,247,.95);
    border-radius:999px;
    font-family:"JetBrains Mono",monospace;
    font-size:.68rem;letter-spacing:.12em;text-transform:uppercase;
    color:var(--ink);
    z-index:2;
  }
  .book-body{padding:1.5rem;display:flex;flex-direction:column;gap:.75rem;flex:1}
  .book-meta{display:flex;justify-content:space-between;align-items:center;font-size:.82rem;color:var(--ink-mute)}
  .book-meta .stars{color:var(--terra-cta);letter-spacing:1px}
  .book-card h3{font-size:1.6rem;font-weight:400}
  .book-card .desc{color:var(--ink-mute);font-size:.95rem;flex:1}
  .book-foot{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:.5rem;padding-top:1rem;border-top:1px solid var(--line-2)}
  .book-price{font-family:var(--font-display);font-size:1.45rem;font-weight:500}
  .book-price small{font-family:"Outfit",sans-serif;font-size:.75rem;color:var(--ink-mute);font-weight:400;display:block;letter-spacing:.05em}
  .book-card .btn-primary{padding:.7em 1.1em;font-size:.88rem}

  @media (max-width:880px){.books{grid-template-columns:1fr;max-width:420px;margin:0 auto}}

  /* ---------- SPREADS (Páginas que tocan) ---------- */
  .spreads-bg{background:linear-gradient(180deg, var(--sand-soft) 0%, var(--bg) 100%)}
  .spreads{display:flex;flex-direction:column;gap:clamp(2.5rem,5vw,5rem)}
  .spread{
    display:grid;
    grid-template-columns: 1.75fr 1fr;
    gap:clamp(1.5rem,4vw,3.5rem);
    align-items:center;
    margin:0;
  }
  .spread--reverse{grid-template-columns: 1fr 1.75fr}
  .spread--reverse > img,
  .spread--reverse > figcaption{order:1}
  .spread--reverse > figcaption{order:0}
  .spread > img{
    width:100%;height:auto;display:block;
    filter:drop-shadow(0 20px 40px rgba(43,35,27,.12)) drop-shadow(0 4px 8px rgba(43,35,27,.06));
  }
  .spread figcaption{display:flex;flex-direction:column;gap:1rem;align-items:flex-start}
  .spread h3{
    font-family:var(--font-display);
    font-size:clamp(1.5rem,1.1rem + 1.4vw,2.1rem);
    font-weight:420;
    line-height:1.1;
    letter-spacing:-.012em;
  }
  .spread h3 em{
    font-style:italic;
    color:var(--terra-deep);
    font-weight:430;
  }
  .spread p{color:var(--ink-mute);font-size:1.02rem;max-width:38ch}
  .spread-eyebrow{
    font-family:"JetBrains Mono",monospace;
    font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;
    color:var(--terra-deep);font-weight:500;
  }
  @media (max-width:880px){
    .spread, .spread--reverse{grid-template-columns:1fr;gap:1.5rem}
    .spread--reverse > img{order:0}
    .spread--reverse > figcaption{order:1}
  }

  /* ---------- JOURNEY (timeline) ---------- */
  .journey-bg{background:var(--sand-soft)}
  .journey{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:1rem;
    position:relative;
  }
  .journey::before{
    content:"";position:absolute;
    left:8%;right:8%;top:90px;height:1px;
    background:repeating-linear-gradient(90deg, var(--terra) 0 6px, transparent 6px 14px);
    z-index:0;
  }
  .stage{position:relative;text-align:center;display:flex;flex-direction:column;align-items:center;gap:1rem}
  .stage-age{
    width:88px;height:88px;border-radius:50%;
    background:var(--bg-card);
    border:1px solid var(--line);
    display:grid;place-items:center;
    position:relative;z-index:1;
    box-shadow:var(--shadow-sm);
  }
  .stage-age strong{font-family:var(--font-display);font-size:1.7rem;font-weight:500;color:var(--terra-deep);line-height:1}
  .stage-age small{font-family:"JetBrains Mono",monospace;font-size:.65rem;letter-spacing:.15em;color:var(--ink-mute);text-transform:uppercase;margin-top:.2em}
  .stage-photo{
    width:100%;aspect-ratio:4/5;
    border-radius:var(--radius);
    background:var(--sand-soft);
    overflow:hidden;
    position:relative;
    box-shadow:var(--shadow-sm);
  }
  .stage-photo img{width:100%;height:100%;object-fit:cover;display:block}
  .stage h3{font-size:1.05rem;font-weight:500;font-family:"Outfit",sans-serif;letter-spacing:-.005em}
  .stage p{font-size:.85rem;color:var(--ink-mute);margin:0}
  @media (max-width:880px){
    .journey{grid-template-columns:repeat(2,1fr);gap:1.5rem}
    .journey::before{display:none}
  }

  /* ---------- QUALITY (editorial) ---------- */
  .quality{
    display:grid;
    grid-template-columns: 1fr 1.3fr;
    gap:clamp(2rem,4vw,4rem);
    align-items:center;
  }
  .quality-text h2{margin-bottom:2.2rem}
  .quality-text .lead{font-size:1.1rem;color:var(--ink-mute);margin-bottom:2rem;max-width:42ch}
  .quality-list{
    list-style:none;padding:0;margin:0;
    display:flex;flex-direction:column;gap:1.1rem;
  }
  .quality-list li{
    display:grid;grid-template-columns:42px 1fr;gap:1rem;
    padding-bottom:1.1rem;border-bottom:1px solid var(--line-2);
  }
  .quality-list li:last-child{border-bottom:0;padding-bottom:0}
  .quality-list .num{
    font-family:var(--font-display);font-size:1.5rem;color:var(--terra-deep);
    line-height:1;font-weight:500;
  }
  .quality-list h4{margin:0 0 .25rem;font-size:1.05rem;font-weight:500;font-family:"Outfit",sans-serif}
  .quality-list p{margin:0;color:var(--ink-mute);font-size:.95rem}

  .quality-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    grid-template-rows:1fr 1fr;
    gap:1rem;
    aspect-ratio:1/1;
  }
  .q-img{
    border-radius:var(--radius);
    overflow:hidden;
    background:
      linear-gradient(135deg, var(--sage-soft), var(--sand-soft)),
      repeating-linear-gradient(135deg, transparent 0 18px, rgba(0,0,0,.025) 18px 19px);
    display:grid;place-items:center;
    position:relative;
  }
  .q-img:nth-child(2){grid-row:span 2}
  .q-img img{width:100%;height:100%;object-fit:cover;display:block}

  @media (max-width:880px){
    .quality{grid-template-columns:1fr}
    .quality-grid{aspect-ratio:auto;grid-template-rows:auto auto}
  }

  /* ---------- REVIEWS ---------- */
  .reviews-bg{background:var(--bg)}
  .reviews-head{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;margin-bottom:3rem;flex-wrap:wrap}
  .reviews-head .left{max-width:520px}
  .reviews-stat{
    display:flex;align-items:center;gap:1.25rem;
    padding:1.2rem 1.5rem;
    background:var(--bg-card);
    border:1px solid var(--line);
    border-radius:var(--radius);
  }
  .reviews-stat .big{
    font-family:var(--font-display);font-size:2.4rem;font-weight:500;line-height:1;color:var(--ink);
  }
  .reviews-stat small{display:block;color:var(--ink-mute);font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;margin-top:.4em}
  .reviews-stat .stars{color:var(--terra-cta);font-size:1.05rem;letter-spacing:2px;margin-bottom:.2em}

  .reviews{
    display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;
  }
  .review{
    background:var(--bg-card);
    border:1px solid var(--line-2);
    border-radius:var(--radius);
    padding:1.6rem;
    display:flex;flex-direction:column;gap:.9rem;
  }
  .review .stars{color:var(--terra-cta);letter-spacing:1px;font-size:.95rem}
  .review-title{font-family:var(--font-display);font-size:1.1rem;font-weight:500;line-height:1.25}
  .review-body{font-size:.95rem;color:var(--ink);margin:0;line-height:1.5}
  .review-meta{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:.9rem;border-top:1px solid var(--line-2);font-size:.82rem;color:var(--ink-mute)}
  .review-meta .verified{display:flex;align-items:center;gap:.3em;color:var(--sage-deep)}
  @media (max-width:880px){.reviews{grid-template-columns:1fr}}

  /* ---------- FAQ ---------- */
  .faq{max-width:780px;margin:0 auto}
  .faq-item{
    border-bottom:1px solid var(--line);
  }
  .faq-item summary{
    list-style:none;
    cursor:pointer;
    padding:1.4rem 0;
    display:flex;align-items:center;justify-content:space-between;gap:1rem;
    font-family:var(--font-display);
    font-size:1.18rem;
    font-weight:500;
    color:var(--ink);
    transition:color .2s ease;
  }
  .faq-item summary::-webkit-details-marker{display:none}
  .faq-item summary:hover{color:var(--terra-deep)}
  .faq-item summary .plus{
    flex:0 0 28px;width:28px;height:28px;border-radius:50%;
    background:var(--sand-soft);
    display:grid;place-items:center;color:var(--terra-deep);font-size:1.2rem;
    transition:transform .25s ease, background .2s ease;
  }
  .faq-item[open] summary .plus{transform:rotate(45deg);background:var(--terra-cta);color:#fff8ec}
  .faq-body{
    padding:0 0 1.4rem;color:var(--ink-mute);font-size:.98rem;line-height:1.6;
    max-width:62ch;
  }

  /* ---------- FINAL CTA ---------- */
  .final-cta{
    background:
      linear-gradient(120deg, rgba(43,35,27,.92), rgba(43,35,27,.78) 50%, rgba(43,35,27,.55)),
      url('images/photos/cta-lifestyle.jpg') center/cover no-repeat,
      var(--ink);
    color:#f7f1e3;
    border-radius:var(--radius-xl);
    padding:clamp(2.5rem,5vw,5rem);
    text-align:center;
    margin:clamp(3rem,5vw,5rem) var(--gutter);
    position:relative;
    overflow:hidden;
  }
  .final-cta::before, .final-cta::after{
    content:"";position:absolute;border-radius:50%;
    pointer-events:none;
  }
  .final-cta::before{
    width:280px;height:280px;
    background:radial-gradient(circle, rgba(196,136,90,.4), transparent 70%);
    top:-100px;right:-80px;
  }
  .final-cta::after{
    width:200px;height:200px;
    background:radial-gradient(circle, rgba(143,169,152,.4), transparent 70%);
    bottom:-80px;left:-60px;
  }
  .final-cta .inner{position:relative;z-index:1;max-width:680px;margin:0 auto}
  .final-cta h2{color:#fff8ec;font-size:clamp(2rem,1.4rem + 2.4vw,3.4rem);margin-bottom:1.2rem}
  .final-cta p{color:#d8cdb9;font-size:1.1rem;max-width:48ch;margin:0 auto 2rem}
  .final-cta .btn-primary{
    background:#fff8ec;color:var(--ink);
    padding:1.1em 2em;font-size:1.05rem;
    box-shadow:0 8px 24px -8px rgba(0,0,0,.4);
  }
  .final-cta .btn-primary:hover{background:#fff;color:var(--terra-deep)}
  .final-cta .micro{margin-top:1.3rem;font-size:.82rem;color:#9a8e78;font-family:"JetBrains Mono",monospace;letter-spacing:.08em}

  /* ---------- FOOTER ---------- */
  footer{
    background:#efe8d8;
    padding:4rem 0 2rem;
    margin-top:0;
  }
  .foot-grid{
    display:grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap:3rem;
    padding-bottom:3rem;
    border-bottom:1px solid rgba(43,35,27,.12);
  }
  .foot-brand .logo{margin-bottom:1rem}
  .foot-brand p{color:var(--ink-mute);max-width:32ch;font-size:.92rem}
  .foot-col h4{
    font-family:"Outfit",sans-serif;
    font-size:.78rem;letter-spacing:.15em;text-transform:uppercase;
    color:var(--ink);margin:0 0 1rem;font-weight:600;
  }
  .foot-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.55rem}
  .foot-col a{font-size:.93rem;color:var(--ink-mute);transition:color .15s}
  .foot-col a:hover{color:var(--terra-deep)}
  .foot-bot{
    display:flex;justify-content:space-between;align-items:center;
    padding-top:1.5rem;
    font-size:.82rem;color:var(--ink-mute);
    flex-wrap:wrap;gap:1rem;
  }
  .foot-bot .legal-links{display:flex;gap:1.5rem}
  @media (max-width:840px){.foot-grid{grid-template-columns:1fr 1fr;gap:2rem}}
  @media (max-width:520px){.foot-grid{grid-template-columns:1fr}}

/* ===================================================== */
/* Carried-forward components (not present in the mockup) */
/* ===================================================== */

/* Mobile nav: dropdown + open state (mockup only hid nav on mobile) */
@media (max-width:840px){
  .nav-links{
    display:none;flex-direction:column;gap:1rem;align-items:flex-start;
    position:absolute;top:100%;left:0;width:100%;
    background:rgba(247,245,238,.98);
    -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
    padding:1.5rem var(--gutter);
    border-bottom:1px solid var(--line);
    box-shadow:var(--shadow);
  }
  .nav-links.open{display:flex}
}

/* Show/hide utilities */
.d-mobile{display:none !important}
@media (max-width:840px){
  .d-mobile{display:flex !important}
  .d-none-mobile{display:none !important}
}

.btn-lg{padding:1.1em 2em;font-size:1.05rem}

/* Beneficios — bento grid */
.bento-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:auto auto;gap:1.25rem}
.bento-card{background:var(--bg-card);border:1px solid var(--line-2);border-radius:var(--radius-lg);padding:2rem 1.75rem;display:flex;flex-direction:column;gap:.75rem;transition:transform .3s ease, box-shadow .3s ease}
.bento-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.bento-card.large{grid-column:1;grid-row:1 / 3}
.bento-card.medium{grid-column:2;grid-row:1}
.bento-card.small{grid-column:2}
.bento-card h3{font-size:1.2rem}
.bento-card p{color:var(--ink-mute);font-size:.95rem;margin:0}
.icon-wrap{width:52px;height:52px;border-radius:14px;display:grid;place-items:center}
.bg-sage-muted{background:var(--sage-soft)}
.bg-sand{background:var(--sand-soft)}
.swatches{display:flex;gap:.5rem;margin-top:auto}
.swatch{width:28px;height:28px;border-radius:50%;border:2px solid var(--line)}
.bg-terracotta-light{background:#e8b388}
@media (max-width:640px){
  .bento-grid{grid-template-columns:1fr}
  .bento-card.large,.bento-card.medium,.bento-card.small{grid-column:1;grid-row:auto}
}

/* VIdeo — YouTube as its own block */
.video-bg{background:linear-gradient(180deg, var(--sand-soft) 0%, var(--bg) 100%)}
.video-wrap{max-width:920px;margin:0 auto;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);background:#000;aspect-ratio:16/9;position:relative}
.yt-thumb{position:relative;cursor:pointer;width:100%;height:100%;display:grid;place-items:center}
.yt-thumb-img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.yt-play-btn{position:relative;z-index:1;filter:drop-shadow(0 4px 12px rgba(0,0,0,.4));transition:transform .2s ease}
.yt-thumb:hover .yt-play-btn{transform:scale(1.08)}
.yt-iframe{width:100%;height:100%;border:0;display:block}

/* Legal modals */
.modal-overlay{display:none;position:fixed;inset:0;z-index:100;background:rgba(43,35,27,.45);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);align-items:center;justify-content:center;padding:1.5rem;opacity:0;transition:opacity .28s ease}
.modal-overlay.open{display:flex;opacity:1}
.modal-overlay.closing{opacity:0}
.modal-box{background:var(--bg-card);border-radius:var(--radius-lg);max-width:620px;width:100%;max-height:85vh;overflow-y:auto;padding:2.5rem;box-shadow:var(--shadow-lg);position:relative}
.modal-close{position:absolute;top:1.2rem;right:1.2rem;width:32px;height:32px;border-radius:50%;background:var(--sand-soft);display:grid;place-items:center;font-size:1rem;color:var(--ink-mute);transition:background .2s ease}
.modal-close:hover{background:var(--sand)}
.modal-box h2{font-size:1.6rem;margin-bottom:1.5rem;font-family:var(--font-display)}
.modal-content{font-size:.95rem;color:var(--ink-mute);line-height:1.7}
.modal-content p{margin-bottom:1rem}
.modal-content ul{padding-left:1.5rem;margin-bottom:1rem}
.modal-content ul li{list-style:disc;margin-bottom:.3rem}
.modal-content a{color:var(--terra-cta);text-decoration:underline}
.modal-inline-link{color:var(--terra-cta);text-decoration:underline;font-size:inherit}

/* Reveal on scroll */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .7s ease, transform .7s ease}
.reveal.visible{opacity:1;transform:translateY(0)}
.reveal-group .reveal:nth-child(1){transition-delay:0s}
.reveal-group .reveal:nth-child(2){transition-delay:.1s}
.reveal-group .reveal:nth-child(3){transition-delay:.2s}
.reveal-group .reveal:nth-child(4){transition-delay:.3s}
.reveal-group .reveal:nth-child(5){transition-delay:.4s}
.reveal-group .reveal:nth-child(6){transition-delay:.5s}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none}
}

/* <picture> as a real box: it is the single grid/flex item, the inner <img> fills it.
   (Earlier display:contents leaked <source> in as an extra grid item and broke the spread layout.) */
picture{display:block}
.hero-photo > picture,
.stage-photo > picture,
.q-img > picture{width:100%;height:100%}
.spread > picture{width:100%}
.spread > picture img{width:100%;height:auto;display:block}
/* Páginas slider */
.spread-slider{position:relative}
.spread-viewport{overflow:hidden;position:relative;touch-action:pan-y;cursor:grab;-webkit-user-select:none;user-select:none}
.spread-viewport:active{cursor:grabbing}
.spread-viewport img{-webkit-user-drag:none}
.spread-track{display:flex;transition:transform .45s cubic-bezier(.4,0,.2,1);will-change:transform}
.spread-slide{flex:0 0 100%;min-width:0}
.spread-controls{display:flex;align-items:center;justify-content:center;gap:1.4rem;margin-top:clamp(1.6rem,3vw,2.4rem)}
.spread-arrow{width:44px;height:44px;border-radius:50%;border:1px solid var(--line-2);background:var(--bg-card);color:var(--terra-deep);font-size:1.5rem;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background .2s ease,color .2s ease,border-color .2s ease}
.spread-arrow:hover{background:var(--terra-cta);color:#fff8ec;border-color:var(--terra-cta)}
.spread-dots{display:flex;gap:.55rem;align-items:center}
.spread-dot{width:9px;height:9px;padding:0;border-radius:50%;border:none;background:var(--line);cursor:pointer;transition:width .25s ease,background .25s ease}
.spread-dot.is-active{background:var(--terra-cta);width:26px;border-radius:5px}
.spread-arrow:disabled{opacity:.32;cursor:default;pointer-events:none}
.spread-hint{display:none;align-items:center;justify-content:center;gap:.45em;margin-top:1rem;color:var(--ink-mute);font-family:"Outfit",sans-serif;font-size:.85rem;font-weight:500;letter-spacing:.01em}
.spread-hint svg{animation:spread-hint-swipe 1.8s ease-in-out infinite}
@keyframes spread-hint-swipe{0%,100%{transform:translateX(-4px)}50%{transform:translateX(4px)}}
@media (hover:none){.spread-slider:not(.swiped) .spread-hint{display:flex}}
.spread--reverse > picture{order:1}
.spread--reverse > figcaption{order:0}
@media (max-width:880px){
  .spread--reverse > picture{order:0}
  .spread--reverse > figcaption{order:1}
}

/* ===== Smooth modals + FAQ accordion ===== */
/* Modal fade/slide — visibility (not display:none) lets opacity transition both ways */
.modal-overlay{display:flex;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .3s ease, visibility .3s ease}
.modal-overlay.open{opacity:1;visibility:visible;pointer-events:auto}
.modal-box{transform:translateY(14px) scale(.985);transition:transform .3s ease}
.modal-overlay.open .modal-box{transform:none}

/* FAQ — JS accordion with smooth max-height */
.faq-list{max-width:780px;margin:0 auto}
.faq-question{width:100%;cursor:pointer;padding:1.4rem 0;display:flex;align-items:center;justify-content:space-between;gap:1rem;font-family:var(--font-display);font-size:1.18rem;font-weight:500;color:var(--ink);transition:color .2s ease;text-align:left}
.faq-question:hover{color:var(--terra-deep)}
.faq-plus{flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--sand-soft);display:grid;place-items:center;color:var(--terra-deep);font-size:1.2rem;line-height:1;transition:transform .25s ease, background .2s ease, color .2s ease}
.faq-item.active .faq-plus{transform:rotate(45deg);background:var(--terra-cta);color:#fff8ec}
.faq-answer{max-height:0;overflow:hidden;transition:max-height .35s ease}
.faq-answer p{margin:0;padding-bottom:1.4rem;color:var(--ink-mute);font-size:.98rem;line-height:1.6;max-width:62ch}
.faq-answer ul{list-style:disc;margin:.1rem 0 .9rem 1.2rem;padding:0;color:var(--ink-mute);font-size:.98rem;line-height:1.6;max-width:62ch}
.faq-answer ul li{margin-bottom:.4rem}
.faq-answer strong{color:var(--ink);font-weight:600}

/* Logo keeps the original Fraunces face (only the logo, header + footer) */
.logo{font-family:"Fraunces","Iowan Old Style",Georgia,serif}

/* Trust strip — editorial inline: serif label + small caption, thin line icons, hairline dividers */
.trust-strip{padding:clamp(1.4rem,2.6vw,2.1rem) 0}
.trust-badge{gap:.85rem;padding:.4rem 1.75rem}
.trust-badge .ic{width:auto;height:auto;border-radius:0;background:none;color:var(--terra-deep);display:flex;align-items:center;justify-content:center;flex:0 0 auto}
.trust-badge .ic svg{width:30px;height:30px;stroke-width:1.4}
.trust-badge .txt{gap:.12rem}
.trust-badge strong{font-family:"Fraunces","Iowan Old Style",Georgia,serif;font-variation-settings:'SOFT' 100,'WONK' 0;font-size:1.26rem;font-weight:560;color:var(--ink);letter-spacing:.005em}
.trust-badge small{font-family:"Outfit",sans-serif;font-size:.8rem;color:var(--ink-mute);letter-spacing:0;text-transform:none;margin-top:.05rem}
@media (max-width:760px){.trust-badge{padding:.4rem 1rem;gap:.7rem}}

/* Header: restore side gutter — the .nav shorthand padding:1.1rem 0 zeroed .wrap's
   horizontal padding, so the logo/burger touched the screen edges on mobile. */
.nav{padding-inline:var(--gutter)}

/* Footer Legal items are <button> (they open the modals) — match them to the footer links */
.foot-col button{font-family:inherit;font-size:.93rem;color:var(--ink-mute);transition:color .15s ease;text-align:left;padding:0}
.foot-col button:hover{color:var(--terra-deep)}

/* Philosophy: inline-SVG icon variant (звёздочка «обучение» в Sensorial) */
.pillar-icon--svg{color:#7f9278} /* замер цвета линий icon-tacto/icon-crecen (rgb 127,146,120) */
.pillar-icon--svg svg{display:block}

/* Newsletter / free guide (GUÍA GRATIS) — карточка-«остров» на фоне страницы */
.subscribe-bg{background:var(--bg)}
.subscribe-card{
  max-width:760px;margin:0 auto;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:1.1rem;
  background:var(--bg-card);
  border:1px solid var(--line-2);
  border-radius:var(--radius-xl);
  box-shadow:var(--shadow-lg);
  padding:clamp(2.25rem,5vw,3.5rem) clamp(1.5rem,4vw,3.5rem);
}
.subscribe-eyebrow{
  font-family:"JetBrains Mono",monospace;
  font-size:.74rem;letter-spacing:.14em;text-transform:uppercase;
  color:var(--terra-deep);font-weight:500;
}
.subscribe-card h2{font-family:var(--font-display);font-size:var(--fs-h2);line-height:1.12;font-weight:420}
.subscribe-text{color:var(--ink-mute);font-size:1.02rem;max-width:56ch}
.subscribe-form{display:flex;gap:.7rem;width:100%;max-width:520px;margin-top:.4rem}
.subscribe-form input[type="email"]{
  flex:1;min-width:0;padding:.85rem 1.1rem;border-radius:999px;
  border:1px solid var(--line);background:#fff;
  font-family:"Outfit",sans-serif;font-size:.98rem;color:var(--ink);
}
.subscribe-form input[type="email"]:focus{outline:2px solid var(--terra-cta);outline-offset:1px;border-color:transparent}
.subscribe-form .btn{white-space:nowrap}
.subscribe-note{font-size:.85rem;color:var(--ink-mute)}
.subscribe-msg{font-size:.95rem;font-weight:500;color:var(--sage-deep);min-height:1.3em;margin-top:-.4rem}
.subscribe-msg.is-error{color:#a4442c}
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media (max-width:560px){
  .subscribe-form{flex-direction:column}
  .subscribe-form .btn{width:100%;justify-content:center}
}

/* Заголовок филосoфии: 2 строки по <br/>, дефолтный max-width:18ch ломал на 3 */
#filosofia .section-head h2{max-width:26ch}

/* Trust strip: каждый бейдж в одну строку (nowrap), компактнее паддинги */
.trust-badge strong{white-space:nowrap}
.trust-badge{padding:.4rem 1rem}
@media (max-width:1100px) and (min-width:761px){
  .trust-strip-inner{grid-template-columns:repeat(2,1fr);gap:1.25rem 1rem}
  .trust-badge:nth-child(odd){border-left:0}
}

/* Hero: рейтинг отдельной строкой под кнопками, без разделителей */
.hero-rating{display:flex;align-items:center;gap:.6rem;margin-top:-1.35rem}
.hero-rating .proof-stars{line-height:1}

/* Обложки книг: фото на белом фоне — подложка белая, без прямоугольной CSS-тени
   (у фото своя студийная тень) */
.book-cover.farm,
.book-cover.forest,
.book-cover.pets{background:#fff}
.book-img{filter:none}

/* Lightbox: полноэкранный просмотр обложки по клику */
.book-cover{cursor:zoom-in}
.lightbox{
  position:fixed;inset:0;z-index:200;
  display:flex;align-items:center;justify-content:center;
  background:rgba(28,22,16,.86);
  opacity:0;visibility:hidden;transition:opacity .25s ease,visibility .25s ease;
  cursor:zoom-out;padding:clamp(1rem,4vw,3rem);
}
.lightbox.open{opacity:1;visibility:visible}
.lightbox img{max-width:min(92vw,1100px);max-height:88vh;border-radius:14px;background:#fff;transform:scale(.96);transition:transform .25s ease}
.lightbox.open img{transform:scale(1)}
.lightbox-close{position:absolute;top:1rem;right:1.25rem;width:44px;height:44px;border-radius:50%;background:rgba(255,253,247,.14);color:#fff8ec;font-size:1.25rem;display:flex;align-items:center;justify-content:center;transition:background .2s ease}
.lightbox-close:hover{background:rgba(255,253,247,.26)}

/* Обложки: без нативного драга картинки (мешал клику-зуму) */
.book-cover img{-webkit-user-drag:none;user-select:none}

/* Уплотнение по фидбеку: подписка и видео не должны тонуть в пустоте */
#guia, .video-bg{padding:clamp(2.75rem,4.5vw,4.5rem) 0}
