/* One Med GP Clinic — public site styles
   Colours sampled from the One Med logo: deep "ONE MED" blue, cross blue,
   sky arc, "GP CLINIC" green and lime leaf. Text colours meet WCAG AA. */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-var.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue-900: #0a3768;
  --blue-800: #0b4a92;
  --blue-700: #0b5cb5;
  --blue-500: #0897ee;
  --sky-400: #19aef5;
  --sky-100: #dff1fd;
  --sky-50: #f0f8fe;
  --green-800: #0a6618;
  --green-700: #0c7d1d;
  --green-600: #11a01c;
  --lime-400: #9ed80c;
  --green-50: #f1f9ea;
  --cream: #fbf9f4;
  --amber-50: #fff7e8;
  --amber-700: #8a5200;
  --ink: #1d2b38;
  --ink-soft: #4a5a69;
  --line: #e2e8ef;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(10, 55, 104, .06), 0 2px 8px rgba(10, 55, 104, .05);
  --shadow: 0 2px 6px rgba(10, 55, 104, .06), 0 12px 32px rgba(10, 55, 104, .09);
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Montserrat", "DM Sans", system-ui, sans-serif;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-900); }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, .h3 { font-family: var(--font-head); color: var(--blue-900); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.small { font-size: .9rem; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.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: 12px; top: -60px; z-index: 100; background: var(--blue-900); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }

.icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .72em 1.25em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 1.06rem; padding: .85em 1.5em; }
.btn-block { display: flex; width: 100%; }
.btn-book { background: var(--green-700); color: #fff; box-shadow: 0 6px 16px rgba(12, 125, 29, .22); }
.btn-book:hover { background: var(--green-800); color: #fff; }
.btn-primary { background: var(--blue-700); color: #fff; box-shadow: 0 6px 16px rgba(11, 92, 181, .2); }
.btn-primary:hover { background: var(--blue-800); color: #fff; }
.btn-outline { background: #fff; color: var(--blue-700); border-color: #c9d9ec; }
.btn-outline:hover { border-color: var(--blue-700); color: var(--blue-800); }
.btn-white { background: #fff; color: var(--blue-800); }
.btn-white:hover { background: var(--sky-50); color: var(--blue-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2em; }
.btn-row.center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Notice bar ---------- */
.notice-bar { background: linear-gradient(90deg, var(--blue-800), var(--blue-700)); color: #fff; font-size: .95rem; }
.notice-bar .container { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.notice-bar p { margin: 0; }
.notice-bar a { color: #fff; font-weight: 700; }
.notice-bar .icon { color: var(--lime-400); }
@media (max-width: 600px) { .notice-bar { font-size: .86rem; line-height: 1.45; } .notice-bar .icon { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(10, 55, 104, .08); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 100px; }
.brand img { height: 84px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; }
.site-nav ul a:hover { background: var(--sky-50); color: var(--blue-800); }
.site-nav ul a[aria-current="page"] { color: var(--blue-700); background: var(--sky-50); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--blue-800); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--blue-900); cursor: pointer; border-radius: 10px; }
.nav-toggle .icon { width: 28px; height: 28px; }
.nav-toggle-close { display: none; }

@media (max-width: 1080px) {
  .nav-toggle { display: inline-flex; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 14px; padding: 14px 20px 22px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(10, 55, 104, .1); }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 12px 14px; font-size: 1.05rem; }
  .nav-cta { flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }
  .nav-phone { justify-content: center; padding: 8px; }
  .header-inner { min-height: 76px; }
  .brand img { height: 60px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tint { background: var(--cream); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head p:last-child { color: var(--ink-soft); }
.eyebrow { display: inline-block; margin: 0 0 .6em; font: 700 .82rem/1.2 var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--green-700); }
.lead { font-size: 1.16rem; color: var(--ink-soft); }
.lead p:last-child { margin-bottom: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 88% 18%, rgba(158, 216, 12, .16), transparent 34%),
    radial-gradient(circle at 70% 90%, rgba(25, 174, 245, .14), transparent 38%),
    linear-gradient(160deg, #f3f9ff 0%, var(--cream) 55%, #f4faee 100%);
  padding: clamp(40px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
}
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-soft); font-size: .98rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--green-700); }
.hero-facts a { color: var(--ink-soft); }
.hero-art { display: flex; justify-content: center; }
.hero-mark { position: relative; width: min(100%, 440px); aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; }
.hero-mark img { width: 74%; height: auto; position: relative; z-index: 1; }
.hero-mark .ring { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-mark .ring-1 { inset: -16px; border: 2px dashed rgba(25, 174, 245, .35); }
.hero-mark .ring-2 { inset: -36px; border: 1px solid rgba(158, 216, 12, .45); }

.hero-photo { position: relative; width: min(100%, 520px); }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 28px; background: linear-gradient(145deg, rgba(25, 174, 245, .28), rgba(158, 216, 12, .32)); }
.hero-photo img { position: relative; width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow); background: var(--sky-50); }
@media (max-width: 860px) {
  .hero-photo { width: min(100%, 440px); }
  .hero-photo::before { inset: 10px -10px -10px 10px; }
  .hero-photo img { aspect-ratio: 16 / 11; }
}

.status-pill {display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .92rem; background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); }
.status-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: #9aa6b2; }
.status-open .dot { background: var(--green-600); box-shadow: 0 0 0 4px rgba(17, 160, 28, .18); }
.status-soon .dot { background: var(--sky-400); box-shadow: 0 0 0 4px rgba(25, 174, 245, .2); }
.status-later .dot { background: #e0a100; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-mark { width: min(46vw, 190px); }
  .hero-mark .ring-1 { inset: -10px; }
  .hero-mark .ring-2 { inset: -20px; }
  .hero-art { margin-top: 8px; margin-bottom: 4px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
}

/* ---------- Welcome band ---------- */
.welcome-band { background: linear-gradient(120deg, var(--blue-800) 0%, var(--blue-700) 55%, #0a7fd0 100%); color: #e9f3ff; padding: 44px 0; position: relative; overflow: hidden; }
.welcome-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 40px solid rgba(158, 216, 12, .14); }
.welcome-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; position: relative; z-index: 1; }
.welcome-icon { width: 72px; height: 72px; border-radius: 50%; background: rgba(255, 255, 255, .14); display: grid; place-items: center; color: var(--lime-400); }
.welcome-icon .icon { width: 34px; height: 34px; }
.welcome-copy h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.welcome-copy p { margin-bottom: .6em; max-width: 720px; }
.welcome-copy p:last-child { margin-bottom: 0; }
@media (max-width: 860px) {
  .welcome-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 16px; }
}

/* ---------- Team ---------- */
.portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: var(--radius); background: var(--sky-50); }
.doctor-feature-photo, .member-card-photo { display: block; text-decoration: none; }
.portrait-initials { display: grid; place-items: center; background: linear-gradient(145deg, var(--blue-700) 0%, var(--blue-500) 55%, var(--green-600) 130%); color: #fff; position: relative; overflow: hidden; }
.portrait-initials::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; border: 10px solid rgba(255, 255, 255, .14); right: -18%; bottom: -14%; }
.portrait-initials span { font: 800 clamp(2.4rem, 6vw, 4rem)/1 var(--font-head); letter-spacing: .04em; }
.doctor-feature { display: grid; grid-template-columns: minmax(240px, 380px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
.doctor-feature h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; margin-bottom: .2em; }
.doctor-feature h3 a, .member-card h3 a { color: inherit; text-decoration: none; }
.doctor-feature h3 a:hover, .member-card h3 a:hover { color: var(--blue-700); }
.member-meta { color: var(--green-700); font-weight: 700; margin-bottom: .8em; }
.member-meta.lg { font-size: 1.1rem; }
.quals { color: var(--ink-soft); font-weight: 600; }
.doctor-summary { font-size: 1.12rem; color: var(--ink); font-weight: 500; }
.chip-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 12px; }
.chip-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; color: var(--ink-soft); margin-right: 4px; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--sky-50); color: var(--blue-800); font-size: .88rem; font-weight: 600; border: 1px solid var(--sky-100); }
.chip-green { background: var(--green-50); color: var(--green-800); border-color: #dcefcc; }
@media (max-width: 760px) {
  .doctor-feature { grid-template-columns: 1fr; }
  .doctor-feature-photo { max-width: 300px; margin: 0 auto; width: 100%; }
}

.team-group + .team-group { margin-top: 56px; }
.group-title { font-size: 1.4rem; margin-bottom: 22px; padding-bottom: 10px; border-bottom: 2px solid var(--sky-100); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }
.member-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.member-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.member-card .portrait { border-radius: 0; }
.member-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.member-card h3 { margin-bottom: .2em; }
.member-card .member-meta { margin-bottom: .2em; }
.member-card .quals { font-size: .92rem; margin-bottom: .6em; }
.member-summary { color: var(--ink-soft); font-size: .97rem; }
.member-langs { display: flex; gap: 8px; align-items: flex-start; font-size: .92rem; color: var(--ink-soft); }
.member-langs .icon { margin-top: .2em; color: var(--blue-500); }
.member-card .text-link { margin-top: auto; }

/* Profile */
.page-hero-slim { padding: 22px 0 !important; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .92rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }
.profile-section { padding-top: 40px; }
.profile-grid { display: grid; grid-template-columns: 340px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.profile-side { position: sticky; top: 120px; }
.profile-facts { margin: 22px 0; display: grid; gap: 14px; }
.fact { background: var(--cream); border-radius: var(--radius-sm); padding: 14px 16px; }
.fact h2 { display: flex; align-items: center; gap: 8px; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: var(--green-700); margin-bottom: 4px; }
.fact p { margin: 0; }
.profile-main h1 { margin-bottom: .15em; }
.prose p, .prose li { max-width: 72ch; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.tick-list { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px 20px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { color: var(--green-600); margin-top: .25em; }
.back-link { margin-top: 2em; }
@media (max-width: 860px) {
  .profile-grid { grid-template-columns: 1fr; }
  .profile-side { position: static; max-width: 380px; margin: 0 auto; width: 100%; }
  .profile-main { order: -1; }
}

/* ---------- Services & values ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 36px; }
.service-grid-full { grid-template-columns: repeat(3, 1fr); }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.service-card h3, .service-card .h3 { font-size: 1.08rem; margin: 14px 0 6px; }
.service-card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: .5em; }
.service-card p:last-child { margin-bottom: 0; }
.service-icon, .value-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sky-50); color: var(--blue-700); }
.service-icon .icon, .value-icon .icon { width: 26px; height: 26px; }
.service-card:nth-child(even) .service-icon { background: var(--green-50); color: var(--green-700); }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.value { text-align: center; padding: 0 6px; }
.value .value-icon { width: 64px; height: 64px; border-radius: 50%; margin-bottom: 14px; background: linear-gradient(145deg, var(--sky-50), var(--green-50)); }
.value h3 { font-size: 1.1rem; }
.value p { color: var(--ink-soft); font-size: .98rem; }
@media (max-width: 1000px) { .service-grid, .service-grid-full { grid-template-columns: repeat(2, 1fr); } .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .service-grid, .service-grid-full, .value-grid { grid-template-columns: 1fr; } }

.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; background: var(--sky-50); border: 1px solid var(--sky-100); border-radius: var(--radius); padding: 22px 26px; margin-top: 12px; }
.callout > div:first-child .icon { width: 30px; height: 30px; color: var(--blue-700); }
.callout p { margin: 0; color: var(--ink-soft); }
.callout .h3 { margin-bottom: .2em; }
@media (max-width: 700px) { .callout { grid-template-columns: 1fr; text-align: center; justify-items: center; } }

/* ---------- Visit / hours / map ---------- */
.section-visit { background: linear-gradient(180deg, #fff 0%, var(--sky-50) 100%); }
.visit-grid { display: grid; grid-template-columns: 420px 1fr; gap: 28px; align-items: stretch; }
.visit-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.visit-address { display: flex; gap: 10px; font-size: 1.08rem; font-weight: 600; }
.visit-address .icon { color: var(--green-700); margin-top: .3em; }
.hours-title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin-top: 1.4em; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .98rem; margin-bottom: .6em; }
.hours-table th, .hours-table td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours-table td { text-align: right; color: var(--ink-soft); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--green-700); font-weight: 700; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 420px; background: var(--sky-50); }
.map-frame iframe, .map-wide iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-wide { height: 420px; background: var(--sky-50); }
@media (max-width: 960px) { .visit-grid { grid-template-columns: 1fr; } .map-frame, .map-frame iframe { min-height: 320px; } }

/* ---------- Interior pages ---------- */
.page-hero { background: linear-gradient(160deg, #f3f9ff 0%, var(--cream) 60%, #f4faee 100%); padding: clamp(40px, 6vw, 72px) 0; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 820px; }
.page-hero .lead { max-width: 680px; margin-bottom: 0; }

.info-layout { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.info-toc { position: sticky; top: 120px; background: var(--cream); border-radius: var(--radius); padding: 20px 22px; }
.info-toc h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); }
.info-toc ul { list-style: none; margin: 0; padding: 0; }
.info-toc a { display: block; padding: 5px 0; text-decoration: none; color: var(--ink); font-size: .96rem; }
.info-toc a:hover { color: var(--blue-700); }
.info-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.info-section:first-child { padding-top: 0; }
.info-section h2 { font-size: 1.4rem; }
.info-urgent { background: var(--amber-50); border: 1px solid #f4dfb5; border-radius: var(--radius); padding: 24px 26px; margin: 20px 0; }
.info-urgent h2 { color: var(--amber-700); }
@media (max-width: 860px) { .info-layout { grid-template-columns: 1fr; } .info-toc { position: static; } }

.contact-grid { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.contact-card .value-icon { flex: none; }
.contact-card p:last-child { margin-bottom: 0; }
.big-link { font-size: 1.15rem; font-weight: 700; word-break: break-word; }
.contact-side { display: grid; gap: 20px; }
.hours-card, .urgent-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.hours-card .h3, .urgent-card .h3 { display: flex; align-items: center; gap: 8px; }
.urgent-card { background: var(--amber-50); border-color: #f4dfb5; }
.urgent-card .h3 { color: var(--amber-700); }
.urgent-card p:last-child { margin-bottom: 0; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .contact-cards { grid-template-columns: 1fr; } }

.legal h2 { font-size: 1.3rem; margin-top: 1.8em; }
.not-found .value-icon { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #f5f8fb; color: var(--ink); border-top: 1px solid var(--line); }
.footer-emergency { background: var(--amber-50); border-bottom: 1px solid #f4dfb5; }
.footer-emergency .container { display: flex; align-items: center; justify-content: center; gap: 10px; padding-top: 14px; padding-bottom: 14px; text-align: center; }
.footer-emergency p { margin: 0; }
.footer-emergency .icon { color: var(--amber-700); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-top: 52px; padding-bottom: 36px; }
.footer-logo img { width: 190px; height: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--ink-soft); max-width: 280px; }
.site-footer h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list li { display: flex; gap: 10px; align-items: center; word-break: break-word; }
.footer-list .icon { color: var(--blue-500); }
.footer-hours { margin: 0 0 8px; display: grid; gap: 4px; }
.footer-hours div { display: flex; justify-content: space-between; gap: 12px; }
.footer-hours dt { font-weight: 600; }
.footer-hours dd { margin: 0; color: var(--ink-soft); }
.footer-ack { padding-bottom: 28px; }
.footer-ack p { margin: 0; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .92rem; }
.footer-bottom { background: var(--blue-900); color: #c9dbf0; font-size: .9rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 16px; padding-bottom: 16px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; margin: 0; padding: 0; }
.footer-bottom a { color: #fff; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

@media print {
  .site-header, .notice-bar, .site-footer .footer-emergency, .map-frame, .map-wide, .btn { display: none !important; }
}
