/* CreSer · sitio público
   Sistema de formas: botones en píldora, fotos en arco (parte superior redonda),
   fotos anchas y paneles con radio 28px, campos con radio 14px. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-style: normal; font-display: swap; }

:root {
    color-scheme: light dark;
    --bg: #f5f8f1;
    --surface: #ffffff;
    --tint: #e9f0df;
    --ink: #15261c;
    --muted: #4c5d52;
    --line: #d3ddc7;
    --primary: #2b6544;
    --primary-hover: #1d4a31;
    --on-primary: #ffffff;
    --link: #2b6544;
    --leaf: #a0c078;
    --forest: #17321f;
    --forest-deep: #10261a;
    --brote: #c7e08f;
    --danger: #a3372b;
    --field-line: #aab9a3;
    --wa: #167a46;
    --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --r-img: 28px;
    --r-field: 14px;
    --tree-filter: none;
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0f1a13;
        --surface: #16241b;
        --tint: #14221a;
        --ink: #e8f0e3;
        --muted: #a9baac;
        --line: #284034;
        --primary: #b9d884;
        --primary-hover: #cfe7a3;
        --on-primary: #12261a;
        --link: #b9d884;
        --field-line: #4d6757;
        --tree-filter: invert(1) brightness(1.2);
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 var(--body); }
img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.08; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); letter-spacing: -.035em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--primary); color: var(--on-primary); padding: 10px 16px; border-radius: 999px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
.lead { font-size: 1.22rem; color: var(--muted); max-width: 30em; }
.section-sub { color: var(--muted); max-width: 38em; font-size: 1.1rem; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 12px 26px; border-radius: 999px; border: 2px solid transparent; font: 650 1rem var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-ghost { background: transparent; color: var(--link); border-color: var(--primary); }
.btn-ghost:hover { background: var(--primary); color: var(--on-primary); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #12643a; }
.btn-small { min-height: 42px; padding: 8px 20px; font-size: .95rem; }
.link { font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--leaf); padding-bottom: 1px; }
.link:hover { border-bottom-color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.8rem; }

/* Cabecera */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 94%, transparent); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark { height: 48px; width: auto; flex: none; filter: var(--tree-filter); }
.brand-logo { height: 48px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font: 700 1.65rem var(--display); letter-spacing: -.03em; color: var(--ink); }
.brand-text strong b { color: var(--primary); font-weight: 700; }
.brand-text small { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 13px; border-radius: 999px; font-weight: 550; font-size: .97rem; }
.nav a:hover { background: var(--tint); }
.nav a.btn { color: #fff; margin-left: 8px; }
.nav a.btn:hover { background: #12643a; }
.nav-toggle { display: none; background: none; border: 0; width: 46px; height: 46px; border-radius: 12px; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.tint { background: var(--tint); }

/* Inicio */
.hero { position: relative; overflow: hidden; padding: clamp(36px, 6vw, 72px) 0 clamp(44px, 6vw, 80px); }
.hero-tree { position: absolute; right: -6%; top: -4%; height: 118%; width: auto; max-width: none; opacity: .07; filter: var(--tree-filter); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 40px; align-items: center; }
.hero-photo { margin: 0; width: min(100%, 440px); justify-self: center; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 999px 999px var(--r-img) var(--r-img); }
.hero-copy h1 { max-width: 14em; }

.stats { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; padding: 22px 0 0; margin: 2.4rem 0 0; border-top: 1px solid var(--line); }
.stats li { display: flex; flex-direction: column; }
.stats strong { font: 700 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--display); letter-spacing: -.03em; color: var(--primary); }
.stats span { color: var(--muted); font-size: .92rem; }

/* Nosotros */
.about-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.8rem); letter-spacing: -.035em; line-height: 1.04; max-width: 16em; }
.about-cols { display: grid; gap: 32px; margin-top: 1.6rem; align-items: start; }
.about-body { max-width: 34em; font-size: 1.1rem; margin-bottom: 1.8rem; }
.about-photo { margin: 0; width: min(100%, 400px); justify-self: center; }
.about-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; border-radius: var(--r-img); }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checks li { position: relative; padding: 18px 0 18px 40px; font: 600 1.12rem var(--display); letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50% 0 50% 0; background: var(--leaf); }

/* Terapias: sin tarjetas, fotos en arco y cuadrícula escalonada */
.therapies { display: grid; gap: 44px 28px; margin-top: 2.6rem; grid-template-columns: 1fr; }
.therapy { display: flex; flex-direction: column; }
.arch { display: block; margin: 0 0 18px; overflow: hidden; border-radius: 999px 999px var(--r-img) var(--r-img); background: var(--tint); }
.arch img { display: block; width: 100%; height: auto; aspect-ratio: 1/1.12; object-fit: cover; object-position: center 30%; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.therapy:hover .arch img { transform: scale(1.045); }
.therapy h3 { margin-bottom: .35em; }
.therapy p { color: var(--muted); flex: 1; max-width: 30em; }
.therapy .link { align-self: flex-start; }
.therapy.plain { padding-top: 22px; border-top: 2px solid var(--leaf); }

/* Video */
.video, .map iframe { position: relative; border-radius: var(--r-img); overflow: hidden; border: 1px solid var(--line); background: var(--tint); }
.video { aspect-ratio: 16/9; margin: 1.6rem 0; }
.video iframe { width: 100%; height: 100%; border: 0; }
.video video { display: block; width: 100%; height: 100%; object-fit: contain; background: #000; }

/* Proceso: una línea que crece paso a paso */
.steps { list-style: none; counter-reset: paso; padding: 0; margin: 3rem 0 0; display: grid; gap: 36px 28px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps li { counter-increment: paso; position: relative; padding: 68px 0 0; }
.steps li::before { content: counter(paso); position: absolute; top: 0; left: 0; z-index: 1; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; background: var(--primary); color: var(--on-primary); font: 700 1.2rem var(--display); }
.steps li::after { content: ""; position: absolute; top: 22px; left: 54px; right: -28px; height: 2px; background: repeating-linear-gradient(90deg, var(--leaf) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps p { color: var(--muted); max-width: 22em; }

/* Fundador */
.founder { display: grid; gap: 40px; align-items: center; }
.founder-photo { position: relative; margin: 0; width: min(100%, 400px); justify-self: center; }
.founder-photo::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: var(--r-img); background: var(--leaf); opacity: .55; }
.founder-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-img); }
.role { color: var(--primary); font-weight: 650; margin-top: -.3em; font-size: 1.08rem; }
.founder-text p { max-width: 34em; }
blockquote { margin: 1.8rem 0 0; font: 600 clamp(1.3rem, 2.4vw, 1.8rem)/1.28 var(--display); letter-spacing: -.02em; color: var(--primary); text-wrap: balance; }

/* Testimonios (se muestran solo si hay) */
.quotes { display: grid; gap: 36px 40px; margin-top: 2.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.quote { margin: 0; padding-top: 22px; border-top: 2px solid var(--leaf); }
.quote blockquote { margin: 0; font: 500 1.2rem/1.45 var(--display); color: var(--ink); }
.quote figcaption { color: var(--muted); font-size: .95rem; font-weight: 600; margin-top: .8rem; }

/* Preguntas */
.faq { margin-top: 1.8rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font: 600 1.2rem var(--display); letter-spacing: -.01em; padding: 22px 44px 22px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 11px; height: 11px; margin-top: -9px; border-right: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { color: var(--muted); margin: 0 0 1.2em; max-width: 40em; }

/* Ubicación */
.where { display: grid; gap: 32px; margin: 2rem 0 0; }
.where h3 { font-size: 1.05rem; margin-bottom: .4em; color: var(--primary); }
address { font-style: normal; }
.plain { list-style: none; padding: 0; margin: 0; }
.note { color: var(--muted); font-size: .98rem; margin-top: .6rem; }
.map { margin-top: 2.2rem; }
.map iframe { width: 100%; height: 380px; border: 0; }

/* Contacto: el cierre en verde bosque */
.contact { background: var(--forest); color: #e7f0e0; }
.contact h2 { color: #fff; font-size: clamp(2.1rem, 4.2vw, 3.3rem); letter-spacing: -.035em; }
.contact .lead, .contact p { color: #cfe0c9; }
.contact .link { color: #fff; border-bottom-color: var(--brote); }
.contact .btn-wa { background: var(--brote); color: #14301f; }
.contact .btn-wa:hover { background: #d9edaa; }
.contact .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.contact .btn-ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }
.contact :focus-visible { outline-color: var(--brote); }
.two { display: grid; gap: 44px; }
.contact-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 14px; justify-items: start; }

/* Formulario (panel claro dentro del bloque verde) */
.form { --ink: #15261c; --muted: #4c5d52; --line: #d3ddc7; --primary: #2b6544; --on-primary: #fff; --primary-hover: #1d4a31; --field-line: #aab9a3; background: #f7faf3; color: var(--ink); border-radius: var(--r-img); padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; align-content: start; }
.form p { color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 650; font-size: .95rem; color: var(--ink); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 15px; border: 1.5px solid var(--field-line); border-radius: var(--r-field); background: #fff; font: inherit; color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(43, 101, 68, .35); border-color: var(--primary); }
.field.check label { font-weight: 400; display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.field.check a { color: var(--primary); }
.field.check input { margin-top: .3em; width: 18px; height: 18px; flex: none; accent-color: var(--primary); }
.field-error { color: var(--danger); font-size: .88rem; margin: 0; }
.field-error:empty { display: none; }
.field [aria-invalid="true"] { border-color: var(--danger); }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin: 0; padding: 14px 16px; border-radius: var(--r-field); font-weight: 550; }
.alert.ok { background: #e1f1d3; color: #17451f; }
.alert.error { background: #fbe7e4; color: var(--danger); }
.small-note { font-size: .85rem; margin: 0; }
.form .btn[disabled] { opacity: .6; cursor: wait; }

.prose p { max-width: 42em; }

/* Pie */
.site-footer { background: var(--forest-deep); color: #d5e5cf; padding: 44px 0; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.footer-logo { height: 52px; width: auto; margin-bottom: 12px; }
.footer-brand { font: 650 1.4rem var(--display); letter-spacing: -.02em; margin: 0; color: #fff; }
.footer-tag { margin: .2rem 0 0; color: #b9cfb2; }
.footer-links { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; }
.footer-links a { color: #fff; }

/* Chat CreSi */
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 60; }
.chat-fab { display: flex; align-items: center; gap: 10px; background: var(--primary); color: var(--on-primary); border: 0; padding: 14px 22px; border-radius: 999px; font: 650 .98rem var(--body); cursor: pointer; box-shadow: 0 10px 28px rgba(16, 38, 26, .35); transition: transform .15s, background .2s; }
.chat-fab:hover { background: var(--primary-hover); }
.chat-fab:active { transform: scale(.97); }
.chat-panel { position: absolute; right: 0; bottom: 64px; width: min(380px, calc(100vw - 28px)); max-height: min(560px, calc(100vh - 110px)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-img); box-shadow: 0 24px 60px rgba(16, 38, 26, .28); display: flex; flex-direction: column; overflow: hidden; }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; justify-content: space-between; align-items: center; background: var(--forest); color: #fff; padding: 14px 18px; }
.chat-head div { display: flex; flex-direction: column; line-height: 1.2; }
.chat-head strong { font-family: var(--display); font-size: 1.1rem; }
.chat-head small { opacity: .85; font-size: .8rem; }
.chat-head button { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px -10px -8px 0; background: none; border: 0; color: #fff; border-radius: 50%; cursor: pointer; padding: 0; }
.chat-head button:hover { background: rgba(255, 255, 255, .12); }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); min-height: 200px; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; font-size: .96rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.bot { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg.me { background: var(--primary); color: var(--on-primary); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg.typing { display: flex; gap: 5px; align-items: center; padding: 14px 16px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .45; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.chat-chips button { background: var(--surface); color: var(--primary); border: 1.5px solid var(--leaf); border-radius: 999px; padding: 9px 15px; min-height: 40px; font: 600 .92rem var(--body); cursor: pointer; text-align: left; }
.chat-chips button:hover { border-color: var(--primary); }
.chat-chips button:active { transform: scale(.97); }
.msg a { color: inherit; font-weight: 650; }
.chat-note { margin: 0; padding: 8px 14px; font-size: .75rem; color: var(--muted); background: var(--tint); }
.chat-note a { color: var(--primary); font-weight: 650; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chat-form input { flex: 1; min-width: 0; min-height: 44px; border: 1.5px solid var(--field-line); border-radius: 999px; padding: 0 16px; font: inherit; background: var(--bg); color: var(--ink); }
.chat-form button { background: var(--primary); color: var(--on-primary); border: 0; border-radius: 999px; padding: 0 18px; font: 650 .95rem var(--body); cursor: pointer; }
.chat-form button[disabled] { opacity: .6; }

@media (prefers-reduced-motion: no-preference) {
    @keyframes punto { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
    .msg.typing i { animation: punto 1.2s infinite; }
    .msg.typing i:nth-child(2) { animation-delay: .15s; }
    .msg.typing i:nth-child(3) { animation-delay: .3s; }
}

/* Entrada de la portada: un solo momento orquestado */
@media (prefers-reduced-motion: no-preference) {
    @keyframes subir { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
    @keyframes abrir { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
    .hero-copy > * { animation: subir .8s cubic-bezier(.16, 1, .3, 1) both; }
    .hero-copy > :nth-child(2) { animation-delay: .1s; }
    .hero-copy > :nth-child(3) { animation-delay: .2s; }
    .hero-copy > :nth-child(4) { animation-delay: .3s; }
    .hero-photo { animation: abrir 1s cubic-bezier(.16, 1, .3, 1) .15s both; }
}

/* Pantallas medianas y grandes */
@media (max-width: 599px) {
    .arch img { aspect-ratio: 1/.9; }
    /* Chat en teléfono: hoja a pantalla completa que sigue al área visible cuando sale el teclado */
    .chat-panel { position: fixed; top: var(--vvt, 0px); left: 0; right: 0; bottom: auto; width: 100%; height: var(--vvh, 100dvh); max-height: none; border: 0; border-radius: 0; box-shadow: none; }
    .chat-head { padding: calc(14px + env(safe-area-inset-top)) 18px 14px; }
    .chat-log { min-height: 0; padding: 16px 14px; }
    .msg { font-size: 1rem; max-width: 90%; }
    .chat-form { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
    .chat-form input { font-size: 1rem; min-height: 48px; }
    .chat-form button { min-height: 48px; padding: 0 22px; }
    .chat.kb .chat-note { display: none; }
    .chat-panel:not([hidden]) ~ .chat-fab, .chat:has(.chat-panel:not([hidden])) .chat-fab { display: none; }
    html.chat-open { overflow: hidden; }
}
@media (min-width: 600px) and (max-width: 899px) { .therapies { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.3fr .7fr; gap: 56px; }
    .hero-photo { justify-self: end; }
    .about-cols { gap: 72px; }
    .about-cols.with-photo { grid-template-columns: 1fr 400px; }
    .about-cols.with-photo .about-photo { justify-self: end; }
    .where { grid-template-columns: 1fr 1fr 1.2fr; gap: 48px; }
    .two { grid-template-columns: 1fr 1.05fr; align-items: start; gap: 72px; }
    .founder { grid-template-columns: 400px 1fr; gap: 80px; }
    .founder:not(:has(.founder-photo)) { grid-template-columns: 1fr; max-width: 800px; }
    .therapies { grid-template-columns: repeat(3, 1fr); }
    .therapy:nth-child(3n + 2) { margin-top: 56px; }
}

@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nav.open { animation: none; } }

/* Teléfonos y tabletas */
@media (max-width: 899px) {
    .nav-toggle { display: block; }
    .site-header.menu-open { background: var(--bg); }
    .nav { position: fixed; top: 73px; left: 0; right: 0; bottom: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; background: var(--bg); padding: 12px 24px calc(28px + env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; display: none; }
    .nav.open { display: flex; animation: menu-in .22s ease-out; }
    .nav a { padding: 18px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font: 600 1.55rem/1.2 var(--display); letter-spacing: -.015em; }
    .nav a:hover { background: none; }
    .nav a:active { color: var(--primary); }
    .nav a.btn { margin: 28px 0 0; padding: 17px 24px; border-bottom: 0; border-radius: 999px; font: 650 1.05rem var(--body); letter-spacing: 0; justify-content: center; text-align: center; }
    html.menu-open { overflow: hidden; }
    html.menu-open .chat { display: none; }
    .link { display: inline-flex; align-items: center; min-height: 44px; }
    .therapy .link { align-self: flex-start; }
    .footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
    .chat-head button { min-width: 44px; min-height: 44px; }
    .chat-fab span { display: none; }
    .chat-fab { padding: 15px; }
    .hero-tree { height: 70%; right: -22%; top: 2%; }
    .steps li::after { display: none; }
    .steps { gap: 28px; }
    .steps li { padding: 0 0 0 66px; min-height: 52px; }
    .steps li:not(:last-child)::after { display: block; top: 52px; bottom: -22px; left: 22px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--leaf) 0 8px, transparent 8px 14px); }
}
@media (max-width: 520px) {
    body { font-size: 16.5px; }
    .actions .btn { width: 100%; }
    .btn { white-space: normal; }
    .map iframe { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}
.actions.flush { margin-top: 0; }
.hero-tree { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 96%); mask-image: linear-gradient(180deg, #000 55%, transparent 96%); }
@media (max-width: 599px) { .arch img { aspect-ratio: 1/1; } }
