/* =========================================================
   EL MUNDO DE LOLI — Sistema de diseño compartido
   ========================================================= */

:root{
  --ink:#3A2F38;
  --soft:#7d7079;
  --line:#ece3e8;
  --rosa:#EA9AB2;
  --rosaD:#C97F9C;
  --lila:#EFCFE3;
  --menta:#EAF2D7;
  --celeste:#B3DEE2;
  --turq:#4E9EA3;
  --cream:#FCFBF9;
  --shadow: 0 24px 60px -30px rgba(58,47,56,0.28);
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;overflow-x:hidden;}
body{
  margin:0;
  font-family:'Quicksand',system-ui,sans-serif;
  color:var(--ink);
  background:var(--cream);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3{font-family:'Fredoka',sans-serif;font-weight:600;margin:0;color:var(--ink);}

.wrap{max-width:1160px;margin:0 auto;padding:0 40px;}
.wrap-narrow{max-width:760px;margin:0 auto;padding:0 40px;}
.eyebrow{
  font-family:'Fredoka',sans-serif;
  font-size:12.5px;
  letter-spacing:.24em;
  text-transform:uppercase;
  color:var(--rosaD);
  font-weight:600;
  margin:0 0 14px;
}
.accent{font-family:'Caveat',cursive;color:var(--rosaD);}

a:focus-visible, button:focus-visible, summary:focus-visible{
  outline:2px solid var(--turq);
  outline-offset:3px;
  border-radius:6px;
}

@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important;}
}

/* ---------- HEADER ---------- */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(252,251,249,0.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 40px;
  max-width:1160px; margin:0 auto;
}
.brand{display:flex; align-items:center; gap:14px;}
.iso{position:relative; display:block; flex:none;}
.iso .iso-mark{width:100%; height:100%; display:block;}
.iso .iso-sat-layer{position:absolute; inset:0; width:100%; height:100%; overflow:visible; pointer-events:none;}
.brand .iso{width:53px;height:53px;}
.brand img.wordmark{height:28px;width:auto;flex:none;}
nav.links{display:flex; align-items:center; gap:34px;}
nav.links a{
  font-family:'Fredoka',sans-serif;
  font-size:14.5px;
  font-weight:500;
  color:var(--ink);
  position:relative;
  padding:4px 0;
}
nav.links a.active{ color:var(--rosaD); }
nav.links a::after{
  content:"";
  position:absolute; left:0; right:100%; bottom:-2px;
  height:2px; background:var(--rosa);
  transition:right .25s ease;
  border-radius:2px;
}
nav.links a:hover::after{ right:0; }
.nav-cta{
  font-family:'Fredoka',sans-serif;
  font-weight:600;
  font-size:13.5px;
  color:#fff !important;
  background:var(--turq);
  padding:10px 20px;
  border-radius:999px;
  letter-spacing:.02em;
}
.nav-cta::after{display:none;}
.nav-cta{ transition:background .2s ease, transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease; }
.nav-cta:hover{ background:var(--rosaD); transform:translateY(-2px); box-shadow:0 16px 28px -12px rgba(201,127,156,.5); }

.menu-btn{
  display:none;
  background:none; border:none; cursor:pointer;
  width:40px; height:40px; align-items:center; justify-content:center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after{
  content:""; display:block; width:22px; height:2px; background:var(--ink);
  position:relative; transition:all .2s ease;
}
.menu-btn span::before{position:absolute; top:-7px;}
.menu-btn span::after{position:absolute; top:7px;}

/* ---------- PAGE HERO (subpáginas) ---------- */
.page-hero{
  position:relative;
  padding:64px 0 56px;
  overflow:hidden;
  background:
    radial-gradient(120% 90% at 10% 0%, #FBEFF4 0%, transparent 55%),
    radial-gradient(120% 90% at 92% 10%, #E8F5F6 0%, transparent 52%),
    var(--cream);
  border-bottom:1px solid var(--line);
}
.page-hero::before{
  content:""; position:absolute; inset:-30%; z-index:0; pointer-events:none;
  background:
    radial-gradient(36% 46% at 20% 34%, rgba(234,154,178,.14), transparent 70%),
    radial-gradient(32% 42% at 84% 60%, rgba(179,222,226,.18), transparent 72%);
  animation:worldDrift 52s ease-in-out infinite alternate;
}
.page-hero .wrap{ position:relative; z-index:2; }
.breadcrumb{
  font-size:13px; color:var(--soft); margin-bottom:18px;
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.breadcrumb a{ color:var(--soft); }
.breadcrumb a:hover{ color:var(--rosaD); }
.breadcrumb .sep{ opacity:.5; }
.breadcrumb .current{ color:var(--ink); font-weight:600; }
.page-hero .tagline{
  font-family:'Caveat',cursive; font-weight:600; font-size:24px; color:var(--rosaD); margin:0 0 6px;
}
.page-hero h1{ font-size:clamp(32px,4vw,48px); line-height:1.1; margin:0 0 16px; }
.page-hero p.lead{ font-size:17px; line-height:1.7; color:var(--soft); max-width:56ch; margin:0; }

/* ---------- HERO (landing) ---------- */
.hero{
  position:relative;
  padding:72px 0 100px;
  background:
    radial-gradient(120% 90% at 10% 0%, #FBEFF4 0%, transparent 55%),
    radial-gradient(120% 90% at 92% 10%, #E8F5F6 0%, transparent 52%),
    radial-gradient(100% 100% at 50% 120%, #F3F8EA 0%, transparent 55%),
    var(--cream);
  overflow:hidden;
}
.hero::before{
  content:""; position:absolute; inset:-28%; z-index:0; pointer-events:none;
  background:
    radial-gradient(38% 44% at 22% 32%, rgba(234,154,178,.16), transparent 70%),
    radial-gradient(34% 40% at 82% 66%, rgba(179,222,226,.20), transparent 72%),
    radial-gradient(30% 36% at 62% 96%, rgba(174,196,110,.12), transparent 72%);
  animation:worldDrift 48s ease-in-out infinite alternate;
}
@keyframes worldDrift{
  0%{ transform:translate3d(0,0,0) scale(1); }
  100%{ transform:translate3d(2.6%,-2.2%,0) scale(1.07); }
}
.hero .wrap{ position:relative; z-index:2; }
.hero-copy{ animation:heroRise 1.1s cubic-bezier(.22,.61,.36,1) both; }
.hero-visual{ animation:heroRise 1.2s cubic-bezier(.22,.61,.36,1) .12s both; }
@keyframes heroRise{ from{ opacity:0; transform:translateY(26px); } to{ opacity:1; transform:translateY(0); } }
.hero-grid{ display:grid; grid-template-columns:1.02fr .98fr; gap:64px; align-items:center; }
.hero-copy .tagline{ font-family:'Caveat',cursive; font-weight:600; font-size:26px; color:var(--rosaD); margin:0 0 6px; }
.hero-copy h1{ font-size:clamp(38px,4.6vw,58px); line-height:1.06; margin:0 0 22px; }
.hero-copy p.lead{ font-size:18px; line-height:1.75; color:var(--soft); max-width:46ch; margin:0 0 34px; }
.cta-row{display:flex; align-items:center; gap:26px; flex-wrap:wrap;}
.btn-primary{
  font-family:'Fredoka',sans-serif; font-weight:600; font-size:15.5px; color:#fff;
  background:var(--rosaD); padding:16px 32px; border-radius:999px; box-shadow:var(--shadow);
  transition:transform .28s cubic-bezier(.22,.61,.36,1), background .2s ease, box-shadow .28s ease; display:inline-block;
}
.btn-primary:hover{ background:var(--turq); transform:translateY(-3px); box-shadow:0 28px 48px -22px rgba(58,47,56,.45); }
.btn-text{
  font-family:'Fredoka',sans-serif; font-weight:600; font-size:15px; color:var(--ink);
  border-bottom:2px solid var(--rosa); padding-bottom:3px;
  transition:border-color .2s ease, color .2s ease;
}
.btn-text:hover{ color:var(--rosaD); border-color:var(--rosaD); }

.hero-visual{ position:relative; display:flex; align-items:center; justify-content:center; }
.hero-visual .glow{
  position:absolute; width:112%; height:112%;
  background:radial-gradient(circle at 30% 30%, #FBF1F5, transparent 60%),
             radial-gradient(circle at 75% 80%, #EAF6F6, transparent 55%);
  border-radius:50%; z-index:0; animation:glow-pulse 6s ease-in-out infinite;
}
@keyframes glow-pulse{ 0%,100%{opacity:.75; transform:scale(1);} 50%{opacity:1; transform:scale(1.04);} }
.hero-visual .frame{
  position:relative; z-index:1; width:min(400px,100%); border-radius:28px; overflow:hidden;
  border:1px solid var(--line); box-shadow:var(--shadow); background:#fff;
}
.hero-visual .frame img{ aspect-ratio:4/5; object-fit:cover; }
.hero-visual .frame figcaption{
  position:absolute; left:16px; bottom:16px; background:rgba(255,255,255,.92);
  border-radius:999px; padding:8px 16px 8px 8px; display:flex; align-items:center; gap:9px;
  box-shadow:0 8px 20px -10px rgba(58,47,56,.35);
}
.hero-visual .frame figcaption img{ width:26px; height:26px; border-radius:50%; object-fit:cover; }
.hero-visual .frame figcaption span{ font-family:'Fredoka',sans-serif; font-size:12.5px; font-weight:600; color:var(--ink); }
.orbit-badge{
  position:absolute; bottom:-24px; left:-22px; z-index:2; background:#fff; border:1px solid var(--line);
  border-radius:20px; padding:14px 20px; box-shadow:var(--shadow); display:flex; align-items:center; gap:12px;
}
.orbit-badge img{width:32px;height:32px;flex:none;}
.orbit-badge .num{font-family:'Fredoka',sans-serif;font-weight:600;font-size:16px;color:var(--ink);}
.orbit-badge .lbl{font-size:11.5px;color:var(--soft);letter-spacing:.02em;}

/* ---------- SECTION SHARED ---------- */
section{ padding:104px 0; }
.section-head{ max-width:640px; margin:0 0 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size:clamp(28px,3.2vw,42px); line-height:1.12; }
.section-head p{ font-size:16.5px; line-height:1.7; color:var(--soft); margin-top:16px; }

/* ---------- TRES CAMINOS (paths) ---------- */
.paths{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.path-card{
  background:#fff; border:1px solid var(--line); border-radius:24px; padding:38px 32px;
  display:flex; flex-direction:column; transition:transform .25s ease, box-shadow .25s ease;
  position:relative;
}
.path-card .go::after{ content:""; position:absolute; inset:0; z-index:1; border-radius:inherit; }
.path-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.path-card .icon-wrap{
  width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center; margin-bottom:22px;
}
.path-card:nth-child(1) .icon-wrap{ background:var(--lila); }
.path-card:nth-child(2) .icon-wrap{ background:var(--celeste); }
.path-card:nth-child(3) .icon-wrap{ background:var(--menta); }
.path-card .icon-wrap svg{ width:26px; height:26px; }
.path-card h3{ font-size:20px; margin-bottom:12px; }
.path-card p{ font-size:15px; line-height:1.65; color:var(--soft); flex:1; margin:0 0 22px; }
.path-card .go{ font-family:'Fredoka',sans-serif; font-weight:600; font-size:14px; color:var(--rosaD); display:inline-flex; align-items:center; gap:6px; }
.path-card .go svg{ width:14px; height:14px; transition:transform .2s ease; }
.path-card:hover .go svg{ transform:translateX(4px); }

/* ---------- QUIEN ESTA DETRAS (pull-quote) ---------- */
.founder{ background:#fff; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.founder-quote-block{ max-width:760px; margin:0 auto; text-align:center; }
.founder-quote-block .eyebrow{ text-align:center; }
blockquote{ margin:0 0 36px; font-family:'Fredoka',sans-serif; font-weight:500; font-size:clamp(20px,2.6vw,27px); line-height:1.55; color:var(--ink); }
blockquote p{ margin:0 0 20px; }
blockquote p:last-child{ margin-bottom:0; }
.founder-meta{ display:flex; align-items:center; justify-content:center; gap:18px; flex-wrap:wrap; margin-bottom:30px; }
.founder-meta .avatar{ width:58px; height:58px; border-radius:50%; object-fit:cover; border:2px solid var(--rosa); }
.founder-meta .who{ text-align:left; }
.founder-meta .name{ font-family:'Fredoka',sans-serif; font-weight:600; font-size:15.5px; color:var(--ink); }
.founder-meta .role{ font-size:13px; color:var(--soft); }
.founder-meta .divider{ width:1px; height:34px; background:var(--line); }
.founder-meta .stat{ text-align:left; }
.founder-meta .stat .n{ font-family:'Fredoka',sans-serif; font-weight:600; font-size:19px; color:var(--rosaD); display:block; }
.founder-meta .stat .l{ font-size:12px; color:var(--soft); }

/* ---------- CATEGORIAS (grid de tarjetas con foto) ---------- */
.cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.cat-card{ position:relative; border-radius:22px; overflow:hidden; aspect-ratio:4/5; border:1px solid var(--line); box-shadow:0 14px 34px -22px rgba(58,47,56,.35); }
.cat-card img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.cat-card:hover img{ transform:scale(1.06); }
.cat-card .overlay{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(58,47,56,0) 40%, rgba(58,47,56,.72) 100%); }
.cat-card .label{ position:absolute; left:0; right:0; bottom:0; padding:22px 22px 20px; color:#fff; }
.cat-card .label .tag{ font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.8); margin-bottom:6px; display:block; }
.cat-card .label h3{ font-size:19px; color:#fff; }
.cat-more{ text-align:center; margin-top:44px; }

/* ---------- COMO TRABAJO TEASER (landing) ---------- */
.process{ background:#FBF7F5; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.process-grid{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:30px; margin-top:10px; }
.process-step{ text-align:left; }
.process-step .step-mark{ font-family:'Caveat',cursive; font-size:34px; color:var(--rosaD); display:block; margin-bottom:10px; }
.process-step h3{ font-size:18px; margin-bottom:10px; }
.process-step p{ font-size:14.5px; line-height:1.65; color:var(--soft); margin:0; }
.process-cta{ margin-top:48px; text-align:center; }

/* ---------- VALORES ---------- */
.values-strip{ display:flex; justify-content:center; flex-wrap:wrap; gap:14px; }
.value-pill{ font-family:'Fredoka',sans-serif; font-size:14px; font-weight:600; padding:12px 22px; border-radius:999px; }
.value-pill:nth-child(1){ background:var(--lila); color:var(--rosaD); }
.value-pill:nth-child(2){ background:var(--menta); color:#7a9a5f; }
.value-pill:nth-child(3){ background:var(--celeste); color:var(--turq); }
.value-pill:nth-child(4){ background:#F6E6ED; color:var(--rosaD); }
.value-pill:nth-child(5){ background:#EAF2D7; color:#7a9a5f; }

/* ---------- STORY / EDITORIAL (conoce.html) ---------- */
.story{ background:#fff; }
.story-media{
  border-radius:26px; overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow);
  max-width:420px; margin:0 auto 64px;
}
.story-media img{ aspect-ratio:4/5; object-fit:cover; }
.story-body{ max-width:680px; margin:0 auto; }
.story-body h2{ font-size:clamp(24px,2.8vw,32px); margin:56px 0 20px; }
.story-body h2:first-child{ margin-top:0; }
.story-greeting{ font-family:'Fredoka',sans-serif; font-weight:700; font-size:clamp(34px,5vw,52px); line-height:1.06; letter-spacing:-.015em; color:var(--ink); margin:0 0 22px; }
.story-greeting .accent-name{ color:var(--rosaD); }
.story-body p{ font-size:17.5px; line-height:1.85; color:var(--ink); margin:0 0 22px; }
.story-body p.emphasis{ font-family:'Caveat',cursive; font-size:24px; color:var(--rosaD); line-height:1.4; }
.story-values{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-top:14px; }
.story-value{ background:var(--cream); border:1px solid var(--line); border-radius:18px; padding:22px 24px; }
.story-value strong{ font-family:'Fredoka',sans-serif; font-weight:600; font-size:15.5px; color:var(--rosaD); display:block; margin-bottom:6px; }
.story-value span{ font-size:14.5px; color:var(--soft); line-height:1.6; }
.story-cta{ text-align:center; margin-top:64px; }

/* ---------- CATALOGO INDEX ---------- */
.cat-index-intro{ text-align:center; max-width:640px; margin:0 auto 60px; }

/* ---------- PRODUCT GRID (páginas de categoría) ---------- */
.cat-subtitle{ font-size:22px; margin:48px 0 12px; }
.cat-subtitle:first-of-type{ margin-top:0; }
.cat-note{ font-size:14.5px; line-height:1.7; color:var(--soft); background:var(--cream); border:1px solid var(--line); border-radius:14px; padding:16px 20px; margin:0 0 30px; max-width:70ch; }
.product-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:30px; }
.product-card{
  display:grid; grid-template-columns:200px 1fr; gap:24px;
  background:#fff; border:1px solid var(--line); border-radius:22px; padding:20px;
  box-shadow:0 14px 34px -26px rgba(58,47,56,.3);
}
.product-card .ph{ border-radius:16px; overflow:hidden; aspect-ratio:4/5; }
.product-card .ph img{ width:100%; height:100%; object-fit:cover; }
.product-card .info{ display:flex; flex-direction:column; }
.product-card h3{ font-size:17.5px; margin:0 0 8px; }
.product-card .details{ font-size:13.5px; line-height:1.6; color:var(--soft); flex:1; margin:0 0 14px; }
.product-card .details li{ margin-bottom:3px; }
.product-card .price{
  font-family:'Fredoka',sans-serif; font-weight:600; font-size:19px; color:var(--rosaD);
  display:flex; align-items:baseline; gap:6px;
}
.product-card .price .unit{ font-family:'Quicksand',sans-serif; font-weight:600; font-size:12px; color:var(--soft); }

.faq-hint{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  background:var(--celeste); border-radius:18px; padding:20px 26px; margin:56px 0 0;
}
.faq-hint p{ margin:0; font-size:14.5px; color:var(--ink); flex:1; min-width:200px; }
.faq-hint a{ font-family:'Fredoka',sans-serif; font-weight:600; font-size:14px; color:var(--turq); white-space:nowrap; }
.faq-hint a:hover{ color:var(--rosaD); }

/* ---------- FAQ ACCORDION (como-pedir.html) ---------- */
.faq-list{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:14px; }
.faq-item{ background:#fff; border:1px solid var(--line); border-radius:18px; overflow:hidden; }
.faq-item summary{
  list-style:none; cursor:pointer; padding:22px 26px; display:flex; align-items:center; justify-content:space-between; gap:16px;
  font-family:'Fredoka',sans-serif; font-weight:600; font-size:16px; color:var(--ink);
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary .plus{
  width:26px; height:26px; border-radius:50%; background:var(--lila); flex:none;
  display:flex; align-items:center; justify-content:center; position:relative; transition:transform .25s ease, background .25s ease;
}
.faq-item summary .plus::before, .faq-item summary .plus::after{
  content:""; position:absolute; background:var(--rosaD); border-radius:2px;
}
.faq-item summary .plus::before{ width:11px; height:2px; }
.faq-item summary .plus::after{ width:2px; height:11px; }
.faq-item[open] summary .plus{ transform:rotate(135deg); }
.faq-item .faq-body{ padding:0 26px 26px; }
.faq-item .faq-body p{ font-size:15.5px; line-height:1.8; color:var(--soft); margin:0 0 14px; }
.faq-item .faq-body p:last-child{ margin-bottom:0; }
.faq-item .faq-body ul{ margin:10px 0; padding-left:2px; }
.faq-item .faq-body li{ font-size:15.5px; line-height:1.8; color:var(--soft); margin-bottom:6px; padding-left:20px; position:relative; }
.faq-item .faq-body li::before{ content:"·"; color:var(--rosaD); position:absolute; left:4px; font-weight:700; }
.faq-cta{ text-align:center; margin-top:56px; }

/* ---------- FOOTER ---------- */
footer{ background:var(--cream); border-top:1px solid var(--line); padding:72px 0 40px; }
.footer-top{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:40px; margin-bottom:56px; }
.footer-brand{ max-width:460px; display:flex; flex-direction:column; align-items:flex-start; }
.footer-brand .brand-stack{ display:flex; flex-direction:column; align-items:flex-start; gap:10px; margin-bottom:16px; }
.footer-brand .brand-stack img.wordmark{ width:min(400px,100%); height:auto; }
.footer-brand p{ font-family:'Caveat',cursive; font-size:21px; color:var(--rosaD); margin:0; }
.footer-cols{ display:flex; gap:64px; flex-wrap:wrap; }
.footer-col h4{ font-family:'Fredoka',sans-serif; font-size:13px; font-weight:600; letter-spacing:.14em; text-transform:uppercase; color:var(--soft); margin:0 0 18px; }
.footer-col ul li{ margin-bottom:12px; }
.footer-col ul li a{ font-size:14.5px; color:var(--ink); }
.footer-col ul li a:hover{ color:var(--rosaD); }
.footer-bottom{ border-top:1px solid var(--line); padding-top:26px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:14px; }
.footer-bottom span{ font-size:12.5px; color:var(--soft); }
.ig-link{
  display:inline-flex; align-items:center; gap:8px; font-family:'Fredoka',sans-serif; font-weight:600; font-size:13.5px; color:var(--ink);
  padding:9px 18px; border:1px solid var(--line); border-radius:999px; transition:background .2s ease, color .2s ease, border-color .2s ease, transform .28s cubic-bezier(.22,.61,.36,1), box-shadow .28s ease;
}
.ig-link:hover{ background:var(--rosaD); color:#fff; border-color:var(--rosaD); transform:translateY(-2px); box-shadow:0 16px 28px -14px rgba(201,127,156,.5); }
.ig-link svg{ width:16px; height:16px; }

/* ---------- SCROLL REVEAL ---------- */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:960px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-visual{ order:-1; margin-bottom:12px; }
  .paths{ grid-template-columns:1fr; }
  .cat-grid{ grid-template-columns:repeat(2,1fr); }
  .process-grid{ grid-template-columns:1fr; gap:34px; }
  .story-values{ grid-template-columns:1fr; }
  .product-grid{ grid-template-columns:1fr; }
}

/* ============ MOBILE (≤720px) ============ */
@media (max-width:720px){
  .wrap, .wrap-narrow{ padding:0 20px; }

  /* --- Header --- */
  header{ background:rgba(252,251,249,0.94); }
  .nav-inner{ padding:12px 20px; }
  .brand{ gap:11px; }
  .brand .iso{ width:42px; height:42px; }
  .brand img.wordmark{ height:22px; }
  .menu-btn{ display:flex; position:relative; z-index:110; }
  .menu-btn span, .menu-btn span::before, .menu-btn span::after{ transition:transform .28s ease, opacity .2s ease, top .28s ease; }
  .menu-btn[aria-expanded="true"] span{ background:transparent; }
  .menu-btn[aria-expanded="true"] span::before{ top:0; transform:rotate(45deg); }
  .menu-btn[aria-expanded="true"] span::after{ top:0; transform:rotate(-45deg); }

  /* --- Mobile menu drawer (solid cream panel + soft scrim) --- */
  nav.links{
    position:fixed; top:0; right:0; left:auto; bottom:auto;
    width:min(86vw,360px); height:100vh; height:100dvh; z-index:95;
    background:var(--cream);
    border-radius:24px 0 0 24px;
    flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0;
    padding:88px 26px 34px;
    transform:translateX(100%); visibility:hidden;
    transition:transform .36s cubic-bezier(.22,.61,.36,1), visibility 0s linear .36s;
    overflow-y:auto; -webkit-overflow-scrolling:touch;
    box-shadow:-26px 0 60px -34px rgba(58,47,56,.42);
  }
  nav.links.open{
    transform:translateX(0); visibility:visible;
    transition:transform .36s cubic-bezier(.22,.61,.36,1);
    box-shadow:-26px 0 60px -34px rgba(58,47,56,.42), 0 0 0 100vmax rgba(58,47,56,.34);
  }
  nav.links a{
    width:100%; padding:19px 4px; border-bottom:1px solid var(--line);
    font-size:18px; display:flex; align-items:center;
  }
  nav.links a::after{ display:none; }
  nav.links a.active{ color:var(--rosaD); }
  nav.links .nav-cta{
    margin-top:24px; border:none;
    text-align:center; justify-content:center;
    font-size:16px; padding:16px 24px; border-radius:14px;
  }

  /* --- Section rhythm --- */
  section{ padding:60px 0; }
  .section-head{ margin-bottom:36px; }
  .section-head h2{ font-size:clamp(26px,7vw,32px); }

  /* --- Hero: copy first, controlled image --- */
  .hero{ padding:36px 0 56px; }
  .hero-grid{ gap:32px; }
  .hero-visual{ order:0; margin-bottom:0; margin-top:6px; }
  .hero-copy{ order:-1; }
  .hero-copy .tagline{ font-size:22px; }
  .hero-copy h1{ font-size:clamp(30px,8.4vw,40px); }
  .hero-copy p.lead{ font-size:16.5px; margin-bottom:28px; max-width:100%; }
  .hero-visual .frame{ width:min(300px,86%); }
  .orbit-badge{ left:0; bottom:-18px; padding:11px 16px; }
  .orbit-badge .num{ font-size:14.5px; }

  /* --- Page hero (subpages) --- */
  .page-hero{ padding:36px 0 34px; }
  .page-hero h1{ font-size:clamp(28px,7.6vw,40px); }
  .page-hero p.lead{ font-size:16px; }

  /* --- CTAs / touch targets --- */
  .cta-row{ gap:16px; }
  .btn-primary{ padding:16px 28px; }
  .btn-text{ padding-bottom:2px; }

  /* --- Cards --- */
  .cat-grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .path-card{ padding:30px 26px; }
  .founder-meta{ flex-direction:column; gap:14px; }
  .founder-meta .divider{ display:none; }
  .founder-meta .who, .founder-meta .stat{ text-align:center; }
  .product-card{ grid-template-columns:1fr; gap:16px; padding:16px; }
  .product-card .ph{ aspect-ratio:16/11; }
  .cat-subtitle{ font-size:20px; }

  /* --- Story (conoce) --- */
  .story-media{ max-width:320px; margin-bottom:44px; }
  .story-body p{ font-size:16.5px; line-height:1.8; }
  .story-greeting{ font-size:clamp(30px,9vw,42px); }

  /* --- FAQ --- */
  .faq-item summary{ padding:18px 20px; font-size:15.5px; }
  .faq-item .faq-body{ padding:0 20px 22px; }

  /* --- Footer --- */
  footer{ padding:52px 0 32px; }
  .footer-top{ flex-direction:column; align-items:flex-start; gap:36px; margin-bottom:40px; }
  .footer-brand{ max-width:100%; }
  .footer-brand .brand-stack img.wordmark{ width:min(240px,72%); }
  .footer-cols{ gap:44px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; gap:16px; }
}

/* ============ SMALL PHONES (≤430px) ============ */
@media (max-width:430px){
  .wrap, .wrap-narrow{ padding:0 18px; }
  .cat-grid{ grid-template-columns:1fr; gap:14px; }
  .cta-row{ flex-direction:column; align-items:stretch; gap:14px; }
  .cta-row .btn-primary{ text-align:center; }
  .cta-row .btn-text{ text-align:center; }
  .hero-copy h1{ font-size:clamp(28px,8.8vw,34px); }
  .values-strip{ gap:10px; }
  .value-pill{ padding:10px 18px; font-size:13.5px; }
  .footer-cols{ gap:32px; }
}
