:root {
  --bg: #07111f;
  --bg-soft: #0f1c31;
  --panel: rgba(15, 28, 49, 0.78);
  --panel-strong: #12233d;
  --panel-light: rgba(255, 255, 255, 0.06);
  --text: #f3f7fb;
  --muted: #afbdd0;
  --accent: #ff8a3d;
  --accent-strong: #ffb02e;
  --success: #67ffbb;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.22);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --max-width: 1180px;
  --radius-xl: 34px;
  --radius-lg: 26px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 138, 61, 0.24), transparent 28%),
    radial-gradient(circle at 85% 20%, rgba(103, 255, 187, 0.12), transparent 24%),
    linear-gradient(160deg, #040910 0%, #081324 52%, #0a1a2f 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 95%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 112px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-family: "Sora", sans-serif;
  font-weight: 800;
  color: #081324;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 14px 30px rgba(255, 138, 61, 0.35);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong,
.hero h1,
.page-hero h1,
.section-heading h2,
.section-title,
.service-card h3,
.info-card h3,
.post-card h3,
.card h3,
.cta-band h2,
.contact-card h3,
.sidebar-card h3,
.footer-card h3,
.article-content h2 {
  font-family: "Sora", sans-serif;
}

.brand-copy small {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #081324;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 16px 36px rgba(255, 138, 61, 0.28);
}

.button-ghost {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero,
.page-hero,
.content-grid-two,
.contact-layout,
.post-layout {
  display: grid;
  gap: 32px;
}

.hero {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  padding: 88px 0 48px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
}

.hero h1 span,
.page-hero h1 span {
  display: block;
  color: #d5e6ff;
}

.hero-text,
.page-hero-copy p,
.section-copy,
.section-heading p:last-child,
.service-card p,
.district-link p,
.post-card p,
.info-card p,
.card p,
.contact-card p,
.article-content p,
.sidebar-card p,
.footer-card p,
.footer-bottom,
.group-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 620px;
  margin: 24px 0 0;
  font-size: 1.15rem;
}

.hero-actions,
.post-meta,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.detail-list li,
.post-meta span {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero-points li {
  padding: 12px 16px;
  border-radius: 999px;
  color: #dce7f6;
}

.hero-panel,
.page-hero-panel,
.signal-card,
.dispatch-card,
.stats-grid article,
.feature-strip article,
.service-card,
.info-card,
.post-card,
.card,
.district-link,
.faq-item,
.contact-form,
.contact-card,
.sidebar-card,
.footer-card,
.cta-band {
  border: 1px solid var(--line);
  background: var(--panel);
}

.hero-panel,
.page-hero-panel {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%),
    rgba(8, 20, 36, 0.84);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-panel::after,
.page-hero-panel::after {
  content: "";
  position: absolute;
  inset: auto -20% -30% auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 46, 0.18), transparent 68%);
}

.signal-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 20px;
}

.signal-label,
.dispatch-title,
.info-kicker,
.post-kicker,
.contact-card-kicker {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 8px rgba(103, 255, 187, 0.12);
}

.dispatch-card {
  padding: 24px;
  border-radius: 26px;
}

.dispatch-route {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.route-node {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.route-node-accent {
  color: #081324;
  background: linear-gradient(135deg, rgba(255, 138, 61, 0.95), rgba(255, 176, 46, 0.92));
}

.route-line {
  flex: 1;
  height: 2px;
  min-width: 40px;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 12px, transparent 12px 24px);
}

.dispatch-meta,
.stats-grid,
.feature-strip,
.service-grid,
.district-grid,
.blog-grid,
.mini-stat-grid,
.card-grid,
.footer-grid {
  display: grid;
  gap: 18px;
}

.dispatch-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 20px;
}

.dispatch-meta article small,
.stats-grid span,
.mini-stat-grid span,
.district-link span {
  color: var(--muted);
}

.stats-grid,
.mini-stat-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-grid article,
.mini-stat-grid article,
.card,
.post-card {
  padding: 22px;
  border-radius: 22px;
}

.stats-grid strong,
.mini-stat-grid strong,
.footer-phone {
  display: block;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.feature-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 10px 0 24px;
}

.feature-strip article,
.service-card,
.info-card,
.card,
.district-link,
.faq-item,
.sidebar-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.feature-strip span,
.process-step,
.faq-question strong {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  font-weight: 800;
  color: #081324;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.feature-strip strong,
.group-heading h3,
.sidebar-card h3,
.footer-card h3,
.article-content h2 {
  font-size: 1.3rem;
}

.section {
  padding: 56px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.section-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.section-title {
  margin-bottom: 16px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 220px;
}

.service-tag,
.contact-card-kicker,
.info-kicker,
.post-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 176, 46, 0.08);
}

.district-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.district-link {
  display: block;
  min-height: 170px;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.district-link:hover,
.post-card:hover,
.card:hover,
.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.district-link strong,
.post-card h3,
.card h3 {
  display: block;
  margin-bottom: 10px;
}

.section-actions {
  margin-top: 20px;
}

.content-grid-two {
  grid-template-columns: 1.02fr 0.98fr;
  align-items: start;
}

.stack {
  display: grid;
  gap: 18px;
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-hero {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
  padding: 44px 0 18px;
}

.page-hero-copy p {
  max-width: 720px;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
}

.page-hero-panel {
  min-height: 100%;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  display: grid;
  gap: 6px;
  padding: 18px 18px 16px;
  border-radius: 18px;
}

.detail-list strong {
  color: #f9fbff;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-top: 42px;
  color: var(--muted);
}

.breadcrumbs a {
  color: #dde7f6;
}

.group-heading {
  margin-bottom: 18px;
}

.group-heading h3 {
  margin: 0 0 8px;
}

.district-group + .district-group {
  margin-top: 32px;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card h3 {
  margin: 16px 0 12px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.post-meta {
  margin-top: 18px;
}

.post-meta span {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: #d9e5f5;
}

.post-meta-hero {
  margin-top: 24px;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  color: var(--text);
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.faq-question span {
  font-size: 1.08rem;
  font-weight: 700;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 220ms ease,
    opacity 220ms ease,
    margin-top 220ms ease;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.faq-item.is-open .faq-answer {
  max-height: 260px;
  opacity: 1;
  margin-top: 18px;
}

.faq-item.is-open .faq-question strong {
  transform: rotate(45deg);
}

.faq-question strong {
  transition: transform 180ms ease;
}

.contact-layout {
  grid-template-columns: 1.08fr 0.92fr;
  align-items: start;
}

.contact-form,
.contact-card,
.cta-band {
  padding: 24px;
  border-radius: 28px;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 10px;
  color: #d6e1f2;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8ba0bb;
}

.contact-phone {
  display: inline-flex;
  margin: 16px 0 22px;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--accent-strong);
}

.post-layout {
  grid-template-columns: 1.12fr 0.88fr;
  align-items: start;
}

.article-content,
.sidebar {
  display: grid;
  gap: 18px;
}

.article-content {
  padding: 10px 0 0;
}

.article-content section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.article-content h2 {
  margin: 0 0 12px;
}

.article-lead {
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  border-radius: 0 18px 18px 0;
  background: rgba(255, 255, 255, 0.04);
}

.sidebar-card {
  display: grid;
  gap: 16px;
}

.hero-visual-panel,
.media-card {
  position: relative;
  overflow: hidden;
}

.hero-visual,
.section-visual {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.map-frame {
  min-height: 380px;
  border: 0;
  background: rgba(7, 17, 31, 0.72);
}

.floating-pills {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #f6fbff;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(12px);
}

.service-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
}

.service-icon-wrap img {
  width: 54px;
  height: 54px;
}

.address-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
}

.address-card p {
  color: #dce7f6;
  line-height: 1.7;
}

.media-card-large {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--panel);
}

.static-list .faq-item {
  padding: 20px 22px;
}

.always-open {
  max-height: none;
  opacity: 1;
  margin-top: 0;
}

.cta-address {
  margin-top: 10px;
  color: var(--muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.footer-bottom a {
  color: #dbe6f6;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 10px;
  box-shadow: var(--shadow);
}

.footer {
  margin-top: 40px;
  padding: 32px 0 16px;
}

.footer-grid {
  grid-template-columns: 1.2fr 0.8fr 1fr;
}

.footer-card {
  padding: 24px;
  border-radius: 28px;
}

.footer-card h3 {
  margin: 0 0 12px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #dbe6f6;
}

.footer-phone {
  margin-top: 14px;
  color: var(--accent-strong);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 4px 0;
}

.sticky-call {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 24;
  display: none;
  flex-direction: column;
  gap: 4px;
  min-width: 170px;
  padding: 16px 18px;
  border-radius: 22px;
  color: #081324;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 18px 34px rgba(255, 138, 61, 0.34);
}

.sticky-call span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sticky-call strong {
  font-size: 1.1rem;
}

@media (max-width: 1120px) {
  .hero,
  .page-hero,
  .content-grid-two,
  .contact-layout,
  .post-layout,
  .feature-strip,
  .service-grid,
  .district-grid,
  .blog-grid,
  .footer-grid,
  .card-grid-three {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .nav-links {
    display: none;
  }

  .button-nav {
    display: none;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-bottom: 126px;
  }

  .topbar {
    position: static;
    margin-top: 12px;
    padding: 14px;
    border-radius: 26px;
  }

  .brand-copy small {
    display: none;
  }

  .hero {
    gap: 24px;
    padding: 42px 0 28px;
  }

  .page-hero {
    padding-top: 26px;
  }

  .hero-panel,
  .page-hero-panel,
  .feature-strip article,
  .service-card,
  .info-card,
  .post-card,
  .card,
  .district-link,
  .faq-item,
  .contact-form,
  .contact-card,
  .sidebar-card,
  .footer-card,
  .cta-band,
  .article-content section {
    border-radius: 22px;
  }

  .stats-grid,
  .mini-stat-grid,
  .dispatch-meta {
    grid-template-columns: 1fr;
  }

  .dispatch-route {
    flex-direction: column;
    align-items: stretch;
  }

  .route-line {
    width: 2px;
    height: 36px;
    min-width: auto;
    margin: 0 auto;
    background:
      linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.35), transparent),
      repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0 12px, transparent 12px 24px);
  }

  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-call {
    display: inline-flex;
  }

  .footer-bottom {
    padding-bottom: 12px;
  }

  .floating-pills {
    position: static;
    margin-top: 14px;
  }

  .map-frame {
    min-height: 300px;
  }
}

/* Mobile navigation */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  font-weight: 700;
}

.nav-toggle-icon {
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 1120px) {
  .topbar {
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    padding-top: 8px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .topbar.is-menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 14px;
  }
}
