/* ==========================================================
   PAXO TAX — MAIN STYLESHEET
   File: assets/css/style.css
   ----------------------------------------------------------
   1. Design tokens (colors, fonts, sizes) — change brand colors here
   2. Base / typography
   3. Layout helpers
   4. Buttons
   5. Top bar + header + navigation
   6. Home: hero + tax calendar
   7. Sections (services, why, process, blog)
   8. Inner pages (page head, services list, blog, article)
   9. Forms (contact, reservation)
   10. CTA band + footer
   11. WhatsApp button + chatbot
   12. Responsive rules
   ========================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
    --blue:        #1238A8;   /* Main brand blue */
    --blue-dark:   #0B2472;
    --blue-soft:   #EAF0FB;
    --green:       #0E8A5F;   /* Accent green (actions, success) */
    --green-dark:  #0A6B49;
    --green-soft:  #E4F4EC;
    --black:       #000000;
    --text:        #17191E;
    --muted:       #5A6272;
    --line:        #D8DFEB;
    --white:       #FFFFFF;
    --danger:      #B42318;

    --font-head: "Newsreader", Georgia, "Times New Roman", serif;
    --font-body: "Public Sans", "Segoe UI", Arial, sans-serif;

    --container: 1180px;
    --radius-sm: 6px;
    --radius:    10px;
    --radius-lg: 16px;
    --shadow:    0 12px 32px -12px rgba(11, 36, 114, .28);
}

/* ---------- 2. Base / typography ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-dark); }
h1, h2, h3 {
    font-family: var(--font-head);
    font-weight: 600;
    line-height: 1.15;
    color: var(--black);
    margin: 0 0 .5em;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.lead-sm { color: var(--muted); margin: 0; }
.muted { color: var(--muted); font-weight: 400; }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--black); color: var(--white); padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.hp { position: absolute; left: -9999px; }   /* honeypot anti-spam field */

/* ---------- 3. Layout helpers ---------- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 760px; }
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section--tint { background: var(--blue-soft); }
.section__head { max-width: 640px; margin-bottom: 2.5rem; }
.section__head p { color: var(--muted); margin: 0; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }

/* ---------- 4. Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    padding: .85rem 1.5rem;
    font: 600 1rem/1.2 var(--font-body);
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; }
.btn--sm { padding: .55rem 1rem; font-size: .95rem; }
.btn--green { background: var(--green); color: var(--white); }
.btn--green:hover { background: var(--green-dark); color: var(--white); }
.btn--outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--blue-dark); }
.btn[disabled] { opacity: .65; cursor: progress; }
.link-more { font-weight: 600; color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* ---------- 5. Top bar + header ---------- */
.topbar { background: var(--black); color: #D5DAE3; font-size: .875rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar__contact { display: flex; gap: 1.5rem; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--white); }
.topbar svg { width: 15px; height: 15px; }
.lang-switch { display: flex; align-items: center; gap: .15rem; }
.lang-switch > svg { margin-right: .35rem; }
.lang-switch a { padding: .2rem .45rem; border-radius: 4px; font-weight: 600; letter-spacing: .02em; }
.lang-switch a.is-active { background: var(--green); color: var(--white); }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1.5rem; }
.brand img { width: 176px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.main-nav ul a { color: var(--text); text-decoration: none; font-weight: 500; padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav ul a:hover { color: var(--blue); }
.main-nav ul a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--green); }
.nav-toggle { display: none; background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--black); }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- 6. Hero + tax calendar ("ledger") ---------- */
.hero {
    padding: clamp(3rem, 7vw, 5.5rem) 0;
    background: var(--white) url("../images/hero-pattern.svg") repeat;
    border-bottom: 1px solid var(--line);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero__actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }

.ledger {
    background: var(--blue);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.75rem 1.4rem;
    box-shadow: var(--shadow);
}
.ledger__title { color: var(--white); font-size: 1.35rem; margin-bottom: 1.1rem; }
.ledger__list { list-style: none; margin: 0; padding: 0; }
.ledger__row { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid rgba(255,255,255,.18); }
.ledger__date {
    flex: 0 0 64px; height: 64px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: var(--white); color: var(--blue-dark);
    border-radius: var(--radius-sm);
    border-top: 5px solid var(--green);
    line-height: 1;
}
.ledger__date strong { font-family: var(--font-head); font-size: 1.7rem; }
.ledger__date small { font-size: .75rem; color: var(--muted); margin-top: .15rem; }
.ledger__label { font-weight: 600; display: flex; flex-direction: column; }
.ledger__label small { font-weight: 400; color: #C9D6F5; font-size: .9rem; }
.ledger__note { font-size: .85rem; color: #C9D6F5; margin: .8rem 0 0; padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.18); }

/* Page-load moment: the calendar rows arrive one after another */
@media (prefers-reduced-motion: no-preference) {
    .ledger__row { animation: rowIn .5s ease-out both; }
    .ledger__row:nth-child(2) { animation-delay: .12s; }
    .ledger__row:nth-child(3) { animation-delay: .24s; }
    .ledger__row:nth-child(4) { animation-delay: .36s; }
    @keyframes rowIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
}

/* ---------- 7. Home sections ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--black); }
.service-tile {
    display: block; padding: 2rem 1.75rem 2rem 0; text-decoration: none; color: inherit;
    border-bottom: 1px solid var(--line);
}
.service-tile:nth-child(3n+2), .service-tile:nth-child(3n) { padding-left: 1.75rem; border-left: 1px solid var(--line); }
.service-tile img { width: 52px; height: 52px; margin-bottom: 1rem; }
.service-tile h3 { margin-bottom: .35rem; }
.service-tile p { color: var(--muted); margin-bottom: .9rem; }
.service-tile:hover h3 { color: var(--blue); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-lg); }
.why-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.4rem; }
.why-list li { display: flex; gap: 1rem; }
.why-list__icon { flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--white); display: grid; place-items: center; }
.why-list__icon svg { width: 18px; height: 18px; }
.why-list h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.why-list p { margin: 0; color: var(--muted); }

.process { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.process__step { counter-increment: step; position: relative; padding-top: 1.25rem; border-top: 3px solid var(--blue); }
.process__step::before {
    content: counter(step);
    font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--green);
    display: block; margin-bottom: .6rem;
}
.process__step p { color: var(--muted); margin: 0; }

.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { padding: 1.25rem 1.35rem 1.5rem; }
.post-card h3 { font-size: 1.25rem; }
.post-card h3 a { color: var(--black); text-decoration: none; }
.post-card h3 a:hover { color: var(--blue); text-decoration: underline; }
.post-card p:last-child { color: var(--muted); margin: 0; font-size: .98rem; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem; font-size: .88rem; color: var(--muted); margin-bottom: .7rem; }
.tag { background: var(--green-soft); color: var(--green-dark); padding: .15rem .6rem; border-radius: 99px; font-weight: 600; text-decoration: none; }

/* ---------- 8. Inner pages ---------- */
.page-head { background: var(--blue); color: var(--white); padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
.page-head h1 { color: var(--white); }
.page-head .lead { color: #D3DEF8; margin: 0; }

.service-list { display: grid; gap: 0; }
.service-row {
    display: grid; grid-template-columns: 72px 1fr 1.2fr auto; gap: 1.5rem 2rem; align-items: start;
    padding: 2.25rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px;
}
.service-row:first-child { border-top: 2px solid var(--black); }
.service-row h2 { font-size: 1.6rem; margin-bottom: .3rem; }
.service-row__points { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.service-row__points li { display: flex; gap: .55rem; }
.service-row__points svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--green); margin-top: .25rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filters a { padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 99px; text-decoration: none; color: var(--text); font-weight: 500; }
.filters a:hover { border-color: var(--blue); color: var(--blue); }
.filters a[aria-current="page"] { background: var(--black); border-color: var(--black); color: var(--white); }
.empty { color: var(--muted); }

.article__head { padding: clamp(2.5rem, 6vw, 4rem) 0 2rem; background: var(--blue-soft); }
.back-link { display: inline-block; margin-bottom: 1.25rem; font-weight: 600; }
.back-link::before { content: "‹ "; }
.article__cover { width: 100%; border-radius: var(--radius); margin: 2rem 0; }
.prose { font-size: 1.1rem; line-height: 1.75; }
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.prose p { max-width: 70ch; }
.article__disclaimer { font-size: .92rem; color: var(--muted); border-left: 4px solid var(--green); padding: .75rem 1rem; background: var(--green-soft); margin: 2.5rem 0 4rem; }

.error-page { text-align: center; }
.error-page .lead { margin-inline: auto; margin-bottom: 2rem; }
.error-page__code { font-family: var(--font-head); font-size: 6rem; line-height: 1; color: var(--green); margin: 0; }

/* ---------- 9. Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-card h2 { font-size: 1.6rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin: 0 0 1.1rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; padding: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
    width: 100%; padding: .75rem .85rem;
    font: inherit; font-size: 1rem; color: var(--text);
    background: var(--white);
    border: 1.5px solid #B9C3D6; border-radius: var(--radius-sm);
}
textarea { resize: vertical; min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(18, 56, 168, .15); }
.is-invalid { border-color: var(--danger) !important; }
.segmented { display: flex; flex-wrap: wrap; gap: .5rem; }
.segmented label { margin: 0; font-weight: 500; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-block; padding: .6rem 1.1rem; border: 1.5px solid #B9C3D6; border-radius: var(--radius-sm); cursor: pointer; }
.segmented input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.segmented input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .92rem; color: var(--muted); margin: .4rem 0 1.4rem; }
.check input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--green); flex: none; }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius-sm); margin-bottom: 1.25rem; font-weight: 500; }
.alert--success { background: var(--green-soft); color: var(--green-dark); border-left: 4px solid var(--green); }
.alert--error { background: #FDECEA; color: var(--danger); border-left: 4px solid var(--danger); }

.info-card { background: var(--blue-soft); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.25rem); }
.info-card h2 { font-size: 1.45rem; }
.info-card__img { width: 100%; border-radius: var(--radius-sm); margin: 1.5rem 0; }
.info-card .info-card__img:first-child { margin-top: 0; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .9rem; }
.info-list svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--green); margin-top: .15rem; }
.info-list strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.info-list a { word-break: break-word; }
.steps-small { padding-left: 1.2rem; margin: 0 0 1.25rem; display: grid; gap: .6rem; }
.steps-small li::marker { color: var(--green); font-weight: 700; }
.info-card__contact a { display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; }
.info-card__contact svg { width: 22px; height: 22px; color: var(--green); }

/* ---------- 10. CTA band + footer ---------- */
.cta-band { background: var(--blue-dark); color: var(--white); padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: var(--white); margin-bottom: .3rem; }
.cta-band p { color: #C9D6F5; margin: 0; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

.site-footer { background: var(--black); color: #B8BFCC; padding-top: 4rem; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__about img { width: 176px; margin-bottom: 1rem; }
.site-footer__title { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; letter-spacing: 0; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: #D5DAE3; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__list--icons li { display: flex; gap: .6rem; align-items: flex-start; }
.site-footer__list--icons svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--green); margin-top: .2rem; }
.site-footer__list--icons a { word-break: break-word; }
.social { list-style: none; padding: 0; margin: 0; display: flex; gap: .6rem; }
.social a {
    width: 44px; height: 44px; border-radius: 50%;
    display: grid; place-items: center;
    background: #1B1D22; color: var(--white);
    transition: background-color .15s;
}
.social a:hover { background: var(--green); text-decoration: none; }
.social svg { width: 20px; height: 20px; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid #23262D; padding: 1.25rem 0; font-size: .875rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- 11. WhatsApp button + chatbot ---------- */
.wa-float {
    position: fixed; left: 20px; bottom: 20px; z-index: 80;
    width: 56px; height: 56px; border-radius: 50%;
    background: #25D366; color: var(--white);
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float:hover { color: var(--white); background: #1EBE5A; }
.wa-float svg { width: 30px; height: 30px; }

.chatbot { position: fixed; right: 20px; bottom: 20px; z-index: 90; }
.chatbot__launcher {
    width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--blue); color: var(--white);
    display: grid; place-items: center;
    box-shadow: 0 8px 24px rgba(11, 36, 114, .4);
}
.chatbot__launcher:hover { background: var(--blue-dark); }
.chatbot__launcher svg { width: 28px; height: 28px; }
.chatbot__launcher-close { display: none; }
.chatbot.is-open .chatbot__launcher-open { display: none; }
.chatbot.is-open .chatbot__launcher-close { display: block; }

.chatbot__panel {
    position: absolute; right: 0; bottom: 76px;
    width: min(380px, calc(100vw - 32px));
    height: min(560px, calc(100vh - 120px));
    background: var(--white); border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px -12px rgba(0,0,0,.35);
    display: flex; flex-direction: column; overflow: hidden;
}
.chatbot__panel[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
    .chatbot__panel:not([hidden]) { animation: panelIn .2s ease-out; }
    @keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
.chatbot__head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem; background: var(--blue); color: var(--white); }
.chatbot__head img { border-radius: 50%; }
.chatbot__head h2 { font: 700 1rem/1.2 var(--font-body); color: var(--white); margin: 0; letter-spacing: 0; }
.chatbot__head p { margin: 0; font-size: .8rem; color: #C9D6F5; }
.chatbot__close { margin-left: auto; background: none; border: 0; color: var(--white); cursor: pointer; padding: .25rem; }
.chatbot__close svg { width: 22px; height: 22px; }
.chatbot__log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: #F6F8FC; }
.msg { max-width: 85%; padding: .65rem .9rem; border-radius: 14px; font-size: .95rem; line-height: 1.45; white-space: pre-line; word-wrap: break-word; }
.msg--bot { background: var(--white); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--user { background: var(--blue); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--ok { background: var(--green-soft); border-color: #BFE3D1; color: var(--green-dark); }
.msg a { font-weight: 600; }
.msg--typing { color: var(--muted); font-style: italic; }
.chatbot__chips { display: flex; flex-wrap: wrap; gap: .4rem; padding: .6rem 1rem; background: #F6F8FC; }
.chatbot__chips:empty { display: none; }
.chip { border: 1.5px solid var(--blue); background: var(--white); color: var(--blue); border-radius: 99px; padding: .4rem .85rem; font: 500 .88rem var(--font-body); cursor: pointer; }
.chip:hover { background: var(--blue); color: var(--white); }
.chatbot__form { display: flex; border-top: 1px solid var(--line); }
.chatbot__form input { border: 0; border-radius: 0; padding: .95rem 1rem; }
.chatbot__form input:focus { box-shadow: none; }
.chatbot__form button { border: 0; background: var(--green); color: var(--white); padding: 0 1.1rem; cursor: pointer; }
.chatbot__form button:disabled, .chatbot__form input:disabled { background: #EEF1F6; color: #9AA3B2; cursor: not-allowed; }
.chatbot__form svg { width: 20px; height: 20px; }

/* ---------- 12. Responsive ---------- */
@media (max-width: 1024px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .service-row { grid-template-columns: 64px 1fr; }
    .service-row__points, .service-row .btn { grid-column: 2; justify-self: start; }
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .main-nav {
        position: absolute; left: 0; right: 0; top: 100%;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--white); border-bottom: 1px solid var(--line);
        padding: .5rem 1.25rem 1.25rem;
        display: none;
    }
    .main-nav.is-open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); }
    .main-nav ul a[aria-current="page"] { border-bottom-color: var(--line); box-shadow: inset 4px 0 0 var(--green); padding-left: .8rem; }
    .main-nav__cta { margin-top: 1rem; }

    .hero__grid, .split, .form-layout { grid-template-columns: 1fr; }
    .split__media { order: 2; }
    .services-grid { grid-template-columns: 1fr 1fr; }
    .service-tile, .service-tile:nth-child(3n+2), .service-tile:nth-child(3n) { padding: 1.75rem 1.25rem 1.75rem 0; border-left: 0; }
    .service-tile:nth-child(2n) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
    .process, .posts-grid { grid-template-columns: 1fr; }
    .posts-grid { max-width: 560px; }
}

@media (max-width: 600px) {
    body { font-size: 1rem; }
    .topbar__mail span { display: none; }   /* keep only the icon on phones */
    .services-grid { grid-template-columns: 1fr; }
    .service-tile, .service-tile:nth-child(2n) { padding: 1.5rem 0; border-left: 0; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .site-footer__grid { grid-template-columns: 1fr; }
    .service-row { grid-template-columns: 1fr; }
    .service-row__points, .service-row .btn { grid-column: 1; }
    .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
    .wa-float { width: 52px; height: 52px; left: 14px; bottom: 14px; }
    .chatbot { right: 14px; bottom: 14px; }
}
