:root {
  --bg: #ffffff;
  --bg-soft: #f7f8fb;
  --bg-dark: #0f172a;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --line: #e2e8f0;
  --accent: #ea580c;
  --accent-deep: #c2410c;
  --accent-soft: #fff7ed;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --radius: 14px;
  --radius-sm: 10px;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 .6em; line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus { left: 0; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -.01em;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent-soft);
  color: var(--accent);
}
.brand-text { font-size: 1.05rem; }

.header-nav {
  display: flex;
  gap: 22px;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.header-nav a:hover { color: var(--ink); }

/* CTAs */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  border: 1px solid transparent;
  transition: transform .08s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.cta:active { transform: translateY(1px); }
.cta-header {
  background: var(--ink);
  color: #fff;
}
.cta-header:hover { background: #1e293b; }
.cta-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 6px 16px rgba(234,88,12,.25);
}
.cta-primary:hover { background: var(--accent-deep); }
.cta-secondary {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}
.cta-secondary:hover { border-color: var(--ink); }
.cta-large {
  padding: 16px 28px;
  font-size: 1.1rem;
  border-radius: 12px;
}

/* Hero */
.hero {
  padding: 64px 0 48px;
  background:
    radial-gradient(1100px 420px at 90% -10%, rgba(234,88,12,.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  padding: 6px 12px;
  margin-bottom: 18px;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
}
.accent { color: var(--accent); }
.lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 28px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  font-size: .92rem;
  color: var(--ink-muted);
}
.trust-row li { position: relative; padding-left: 16px; }
.trust-row li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.trust-row strong { color: var(--ink); font-weight: 600; }

.hero-visual {
  display: flex;
  justify-content: center;
}
.hero-card {
  width: 100%;
  max-width: 380px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.hero-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.hero-card-row:last-child { border-bottom: 0; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--line);
}
.dot-on {
  background: #16a34a;
  box-shadow: 0 0 0 4px rgba(22,163,74,.15);
}

/* Sections */
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 36px; }
.section-head p { color: var(--ink-muted); }

.services { padding: 72px 0; }
.grid-services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 14px;
}
.card p { margin-bottom: 0; font-size: .95rem; }
.card-emergency {
  background: linear-gradient(180deg, var(--accent-soft) 0%, #fff 60%);
  border-color: #fed7aa;
}

/* Districts (hyperlocal) */
.districts { padding: 72px 0; background: var(--bg-soft); }
.districts-blocks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.district-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.district-block h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.005em;
  margin-bottom: 10px;
}
.district-block p {
  font-size: .95rem;
  margin-bottom: 14px;
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip-row li {
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 500;
}

/* Why */
.why { padding: 72px 0; }
.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}
.why-list { display: grid; gap: 14px; }
.why-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--ink-soft);
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 4px #fff;
}
.why-list strong { color: var(--ink); font-weight: 600; }

/* Response time table */
.response { padding: 72px 0; background: var(--bg-soft); }
.response-table {
  max-width: 880px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.response-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-soft);
}
.response-row:last-child { border-bottom: 0; }
.response-row strong { color: var(--ink); }
.response-head {
  background: var(--bg-soft);
  font-weight: 600;
  color: var(--ink);
  text-transform: uppercase;
  font-size: .78rem;
  letter-spacing: .08em;
}

/* Area (province) */
.area { padding: 72px 0; }
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
  max-width: 880px;
  margin: 0 auto;
}
.area-grid li {
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: .95rem;
  text-align: center;
  color: var(--ink-soft);
}

/* FAQ */
.faq { padding: 72px 0; background: var(--bg-soft); }
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform .15s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: .95rem;
  color: var(--ink-soft);
}

/* Contact */
.contact {
  padding: 80px 0;
  background: var(--bg-dark);
  color: #f8fafc;
  text-align: center;
}
.contact-inner { max-width: 640px; margin: 0 auto; }
.contact h2 { color: #fff; }
.contact p { color: #cbd5e1; }
.contact .cta-large { margin: 12px 0 18px; }
.contact-meta { font-size: .9rem; color: #94a3b8; margin-top: 8px; }

/* Footer */
.site-footer { padding: 56px 0 28px; border-top: 1px solid var(--line); background: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 28px;
}
.footer-brand { font-weight: 700; font-size: 1.05rem; margin: 0 0 6px; color: var(--ink); }
.footer-meta { font-size: .9rem; color: var(--ink-muted); margin: 0; }
.footer-heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
  margin: 0 0 12px;
}
.footer-list { display: grid; gap: 6px; font-size: .9rem; color: var(--ink-soft); }
.footer-list a:hover { color: var(--accent); }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: .85rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .grid-services { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-grid > div:nth-child(5) { grid-column: span 4; }
}
@media (max-width: 960px) {
  .header-nav { display: none; }
  .hero-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 100%; }
  .grid-services { grid-template-columns: repeat(2, 1fr); }
  .districts-blocks { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 560px) {
  .hero { padding: 40px 0 32px; }
  .services, .why, .area, .districts, .response, .faq { padding: 56px 0; }
  .contact { padding: 64px 0; }
  .grid-services { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid > div:nth-child(5) { grid-column: span 1; }
  .cta-header span { display: none; }
  .response-row { grid-template-columns: 1.5fr 1fr; padding: 14px 16px; }
}
