/* ============================================================
   Horizon Santé — fictional multispecialty clinic concept
   ALIDO concept project. Single stylesheet, no framework.
   ============================================================ */
:root {
  --ink: #13262c;
  --ink-2: #2f474e;
  --muted: #607880;
  --paper: #f8fbfa;
  --paper-2: #eaf2ef;
  --sage: #dfeae1;
  --teal: #1f6f6b;
  --teal-dark: #174f4c;
  --blue: #2f5d80;
  --line: #d3e2dd;
  --font-display: "Newsreader", "Times New Roman", Georgia, serif;
  --font-body: "Plus Jakarta Sans", "Helvetica Neue", system-ui, sans-serif;
  --wrap: 1160px;
  --r: 16px;
  --ease: cubic-bezier(.22, .72, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 16.5px; line-height: 1.75; font-weight: 300;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
html[lang="ar"] { --font-display: "Noto Kufi Arabic", "Segoe UI", sans-serif; --font-body: "Noto Kufi Arabic", "Segoe UI", sans-serif; }
html[lang="ar"] body { line-height: 1.95; }
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.14; margin: 0 0 .55em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 4.8vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3vw, 2.6rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1.05rem; margin: 0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.55; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
::selection { background: var(--sage); }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: -9999px; background: var(--teal); color: #fff; padding: .7rem 1.1rem; z-index: 99; border-radius: 0 0 10px 0; }
.skip:focus { inset-inline-start: 0; top: 0; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; text-decoration: none;
  padding: .9rem 1.5rem; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 500; transition: background .22s, color .22s, border-color .22s, transform .22s var(--ease);
}
.btn--primary { background: var(--teal); color: #f4fbf9; }
.btn--primary:hover { background: var(--teal-dark); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-1px); }
.btn--wa { background: #25795a; color: #fff; }
.btn--wa:hover { background: #1c5c45; }
.btn--text { padding: .15rem 0; border: 0; border-bottom: 1px solid var(--teal); border-radius: 0; color: var(--teal); }

/* demo bar */
.demobar { background: var(--ink); color: #cfe0df; font-size: .76rem; padding: .55rem 1.2rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; justify-content: center; align-items: center; }
.demobar p { margin: 0; }
.demobar strong { color: #a9d8cf; letter-spacing: .14em; }
.demobar a { color: #e8f4f1; }

/* header */
.siteheader { position: sticky; top: 0; z-index: 40; background: rgba(248, 251, 250, .95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.siteheader.is-stuck { box-shadow: 0 10px 28px -26px rgba(19, 38, 44, .6); }
.siteheader__inner { display: flex; align-items: center; gap: 1.3rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; margin-inline-end: auto; }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; background: var(--sage); color: var(--teal-dark); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.18; }
.brand__name { font-family: var(--font-display); font-size: 1.24rem; }
.brand__sub { font-size: .68rem; color: var(--muted); letter-spacing: .04em; }
.sitenav { display: flex; align-items: center; gap: 1.3rem; }
.sitenav__list { display: flex; gap: 1.15rem; }
.sitenav__list a { text-decoration: none; font-size: .84rem; padding-block: .3rem; border-bottom: 1px solid transparent; }
.sitenav__list a:hover { color: var(--teal); border-color: var(--teal); }
.sitenav__side { display: flex; align-items: center; gap: .6rem; }
.sitenav__side .btn { padding: .62rem 1rem; font-size: .78rem; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; background: #fff; }
.lang__opt { text-decoration: none; font-size: .68rem; padding: .28rem .48rem; border-radius: 999px; color: var(--muted); }
.lang__opt.is-active { background: var(--teal); color: #fff; }
.navtoggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; place-items: center; gap: 5px; }
.navtoggle span { display: block; width: 17px; height: 1.5px; background: var(--ink); }
.navtoggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.navtoggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navtoggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* hero */
.hero { background: radial-gradient(circle at 82% 12%, var(--sage) 0%, transparent 52%), var(--paper); border-bottom: 1px solid var(--line); }
.hero--split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 3.4rem); }
.hero__inner { padding-block: clamp(2.8rem, 5.6vw, 4.8rem); padding-inline-start: max(1.25rem, calc((100vw - var(--wrap)) / 2)); padding-inline-end: 1.2rem; }
.hero__media { margin: 0; padding-inline-end: 1.25rem; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.eyebrow { font-size: .74rem; color: var(--teal-dark); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .55rem; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { margin-bottom: 1rem; }
.lead { font-size: 1.06rem; color: var(--ink-2); max-width: 50ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.8rem 0 1.6rem; }
.hero__facts { display: grid; gap: .4rem; font-size: .9rem; color: var(--ink-2); }
.hero__facts li { display: flex; gap: .55rem; align-items: baseline; }
.hero__facts li::before { content: "✓"; color: var(--teal); font-size: .8rem; }
.micro { font-size: .78rem; color: var(--muted); margin-top: 1rem; }

/* notice band */
.notice { background: var(--sage); border-block: 1px solid #c3d9cd; }
.notice__inner { display: grid; grid-template-columns: 240px 1fr; gap: 1.5rem; padding-block: 1.7rem; align-items: start; }
.notice__tag { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); background: rgba(255, 255, 255, .6); border: 1px solid rgba(31, 111, 107, .25); border-radius: 999px; padding: .35rem .7rem; margin: 0; text-align: center; }
.notice h2 { font-size: 1.35rem; margin-bottom: .35rem; }
.notice p { margin: 0; font-size: .92rem; color: var(--ink-2); max-width: 82ch; }

/* sections */
.section { padding-block: clamp(3.2rem, 5.6vw, 5rem); }
.section__head { max-width: 62ch; margin-bottom: 2.3rem; }
.kicker { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: .8rem; }
html[lang="ar"] .kicker { letter-spacing: 0; text-transform: none; }
.section__lead { color: var(--muted); }
.note { font-size: .82rem; color: var(--muted); background: var(--paper-2); border-radius: 12px; padding: .8rem 1rem; margin-top: 1.5rem; max-width: 80ch; }
.ticks { display: grid; gap: .5rem; margin: 1.2rem 0; }
.ticks li { padding-inline-start: 1.8rem; position: relative; font-size: .95rem; }
.ticks li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: .05em; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: var(--teal-dark); font-size: .68rem; }

/* stats */
.stats { background: var(--ink); color: #d8e6e3; padding-block: 1.2rem; }
.stats__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.stats__list li { text-align: center; display: grid; gap: .1rem; }
.stats__list strong { font-family: var(--font-display); font-size: 1.7rem; color: #a9d8cf; }
.stats__list span { font-size: .8rem; color: #a8bdba; }

/* split */
.split__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.4rem); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { margin: 0; }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.split__body p { color: var(--ink-2); }
.split__cta { margin-top: 1rem; }

/* cards */
.cards__grid { display: grid; gap: 1.2rem; }
.cards--3 .cards__grid { grid-template-columns: repeat(3, 1fr); }
.cards--2 .cards__grid { grid-template-columns: repeat(2, 1fr); }
.cards--4 .cards__grid { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -40px rgba(19, 38, 44, .55); }
.card__media { margin: 0; overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; }
.card__body { padding: 1.4rem; }
.card__body h3 { font-size: 1.2rem; }
.card__body p { color: var(--muted); font-size: .92rem; }
.card__meta { font-size: .74rem !important; text-transform: uppercase; letter-spacing: .08em; color: var(--teal) !important; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin: .5rem 0 .2rem; }
.tags li { font-size: .7rem; background: var(--paper-2); color: var(--teal-dark); border-radius: 999px; padding: .18rem .6rem; }
.card__link { margin: .3rem 0 0; }

/* hours */
.hours { background: var(--paper-2); }
.hours__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; }
.hours__list { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: .4rem 1.2rem; }
.hours__list li { display: flex; justify-content: space-between; gap: 1rem; padding-block: .85rem; border-bottom: 1px solid var(--line); font-size: .94rem; }
.hours__list li:last-child { border-bottom: 0; }
.hours__time { color: var(--teal-dark); font-weight: 500; }
.hours__side { background: var(--teal); color: #e6f5f1; padding: 2rem; border-radius: var(--r); }
.hours__side h3 { color: #fff; }
.hours__side p { color: #c8e4de; font-size: .93rem; }
.hours__side .btn { margin-top: .5rem; background: #fff; color: var(--teal-dark); }
.hours__side .btn:hover { background: #eaf7f3; }

/* contact */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; align-items: center; }
.contact__lines { display: grid; gap: .5rem; margin: 1.2rem 0 1.6rem; font-size: .94rem; }
.contact__lines li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .65rem .9rem; }
.contact__cta { display: flex; flex-wrap: wrap; gap: .55rem; }
.mapbox { position: relative; min-height: 320px; border-radius: var(--r); overflow: hidden; background: var(--sage); display: grid; place-items: center; padding: 2rem; border: 1px solid var(--line); }
.mapbox__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(31, 111, 107, .12) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 111, 107, .12) 1px, transparent 1px); background-size: 40px 40px; }
.mapbox__grid::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--teal); border: 3px solid #fff; inset: 46% auto auto 54%; box-shadow: 0 0 0 10px rgba(31, 111, 107, .12); }
.mapbox__inner { position: relative; background: rgba(255, 255, 255, .95); border-radius: 14px; padding: 1.4rem; max-width: 330px; text-align: center; }
.mapbox__label { font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--teal); margin-bottom: .35rem; }
.mapbox__inner p { font-size: .86rem; color: var(--ink-2); }
html[lang="ar"] .mapbox__label { text-transform: none; letter-spacing: 0; }

/* form */
.formsec { background: var(--paper-2); }
.formsec__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2.6rem; align-items: start; }
.formsec__intro > p { color: var(--ink-2); }
.formsec__alt { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.3rem, 2.6vw, 2rem); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; }
.field--wide { grid-column: 1 / -1; }
.field label { font-size: .8rem; color: var(--ink-2); }
.field input, .field select, .field textarea { font: inherit; font-size: .93rem; padding: .7rem .85rem; border: 1px solid var(--line); background: var(--paper); border-radius: 10px; width: 100%; }
.field textarea { min-height: 100px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--teal) 50%), linear-gradient(135deg, var(--teal) 50%, transparent 50%); background-position: calc(100% - 16px) 55%, calc(100% - 11px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-inline-end: 2rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(31, 111, 107, .12); }
.field--check { flex-direction: row; align-items: flex-start; gap: .55rem; }
.field--check input { width: 18px; height: 18px; flex: none; margin-top: .25rem; accent-color: var(--teal); }
.field--check label { font-size: .82rem; color: var(--muted); }
.field__err { margin: 0; font-size: .76rem; color: #a33a2c; }
.field__help { margin: 0; font-size: .74rem; color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b8462f; background: #fff8f5; }
.form__submit { width: 100%; margin-top: 1.3rem; }
.form__privacy { font-size: .76rem; color: var(--muted); margin: .8rem 0 0; }
.form__status { margin-top: 1rem; padding: .85rem 1rem; background: var(--paper-2); border-radius: 10px; font-size: .84rem; white-space: pre-line; color: var(--ink-2); }
.form__status.is-warn { background: #fff3ef; color: #8d3018; }
.form__fallback { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: .9rem; }
.form__fallback p { font-size: .8rem; color: var(--muted); }
.form__fallback-btns { display: flex; flex-wrap: wrap; gap: .45rem; }

/* team */
.team { background: var(--paper); }
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.member { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1.3rem; }
.member__avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--sage); color: var(--teal-dark); display: grid; place-items: center; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .9rem; }
.member h3 { font-size: 1.1rem; margin-bottom: .2rem; }
.member__role { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--teal); margin-bottom: .6rem; }
html[lang="ar"] .member__role { text-transform: none; letter-spacing: 0; }
.member p:last-child { font-size: .86rem; color: var(--muted); margin: 0; }

/* text block */
.textblock p { color: var(--ink-2); max-width: 82ch; }
.textblock { background: var(--paper-2); }
.textblock__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem; }
.textblock__cols > div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.3rem; }
.textblock__cols h3 { font-size: 1.05rem; }
.textblock__cols p { font-size: .88rem; color: var(--muted); margin: 0; }

/* cta + faq */
.ctaband { background: var(--teal); color: #dff1ed; padding-block: clamp(2.6rem, 4.6vw, 3.8rem); }
.ctaband__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.ctaband h2 { color: #fff; margin-bottom: .35rem; }
.ctaband p { color: #c6e4de; margin: 0; max-width: 54ch; }
.ctaband__cta { display: flex; flex-wrap: wrap; gap: .55rem; }
.ctaband .btn--primary { background: #fff; color: var(--teal-dark); }
.ctaband .btn--primary:hover { background: #eaf7f3; }
.ctaband .btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; }
.ctaband .btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.faq { background: var(--paper); }
.faq__list { display: grid; gap: .6rem; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 1.1rem; }
.faq__item summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative; font-size: .98rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); color: var(--teal); font-size: 1.15rem; }
.faq__item[open] summary::after { content: "–"; }
.faq__a { padding-bottom: 1rem; color: var(--muted); font-size: .92rem; max-width: 80ch; }
.faq__a p { margin: 0; }

/* footer */
.sitefooter { background: var(--ink); color: #b3c7c6; padding-top: 3.2rem; font-size: .92rem; }
.sitefooter__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.3rem; }
.sitefooter .brand--footer { color: #f1f8f7; margin-bottom: .9rem; }
.sitefooter .brand__mark { background: rgba(255, 255, 255, .1); color: #a9d8cf; }
.sitefooter__brand p { max-width: 34ch; }
.sitefooter__demo { font-size: .76rem; color: #86a09f; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: .8rem; }
.sitefooter__h { font-family: var(--font-body); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: #a9d8cf; margin-bottom: .8rem; }
html[lang="ar"] .sitefooter__h { letter-spacing: 0; text-transform: none; }
.sitefooter__list { display: grid; gap: .45rem; }
.sitefooter__list a { text-decoration: none; }
.sitefooter__list a:hover, .sitefooter__brand a:hover { color: #a9d8cf; }
.sitefooter__credit { font-size: .8rem; color: #86a09f; margin-top: .8rem; }
.sitefooter__bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1rem; font-size: .74rem; color: #86a09f; }
.sitefooter__bottom p { margin: 0; }
.totop { color: #a9d8cf; text-decoration: none; }

/* lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1000px); }
.lightbox::backdrop { background: rgba(10, 26, 30, .9); }
.lightbox img { max-height: 82vh; width: auto; margin: auto; border-radius: 12px; }
.lightbox__cap { color: #d8e6e3; text-align: center; margin: .6rem 0 0; font-size: .84rem; }
.lightbox__close { position: fixed; top: 1.2rem; inset-inline-end: 1.2rem; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: rgba(0, 0, 0, .3); color: #fff; font-size: 1.4rem; cursor: pointer; }

/* 404 + redirect */
.redirectpage, .notfoundpage { display: grid; place-items: center; min-height: 100vh; background: var(--paper-2); }
.redirect, .nf { padding-block: 3rem; }
.redirect ul { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.3rem 0; }
.redirect ul a { color: var(--teal); }
.nf h1 { font-size: clamp(4rem, 11vw, 7rem); color: var(--teal); margin-bottom: .1rem; }
.nf__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.6rem 0; }
.nf__card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; }
.nf__card h2 { font-size: 1.2rem; }
.nf__card p { font-size: .88rem; color: var(--muted); }
.nf__foot { font-size: .82rem; color: var(--muted); }

/* motion + responsive */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 1080px) {
  .cards--3 .cards__grid { grid-template-columns: repeat(2, 1fr); }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .textblock__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .siteheader { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .navtoggle { display: grid; }
  .sitenav { position: fixed; inset: 0; z-index: 60; background: var(--paper); flex-direction: column; align-items: stretch; padding: 5.6rem 1.4rem 2rem; gap: 1.3rem; transform: translateY(-102%); transition: transform .34s var(--ease); overflow-y: auto; }
  .sitenav.is-open { transform: none; }
  .sitenav__list { flex-direction: column; gap: .1rem; }
  .sitenav__list a { display: block; padding-block: .9rem; border-bottom: 1px solid var(--line); font-size: .98rem; }
  .sitenav__side { flex-direction: column; align-items: stretch; gap: .7rem; }
  body.nav-open { overflow: hidden; }
  .hero--split { grid-template-columns: 1fr; }
  .hero__media { order: -1; padding-inline: 1.25rem; }
  .hero__media img { aspect-ratio: 16 / 9; }
  .hero__inner { padding-inline: 1.25rem; }
  .notice__inner { grid-template-columns: 1fr; gap: .8rem; }
  .notice__tag { justify-self: start; }
  .split__grid, .contact__grid, .formsec__grid, .hours__grid { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .sitefooter__grid { grid-template-columns: 1fr 1fr; }
  .nf__grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .cards--3 .cards__grid, .cards--2 .cards__grid, .team__grid, .textblock__cols, .form__grid, .sitefooter__grid, .stats__list { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .demobar { font-size: .68rem; text-align: center; }
  .ctaband__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 400px) {
  h1 { font-size: 2.15rem; }
  .hero__cta .btn, .contact__cta .btn { width: 100%; }
}
