/* ==========================================================================
   KINETRY — Physiotherapy & Rehabilitation template
   Design tokens + shared components + page blocks
   ========================================================================== */

:root {
    --ink: #203b34;
    --ink-deep: #14261f;
    --ink-soft: #2f5348;
    --bg: #f5f2ea;
    --bg-warm: #efeade;
    --surface: #ffffff;
    --line: #e2dbcb;
    --line-strong: #cfc6b2;
    --muted: #6d7c74;
    --muted-light: #93a09a;
    --sage: #e5ece2;
    --sage-deep: #cfdccc;
    --display: "Bebas Neue", "Oswald", "Haettenschweiler", "Arial Narrow", sans-serif;
    --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 22px;
    --shadow-sm: 0 4px 14px rgba(24, 44, 37, .05);
    --shadow: 0 18px 48px rgba(24, 44, 37, .09);
    --container: 1200px;
    --ease: cubic-bezier(.22, .61, .36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }

h1, h2, .display {
    font-family: var(--display);
    text-transform: uppercase;
    line-height: .94;
    letter-spacing: .012em;
    color: var(--ink);
}

h1 { font-size: clamp(44px, 5.4vw, 82px); }
h2 { font-size: clamp(34px, 4.1vw, 58px); }
h3 { font-size: clamp(24px, 2.4vw, 32px); font-family: var(--display); text-transform: uppercase; letter-spacing: .012em; line-height: 1.02; }
h4 { font-family: var(--sans); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section { padding: 96px 0; }
.section--tight { padding: 56px 0; }
.section--top-flush { padding-top: 24px; }
.section--warm { background: var(--bg-warm); }
.section--white { background: var(--surface); }
.section--ink { background: var(--ink); color: #eef2ea; }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #f7f5ee; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--ink-soft);
}

.eyebrow--plain {
    border: 0;
    background: transparent;
    padding: 0;
    color: var(--muted);
}

.eyebrow--light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .24); color: #f2f4ee; }

.lead { font-size: 17px; color: var(--muted); line-height: 1.7; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.section-head__title { max-width: 640px; }
.section-head__title h2 { margin-top: 18px; }
.section-head__aside { max-width: 380px; }

/* ---------------------------------- buttons -------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 17px 30px;
    border: 1px solid var(--ink);
    border-radius: 9px;
    background: var(--ink);
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.btn:hover { background: var(--ink-deep); border-color: var(--ink-deep); transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--ink-soft); outline-offset: 3px; }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: #e5ece2; border-color: #e5ece2; color: var(--ink); }

.btn--sm { padding: 13px 22px; font-size: 11.5px; }
.btn--block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink);
    border-bottom: 1px solid transparent;
    transition: border-color .2s var(--ease), gap .2s var(--ease);
}

.link-arrow:hover { border-color: var(--ink); gap: 14px; }
.link-arrow svg { width: 14px; height: 14px; }

/* ---------------------------------- header --------------------------------- */
.site-header { position: sticky; top: 0; z-index: 80; padding: 16px 0 0; }

.nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 12px 11px 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 10px 34px rgba(24, 44, 37, .06);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 26px; height: 26px; color: var(--ink); flex: none; }
.brand__name { font-family: var(--display); font-size: 27px; letter-spacing: .06em; line-height: 1; color: var(--ink); }
.brand__sub { display: none; }

.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-link { font-size: 15px; color: #2c473e; transition: color .2s var(--ease); }
.nav-link:hover, .nav-link.is-current { color: var(--ink-deep); }
.nav-link.is-current { font-weight: 500; }

.nav-drop { position: relative; }
.nav-drop__toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: none;
    color: #2c473e;
    font-size: 15px;
    cursor: pointer;
}
.nav-drop__toggle svg { width: 11px; height: 11px; transition: transform .2s var(--ease); }
.nav-drop__panel {
    display: none;
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%);
    width: 470px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
}
.nav-drop:hover .nav-drop__panel,
.nav-drop:focus-within .nav-drop__panel { display: grid; }
.nav-drop:hover .nav-drop__toggle svg,
.nav-drop:focus-within .nav-drop__toggle svg { transform: rotate(180deg); }
.nav-drop__group-label {
    padding: 6px 10px;
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted-light);
}
.nav-drop__link { display: block; padding: 9px 10px; border-radius: 8px; font-size: 14.5px; color: #2c473e; }
.nav-drop__link:hover { background: var(--bg); color: var(--ink-deep); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    cursor: pointer;
    color: var(--ink);
}
.nav-toggle__box { display: block; width: 19px; height: 13px; position: relative; }
.nav-toggle__box span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .25s var(--ease), opacity .2s var(--ease), top .25s var(--ease);
}
.nav-toggle__box span:nth-child(1) { top: 0; }
.nav-toggle__box span:nth-child(2) { top: 5.5px; }
.nav-toggle__box span:nth-child(3) { top: 11px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { top: 5.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { top: 5.5px; transform: rotate(-45deg); }

.nav-drawer {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.nav-drawer.is-open { display: block; }
.nav-drawer__link {
    display: block;
    padding: 13px 12px;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
    color: var(--ink);
}
.nav-drawer__label {
    padding: 16px 12px 8px;
    font-size: 10.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted-light);
}
.nav-drawer__sub { display: block; padding: 11px 12px 11px 24px; font-size: 15px; color: var(--muted); }
.nav-drawer__sub:hover { color: var(--ink); }
.nav-drawer .btn { margin-top: 16px; }

/* ----------------------------------- hero ---------------------------------- */
.hero { padding: 52px 0 78px; }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 54px; align-items: center; }
.hero__copy { max-width: 560px; }
.hero h1 { margin: 22px 0 0; }
.hero__text { margin-top: 24px; max-width: 430px; font-size: 16.5px; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; }

.hero__media { position: relative; }
.hero__figure {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    aspect-ratio: 1 / 1.06;
    background: var(--sage);
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; }

.rating-card {
    position: absolute;
    left: -18px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 20px;
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
}
.rating-card__value { font-family: var(--display); font-size: 30px; line-height: 1; color: var(--ink); }
.rating-card__meta { font-size: 12px; line-height: 1.35; color: var(--muted); }
.rating-card__stars { display: flex; gap: 2px; color: #d9a441; }
.rating-card__stars svg { width: 12px; height: 12px; }

.hero-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 62px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}
.hero-strip__item { font-size: 13.5px; color: var(--muted); }
.hero-strip__item strong { display: block; font-family: var(--display); font-size: 21px; letter-spacing: .02em; color: var(--ink); margin-bottom: 2px; }

/* ------------------------------- introductory ------------------------------ */
.intro__lead { display: grid; grid-template-columns: .9fr 1.1fr; gap: 54px; align-items: start; margin-bottom: 56px; }
.intro__lead h2 { max-width: 480px; }
.intro__lead p { max-width: 520px; color: var(--muted); font-size: 17px; }

.pillar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
    padding: 30px 28px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.pillar__index { font-family: var(--display); font-size: 15px; letter-spacing: .16em; color: var(--muted-light); }
.pillar h3 { margin: 14px 0 10px; font-size: 27px; }
.pillar p { color: var(--muted); font-size: 15px; }

.quote-band {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin-top: 26px;
    padding: 42px 46px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #eef2ea;
}
.quote-band__text { font-family: var(--display); font-size: clamp(24px, 2.6vw, 34px); line-height: 1.16; text-transform: uppercase; letter-spacing: .01em; color: #f7f5ee; max-width: 780px; }
.quote-band__sign { font-size: 13px; color: #b6c6bd; text-align: right; white-space: nowrap; }

/* --------------------------------- services -------------------------------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.svc-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.04); }
.svc-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; flex: 1; }
.svc-card__meta { display: flex; align-items: center; justify-content: space-between; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.svc-card h3 { font-size: 25px; }
.svc-card p { color: var(--muted); font-size: 14.5px; }
.svc-card__foot { margin-top: auto; padding-top: 6px; }

/* ---------------------------------- split ---------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 76px; }
.split__media { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; background: var(--sage); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split--reverse .split__media { order: 2; }
.split__body h2 { margin: 18px 0 18px; }
.split__body p { color: var(--muted); }
.split-list { display: grid; gap: 14px; margin-top: 26px; }
.split-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14.5px; color: #35504a; }
.check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border-radius: 50%;
    background: var(--sage);
    color: var(--ink);
    flex: none;
}
.check svg { width: 11px; height: 11px; }

/* ---------------------------------- stats ---------------------------------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 44px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat__value { font-family: var(--display); font-size: clamp(38px, 4vw, 54px); line-height: 1; color: var(--ink); }
.stat__label { margin-top: 8px; font-size: 13.5px; color: var(--muted); }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why__list { display: grid; gap: 20px; margin-top: 30px; }
.why__item { display: grid; grid-template-columns: 34px 1fr; gap: 16px; }
.why__item-index { font-family: var(--display); font-size: 15px; letter-spacing: .12em; color: var(--muted-light); padding-top: 3px; }
.why__item h4 { margin-bottom: 4px; }
.why__item p { font-size: 14.5px; color: var(--muted); }
.why__media { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 4.3; background: var(--sage); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------- testimonials ------------------------------ */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tst-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 30px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.tst-card__stars { display: flex; gap: 3px; color: #d9a441; }
.tst-card__stars svg { width: 14px; height: 14px; }
.tst-card__text { font-size: 15.5px; line-height: 1.7; color: #294038; }
.tst-card__person { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }
.tst-card__avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--sage); flex: none; }
.tst-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.tst-card__name { font-size: 15px; font-weight: 500; }
.tst-card__label { font-size: 12.5px; color: var(--muted); }
.rating-summary { display: flex; align-items: center; gap: 14px; }
.rating-summary__value { font-family: var(--display); font-size: 42px; line-height: 1; }

/* --------------------------------- gallery --------------------------------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-item { position: relative; display: block; padding: 0; border: 0; overflow: hidden; border-radius: var(--radius); background: var(--sage); aspect-ratio: 4 / 3; cursor: pointer; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-item::after {
    content: "";
    position: absolute;
    inset: auto 12px 12px auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
}
.gal-item__hint { position: absolute; left: 12px; bottom: 12px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .4); }

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(14, 28, 23, .82);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1040px, 92vw); max-height: 84vh; border-radius: 14px; }
.lightbox__close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

/* ---------------------------------- blog ----------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sage); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; flex: 1; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.post-card h3 { font-size: 24px; }
.post-card p { font-size: 14.5px; color: var(--muted); }

/* --------------------------------- pricing --------------------------------- */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 32px 30px 34px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.plan-card.is-popular { background: var(--ink); border-color: var(--ink); color: #eef2ea; }
.plan-badge {
    display: none;
    position: absolute;
    top: 20px;
    right: 22px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--sage);
    color: var(--ink);
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.plan-card.is-popular .plan-badge { display: inline-block; }
.plan-card.is-popular .plan-card__cta .btn { background: #fff; color: var(--ink); border-color: #fff; }
.plan-card.is-popular .plan-card__cta .btn:hover { background: var(--sage); border-color: var(--sage); color: var(--ink); }
.plan-card__head { display: flex; flex-direction: column; gap: 8px; }
.plan-card__name { font-family: var(--display); font-size: 27px; text-transform: uppercase; letter-spacing: .02em; }
.plan-card__note { font-size: 13.5px; color: var(--muted); max-width: 250px; }
.plan-card.is-popular .plan-card__note { color: #b9c8c0; }
.plan-rate { display: flex; align-items: baseline; gap: 8px; }
.plan-rate__value { font-family: var(--display); font-size: 58px; line-height: .9; }
.plan-rate__period { font-size: 13.5px; color: var(--muted); }
.plan-card.is-popular .plan-rate__period { color: #b9c8c0; }
.plan-features { display: grid; gap: 13px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan-card.is-popular .plan-features { border-color: rgba(255, 255, 255, .18); }
.plan-features li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; font-size: 14.5px; color: #35504a; }
.plan-card.is-popular .plan-features li { color: #e3eae4; }
.plan-card.is-popular .check { background: rgba(255, 255, 255, .16); color: #fff; }
.plan-card__cta { margin-top: auto; }

.cmp-wrap { margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.cmp-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center; }
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-row--head { background: var(--bg-warm); }
.cmp-row:nth-child(even):not(.cmp-row--head) { background: #faf8f3; }
.cmp-cell { padding: 15px 22px; font-size: 14.5px; color: #35504a; }
.cmp-cell--head { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.cmp-cell--center { text-align: center; }
.cmp-yes { color: var(--ink); }
.cmp-no { color: var(--line-strong); }

/* ----------------------------------- faq ----------------------------------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 21px 24px;
    cursor: pointer;
    font-family: var(--sans);
    font-size: 16.5px;
    font-weight: 500;
    color: var(--ink);
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; width: 15px; height: 15px; flex: none; }
.faq__icon::before,
.faq__icon::after { content: ""; position: absolute; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.faq__icon::before { top: 6.5px; left: 0; width: 15px; height: 1.6px; }
.faq__icon::after { left: 6.5px; top: 0; width: 1.6px; height: 15px; }
.faq__item[open] .faq__icon::after { transform: scaleY(0); opacity: 0; }
.faq__body { padding: 0 24px 22px; font-size: 15px; color: var(--muted); }

/* ---------------------------------- forms ---------------------------------- */
.contact-wrap { display: grid; grid-template-columns: .92fr 1.08fr; gap: 56px; align-items: start; }
.contact-copy h2 { margin: 18px 0 18px; }
.contact-points { display: grid; gap: 18px; margin-top: 32px; }
.contact-point { display: grid; grid-template-columns: 40px 1fr; gap: 14px; font-size: 14.5px; }
.contact-point__icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: var(--ink); }
.contact-point__icon svg { width: 17px; height: 17px; }
.contact-point strong { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 2px; font-weight: 500; }

.form-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }
.form-card__title { font-family: var(--display); font-size: 27px; text-transform: uppercase; letter-spacing: .02em; }
.form-card__sub { margin-top: 8px; font-size: 14px; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fdfcf9;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
    transition: border-color .2s var(--ease), background .2s var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { padding-inline-end: 42px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--ink-soft); background: #fff; }
.field__error { font-size: 12.5px; color: #b04b3a; min-height: 0; }

.choice { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--muted); }
.choice input { width: 16px; height: 16px; margin-top: 2px; accent-color: var(--ink); flex: none; }
.choice a { color: var(--ink); border-bottom: 1px solid var(--line-strong); }

.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; }
.form-note { font-size: 12.5px; color: var(--muted-light); max-width: 300px; }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.form-status.is-error { display: block; background: #fbeceb; border: 1px solid #efd2ce; color: #8c3b2d; }
.form-status.is-success { display: block; background: var(--sage); border: 1px solid var(--sage-deep); color: #2b4a3f; }
.form-status strong { display: block; margin-bottom: 2px; }

/* ---------------------------------- footer --------------------------------- */
.site-footer { padding: 0 0 34px; }
.footer-cta {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: end;
    padding: 52px 48px;
    border-radius: var(--radius-lg);
    background: var(--ink);
    color: #eef2ea;
}
.footer-cta h2 { color: #f7f5ee; margin-top: 16px; max-width: 520px; }
.footer-cta__side p { color: #bccbc3; font-size: 15px; max-width: 300px; }
.footer-cta__side .btn { margin-top: 20px; }

.footer-body { display: grid; grid-template-columns: 1.25fr .75fr .75fr .75fr; gap: 40px; padding: 56px 0 40px; }
.footer-about p { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 300px; }
.footer-col__label { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: #33504a; }
.footer-col a:hover { color: var(--ink-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer-wordmark {
    padding: 10px 0 26px;
    border-top: 1px solid var(--line);
    font-family: var(--display);
    font-size: clamp(64px, 15vw, 190px);
    line-height: .82;
    letter-spacing: .02em;
    color: rgba(32, 59, 52, .13);
    text-align: center;
    user-select: none;
}
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-legal__links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a:hover { color: var(--ink); }

/* ------------------------------- breadcrumb -------------------------------- */
.page-hero { padding: 26px 0 0; }
.page-hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; padding-bottom: 34px; }
.page-hero__title h1 { margin-top: 16px; }
.page-hero__aside { padding-bottom: 6px; }
.page-hero__aside p { color: var(--muted); font-size: 15.5px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.crumbs a:hover { color: var(--ink); }
.page-hero__media { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 21 / 7; background: var(--sage); }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------ detail layout ------------------------------ */
.detail-grid { display: grid; grid-template-columns: 1.55fr .75fr; gap: 56px; align-items: start; }
.detail-body h2 { margin: 34px 0 14px; font-size: clamp(28px, 3vw, 40px); }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { margin-bottom: 16px; color: #35504a; font-size: 16px; line-height: 1.75; }
.detail-body p:last-child { margin-bottom: 0; }
.detail-media { overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; background: var(--sage); margin-bottom: 32px; }
.detail-media img { width: 100%; height: 100%; object-fit: cover; }

.side-card { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.side-card + .side-card { margin-top: 18px; }
.side-card__title { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); margin-bottom: 16px; }
.side-rows { display: grid; gap: 13px; }
.side-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; font-size: 14.5px; border-bottom: 1px dashed var(--line); padding-bottom: 11px; }
.side-row:last-child { border-bottom: 0; padding-bottom: 0; }
.side-row span:first-child { color: var(--muted); }
.side-row span:last-child { font-weight: 500; color: var(--ink); text-align: right; }
.side-card .btn { margin-top: 20px; }
.side-links { display: grid; gap: 4px; }
.side-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: #35504a; }
.side-links a:last-child { border-bottom: 0; }
.side-links a:hover { color: var(--ink); }

.roadmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.roadmap__item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.roadmap__step { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
.roadmap__item h4 { margin: 8px 0 6px; }
.roadmap__item p { font-size: 14px; color: var(--muted); margin: 0; }

.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.fact { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.fact__value { font-family: var(--display); font-size: 36px; line-height: 1; }
.fact__label { margin-top: 6px; font-size: 13px; color: var(--muted); }

.prose-block { max-width: 780px; }
.prose-block h2 { margin: 40px 0 14px; font-size: clamp(26px, 2.6vw, 34px); }
.prose-block h2:first-child { margin-top: 0; }
.prose-block p { margin-bottom: 15px; color: #35504a; line-height: 1.75; }
.prose-block ul { display: grid; gap: 10px; margin: 0 0 18px; }
.prose-block ul li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; color: #35504a; }

/* ------------------------------- team / cards ------------------------------ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card__media { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--sage); }
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 22px 22px 24px; }
.team-card__tag { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
.team-card__body h3 { font-size: 25px; margin: 10px 0 4px; }
.team-card__role { font-size: 13.5px; color: var(--muted); }
.team-card__body p { margin-top: 12px; font-size: 14px; color: var(--muted); }

.case-list { display: grid; gap: 24px; }
.case-row {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
}
.case-row__media { min-height: 260px; background: var(--sage); }
.case-row__media img { width: 100%; height: 100%; object-fit: cover; }
.case-row__body { display: flex; flex-direction: column; gap: 14px; padding: 32px 34px; }
.case-row__meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-light); }
.case-row h3 { font-size: 28px; }
.case-row p { color: var(--muted); font-size: 14.5px; }

.job-row {
    display: grid;
    grid-template-columns: 1.4fr .6fr auto;
    gap: 24px;
    align-items: center;
    padding: 26px 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}
.job-row + .job-row { margin-top: 16px; }
.job-row h3 { font-size: 24px; }
.job-row__meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.job-row__aside { font-size: 13.5px; color: var(--muted); text-align: right; }

/* -------------------------------- utilities -------------------------------- */
.stack-lg > * + * { margin-top: 26px; }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-24 { margin-bottom: 24px; }
.max-620 { max-width: 620px; }
.max-720 { max-width: 720px; }

.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-pre { opacity: 0; transform: translateY(20px); }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------- responsive -------------------------------- */
@media (max-width: 1100px) {
    .hero__grid { gap: 36px; }
    .svc-grid, .tst-grid, .post-grid, .plan-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .gal-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-body { grid-template-columns: 1fr 1fr; gap: 32px; }
    .stats-band { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .detail-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 980px) {
    .nav-menu { display: none; }
    .nav-actions .btn--nav { display: none; }
    .nav-toggle { display: inline-flex; }
    .nav-shell { padding: 10px 10px 10px 18px; }
    .hero__grid { grid-template-columns: 1fr; gap: 34px; }
    .hero__figure { aspect-ratio: 4 / 3.2; }
    .hero__copy { max-width: none; }
    .rating-card { left: 14px; bottom: -18px; }
    .hero-strip { grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 54px; }
    .intro__lead { grid-template-columns: 1fr; gap: 22px; }
    .pillar-grid { grid-template-columns: 1fr; }
    .split, .why, .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
    .split--reverse .split__media { order: 0; }
    .quote-band { grid-template-columns: 1fr; gap: 22px; padding: 34px 30px; }
    .quote-band__sign { text-align: left; }
    .section { padding: 72px 0; }
    .page-hero__inner { grid-template-columns: 1fr; gap: 22px; align-items: start; }
    .page-hero__media { aspect-ratio: 16 / 8; }
    .footer-cta { grid-template-columns: 1fr; padding: 40px 30px; }
    .case-row { grid-template-columns: 1fr; }
    .case-row__media { min-height: 210px; }
}

@media (max-width: 760px) {
    .container { padding: 0 20px; }
    h1 { font-size: clamp(38px, 9vw, 52px); }
    h2 { font-size: clamp(30px, 7.6vw, 42px); }
    .hero { padding: 34px 0 56px; }
    .svc-grid, .tst-grid, .post-grid, .plan-grid, .team-grid, .gal-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-card { padding: 24px 20px; }
    .roadmap { grid-template-columns: 1fr; }
    .fact-grid { grid-template-columns: 1fr 1fr; }
    .job-row { grid-template-columns: 1fr; gap: 16px; align-items: start; }
    .job-row__aside { text-align: left; }
    .cmp-row { grid-template-columns: 1.5fr .7fr .7fr .7fr; }
    .cmp-cell { padding: 12px 10px; font-size: 13px; }
    .cmp-cell--head { font-size: 10px; letter-spacing: .08em; }
    .section-head { margin-bottom: 32px; }
    .footer-wordmark { text-align: left; }
    .footer-body { grid-template-columns: 1fr; gap: 28px; }
    .quote-band__text { font-size: 24px; }
    .lightbox { padding: 18px; }
}

@media (max-width: 520px) {
    .hero-strip { grid-template-columns: 1fr 1fr; }
    .rating-card { left: 10px; right: 10px; bottom: -22px; padding: 12px 16px; }
    .fact-grid { grid-template-columns: 1fr; }
    .btn { width: 100%; }
    .hero__actions .btn { width: auto; }
    .form-foot .btn { width: 100%; }
    .nav-drawer { max-height: calc(100vh - 110px); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    .reveal.is-pre { opacity: 1; transform: none; }
}


/* select-inset-fix:20261116:v1 */
/* Single native selects only; keep site colours, borders, sizing and interaction. */
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){
 -webkit-appearance:none!important; -moz-appearance:none!important; appearance:none!important;
 padding-inline-end:44px!important;
 background-image:linear-gradient(45deg,transparent 50%,currentColor 50%),linear-gradient(135deg,currentColor 50%,transparent 50%)!important;
 background-position:right 22px center,right 16px center!important;
 background-size:6px 6px,6px 6px!important; background-repeat:no-repeat!important;
}
select:not([multiple]):is(:not([size]),[size="0"],[size="1"]):dir(rtl){background-position:left 16px center,left 22px center!important}
@media (forced-colors:active){select:not([multiple]):is(:not([size]),[size="0"],[size="1"]){-webkit-appearance:auto!important;-moz-appearance:auto!important;appearance:auto!important;background-image:none!important}}
