/* ==========================================================================
   Smart Metro JV - website styles
   Palette from the logo (brief): navy #00558C, maroon #5B282D, gold #C9A227,
   soft blue-grey #F4F7FA, charcoal #1F2933.
   ========================================================================== */

:root {
  --brand: #00558C;          /* navy: buttons, nav, key headings */
  --brand-hover: #00446F;
  --brand-text: #00558C;     /* navy used as text/links/headings */
  --accent: #5B282D;         /* maroon: secondary buttons, icons, highlights */
  --accent-hover: #471F23;
  --accent-text: #5B282D;
  --gold: #C9A227;           /* thin dividers, hover states, Coming Soon badge */
  --bg: #FFFFFF;
  --bg-alt: #F4F7FA;
  --surface: #FFFFFF;
  --text: #1F2933;
  --muted: #52606D;
  --border: #DDE5EC;
  --band: #00558C;           /* navy sections (white text) */
  --band-deep: #00446F;
  --tint: rgba(0, 85, 140, .07);
  --tint-maroon: rgba(91, 40, 45, .08);
  --shadow-sm: 0 1px 2px rgba(16, 42, 67, .06);
  --shadow: 0 1px 2px rgba(16, 42, 67, .05), 0 10px 28px rgba(16, 42, 67, .08);
  --radius: 14px;
  --radius-sm: 8px;
  --font-head: "Poppins", "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1240px;
  color-scheme: light;
}

[data-theme="dark"] {
  --brand: #0B6AAB;
  --brand-hover: #0F7BC4;
  --brand-text: #6CB8EA;
  --accent: #8A3E46;
  --accent-hover: #A04B54;
  --accent-text: #E3A3AB;
  --bg: #0E161D;
  --bg-alt: #121D26;
  --surface: #16232E;
  --text: #E8EEF3;
  --muted: #A5B3BF;
  --border: #25374A;
  --band: #0B4A73;
  --band-deep: #07304D;
  --tint: rgba(108, 184, 234, .08);
  --tint-maroon: rgba(227, 163, 171, .07);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3);
  --shadow: 0 1px 2px rgba(0, 0, 0, .25), 0 10px 28px rgba(0, 0, 0, .3);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::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: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-text); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brand-text);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 8px; text-decoration: none;
}
.skip-link:focus { top: 0; color: #fff; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1240px; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 14px;
}
.rule { width: 56px; height: 3px; background: var(--gold); border: 0; border-radius: 2px; margin: 0 0 22px; }
.section-head--center .rule { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.muted { color: var(--muted); }

/* ---------- Buttons & badges ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; line-height: 1;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); color: #fff; }
.btn-secondary { background: var(--accent); color: #fff; }
.btn-secondary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: transparent; color: var(--brand-text); border-color: var(--brand-text); }
.btn-outline:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--bg-alt); color: var(--accent); }
.btn-sm { padding: 11px 20px; font-size: .88rem; }
.btn-block { width: 100%; }
.badge {
  display: inline-block; font-family: var(--font-head); font-size: .66rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; line-height: 1.2; white-space: nowrap;
}
.badge--gold { background: var(--gold); color: #1F2933; }
.link-arrow { font-family: var(--font-head); font-weight: 600; font-size: .92rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.link-arrow::after { content: "\2192"; transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--band-deep); color: #fff; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; opacity: .92; }
.topbar a:hover { opacity: 1; color: var(--gold); }
.topbar-group { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; flex: 0 0 auto; }
.theme-toggle {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .1); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 5px 12px 5px 9px;
  font: inherit; font-size: .78rem; cursor: pointer;
}
.theme-toggle:hover { background: rgba(255, 255, 255, .2); }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--bg);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
[data-theme="dark"] .brand img, [data-theme="dark"] .footer-brand img {
  background: #fff; border-radius: 10px; padding: 6px 12px;
}
.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 18px; }
.site-nav li a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: .88rem; font-weight: 500; color: var(--text);
  text-decoration: none; padding: 8px 0; white-space: nowrap;
}
.site-nav li a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.site-nav li a:not(.btn):hover { color: var(--brand-text); }
.site-nav li a:not(.btn):hover::after, .site-nav li a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav li a[aria-current="page"] { color: var(--brand-text); font-weight: 600; }
.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--border); background: var(--surface);
  border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--brand-text); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero::before {
  content: ""; position: absolute; right: -180px; top: -200px; width: 640px; height: 640px; border-radius: 50%;
  background: var(--tint); pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hero .lead { margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual {
  width: 100%; height: auto; margin: 0;
}
.hero-visual img {
  width: 100%; height: clamp(300px, 37vw, 440px); object-fit: cover; display: block;
  border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow);
}
.hero-visual figcaption {
  position: static; margin: 10px 4px 0; color: var(--muted);
  font-family: var(--font-head); font-size: .88rem; font-weight: 600;
}
.hero-note { margin-top: 28px; display: flex; align-items: center; gap: 12px; font-size: .9rem; color: var(--muted); }
.hero-note::before { content: ""; width: 36px; height: 2px; background: var(--gold); }

.photo-grid {
  display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 22px;
}
.photo-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.photo-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.photo-card {
  position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; box-shadow: var(--shadow-sm);
}
.photo-card img {
  width: 100%; height: 260px; object-fit: cover; display: block;
}
.photo-card figcaption {
  position: static; padding: 14px 16px; color: var(--brand-text); font-family: var(--font-head);
  font-weight: 600; font-size: .9rem; letter-spacing: .02em;
}
.photo-card--wide img { height: 320px; }
.photo-note { margin: 16px 0 0; color: var(--muted); font-size: .85rem; }
.service-feature {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: center;
}
.service-feature__photo {
  margin: 0;
}
.service-feature__photo img {
  width: 100%; height: 310px; object-fit: cover; display: block;
  border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-sm);
}
.service-feature__photo figcaption {
  position: static; margin: 10px 4px 0; color: var(--muted); font-size: .82rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--gold); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--brand-text);
  display: grid; place-items: center; margin-bottom: 20px;
}
.card-icon svg { width: 26px; height: 26px; }
.card-icon--maroon { background: var(--tint-maroon); color: var(--accent-text); }
.card h3 { margin-bottom: .5em; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.card p { color: var(--muted); margin-bottom: 1.2em; }
.card .link-arrow { margin-top: auto; }
.card--service { display: flex; flex-direction: column; }
.card--soon { border-style: dashed; background: var(--bg-alt); position: relative; }
.card--soon .badge { position: absolute; top: 24px; right: 22px; }
.why { display: grid; gap: 28px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.why-item { padding-top: 22px; border-top: 3px solid var(--gold); }
.why-item h3 { font-size: 1.05rem; margin-bottom: .4em; }
.why-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Results strip / band ---------- */
.band { background: var(--band); color: #fff; }
.band h2, .band h3 { color: #fff; }
.results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.result {
  display: block; text-decoration: none; text-align: center; padding: 18px 20px;
  border-left: 1px solid var(--border); border-radius: 0; transition: background .18s;
}
.result:first-child { border-left: 0; }
.result:hover { background: var(--bg-alt); }
.result strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.1; color: var(--brand-text); }
.result span { display: block; margin-top: 8px; font-size: .95rem; color: var(--muted); letter-spacing: .02em; }
.result::after { content: ""; display: block; width: 36px; height: 3px; background: var(--gold); margin: 16px auto 0; border-radius: 2px; }
.results-foot { text-align: center; margin-top: 26px; }
.cta-banner { text-align: center; padding: clamp(56px, 7vw, 88px) 0; background: var(--band); color: #fff; position: relative; overflow: hidden; }
.cta-banner::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }
.cta-banner h2 { color: #fff; max-width: 30ch; margin-left: auto; margin-right: auto; }
.cta-banner p { max-width: 52ch; margin: 0 auto 28px; opacity: .92; font-size: 1.1rem; }

/* ---------- Inner page header ---------- */
.page-hero { background: var(--bg-alt); padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--border); position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 120px; height: 3px; background: var(--gold); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.page-hero-copy { min-width: 0; }
.page-hero-image {
  height: auto; margin: 0;
}
.page-hero-image img {
  width: 100%; height: clamp(220px, 25vw, 320px); object-fit: cover; display: block;
  border: 1px solid var(--border); border-radius: 22px; box-shadow: var(--shadow-sm);
}
.page-hero-image figcaption {
  position: static; margin: 10px 4px 0; color: var(--muted);
  font-size: .8rem; font-weight: 600; line-height: 1.35;
}
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent-text); }
.crumbs span[aria-hidden] { margin: 0 8px; }
.page-hero h1 { margin-bottom: .35em; max-width: 26ch; }
.page-hero .lead { margin-bottom: 0; }
.page-hero .badge { margin-bottom: 18px; font-size: .74rem; padding: 6px 14px; }

/* ---------- Lists & content blocks ---------- */
.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .22em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300558C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}
[data-theme="dark"] .check-list li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236CB8EA' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}
.steps { list-style: none; counter-reset: step; display: grid; gap: 20px; }
.steps li {
  counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 24px 22px 84px; box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step); position: absolute; left: 22px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
}
.steps strong { display: block; font-family: var(--font-head); color: var(--brand-text); margin-bottom: 2px; }
.steps span { color: var(--muted); }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.panel h3 { margin-bottom: 1em; }
.value { padding: 24px; border-left: 3px solid var(--gold); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; box-shadow: var(--shadow-sm); }
.value h3 { margin-bottom: .3em; font-size: 1.05rem; }
.value p { margin: 0; color: var(--muted); font-size: .95rem; }
.values-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.values-grid > :nth-child(-n+3) { grid-column: span 2; }
.values-grid > :nth-child(n+4) { grid-column: span 3; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.chips li { background: var(--tint); color: var(--brand-text); font-family: var(--font-head); font-weight: 500; font-size: .92rem; padding: 9px 18px; border-radius: 999px; }
.quote-card { background: var(--band); color: #fff; border-radius: var(--radius); padding: 40px; }
.quote-card h3 { color: #fff; }
.quote-card p { margin: 0; font-size: 1.1rem; opacity: .95; }
.quote-card .eyebrow { color: var(--gold); }
.clients { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.clients li {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 22px 18px; text-align: center; font-family: var(--font-head); font-weight: 500; color: var(--brand-text);
  display: flex; align-items: center; justify-content: center; min-height: 92px; box-shadow: var(--shadow-sm);
}
.leader { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; }
.leader img { width: 100%; height: auto; filter: drop-shadow(0 12px 22px rgba(16, 42, 67, .18)); }
.leader h3 { font-size: 1.5rem; margin-bottom: .1em; }
.leader .role { font-family: var(--font-head); color: var(--accent-text); font-weight: 600; margin-bottom: 1em; }
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.cred { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow-sm); }
.cred-logo {
  height: 110px; display: grid; place-items: center; background: #fff; border-radius: 10px;
  border: 1px solid #E5EBF0; margin-bottom: 20px; padding: 12px;
}
.cred-logo--grey { background: #66727F; border-color: #66727F; }
.cred-logo img { max-height: 84px; width: auto; max-width: 100%; object-fit: contain; }
.cred-seal { font-family: var(--font-head); color: var(--brand); text-align: center; line-height: 1.1; }
.cred-seal strong { display: block; font-size: 1.5rem; letter-spacing: .02em; }
.cred-seal span { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; margin-top: 6px; color: #52606D; font-weight: 600; }
.cred h3 { font-size: 1rem; margin-bottom: .2em; }
.cred p { margin: 0; color: var(--muted); font-size: .95rem; }
.cred .num { font-family: var(--font-head); font-weight: 600; color: var(--text); font-size: 1.05rem; }
.inline-cta { text-align: center; margin-top: 48px; padding: 36px 24px; background: var(--bg-alt); border-radius: var(--radius); border: 1px solid var(--border); }
.inline-cta p { font-family: var(--font-head); font-size: 1.15rem; font-weight: 500; color: var(--text); margin-bottom: 18px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--text); }
.field .req { color: var(--accent-text); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface);
  border: 1.5px solid var(--border); border-radius: 10px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-text); box-shadow: 0 0 0 3px var(--tint); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #B3261E; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--brand); flex: 0 0 auto; }
.consent a { color: var(--brand-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 16px 18px; border-radius: 10px; font-size: .95rem; border: 1px solid; }
.form-status.is-visible { display: block; }
.form-status--ok { background: rgba(31, 122, 77, .1); border-color: rgba(31, 122, 77, .45); color: var(--text); }
.form-status--err { background: rgba(179, 38, 30, .08); border-color: rgba(179, 38, 30, .45); color: var(--text); }
.form-fine { font-size: .82rem; color: var(--muted); margin: 0; }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.details { width: 100%; border-collapse: collapse; }
.details th, .details td { padding: 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); font-size: .95rem; }
.details th { width: 38%; font-family: var(--font-head); font-weight: 600; color: var(--brand-text); padding-right: 16px; }
.details tr:last-child th, .details tr:last-child td { border-bottom: 0; }
.details a { color: var(--text); text-decoration-color: var(--gold); }
.details a:hover { color: var(--accent-text); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); background: var(--bg-alt); }
.map-wrap iframe { width: 100%; height: 400px; border: 0; display: block; }
.map-actions { padding: 14px 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; font-size: .92rem; background: var(--surface); border-top: 1px solid var(--border); }
.notify-wrap { max-width: 640px; margin: 0 auto; }

/* ---------- Dashboard ---------- */
.dash-notice {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 10px; margin-bottom: 28px;
  background: rgba(201, 162, 39, .14); border: 1px solid rgba(201, 162, 39, .55); font-size: .92rem;
}
.dash-notice[hidden] { display: none; }
.filters {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 14px; align-items: end;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.filters .field label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.filters .field select { padding: 11px 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 28px; }
.stat {
  background: var(--surface); border: 1px solid var(--border); border-top: 4px solid var(--brand); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm);
}
.stat:nth-child(2) { border-top-color: var(--accent); }
.stat:nth-child(3) { border-top-color: var(--gold); }
.stat:nth-child(4) { border-top-color: var(--brand-text); }
.stat-label { font-size: .82rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.stat-value { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--brand-text); line-height: 1.15; margin: 8px 0 4px; }
.stat-sub { font-size: .85rem; color: var(--muted); }
.chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.chart-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.chart-card--wide { grid-column: 1 / -1; }
.chart-card h3 { margin-bottom: 4px; font-size: 1.05rem; }
.chart-card .sub { color: var(--muted); font-size: .86rem; margin-bottom: 14px; }
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font-body); fill: var(--muted); font-size: 11px; }
.chart .grid-line { stroke: var(--border); stroke-width: 1; }
.chart .axis-line { stroke: var(--muted); stroke-width: 1; opacity: .5; }
.chart .bar { fill: var(--brand); transition: opacity .15s; }
.chart .bar:hover { opacity: .8; }
.chart .bar--maroon { fill: var(--accent); }
.chart .area-fill { fill: var(--tint); }
.chart .line { fill: none; stroke: var(--brand-text); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart .pt { fill: var(--surface); stroke: var(--brand-text); stroke-width: 2; }
.chart .val-label { fill: var(--text); font-weight: 600; }
.chart .donut-label { font-family: var(--font-head); font-weight: 700; font-size: 20px; fill: var(--brand-text); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .88rem; }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }
.dash-foot { margin-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: .9rem; }

/* ---------- Legal pages ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h2:first-of-type { margin-top: 0; }
.prose ul { margin: 0 0 1em 1.2em; display: grid; gap: 6px; }
.prose li::marker { color: var(--gold); }
.draft-banner { background: var(--bg-alt); border: 1px solid var(--border); border-left: 4px solid var(--gold); border-radius: 0 10px 10px 0; padding: 16px 20px; margin-bottom: 36px; font-size: .94rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 4px solid var(--accent); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); padding-block: 64px 48px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: .94rem; max-width: 40ch; }
.footer-brand .slogan { font-family: var(--font-head); font-weight: 600; color: var(--accent-text); font-size: .95rem; }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-text); margin-bottom: 18px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { color: var(--text); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--accent-text); text-decoration: underline; text-decoration-color: var(--gold); }
.footer-contact { list-style: none; display: grid; gap: 12px; font-size: .94rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; color: var(--accent-text); }
.footer-contact a { color: var(--text); text-decoration: none; word-break: break-word; }
.footer-contact a:hover { color: var(--accent-text); text-decoration: underline; }
.footer-bottom { background: var(--band-deep); color: #fff; font-size: .86rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px 24px; padding-block: 18px; }
.footer-bottom a { color: #fff; text-decoration: none; opacity: .9; }
.footer-bottom a:hover { color: var(--gold); opacity: 1; }
.footer-bottom nav { display: flex; gap: 22px; }

/* ---------- Siza chat widget ---------- */
.cw-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 150; width: 60px; height: 60px; border-radius: 50%;
  background: #fff; border: 2px solid var(--gold); cursor: pointer; padding: 0;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .25); display: grid; place-items: center; transition: transform .15s;
}
.cw-launcher:hover { transform: translateY(-2px); }
.cw-launcher img { width: 34px; height: 34px; object-fit: contain; }
.cw-launcher .cw-x { display: none; font-size: 22px; color: #1F2933; line-height: 1; }
.cw-launcher.is-open img { display: none; }
.cw-launcher.is-open .cw-x { display: block; }
.cw-dot { position: absolute; top: 2px; right: 2px; width: 13px; height: 13px; border-radius: 50%; background: #1F9D6B; border: 2px solid #fff; }
.cw-launcher.is-open .cw-dot { display: none; }
.cw-panel {
  position: fixed; right: 22px; bottom: 96px; z-index: 150; width: 360px; max-width: calc(100vw - 32px);
  height: 480px; max-height: calc(100vh - 130px); display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.98); transition: opacity .2s, transform .2s, visibility .2s;
}
.cw-panel.is-open { opacity: 1; visibility: visible; transform: none; }
.cw-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--band); color: #fff; }
.cw-avatar { width: 40px; height: 40px; border-radius: 10px; background: #fff; display: grid; place-items: center; padding: 5px; flex: 0 0 auto; }
.cw-avatar img { width: 100%; height: 100%; object-fit: contain; }
.cw-head strong { font-family: var(--font-head); font-size: 1rem; display: block; line-height: 1.2; }
.cw-head small { opacity: .85; font-size: .78rem; display: flex; align-items: center; gap: 6px; }
.cw-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ADE9B; }
.cw-body { flex: 1 1 auto; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); }
.cw-msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: .92rem; line-height: 1.5; }
.cw-msg.bot { background: var(--bg-alt); border: 1px solid var(--border); border-bottom-left-radius: 4px; align-self: flex-start; color: var(--text); }
.cw-msg.user { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.cw-msg a { color: var(--brand-text); font-weight: 600; }
.cw-typing { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; }
.cw-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: cwb 1s infinite ease-in-out; }
.cw-typing i:nth-child(2) { animation-delay: .15s; }
.cw-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes cwb { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.cw-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; background: var(--bg); }
.cw-chip { font: inherit; font-size: .82rem; font-weight: 600; color: var(--brand-text); background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 13px; cursor: pointer; }
.cw-chip:hover { border-color: var(--gold); }
.cw-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--border); background: var(--surface); }
.cw-form input { flex: 1; font: inherit; font-size: .92rem; color: var(--text); background: var(--bg); border: 1.5px solid var(--border); border-radius: 999px; padding: 10px 16px; min-width: 0; }
.cw-form input:focus { outline: none; border-color: var(--brand-text); }
.cw-form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; cursor: pointer; font-size: 16px; flex: 0 0 auto; }
.cw-form button:hover { background: var(--brand-hover); }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 24px 24px; border-bottom: 1px solid var(--border); box-shadow: 0 18px 30px rgba(16, 42, 67, .12);
    display: none; max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li a:not(.btn) { padding: 15px 4px; border-bottom: 1px solid var(--border); font-size: 1rem; width: 100%; }
  .site-nav li a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 18px; }
}
@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 600px; margin: 0 auto; }
  .hero-visual img { height: clamp(280px, 55vw, 420px); }
  .page-hero-image img { height: clamp(230px, 42vw, 340px); }
  .photo-grid:not(.photo-grid--two) { grid-template-columns: 1fr; }
  .photo-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-feature { grid-template-columns: 1fr; }
  .grid-3, .why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-4, .clients, .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .values-grid > :nth-child(n) { grid-column: auto; }
  .values-grid > :last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters .btn { grid-column: 1 / -1; }
  .chart-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .topbar-hide-sm { display: none !important; }
  .grid-2, .grid-3, .why, .form-row, .values-grid { grid-template-columns: 1fr; }
  .photo-grid, .photo-grid--two { grid-template-columns: 1fr; }
  .photo-grid--four { grid-template-columns: 1fr; }
  .hero-visual img { height: 290px; }
  .page-hero-image img { height: 230px; }
  .service-feature__photo img { height: 240px; }
  .values-grid > :last-child { grid-column: auto; }
  .results { grid-template-columns: 1fr; }
  .result { border-left: 0; border-top: 1px solid var(--border); }
  .result:first-child { border-top: 0; }
  .leader { grid-template-columns: 1fr; text-align: center; }
  .leader img { max-width: 220px; margin: 0 auto; }
  .steps li { padding: 20px 20px 20px 74px; }
  .steps li::before { left: 16px; width: 40px; height: 40px; }
  .footer-grid { grid-template-columns: 1fr; padding-block: 48px 36px; }
  .stat-grid, .clients { grid-template-columns: 1fr 1fr; gap: 14px; }
  .brand img { height: 38px; }
  .header-inner { min-height: 68px; }
  .panel, .quote-card { padding: 24px 20px; }
  .details, .details tbody, .details tr, .details th, .details td { display: block; width: 100%; }
  .details tr { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .details tr:last-child { border-bottom: 0; }
  .details th, .details td { border: 0; padding: 1px 0; }
  .btn { padding: 14px 22px; }
  .cw-panel { right: 12px; left: 12px; width: auto; max-width: none; bottom: 88px; }
  .cw-launcher { right: 16px; bottom: 16px; }
}
@media (max-width: 420px) {
  .stat-grid { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .site-header, .cw-launcher, .cw-panel, .nav-toggle { display: none !important; }
}
