/* =========================================================
   YAKARTE · Creaciones e Impresión 3D — Hoja de estilos
   ========================================================= */

:root{
  box-sizing:border-box;
  padding-top:env(safe-area-inset-top,0px);
  padding-bottom:env(safe-area-inset-bottom,0px);
  --navy:#1F1A3D;
  --yellow:#FFD83A; --cyan:#19C3CC; --pink:#E8588A; --purple:#6A25B8;
  --wa:#0E7A5F; --wa-dark:#0A5E49;
  --white:#FFFFFF;
  --bg:#FFFFFF; --bg-alt:#F3F4F9; --surface:#FFFFFF;
  --text:#1F1A3D; --muted:#4A4666; --line:#DCDBE8;
  --shadow:0 10px 28px rgba(31,26,61,.10), 0 2px 6px rgba(31,26,61,.06);
  --pend-bg:#FFEFF5; --pend-text:#8A1846; --pend-line:#E8588A;
  --field:#FFFFFF; --field-line:#A9A6C2; --error:#B3124F;
  --display:"DIN Condensed","DIN Alternate","Bahnschrift","Avenir Next Condensed","Roboto Condensed","sans-serif-condensed","Arial Narrow",system-ui,sans-serif;
  --body:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --gutter:16px; --radius:18px; --radius-s:12px;
  --header-h:64px;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    --bg:#141129; --bg-alt:#1B1736; --surface:#231E45;
    --text:#F2F1F8; --muted:#C6C3DB; --line:#3B3563;
    --shadow:0 10px 28px rgba(0,0,0,.35);
    --pend-bg:#3A1A2F; --pend-text:#FFC6DA;
    --field:#1B1736; --field-line:#6F6A96; --error:#FF8FB6;
  }
}
:root[data-theme="dark"]{
  --bg:#141129; --bg-alt:#1B1736; --surface:#231E45;
  --text:#F2F1F8; --muted:#C6C3DB; --line:#3B3563;
  --shadow:0 10px 28px rgba(0,0,0,.35);
  --pend-bg:#3A1A2F; --pend-text:#FFC6DA;
  --field:#1B1736; --field-line:#6F6A96; --error:#FF8FB6;
}

*,*::before,*::after{box-sizing:inherit}
html{scroll-behavior:smooth;scroll-padding-top:calc(env(safe-area-inset-top,0px) + var(--header-h) + 12px);-webkit-text-size-adjust:100%}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body{margin:0;background:var(--bg);color:var(--text);font-family:var(--body);font-size:1.0625rem;line-height:1.6;overflow-x:clip}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
p{margin:0 0 1em}
h1,h2,h3{font-family:var(--display);font-stretch:condensed;text-transform:uppercase;line-height:1;margin:0;letter-spacing:.01em;font-weight:700;overflow-wrap:break-word}
h2{font-size:clamp(2.1rem,6vw,3.3rem)}
h3{font-size:clamp(1.45rem,3.6vw,1.7rem);line-height:1.05}
:focus-visible{outline:3px solid var(--cyan);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-999px;top:0;background:var(--yellow);color:var(--navy);padding:12px 16px;z-index:100;font-weight:700}
.skip:focus{left:16px;top:16px}
.wrap{width:100%;max-width:1160px;margin:0 auto;padding:0 var(--gutter)}
@media (min-width:720px){:root{--gutter:28px}}
.section{padding:72px 0}
@media (min-width:900px){.section{padding:104px 0}}
.alt{background:var(--bg-alt)}
.dark{background:var(--navy);color:var(--white)}
.sec-head{max-width:720px;margin-bottom:40px}
.sec-head p{color:var(--muted);font-size:1.125rem;margin-top:18px;margin-bottom:0}
.dark .sec-head p{color:#D9D6EC}
.prism{display:flex;gap:4px;margin-top:16px}
.prism i{display:block;height:6px;border-radius:3px}
.prism i:nth-child(1){width:34px;background:var(--yellow)}
.prism i:nth-child(2){width:22px;background:var(--pink)}
.prism i:nth-child(3){width:14px;background:var(--cyan)}

/* Marcadores de contenido pendiente */
.pend{display:inline-block;background:var(--pend-bg);color:var(--pend-text);border:2px dashed var(--pend-line);border-radius:8px;padding:2px 8px;font-weight:700;font-size:.9em;line-height:1.4}
.pend-block{display:block;padding:14px 16px}

/* Botones */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border-radius:999px;font-weight:700;font-size:1rem;text-decoration:none;border:2px solid transparent;cursor:pointer;font-family:var(--body);line-height:1.2;text-align:center}
.btn svg{width:22px;height:22px;flex:none}
.btn-primary{background:var(--yellow);color:var(--navy)}
.btn-primary:hover{background:#FFE36B}
.btn-wa{background:var(--wa);color:var(--white)}
.btn-wa:hover{background:var(--wa-dark)}
.btn-line{background:transparent;color:var(--text);border-color:currentColor}
.btn-line:hover{background:var(--bg-alt)}
.btn[disabled]{opacity:.55;cursor:not-allowed}

/* Iconos de redes (cabecera y pie) */
.social{list-style:none;margin:0;padding:0;display:flex;gap:2px}
.social a{width:44px;height:44px;display:grid;place-items:center;border-radius:12px;color:#fff;text-decoration:none;font-weight:700;font-size:.78rem}
.social a:hover{background:rgba(255,255,255,.12)}
.social img{width:22px;height:22px;object-fit:contain}
.icon-fallback{font-weight:700;font-size:.78rem;letter-spacing:.02em}

/* Cabecera */
.site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:40;background:var(--navy);color:var(--white);border-bottom:1px solid rgba(255,255,255,.08)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;height:var(--header-h);gap:8px}
.brand{flex:none}
.brand img{height:32px;width:auto}
.header-right{display:flex;align-items:center;gap:6px;margin-left:auto}
.nav{display:none}
.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:2px}
.nav a{display:flex;align-items:center;min-height:44px;padding:0 11px;text-decoration:none;font-weight:600;font-size:.97rem;border-radius:10px;color:#fff;white-space:nowrap}
.nav a:hover{background:rgba(255,255,255,.1)}
.header-cta{display:none}
.menu-btn{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:transparent;border:2px solid rgba(255,255,255,.35);color:#fff;cursor:pointer;flex:none}
.menu-btn svg{width:24px;height:24px}
.mobile-nav{display:none;background:var(--navy);border-top:1px solid rgba(255,255,255,.1);padding:8px var(--gutter) 20px}
.mobile-nav.open{display:block}
.mobile-nav ul{list-style:none;margin:0;padding:0}
.mobile-nav a{display:flex;align-items:center;min-height:52px;color:#fff;text-decoration:none;font-weight:700;font-size:1.125rem;border-bottom:1px solid rgba(255,255,255,.1)}
@media (max-width:400px){
  .brand img{height:28px}
  .social a{width:40px;height:40px}
}
@media (min-width:700px){
  .header-cta{display:inline-flex;min-height:44px;padding:8px 16px}
  .brand img{height:38px}
}
@media (min-width:1180px){
  .nav{display:flex}
  .menu-btn,.mobile-nav,.mobile-nav.open{display:none}
  .brand img{height:40px}
}

/* Imagen que aún no se ha subido */
.img-missing{background:var(--bg-alt)}

/* Portada */
.hero{position:relative;background:var(--navy);color:#fff;padding:40px 0 110px;overflow:hidden}
.hero-grid{display:grid;gap:44px;align-items:center;position:relative;z-index:2}
@media (min-width:900px){.hero{padding:72px 0 140px}.hero-grid{grid-template-columns:1.15fr .85fr;gap:56px}}
.hero-logo{width:min(300px,78%);margin-bottom:28px}
.eyebrow{color:var(--yellow);font-weight:700;font-size:1.0625rem;margin:0 0 14px}
.hero h1{font-size:clamp(2.7rem,9.6vw,5.1rem);line-height:.94;margin-bottom:22px}
.hero h1 span{display:block}
.hero .lead{font-size:1.125rem;color:#E4E2F2;max-width:580px;margin-bottom:28px}
.cta-row{display:flex;flex-direction:column;gap:12px}
@media (min-width:520px){.cta-row{flex-direction:row;flex-wrap:wrap}}
.trust{list-style:none;margin:32px 0 0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 18px;max-width:520px}
.trust li{display:flex;align-items:center;gap:10px;font-weight:600;font-size:.95rem;line-height:1.25;color:#fff}
.trust .ic{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center}
.trust .ic svg{width:24px;height:24px}
.trust li:nth-child(1) .ic{background:var(--yellow);color:var(--navy)}
.trust li:nth-child(2) .ic{background:var(--pink);color:var(--navy)}
.trust li:nth-child(3) .ic{background:var(--cyan);color:var(--navy)}
.trust li:nth-child(4) .ic{background:var(--purple);color:#fff}
.hero-photo{position:relative;max-width:440px;justify-self:center;width:100%}
.hero-photo::before{content:"";position:absolute;inset:18px -14px -14px 18px;background:var(--yellow);border-radius:var(--radius)}
.hero-photo::after{content:"";position:absolute;left:-12px;top:34px;width:12px;height:40%;background:var(--pink);border-radius:6px 0 0 6px}
.hero-photo img{position:relative;border-radius:var(--radius);width:100%;aspect-ratio:494/534;object-fit:cover}
.peaks{position:absolute;left:0;right:0;bottom:-1px;height:110px;z-index:1;pointer-events:none}
.peaks svg{width:100%;height:100%;display:block}

/* Catálogo */
.cards{display:grid;gap:22px}
@media (min-width:640px){.cards{grid-template-columns:1fr 1fr}}
@media (min-width:1040px){.cards{grid-template-columns:repeat(4,1fr)}}
.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden;display:flex;flex-direction:column;border:1px solid var(--line)}
.card .band{height:8px}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover}
.card-body{padding:20px 20px 22px;display:flex;flex-direction:column;gap:12px;flex:1}
.card-body p{color:var(--muted);margin:0;font-size:1rem}
@media (min-width:1040px){.card h3{font-size:1.45rem}}
.price{display:inline-flex;align-items:baseline;gap:8px;align-self:flex-start;padding:6px 14px;border-radius:10px;font-weight:700;margin-top:auto}
.price small{font-size:.85rem;font-weight:600}
.price strong{font-family:var(--display);font-stretch:condensed;font-size:1.7rem;line-height:1}
.c-med .band,.c-med .price{background:var(--purple);color:#fff}
.c-tro .band,.c-tro .price{background:var(--yellow);color:var(--navy)}
.c-pla .band,.c-pla .price{background:var(--pink);color:var(--navy)}
.c-ima .band,.c-ima .price{background:var(--cyan);color:var(--navy)}
.card .btn{width:100%;font-size:.95rem;padding:10px 14px;border-radius:14px}
.price-table-wrap{margin-top:44px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:8px 0 0;overflow-x:auto}
table{border-collapse:collapse;width:100%;min-width:300px}
caption{text-align:left;font-weight:700;padding:14px 20px 6px;font-size:1.05rem}
th,td{text-align:left;padding:12px 20px;border-bottom:1px solid var(--line);vertical-align:top}
th{font-size:.9rem;color:var(--muted);font-weight:700}
.price-table-wrap td:last-child,.price-table-wrap th:last-child{text-align:right;white-space:nowrap;font-weight:700}
.note{margin:0;padding:14px 20px 18px;color:var(--muted);font-size:.95rem}

/* Banda: lo que se queda */
.story{display:grid;gap:36px;align-items:center}
@media (min-width:900px){.story{grid-template-columns:1fr 1fr;gap:64px}}
.story figure{margin:0;position:relative}
.story figure img{border-radius:var(--radius);width:100%;aspect-ratio:4/3;object-fit:cover}
.story figure::after{content:"";position:absolute;right:-10px;bottom:-10px;width:44%;height:10px;background:var(--cyan);border-radius:5px}
.story p{color:#E4E2F2;font-size:1.125rem}
.story .big{font-size:1.25rem;color:#fff;font-weight:600;margin-top:22px}

/* Por qué */
.why{display:grid;gap:18px}
@media (min-width:640px){.why{grid-template-columns:1fr 1fr}}
@media (min-width:1040px){.why{grid-template-columns:repeat(4,1fr)}}
.why article{background:var(--surface);border-radius:var(--radius);padding:24px 22px;border:1px solid var(--line)}
.why .ic{width:52px;height:52px;border-radius:14px;display:grid;place-items:center;margin-bottom:18px}
.why .ic svg{width:28px;height:28px}
.why h3{margin-bottom:10px}
.why p{margin:0;color:var(--muted)}
.why article:nth-child(1) .ic{background:var(--purple);color:#fff}
.why article:nth-child(2) .ic{background:var(--yellow);color:var(--navy)}
.why article:nth-child(3) .ic{background:var(--pink);color:var(--navy)}
.why article:nth-child(4) .ic{background:var(--cyan);color:var(--navy)}

/* Pasos */
.profile{display:none;position:relative;height:90px;margin-bottom:8px}
.profile svg{position:absolute;inset:0;width:100%;height:100%}
.profile .dot{position:absolute;width:22px;height:22px;border-radius:50%;transform:translate(-50%,-50%);border:4px solid var(--bg)}
.steps{list-style:none;margin:0;padding:0;display:grid;gap:0}
.steps li{position:relative;padding:0 0 30px 70px}
.steps li::before{content:"";position:absolute;left:23px;top:50px;bottom:4px;border-left:3px dashed var(--line)}
.steps li:last-child::before{display:none}
.steps .num{position:absolute;left:0;top:0;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;font-family:var(--display);font-stretch:condensed;font-size:1.6rem;font-weight:700}
.steps li:nth-child(1) .num,.profile .d1{background:var(--yellow);color:var(--navy)}
.steps li:nth-child(2) .num,.profile .d2{background:var(--pink);color:var(--navy)}
.steps li:nth-child(3) .num,.profile .d3{background:var(--cyan);color:var(--navy)}
.steps li:nth-child(4) .num,.profile .d4{background:var(--purple);color:#fff}
.steps h3{padding-top:12px;margin-bottom:8px}
.steps p{color:var(--muted);margin:0}
@media (min-width:900px){
  .profile{display:block}
  .steps{grid-template-columns:repeat(4,1fr);gap:28px}
  .steps li{padding:0;text-align:center}
  .steps li::before{display:none}
  .steps .num{position:static;margin:0 auto 14px}
  .steps h3{padding-top:0}
}

/* Para quién */
.aud-feature{display:grid;background:var(--navy);color:#fff;border-radius:22px;overflow:hidden;margin-bottom:22px;border:1px solid var(--line)}
@media (min-width:900px){.aud-feature{grid-template-columns:1fr 1.1fr}}
.aud-feature img{width:100%;height:100%;min-height:240px;object-fit:cover;aspect-ratio:4/3}
.aud-feature .inner{padding:28px 24px 30px;display:flex;flex-direction:column;gap:14px;justify-content:center}
@media (min-width:900px){.aud-feature .inner{padding:44px}}
.tag{align-self:flex-start;background:var(--yellow);color:var(--navy);font-weight:700;border-radius:999px;padding:4px 14px;font-size:.9rem}
.aud-feature h3{font-size:clamp(1.9rem,5vw,2.6rem)}
.aud-feature p{color:#E4E2F2;margin:0}
.aud-feature .btn{align-self:flex-start;margin-top:6px}
.aud-grid{display:grid;gap:18px}
@media (min-width:700px){.aud-grid{grid-template-columns:1fr 1fr}}
.aud{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px 22px;border-top:6px solid var(--c,var(--cyan))}
.aud h3{margin-bottom:10px}
.aud p{margin:0 0 10px;color:var(--muted)}
.aud p:last-child{margin-bottom:0}
.aud .strong{color:var(--text);font-weight:700}

/* Trabajos */
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media (min-width:900px){.gallery{grid-template-columns:repeat(3,1fr);gap:20px}}
.work{margin:0;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-s);overflow:hidden;display:flex;flex-direction:column}
.work img{width:100%;aspect-ratio:1/1;object-fit:cover}
.work figcaption{padding:12px 12px 14px;display:flex;flex-direction:column;gap:8px;font-size:.95rem;font-weight:700;flex:1}
.work .pend{font-size:.8rem}
.social-proof{display:grid;gap:18px;margin-top:28px}
@media (min-width:800px){.social-proof{grid-template-columns:1.4fr 1fr}}
.quote{background:var(--bg-alt);border-radius:var(--radius);padding:24px 22px;border-left:6px solid var(--pink)}
.quote svg{width:34px;height:34px;color:var(--pink);margin-bottom:8px}
.reviews{background:var(--bg-alt);border-radius:var(--radius);padding:24px 22px;display:flex;flex-direction:column;gap:14px;justify-content:center}
.reviews h3{font-size:1.4rem}
.reviews p{margin:0;color:var(--muted)}
.reviews .btn{align-self:flex-start}

/* Preguntas frecuentes */
.faq{max-width:820px;display:grid;gap:12px}
.faq details{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-s)}
.faq summary{cursor:pointer;list-style:none;padding:16px 56px 16px 20px;min-height:56px;display:flex;align-items:center;font-weight:700;font-size:1.0625rem;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";position:absolute;right:22px;top:50%;width:12px;height:12px;border-right:3px solid currentColor;border-bottom:3px solid currentColor;transform:translateY(-70%) rotate(45deg);transition:transform .2s}
.faq details[open] summary::after{transform:translateY(-30%) rotate(-135deg)}
.faq .ans{padding:0 20px 18px;color:var(--muted)}
.faq .ans p:last-child{margin-bottom:0}
.faq .ans ul{margin:0 0 1em;padding-left:1.2em}
.faq .ans li{margin-bottom:4px}

/* Formulario */
.form-wrap{display:grid;gap:36px}
@media (min-width:980px){.form-wrap{grid-template-columns:.8fr 1.2fr;gap:56px;align-items:start}}
.form-side p{color:#E4E2F2;font-size:1.125rem;margin-top:22px}
.alt-links{display:flex;flex-direction:column;gap:4px}
.alt-link{display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:700;min-height:44px}
.alt-link svg{width:22px;height:22px;flex:none}
.form-card{background:var(--surface);color:var(--text);border-radius:22px;padding:24px 18px;box-shadow:var(--shadow)}
@media (min-width:600px){.form-card{padding:32px}}
.fgrid{display:grid;gap:18px}
@media (min-width:640px){.fgrid{grid-template-columns:1fr 1fr}.fgrid .full{grid-column:1/-1}}
.field label,.field legend{display:block;font-weight:700;margin-bottom:6px;font-size:.98rem}
.req{color:var(--error)}
.opt{font-weight:500;color:var(--muted);font-size:.9rem}
.field input[type=text],.field input[type=email],.field input[type=number],.field input[type=date],.field select,.field textarea{width:100%;min-height:48px;padding:10px 14px;border:2px solid var(--field-line);border-radius:12px;background:var(--field);color:var(--text);font:inherit;font-size:1rem}
.field textarea{min-height:110px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--purple);box-shadow:0 0 0 3px rgba(106,37,184,.25)}
.field.invalid input,.field.invalid select{border-color:var(--error)}
.err{display:none;color:var(--error);font-size:.9rem;font-weight:600;margin:6px 0 0}
.field.invalid .err{display:block}
fieldset.field{border:0;padding:0;margin:0;min-width:0}
.radios{display:flex;flex-wrap:wrap;gap:10px}
.radios label{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:2px solid var(--field-line);border-radius:999px;font-weight:600;cursor:pointer;margin:0}
.radios input{width:18px;height:18px;accent-color:var(--purple)}
.radios label:has(input:checked){border-color:var(--purple);background:rgba(106,37,184,.1)}
.form-actions{margin-top:22px;display:flex;flex-direction:column;gap:10px}
.form-actions .btn{width:100%}
.hint{font-size:.9rem;color:var(--muted);margin:0}
.privacy{font-size:.88rem;color:var(--muted);margin:16px 0 0;padding-top:14px;border-top:1px solid var(--line)}
.preview{margin-top:22px;border:2px solid var(--wa);border-radius:16px;padding:18px;background:var(--bg-alt)}
.preview h3{font-size:1.35rem;margin-bottom:10px}
.preview pre{white-space:pre-wrap;word-break:break-word;font-family:var(--body);font-size:.98rem;background:var(--surface);border-radius:10px;padding:14px;margin:0 0 14px;border:1px solid var(--line)}
.preview .row{display:flex;flex-direction:column;gap:10px}
@media (min-width:600px){.preview .row{flex-direction:row}}

/* Dónde estamos */
.where{display:grid;gap:36px;align-items:center}
@media (min-width:900px){.where{grid-template-columns:1fr 1.1fr;gap:56px}}
.addr{margin:22px 0 22px;font-size:1.15rem}
.addr strong{display:block;font-size:1.25rem}
.contact{list-style:none;margin:0 0 8px;padding:0;display:grid;gap:6px}
.contact a{display:flex;align-items:center;gap:14px;min-height:48px;text-decoration:none;font-weight:600;overflow-wrap:anywhere}
.contact a:hover span{text-decoration:underline}
.contact .ic{flex:none;width:40px;height:40px;border-radius:12px;background:var(--bg-alt);display:grid;place-items:center;color:var(--text);border:1px solid var(--line)}
.contact .ic svg{width:20px;height:20px}
.map{background:var(--bg-alt);border-radius:22px;border:1px solid var(--line);overflow:hidden}
.map-placeholder{padding:18px}
.map-placeholder svg{width:100%;height:auto;color:var(--text)}
.map-placeholder p{margin:10px 4px 14px;font-size:.92rem;color:var(--muted)}
.map-actions{display:flex;flex-wrap:wrap;gap:10px}
.map iframe{display:block;width:100%;height:380px;border:0}

/* Pie */
.site-footer{background:var(--navy);color:#fff;padding:48px 0 40px}
.site-footer .wrap{display:grid;gap:22px}
@media (min-width:800px){.site-footer .wrap{grid-template-columns:auto 1fr;align-items:center}}
.site-footer .logo{height:46px;width:auto}
.copy{color:#D9D6EC;margin:14px 0 0}
.foot-right{display:flex;flex-direction:column;gap:12px}
@media (min-width:800px){.foot-right{align-items:flex-end}}
.foot-links{display:flex;flex-wrap:wrap;gap:0 18px}
.foot-links a{color:#fff;min-height:44px;display:inline-flex;align-items:center;font-weight:600}

/* WhatsApp siempre visible */
.wa-float{position:fixed;right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));width:62px;height:62px;border-radius:50%;background:var(--wa);color:#fff;display:none;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.28);z-index:50;border:3px solid #fff}
.wa-float svg{width:30px;height:30px}
.wa-bar{position:fixed;left:0;right:0;bottom:0;z-index:50;background:var(--navy);padding:10px var(--gutter);padding-bottom:calc(10px + env(safe-area-inset-bottom,0px));border-top:1px solid rgba(255,255,255,.12)}
.wa-bar .btn{width:100%}
body.has-wa-bar{padding-bottom:calc(72px + env(safe-area-inset-bottom,0px))}
@media (min-width:980px){
  .wa-bar{display:none}
  .wa-float{display:grid}
  body.has-wa-bar{padding-bottom:0}
}

/* Páginas legales */
.legal{padding:56px 0 80px}
.legal .wrap{max-width:780px}
.legal h1{font-size:clamp(2.2rem,7vw,3.4rem);margin-bottom:10px}
.legal h2{font-size:clamp(1.5rem,4vw,1.9rem);margin:40px 0 12px}
.legal p,.legal li{color:var(--muted)}
.legal strong{color:var(--text)}
.legal ul{padding-left:1.2em;margin:0 0 1em}
.legal li{margin-bottom:6px}
.legal .updated{font-size:.95rem}
.legal table{margin:8px 0 16px;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.legal td,.legal th{padding:10px 14px;font-size:.95rem}
.legal td:first-child{font-weight:700;color:var(--text)}
.table-scroll{overflow-x:auto}
@media (max-width:600px){.legal table,.legal tbody,.legal tr,.legal td{display:block;width:100%}.legal td:first-child{padding-bottom:0}.legal td+td{padding-top:4px}.legal table{min-width:0}}
.back{display:none;align-items:center;min-height:44px;color:#fff;font-weight:700;padding:0 8px;white-space:nowrap}
@media (min-width:700px){.back{display:inline-flex}}

/* Aparición al hacer scroll */
.js .reveal{opacity:0;transform:translateY(18px);transition:opacity .6s ease,transform .6s ease}
.js .reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.js .reveal{opacity:1;transform:none;transition:none}.faq summary::after{transition:none}}
