/* J&G v3: estilos según Figma (escritorio 1440 / móvil 390) */
:root {
    --ink: #1D3231;
    --ink-soft: #4D605E;
    --paper: #F6F1EF;
    --white: #FFFFFF;
    --lime: #E1FDA8;
    --sage: #C5D09B;
    --teal: #ABBDB8;
    --line-dark: #718781;
    --pad: max(24px, calc((100% - 1264px) / 2));
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; color: var(--ink); background: var(--paper); line-height: 1.5; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.only-m { display: none !important; }

/* Tipografía */
.t-inter { font-family: 'Inter', 'Figtree', sans-serif; }
.h1 { font-weight: 500; font-size: 78px; line-height: 1.02; letter-spacing: -0.04em; }
.h2 { font-weight: 500; font-size: 56px; line-height: 1.07; letter-spacing: -0.04em; }
.lead { font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.lead-l { font-size: 22px; line-height: 1.5; color: var(--ink-soft); }
.eyebrow { font-size: 16px; line-height: 1.5; }

/* Subrayado gestual: trazo corto en la misma posición que en Figma */
.mark { position: relative; display: block; width: 440px; max-width: 100%; height: 14px; }
.mark.w310 { width: 310px; }
.mark.w260 { width: 260px; }
.mark img { position: absolute; left: 42.36%; right: 32.78%; top: 65.22%; bottom: 9.57%; width: auto; height: auto; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 58px; padding: 0 32px; border-radius: 999px; background: var(--ink); color: var(--white); font-size: 18px; line-height: 1.5; white-space: nowrap; transition: background-color 0.2s, color 0.2s, transform 0.25s var(--ease); }
.btn:hover { background: #2C4645; transform: translateY(-2px); }
.btn-lime { background: var(--lime); color: var(--ink); border: 0.25px solid #569816; }
.btn-lime:hover { background: #EEFFC9; }

/* Navegación */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 239, 0.95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid #DFDFE5; padding: 12px var(--pad); }
.nav-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { width: 128px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 16px; line-height: 24px; }
.nav-links a, .nav-services { position: relative; padding: 8px 0; }
.nav-services { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 24px; }
.nav-services img { width: 12px; height: 12px; transition: transform 0.25s var(--ease); }
.nav-services[aria-expanded="true"] img { transform: rotate(180deg); }
.nav-links .is-active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sage); }
.nav-links a:hover::after, .nav-services:hover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sage); }
.nav .btn { height: 44px; padding: 0 22px; font-size: 16px; }
.nav-sub { display: flex; justify-content: center; gap: 32px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--teal); font-size: 16px; }
.nav-sub[hidden] { display: none; }
.nav-sub a { position: relative; padding-bottom: 6px; }
.nav-sub a.is-active { font-weight: 600; }
.nav-sub a.is-active::after, .nav-sub a:hover::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sage); }
.menu-toggle { display: none; width: 24px; height: 24px; }
.mobile-panel { display: none; position: fixed; inset: 0; z-index: 40; background: var(--paper); padding: 124px 24px 24px; flex-direction: column; overflow-y: auto; }
.mobile-panel.open { display: flex; }
.mobile-panel a { padding: 14px 0; font-size: 22px; border-bottom: 1px solid var(--teal); }
.mobile-panel a.sub { padding-left: 20px; font-size: 18px; color: var(--ink-soft); }

/* Hero */
.hero { padding: 80px var(--pad); }
.hero-grid { display: grid; grid-template-columns: 720px 1fr; gap: 48px; align-items: center; }
.hero-grid.home { grid-template-columns: 734px 1fr; gap: 40px; }
.hero-grid.rev { grid-template-columns: 500px 1fr; gap: 64px; }
.hero h1 { margin-bottom: 0; }
.hero .mark { margin-top: 28px; }
.hero .lead-l { margin: 28px 0; max-width: 680px; }
.hero-art { display: flex; justify-content: center; padding-top: 50px; }
.hero-art img { width: 496px; }
.hero-grid.rev .hero-art { padding-top: 0; }
.hero-grid.rev .hero-art img { width: 500px; }
.seals { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 48px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--teal); }
.seal { display: flex; gap: 16px; align-items: center; }
.ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; }
.ico img { width: 23px; height: 23px; }
.seal strong { display: block; font-weight: 600; font-size: 18px; line-height: 1.3; }
.seal span:not(.ico) { display: block; font-size: 16px; color: var(--ink-soft); }
.seals.sm strong { font-weight: 500; font-size: 16px; }
.seals.sm span:not(.ico) { font-size: 14px; }

/* Hero centrado (psicodélicos) */
.hero-c h1 { text-align: center; max-width: 1060px; margin: 0 auto; }
.hero-c-row { display: grid; grid-template-columns: 380px 1fr; gap: 100px; align-items: center; padding: 28px 120px 0; }
.hero-c-row .lead-l { margin: 0 0 28px; }

/* Bloques genéricos */
.sec { padding: 104px var(--pad); }
.bg-white { background: var(--white); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-teal { background: var(--teal); }
.two { display: grid; grid-template-columns: 510px 1fr; gap: 96px; align-items: start; }
.two.g64 { gap: 64px; }
.two.c { align-items: center; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { background: var(--paper); border: 1px solid var(--teal); border-radius: 4px; padding: 6px 10px; font-size: 14px; line-height: 1.3; }
.tags li.hl { background: var(--lime); }

/* Pasos (Cómo funciona) */
.how { padding: 104px 0; }
.how-head { display: grid; grid-template-columns: 510px 1fr; gap: 100px; align-items: end; padding: 0 var(--pad) 56px; }
.how-head.c { align-items: center; }
.how-head .mark { margin-top: 12px; }
.step { display: grid; grid-template-columns: 1fr 270px; gap: 72px; align-items: center; padding: 36px max(24px, calc((100% - 1144px) / 2)); border-top: 1px solid var(--teal); }
.step.alt { grid-template-columns: 270px 1fr; }
.step-text { display: flex; gap: 28px; align-items: flex-start; }
.step-num { font-size: 82px; line-height: 1; }
.step h3 { font-weight: 500; font-size: 32px; line-height: 1.15; letter-spacing: -0.03em; padding-top: 6px; margin-bottom: 14px; }
.step > img { width: 270px; }
.secure { display: flex; gap: 16px; align-items: center; padding-top: 20px; }
.secure strong { display: block; font-weight: 600; font-size: 18px; line-height: 1.5; }
.secure span:not(.ico) { display: block; font-size: 16px; color: var(--ink-soft); }

/* Qué incluye (banda oscura) */
.inc-head { display: grid; grid-template-columns: 800px 1fr; gap: 100px; align-items: center; margin-bottom: 64px; }
.inc-head img { width: 260px; justify-self: center; }
.inc-row { display: grid; grid-template-columns: 510px 1fr; gap: 80px; padding: 32px 0; border-top: 1px solid var(--teal); }
.inc-row h3 { display: flex; gap: 18px; font-weight: 400; font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
.inc-row h3::before { content: ''; flex: 0 0 22px; height: 2px; margin-top: 0.6em; background: var(--lime); }
.inc-row p { font-size: 18px; line-height: 1.55; }

/* Servicios del home */
.svc-head { display: grid; grid-template-columns: 510px 1fr; gap: 64px; align-items: center; margin-bottom: 64px; }
.svc-head p { font-size: 18px; line-height: 1.55; color: var(--white); }
.svc-head .h2 { color: var(--white); }
.svc-rows { display: flex; flex-direction: column; gap: 24px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.svc { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; color: var(--white); }
.svc-row + .svc-row .svc { border-top: 1px solid var(--line-dark); padding-top: 28px; }
.svc-art { width: 270px; height: 202.5px; display: flex; align-items: flex-start; }
.svc-art.s190 { width: 253px; height: 190px; }
.svc-art img { max-width: 100%; max-height: 100%; }
.svc h3 { font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.svc p { font-size: 18px; line-height: 1.55; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; line-height: 24px; }
.svc-link img { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.svc:hover .svc-link img { transform: translateX(4px); }

/* Doctores (home) */
.docs { display: grid; grid-template-columns: 430px 754px; gap: 80px; justify-content: space-between; }
.docs-intro { position: sticky; top: 96px; align-self: start; }
.docs-intro .h2 { font-size: 52.5px; line-height: 56px; letter-spacing: -0.04em; }
.docs-intro .plant { width: 320px; height: 302px; object-fit: contain; margin-top: 32px; }
.docs-intro .btn { margin-top: 24px; }
.doc-grid { position: relative; display: grid; grid-template-columns: 354px 354px; justify-content: space-between; align-items: start; }
.doc-col { display: flex; flex-direction: column; gap: 50px; }
.doc-col.first { padding-top: 160px; }
.doc-photo { height: 379px; background: var(--sage); border: 1.5px solid var(--ink); border-radius: 4px; overflow: hidden; display: grid; place-items: center; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.doc-photo img.icon { width: 111px; height: 111px; object-fit: contain; }
.doc h3 { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 500; font-size: 26px; line-height: 26px; letter-spacing: -0.03em; padding-top: 18px; }
.doc .dtags { display: flex; flex-wrap: wrap; gap: 6px; padding-top: 10px; }
.doc .dtags span { background: var(--lime); border: 1px solid var(--ink); border-radius: 4px; padding: 4px 9px; font-size: 12px; font-weight: 700; line-height: 18px; }
.doc p { padding-top: 10px; font-size: 15px; line-height: 23.25px; color: var(--ink-soft); }

/* Preguntas frecuentes */
.faq { display: grid; grid-template-columns: 430px 1fr; gap: 80px; }
.faq.g64 { gap: 64px; }
.faq-intro .mark { margin-top: 24px; }
.faq-intro .lead { padding: 20px 0 24px; }
.faq-intro .art { width: 320px; margin-top: 24px; }
.faq-item { border-top: 1px solid var(--teal); padding: 28px 0; }
.faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 24px; line-height: 1.25; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary img { flex: 0 0 20px; width: 20px; height: 20px; transition: transform 0.3s var(--ease); }
.faq-item:not([open]) summary img { transform: rotate(180deg); }
.faq-item p { padding-top: 16px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }

/* Llamado final */
.closing { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
.closing.sm { gap: 110px; align-items: center; padding-left: max(24px, calc((100% - 1144px) / 2)); padding-right: max(24px, calc((100% - 1144px) / 2)); padding-top: 88px; padding-bottom: 88px; }
.closing p { font-size: 18px; line-height: 1.55; margin: 24px 0; }
.closing img { width: 320px; }

/* Control de peso */
.checks { list-style: none; }
.checks li { display: flex; gap: 16px; align-items: flex-start; padding: 24px 0; border-top: 1px solid var(--teal); font-size: 22px; line-height: 1.35; }
.checks img { flex: 0 0 24px; width: 24px; height: 24px; }

/* Psicodélicos */
.stages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.stage { border-top: 1px solid var(--teal); padding-top: 28px; display: flex; flex-direction: column; gap: 24px; }
.stage-num { font-size: 72px; line-height: 1; }
.stage img { width: 290px; }
.stage h3 { font-weight: 400; font-size: 28px; line-height: 1.15; letter-spacing: -0.02em; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 48px; }
.pillar { border-top: 1px solid var(--teal); padding-top: 28px; }
.pillar h3 { font-weight: 400; font-size: 28px; line-height: 1.2; color: var(--lime); margin-bottom: 18px; }
.pillar p { font-size: 18px; line-height: 1.55; }

/* Nuestro equipo */
.filters { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--teal); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { background: var(--paper); border: 1px solid var(--teal); border-radius: 999px; padding: 10px 16px; font-size: 16px; line-height: 1.3; transition: background-color 0.2s, border-color 0.2s; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--lime); border-color: var(--ink); }
.filter-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 24px; }
.filter-meta p { font-size: 18px; color: var(--ink-soft); }
.clear { font-size: 16px; text-decoration: underline; text-underline-offset: 3px; }
.pros { background: var(--white); padding: 0 var(--pad) 104px; }
.pro { display: grid; grid-template-columns: 330px 1fr; gap: 80px; align-items: start; padding: 64px 0; border-top: 1px solid var(--teal); }
.pro:last-child { padding-bottom: 0; }
.pro[hidden] { display: none; }
.pro-id { display: flex; flex-direction: column; gap: 20px; }
.pro-photo { width: 330px; height: 360px; border: 1px solid var(--ink); background: var(--sage); overflow: hidden; display: grid; place-items: center; }
.pro-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.pro-photo img.icon { width: 88px; height: 88px; object-fit: contain; }
.pro-id h2 { font-weight: 500; font-size: 36px; line-height: 1.1; letter-spacing: -0.03em; }
.pro-id p { font-size: 18px; line-height: 1.4; color: var(--ink-soft); }
.pro-about { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }
.pro-about p { font-size: 18px; line-height: 1.55; color: var(--ink-soft); }
.pro-about .last { font-size: 28px; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }

/* Footer: hojas superpuestas */
.footer { background: var(--ink); color: var(--paper); padding: 0 var(--pad) 24px; border-top: 1px solid #DFDFE5; }
.f-grid { display: grid; grid-template-columns: 752px 456px; gap: 56px; min-height: 372px; justify-content: space-between; }
.f-sheets { position: relative; height: 372px; }
.f-sheet { position: absolute; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 4px; padding: 24px 28px; filter: drop-shadow(0 18px 15px rgba(0, 0, 0, 0.5)); font-size: 14px; line-height: 21.7px; }
.f-sheet.s1 { left: 0; top: -64px; width: 259px; }
.f-sheet.s2 { left: 238px; top: 21px; width: 251px; background: var(--white); }
.f-sheet.s3 { left: 478px; top: -18px; width: 251px; }
.f-sheet .logo { width: 140px; }
.f-sheet .txt { padding-top: 20px; width: 200px; }
.f-sheet .note { padding-top: 12px; font-size: 13px; line-height: 20.15px; color: var(--ink-soft); width: 200px; }
.f-sheet h4 { font-size: 13px; font-weight: 700; line-height: 20.15px; letter-spacing: 0.08em; text-transform: uppercase; }
.f-sheet h4 + a { padding-top: 12px; }
.f-sheet h4.mt { padding-top: 24px; margin-bottom: 8px; }
.f-sheet a { display: block; padding: 4px 0; }
.f-sheet a.sub { padding-left: 14px; font-size: 13px; line-height: 20.15px; color: var(--ink-soft); }
.f-sheet a:hover { text-decoration: underline; }
.f-claim { padding-top: 32px; }
.f-claim p { font-family: 'Bricolage Grotesque', sans-serif; font-size: 58px; line-height: 59.16px; letter-spacing: -0.03em; width: 456px; }
.f-claim .btn { margin-top: 32px; height: 56px; font-size: 16px; font-weight: 600; border: 0; }
.f-copy { text-align: center; font-size: 16px; line-height: 24px; padding-top: 16px; }

/* Footer: tarjetas planas */
.footer.flat { padding: 56px var(--pad) 24px; border-top: 0; }
.footer.flat .f-grid { display: flex; gap: 24px; min-height: 0; }
.footer.flat .f-sheets { display: contents; }
.footer.flat .f-sheet { position: static; filter: none; border: 0; border-radius: 0; padding: 24px; font-size: 16px; line-height: 1.3; background: var(--paper); }
.footer.flat .s1 { width: 300px; display: flex; flex-direction: column; gap: 20px; }
.footer.flat .s1 .logo { width: 153px; }
.footer.flat .s1 .txt { padding: 0; width: auto; font-size: 16px; line-height: 1.5; }
.footer.flat .s1 .note { padding: 0; width: auto; font-size: 14px; line-height: 1.5; }
.footer.flat .s2 { width: 250px; display: flex; flex-direction: column; gap: 14px; }
.footer.flat .s3 { width: 270px; display: flex; flex-direction: column; gap: 18px; line-height: 1.45; }
.footer.flat h4.hide-flat { display: none; }
.footer.flat h4 { font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.45; }
.footer.flat h4.mt { padding: 0; margin: 0; }
.footer.flat .f-sheet a, .footer.flat .f-sheet a.sub, .footer.flat h4 + a { padding: 0; font-size: 16px; color: var(--ink); line-height: inherit; }
.footer.flat .f-claim { flex: 1; padding-top: 32px; }
.footer.flat .f-claim p { font-family: 'Figtree', sans-serif; font-size: 42px; line-height: 1.07; letter-spacing: -0.04em; width: auto; }
.footer.flat .f-claim .btn { margin-top: 28px; height: 58px; font-size: 18px; font-weight: 400; border: 0.25px solid #569816; }
.footer.flat .f-copy { text-align: left; font-size: 14px; line-height: 1.4; padding-top: 40px; }

/* Aparición */
.reveal { opacity: 0; translate: 0 24px; transition: opacity 0.7s var(--ease), translate 0.7s var(--ease); }
.reveal.in { opacity: 1; translate: 0 0; }

/* ===== Tablet ===== */
@media (max-width: 1280px) {
    .hero-grid, .hero-grid.home { grid-template-columns: 1.4fr 1fr; }
    .inc-head { grid-template-columns: 1fr 260px; }
    .inc-row, .two { grid-template-columns: 1fr 1fr; gap: 48px; }
    .docs { grid-template-columns: 1fr; }
    .docs-intro { position: static; }
    .f-grid { grid-template-columns: 1fr; }
    .f-claim { padding-bottom: 32px; }
}

/* ===== Móvil (según Figma 390) ===== */
@media (max-width: 860px) {
    .only-d { display: none !important; }
    .only-m { display: revert !important; }
    img.only-m { display: block !important; }
    .nav { padding: 24px; }
    .nav-logo img { width: 153px; }
    .nav-links, .nav .btn, .nav-sub { display: none !important; }
    .menu-toggle { display: block; }
    .h1 { font-size: 44px; line-height: 1.07; letter-spacing: -0.03em; }
    .h2 { font-size: 40px; line-height: 1.1; letter-spacing: -0.03em; }
    .lead-l { font-size: 18px; line-height: 1.55; }
    .hero { padding: 48px 24px 64px; }
    .hero-grid, .hero-grid.home, .hero-grid.rev, .two, .two.g64, .how-head, .inc-head, .inc-row, .svc-head, .svc-row, .docs, .faq, .faq.g64, .closing, .closing.sm, .hero-c-row, .stages, .pillars, .pro, .f-grid { grid-template-columns: minmax(0, 1fr); }
    .hero-grid { gap: 0; }
    .hero-grid.rev .hero-art { order: 2; }
    .hero .mark { margin-top: 24px; }
    .hero .lead-l { margin: 24px 0 32px; }
    .btn { padding: 0 40px; }
    .hero-art { padding-top: 40px; justify-content: flex-start; }
    .hero-art img, .hero-grid.rev .hero-art img { width: 300px; }
    .seals { grid-auto-flow: row; gap: 24px; margin-top: 56px; padding-top: 32px; }
    .hero-c h1 { text-align: left; }
    .hero-c-row { padding: 40px 0 0; gap: 40px; }
    .hero-c-row > img { width: 220px; margin: 0 auto; }
    .hero-c-row .btn { width: 100%; }
    .eyebrow.only-m { margin-bottom: 40px; }
    .sec { padding: 80px 24px; }
    .two, .two.g64 { gap: 32px; }
    .tags { margin-top: 32px; }
    .how { padding: 80px 0 0; }
    .how-head { gap: 24px; padding: 0 24px 56px; }
    .step, .step.alt { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 40px 24px; }
    .step .step-text { order: 1; }
    .step > img { order: 2; width: 180px; margin-left: 8px; }
    .step-num { font-size: 48px; }
    .step h3 { font-size: 24px; padding-top: 4px; margin-bottom: 12px; }
    .step-text { gap: 16px; }
    .secure { padding-top: 24px; }
    .inc-head { gap: 40px; margin-bottom: 56px; }
    .inc-head img { width: 220px; }
    .inc-row { gap: 16px; }
    .inc-row h3 { font-size: 24px; }
    .inc-row p { font-size: 16px; }
    .svc-head { gap: 24px; margin-bottom: 40px; }
    .svc-rows, .svc-row { gap: 40px; }
    .svc { border-top: 1px solid var(--line-dark); padding-top: 28px; }
    .svc-row:first-child .svc:first-child { border-top: 0; padding-top: 0; }
    .svc-art, .svc-art.s190 { width: 220px; height: auto; }
    .svc h3 { font-size: 24px; }
    .svc p { font-size: 16px; }
    .docs { gap: 40px; }
    .docs-intro .h2 { font-size: 40px; line-height: 1.1; }
    .docs-intro .plant { display: none; }
    .doc-grid { display: flex; flex-direction: column; gap: 28px; }
    .doc-col, .doc-col.first { display: contents; }
    .doc { order: var(--o); display: grid; grid-template-columns: 80px minmax(0, 1fr); column-gap: 16px; align-items: start; }
    .doc .doc-photo { grid-row: 1 / 3; height: 80px; }
    .doc .doc-photo img.icon { width: 40px; height: 40px; }
    .doc h3 { padding-top: 0; font-size: 22px; line-height: 1.1; }
    .doc .dtags { grid-column: 2; }
    .doc p { grid-column: 1 / -1; padding-top: 12px; }
    .faq { gap: 40px; }
    .faq-intro .art { width: 230px; }
    .faq-item summary { font-size: 20px; line-height: 1.3; }
    .faq-item p { font-size: 16px; line-height: 1.75; }
    .closing, .closing.sm { gap: 40px; padding: 80px 24px; }
    .closing img { width: 230px; }
    .checks li { font-size: 19px; padding: 22px 0; }
    .stages, .pillars { gap: 40px; }
    .stage { gap: 32px; padding-top: 40px; }
    .stage-num { font-size: 48px; }
    .stage img { width: 180px; margin-left: 40px; }
    .stage h3, .pillar h3 { font-size: 24px; }
    .filters { margin-top: 40px; }
    .filter-meta { flex-direction: column; gap: 16px; }
    .pros { padding: 0 24px 80px; }
    .pro { gap: 24px; padding: 48px 0; }
    .pro-photo { width: 100%; height: 400px; }
    .pro-id h2 { font-size: 30px; }
    .pro-about .last { font-size: 22px; }
    /* footer móvil: tarjetas planas apiladas */
    .footer, .footer.flat { padding: 56px 24px 24px; border-top: 0; }
    .footer .f-grid, .footer.flat .f-grid { display: flex; flex-direction: column; gap: 24px; min-height: 0; }
    .footer .f-sheets { display: contents; }
    .footer .f-sheet { position: static; width: auto !important; filter: none; border: 0; border-radius: 0; padding: 24px; background: var(--paper); display: flex; flex-direction: column; font-size: 16px; line-height: 1.45; }
    .footer .s1 { gap: 20px; }
    .footer .s1 .logo { width: 153px; }
    .footer .s1 .txt { padding: 0; width: auto; font-size: 16px; line-height: 1.5; }
    .footer .s1 .note { padding: 0; width: auto; font-size: 14px; line-height: 1.5; }
    .footer .s2 { gap: 14px; }
    .footer .s3 { gap: 18px; }
    .footer h4.hide-flat { display: none; }
    .footer .f-sheet h4 { font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; line-height: 1.45; padding: 0; margin: 0; }
    .footer .f-sheet a, .footer .f-sheet a.sub, .footer .f-sheet h4 + a { padding: 0; font-size: 16px; color: var(--ink); line-height: 1.3; }
    .footer .f-claim { padding: 16px 0 0; }
    .footer .f-claim p { font-family: 'Figtree', sans-serif; font-size: 40px; line-height: 1.1; letter-spacing: -0.04em; width: auto; }
    .footer .f-claim .btn { margin-top: 28px; height: 58px; font-size: 18px; font-weight: 400; }
    .footer .f-copy { text-align: left; font-size: 14px; line-height: 1.4; padding-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; translate: 0 0; }
}

/* Variantes sin estilos en línea (para que el móvil no herede anchos de escritorio) */
.hero.tall { padding-top: 104px; padding-bottom: 104px; }
.hero-grid.team { grid-template-columns: 1fr 350px; }
.team-art { padding-top: 0; }
.team-art img { width: 350px; }
.two.w520 { grid-template-columns: 520px 1fr; }
@media (max-width: 860px) {
    .hero.tall { padding-top: 64px; padding-bottom: 64px; }
    .hero-grid.team, .two.w520 { grid-template-columns: minmax(0, 1fr); }
    .hero-grid.team .eyebrow { margin-bottom: 24px !important; }
    .team-art { padding-top: 40px; }
    .team-art img { width: 200px; }
    .hero-c .eyebrow.only-m { margin-bottom: 40px; }
}

/* Ilustraciones que se dibujan solas */
.ilus-box { position: relative; display: inline-block; vertical-align: top; max-width: 100%; }
.mark .ilus-box { position: absolute; inset: 0; display: block; }
.mark .ilus-box > img { position: absolute; }
.ilus-src { visibility: hidden; }
.ilus-draw { position: absolute; overflow: visible; }
.ilus-draw .blob { opacity: 0; transform: scale(0.88); transform-box: fill-box; transform-origin: center; }
.ilus-draw.in .blob { animation: ilusBlob 0.9s var(--ease) forwards; animation-delay: calc(var(--n) * 70ms + 0.5s); }
.ilus-draw.is-mark.in .ln { animation-duration: 0.9s; animation-delay: 0.3s; }
@keyframes ilusDraw { to { stroke-dashoffset: 0; } }
@keyframes ilusBlob { to { opacity: 1; transform: scale(1); } }
/* El contenedor animado conserva el tamaño y la posición de la imagen original */
.step > .ilus-box { width: 270px; }
.hero-c-row > .ilus-box { width: 380px; }
.step > .ilus-box > img, .hero-c-row > .ilus-box > img { width: 100%; }
.inc-head > .ilus-box { justify-self: center; }
.svc-art .ilus-box { max-height: 100%; }
.svc-art img { max-height: 202.5px; }
.svc-art.s190 img { max-height: 190px; }
@media (max-width: 860px) {
    .step > .ilus-box { order: 2; width: 180px; margin-left: 8px; }
    .hero-c-row > .ilus-box { width: 220px; margin: 0 auto; }
    .inc-head > .ilus-box { justify-self: start; }
}
/* Mancha pintada con brocha */
.ilus-draw .blob.paint { opacity: 1; transform: none; }
.ilus-draw.in .blob.paint { animation: none; }
.ilus-draw .brush { stroke-dasharray: 1; stroke-dashoffset: 1; }
.ilus-draw.in .brush { animation: ilusDraw 1.6s cubic-bezier(0.45, 0, 0.35, 1) forwards; animation-delay: 0.25s; }
.tratamos-art { width: 430px; }
@media (max-width: 860px) { .tratamos-art { width: 230px; } }
/* Subrayado: un trazo que se dibuja de izquierda a derecha, como en el referente */
.mark-anim img { clip-path: inset(0 100% 0 0); }
.mark-anim.in img { animation: markDraw 0.9s cubic-bezier(.65,0,.35,1) 0.3s forwards; }
@keyframes markDraw { to { clip-path: inset(0 0 0 0); } }
/* Botones de agendar: ícono de chat (se agenda por WhatsApp, sin formulario) */
.btn .ico-chat { flex: none; margin-right: 10px; }
.nav .btn .ico-chat { width: 18px; height: 18px; margin-right: 8px; }
.svc-link .ico-chat { width: 18px; height: 18px; vertical-align: -4px; }
/* Aviso de cookies (Ley 21.719) */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1000; max-width: 560px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 16px 20px; border-radius: 20px; background: var(--ink); color: var(--white); font-size: 15px; line-height: 1.45; box-shadow: 0 8px 30px rgba(29,50,49,.25); }
.cookies[hidden] { display: none; }
.cookies p { flex: 1 1 260px; margin: 0; }
.cookies-btns { display: flex; gap: 8px; }
.cookies button { height: 44px; padding: 0 20px; border-radius: 999px; font: inherit; font-weight: 600; cursor: pointer; border: 1px solid var(--lime); }
.cookies-no { background: transparent; color: var(--white); }
.cookies-si { background: var(--lime); color: var(--ink); }
