/* =========================================================
   Fixora Home Services — style.css
   Design language: bold, industrial, trustworthy.
   Deep navy + safety orange, strong type, chunky components.
   Themes via CSS variables on [data-theme].
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; overflow-wrap: break-word; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; }

/* ---------- Theme tokens ---------- */
:root {
  --navy: #0e2a4a;
  --navy-2: #143a63;
  --accent: #f26b1d;
  --accent-hover: #d95a10;
  --accent-soft: rgba(242, 107, 29, 0.12);

  --bg: #f4f6f9;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --text: #17222f;
  --text-soft: #4c5b6c;
  --border: #dbe3ec;
  --heading: #0e2a4a;
  --hero-bg: linear-gradient(135deg, #0e2a4a 0%, #143a63 55%, #1b4a7d 100%);
  --hero-text: #f2f6fb;
  --card-shadow: 0 6px 24px rgba(14, 42, 74, 0.08);
  --focus-ring: 3px solid #f26b1d;
  --star-off: #ccd6e2;
  --success-bg: #e7f6ec;
  --success-text: #1c6b38;
  --error: #c93030;
}

[data-theme="dark"] {
  --bg: #0c1420;
  --surface: #14202f;
  --surface-2: #1b2a3d;
  --text: #e6edf5;
  --text-soft: #9fb0c3;
  --border: #263a52;
  --heading: #eef4fb;
  --hero-bg: linear-gradient(135deg, #0a1626 0%, #10253f 55%, #143253 100%);
  --hero-text: #eef4fb;
  --card-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --star-off: #33465e;
  --success-bg: #12301d;
  --success-text: #7fd9a2;
  --error: #ff7a7a;
}

/* ---------- Base ---------- */
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
}
h1, h2, h3, h4 { color: var(--heading); font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.1rem; }
p { color: var(--text-soft); }
strong { color: var(--text); }

:focus-visible { outline: var(--focus-ring); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; inset-inline-start: -999px; top: 0; z-index: 200;
  background: var(--accent); color: #fff; padding: 0.6rem 1rem; font-weight: 700;
  border-radius: 0 0 8px 8px; text-decoration: none;
}
.skip-link:focus { inset-inline-start: 8px; }

.container { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5rem); }
.section-head { max-width: 640px; margin-bottom: 2.2rem; }
.section-head p { margin-top: 0.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }

.kicker {
  display: inline-block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.7rem;
}
.lead { font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.5rem; border-radius: 8px; border: 2px solid transparent;
  font-weight: 700; text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn .icon svg, .btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-hover); }
.btn-primary { background: var(--navy); color: #fff; }
[data-theme="dark"] .btn-primary { background: var(--surface-2); color: var(--text); }
.btn-primary:hover { filter: brightness(1.15); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(128, 128, 128, 0.12); }
.hero .btn-ghost { color: var(--hero-text); }

.text-link { color: var(--accent); font-weight: 700; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--navy); color: #dfe9f5; font-size: 0.85rem;
  padding: 0.4rem 0;
}
[data-theme="dark"] .topbar { background: #081120; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.topbar .pulse-dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #35d07f; margin-inline-end: 0.45rem; animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.35; } }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; }
.topbar a svg { width: 14px; height: 14px; }
.topbar a:hover { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface); border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(10, 25, 45, 0.06);
}
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 68px; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-inline-end: auto; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 9px; flex: none;
  background: linear-gradient(135deg, var(--accent), #f79a3e);
  display: grid; place-items: center; color: #fff;
}
.logo-mark svg { width: 22px; height: 22px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text b { color: var(--heading); font-size: 1.15rem; letter-spacing: -0.01em; }
.logo-text span { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--text-soft); }

.site-nav ul { display: flex; gap: 0.2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 0.55rem 0.85rem; border-radius: 7px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; color: var(--text-soft);
}
.site-nav a:hover { color: var(--heading); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }

.header-actions { display: flex; align-items: center; gap: 0.55rem; }

.lang-switch {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 7px; padding: 0.42rem 0.5rem; font-weight: 700; font-size: 0.85rem; cursor: pointer;
}
.theme-toggle {
  border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  width: 38px; height: 38px; border-radius: 7px; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.menu-toggle {
  display: none; border: 1.5px solid var(--border); background: var(--surface);
  width: 42px; height: 38px; border-radius: 7px; cursor: pointer; padding: 0;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.menu-toggle .bar { width: 18px; height: 2px; background: var(--text); transition: transform 0.2s, opacity 0.2s; }
.nav-open .menu-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
.nav-open .menu-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--hero-bg); color: var(--hero-text);
  position: relative; overflow: hidden;
}
.hero.has-image {
  background:
    linear-gradient(90deg, rgba(10, 22, 38, 0.95) 0%, rgba(14, 42, 74, 0.86) 48%, rgba(14, 42, 74, 0.35) 100%),
    url("../images/hero-technician.png") center / cover no-repeat;
}
[data-theme="dark"] .hero.has-image {
  background:
    linear-gradient(90deg, rgba(5, 11, 20, 0.96) 0%, rgba(10, 22, 38, 0.9) 52%, rgba(10, 22, 38, 0.45) 100%),
    url("../images/hero-technician.png") center / cover no-repeat;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    repeating-linear-gradient(-55deg, transparent 0 44px, rgba(255,255,255,0.035) 44px 88px);
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; gap: 2.5rem; align-items: center;
  padding-block: clamp(3rem, 8vw, 5.5rem);
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(240, 246, 252, 0.85); margin-top: 1rem; max-width: 34rem; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffd9bd; padding: 0.35rem 0.9rem; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; margin-bottom: 1.1rem;
}
.hero-points { margin-top: 1.4rem; display: grid; gap: 0.55rem; }
.hero-points li { display: flex; gap: 0.6rem; align-items: flex-start; color: rgba(240,246,252,0.92); font-weight: 600; }
.hero-points svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #ffb27a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }

.hero-card {
  background: var(--surface); color: var(--text); border-radius: 14px;
  padding: 1.6rem; box-shadow: 0 20px 50px rgba(4, 12, 24, 0.35);
  border-top: 5px solid var(--accent); max-width: 420px; justify-self: center; width: 100%;
}
.hero-card h2 { font-size: 1.25rem; margin-bottom: 0.4rem; }
.hero-card p { font-size: 0.95rem; }
.hero-card .btn { width: 100%; margin-top: 1.1rem; }
.hero-card .or-call { text-align: center; margin-top: 0.8rem; font-size: 0.9rem; }
.hero-card .or-call a { color: var(--accent); font-weight: 800; text-decoration: none; }

/* ---------- Trust badges ---------- */
.badges-band { background: var(--surface); border-block: 1px solid var(--border); }
.badges-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; padding-block: 2rem; }
.badge-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.badge-item .icon {
  flex: none; width: 46px; height: 46px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent); display: grid; place-items: center;
}
.badge-item .icon svg { width: 24px; height: 24px; }
.badge-item h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.badge-item p { font-size: 0.88rem; }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.5rem; box-shadow: var(--card-shadow);
}

.service-card { display: flex; flex-direction: column; gap: 0.7rem; transition: transform 0.2s ease, border-color 0.2s ease; }
.service-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.service-card-icon {
  width: 52px; height: 52px; border-radius: 11px;
  background: var(--navy); color: #ffb27a; display: grid; place-items: center;
}
[data-theme="dark"] .service-card-icon { background: var(--surface-2); }
.service-card-icon svg { width: 26px; height: 26px; }
.service-card p { flex: 1; font-size: 0.95rem; }
.service-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 0.8rem; border-top: 1px dashed var(--border); padding-top: 0.9rem; flex-wrap: wrap; }
.price-hint { font-size: 0.85rem; color: var(--text-soft); }
.price-hint strong { color: var(--heading); }

/* ---------- Process steps ---------- */
.steps { display: grid; gap: 1.3rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: step; }
.step { display: flex; gap: 0.95rem; align-items: flex-start; }
.step-num {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(242, 107, 29, 0.4);
}
.step h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.step p { font-size: 0.9rem; }
.steps-vertical { grid-template-columns: 1fr; margin-top: 1rem; }

/* ---------- Areas ---------- */
.areas-list { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
.area-chip {
  display: inline-flex; align-items: center; gap: 0.45rem;
  background: var(--surface); border: 1.5px solid var(--border); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-weight: 700; color: var(--heading);
}
.area-chip svg { width: 16px; height: 16px; color: var(--accent); }
.areas-note { margin-top: 1.1rem; font-size: 0.92rem; }

/* ---------- Reviews ---------- */
.review-card blockquote { margin: 0.8rem 0 1.1rem; color: var(--text); font-size: 0.98rem; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 17px; height: 17px; }
.star { color: var(--star-off); }
.star.on { color: #f5a623; }
.review-meta { display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap; }
.review-meta .avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--navy); color: #fff; font-weight: 800; display: grid; place-items: center;
}
[data-theme="dark"] .review-meta .avatar { background: var(--surface-2); }
.review-meta div { display: flex; flex-direction: column; line-height: 1.25; }
.review-meta strong { font-size: 0.93rem; }
.review-meta div span { font-size: 0.8rem; color: var(--text-soft); }
.verified {
  margin-inline-start: auto; display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.75rem; font-weight: 700; color: var(--success-text);
  background: var(--success-bg); padding: 0.25rem 0.6rem; border-radius: 999px;
}
.verified svg { width: 12px; height: 12px; }

/* Review summary strip */
.review-summary {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.1rem 1.5rem; margin-bottom: 2rem;
}
.review-summary .stars svg { width: 22px; height: 22px; }
.review-summary strong { font-size: 1.2rem; color: var(--heading); }

/* Result (before/after) cards */
.result-head { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1rem; }
.result-head .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.result-head .icon svg { width: 22px; height: 22px; }
.result-head span { font-size: 0.83rem; color: var(--text-soft); }
.result-row { border-inline-start: 3px solid var(--border); padding: 0.5rem 0.9rem; margin-bottom: 0.7rem; }
.result-row.after { border-color: #35d07f; }
.result-row.before { border-color: var(--error); }
.result-label { display: block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-soft); margin-bottom: 0.15rem; }
.result-row p { font-size: 0.92rem; }

/* ---------- Stats ---------- */
.stats-band { background: var(--navy); color: #fff; }
[data-theme="dark"] .stats-band { background: #081120; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.5rem; padding-block: 2.4rem; text-align: center; }
.stat b { display: block; font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--accent); letter-spacing: -0.02em; }
.stat span { font-size: 0.88rem; color: rgba(255, 255, 255, 0.75); }

/* ---------- Emergency band ---------- */
.emergency-band {
  background: linear-gradient(120deg, #b3400d, var(--accent));
  color: #fff;
}
.emergency-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 2rem; }
.emergency-inner h2 { color: #fff; font-size: 1.4rem; }
.emergency-inner p { color: rgba(255, 255, 255, 0.9); max-width: 40rem; }
.emergency-band .btn { background: #fff; color: #b3400d; }
.emergency-band .btn:hover { background: #ffe9db; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--hero-bg); color: var(--hero-text); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding-block: 3rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(240, 246, 252, 0.82); margin-top: 0.4rem; max-width: 36rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--hero-bg); color: var(--hero-text); padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(240, 246, 252, 0.85); margin-top: 0.8rem; max-width: 44rem; }
.page-hero .price-tag { margin-top: 1rem; color: #ffd9bd; font-size: 1.05rem; }
.page-hero .price-tag strong { color: #fff; font-size: 1.25rem; }
.page-hero .hero-actions { margin-top: 1.5rem; }

/* ---------- Detail page ---------- */
.detail-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.2fr 1fr; align-items: start; }
.detail-grid h2 { margin-bottom: 1rem; }
.detail-grid h2 + .check-list { margin-bottom: 2rem; }
.check-list { display: grid; gap: 0.6rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text); font-weight: 600; }
.check-list svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: #35d07f; }

/* ---------- Accordion ---------- */
.accordion { display: grid; gap: 0.7rem; }
.acc-item { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.acc-item.open { border-color: var(--accent); }
.acc-heading { margin: 0; font-size: 1rem; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: none; border: 0; text-align: start; cursor: pointer;
  padding: 1rem 1.2rem; font-weight: 700; color: var(--heading); font-size: 1rem;
}
.acc-btn:hover { color: var(--accent); }
.acc-chevron { flex: none; width: 10px; height: 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); transition: transform 0.2s; margin-top: -4px; }
.acc-item.open .acc-chevron { transform: rotate(225deg); margin-top: 4px; }
.acc-panel { padding: 0 1.2rem 1.1rem; }
.acc-panel p { font-size: 0.95rem; }

/* ---------- Forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: clamp(1.4rem, 3.5vw, 2.2rem); box-shadow: var(--card-shadow); }
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: 1fr 1fr; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: 0.9rem; color: var(--heading); }
.form-field input, .form-field select, .form-field textarea {
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.7rem 0.9rem; color: var(--text); width: 100%;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field [aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 0.82rem; font-weight: 600; }
.form-note { font-size: 0.82rem; margin-top: 1rem; color: var(--text-soft); }
.form-actions { margin-top: 1.4rem; }
.form-actions .btn { width: 100%; }

.form-success { background: var(--success-bg); border: 1.5px solid var(--success-text); border-radius: 14px; padding: 2rem; text-align: center; }
.form-success h2 { color: var(--success-text); margin-bottom: 0.6rem; }
.form-success p { color: var(--text); }
.form-success .ref { display: inline-block; margin-top: 0.6rem; background: var(--surface); border: 1px dashed var(--success-text); padding: 0.4rem 1rem; border-radius: 8px; font-weight: 800; letter-spacing: 0.06em; color: var(--heading); }
.form-success .btn { margin-top: 1.3rem; }

/* Quote page layout */
.quote-layout { display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr; align-items: start; }
.side-card { position: sticky; top: 90px; }
.side-card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 0.9rem; }
.side-card .icon svg { width: 22px; height: 22px; }
.side-card .btn { width: 100%; margin-top: 1.1rem; }
.side-card .hours { font-size: 0.85rem; margin-top: 0.9rem; }

/* ---------- About ---------- */
.values-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.value-card .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 0.9rem; }
.value-card .icon svg { width: 23px; height: 23px; }
.value-card h3 { margin-bottom: 0.3rem; }
.value-card p { font-size: 0.92rem; }

.team-card { text-align: center; }
.team-photo {
  /* IMAGE SLOT: replace with <img src="assets/images/team-<name>.jpg" alt="..."> */
  width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--navy), #2c5f96);
  color: #fff; font-weight: 800; font-size: 1.6rem;
  display: grid; place-items: center;
}
.team-card h3 { font-size: 1.05rem; }
.team-card p { font-size: 0.88rem; margin: 0.25rem 0 0.7rem; }
.tag { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: 0.75rem; font-weight: 800; padding: 0.25rem 0.7rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; }

.promise-card { border-inline-start: 5px solid var(--accent); }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.about-stats .stat b { color: var(--accent); font-size: 1.9rem; display: block; }
.about-stats .stat span { color: var(--text-soft); font-size: 0.85rem; }

/* Story split */
.story-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.1fr 1fr; align-items: center; }
.story-grid .section-head { margin-bottom: 1rem; }
.story-visual {
  /* IMAGE SLOT: replace with a real team / van photo */
  aspect-ratio: 4 / 3; border-radius: 16px; position: relative; overflow: hidden;
  background:
    linear-gradient(140deg, rgba(242,107,29,0.85), transparent 55%),
    linear-gradient(320deg, rgba(20,58,99,0.9), transparent 60%),
    var(--navy);
}
.story-visual::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-55deg, transparent 0 30px, rgba(255,255,255,0.05) 30px 60px);
}
.story-visual.has-image::after { display: none; }
.story-visual.has-image img {
  width: 100%; height: 100%; display: block; object-fit: cover;
}
.story-visual .img-label {
  position: absolute; bottom: 12px; inset-inline-start: 12px; z-index: 1;
  color: rgba(255,255,255,0.85); font-size: 0.75rem; font-weight: 700;
  background: rgba(0,0,0,0.35); padding: 0.3rem 0.7rem; border-radius: 6px;
}

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 2rem; grid-template-columns: 1fr 1.4fr; align-items: start; }
.info-list { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.info-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.info-list .icon { flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.info-list .icon svg { width: 20px; height: 20px; }
.info-list b { display: block; color: var(--heading); font-size: 0.9rem; }
.info-list span, .info-list a { font-size: 0.95rem; color: var(--text-soft); text-decoration: none; }
.info-list a:hover { color: var(--accent); }
.hours-list { margin-top: 0.7rem; display: grid; gap: 0.3rem; font-size: 0.92rem; color: var(--text-soft); }

/* ---------- Notices ---------- */
.notice { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 1.3rem; margin-bottom: 1.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c6d4e4; margin-top: auto; }
[data-theme="dark"] .site-footer { background: #081120; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; padding-block: 3rem; }
.site-footer h3 { color: #fff; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer p { color: #a9bbd0; font-size: 0.92rem; }
.footer-links { display: grid; gap: 0.5rem; }
.footer-links a { color: #c6d4e4; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--accent); }
.footer-contact { display: grid; gap: 0.6rem; font-size: 0.92rem; }
.footer-contact li { display: flex; gap: 0.5rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex: none; margin-top: 4px; color: var(--accent); }
.footer-contact a { color: #c6d4e4; text-decoration: none; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-block: 1.2rem; font-size: 0.82rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: #8fa3ba; }
.footer-logo { display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1rem; color: #fff; font-weight: 800; font-size: 1.1rem; }
.footer-logo .logo-mark { width: 34px; height: 34px; }

body { display: flex; flex-direction: column; min-height: 100vh; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (min-width: 861px) {
  .hero-grid { grid-template-columns: 1.25fr 1fr; }
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail-grid, .quote-layout, .contact-layout, .story-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

@media (max-width: 860px) {
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; top: 100%; inset-inline: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    box-shadow: 0 16px 30px rgba(10, 25, 45, 0.15);
    display: none; padding: 0.8rem 1.2rem 1.2rem;
  }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0.15rem; }
  .site-nav a { padding: 0.8rem 0.9rem; font-size: 1.02rem; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .form-grid { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; }
  .cta-band-inner, .emergency-inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- RTL refinements ---------- */
[dir="rtl"] .topbar a[href^="tel"], [dir="rtl"] .footer-contact a[href^="tel"] { direction: ltr; unicode-bidi: isolate; }
