:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --card: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --brand: #2563eb;
  --brand-light: #eff6ff;
  --brand-dark: #1d4ed8;
  --secondary: #0ea5e9;
  --accent: #f59e0b;
  --border: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --radius: 12px;
  --radius-lg: 24px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg);
  background-image:
    radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.05) 0px, transparent 50%);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand);
}

.badge {
  padding: 6px 12px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn.primary {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.btn.primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* Hero Section */
.hero {
  padding: 80px 0 40px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 40px 0;
  }
}

.hero-card {
  background: var(--panel);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.kicker {
  margin-bottom: 20px;
}

.h1 {
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  color: #0f172a;
}

.h1 span {
  color: var(--brand);
  background: linear-gradient(to right, var(--brand), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (max-width: 640px) {
  .h1 {
    font-size: 36px;
  }
}

.sub {
  font-size: 18px;
  color: var(--muted);
  /* max-width: 540px; */
  margin-bottom: 32px;
}

/* Form Card */
.form-card {
  background: var(--panel);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .form-card {
    padding: 24px 16px;
  }
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--secondary));
}

.form-card h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

/* Adv Band */
.adv-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.adv {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.adv-ico {
  font-size: 24px;
  padding: 12px;
  background: var(--brand-light);
  border-radius: 12px;
  color: var(--brand);
}

.adv-title {
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 4px;
}

.adv-sub {
  font-size: 13px;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
}

.section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--brand);
  margin: 12px auto 0;
  border-radius: 2px;
}

/* Filter Bar */
.filter-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-bar {
  display: inline-flex;
  background: var(--brand-light);
  padding: 6px;
  border-radius: 50px;
  gap: 4px;
}

.fbtn {
  padding: 10px 24px;
  border-radius: 50px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.fbtn:hover {
  color: var(--brand);
}

.fbtn.active {
  background: var(--brand);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}

.card.service {
  display: flex;
  gap: 20px;
}

.icon {
  width: 56px;
  height: 56px;
  background: var(--brand-light);
  color: var(--brand);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.card-title {
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 8px;
}

.card-sub {
  color: var(--muted);
  font-size: 14px;
}

/* Districts */
.districts-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.card.district {
  text-align: center;
  padding: 20px;
}

/* FAQ */
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-body {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 15px;
}

/* Form Styles */
.quote-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 480px) {
  .quote-form .form-grid {
    grid-template-columns: 1fr;
  }
}

.f {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.f span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.f input,
.f select,
.f textarea {
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #f8fafc;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
  width: 100%;
}

.f input:focus,
.f select:focus,
.f textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: white;
  box-shadow: 0 0 0 4px var(--brand-light);
}

.f-full {
  grid-column: 1 / -1;
}

.form-actions {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 480px) {
  .form-actions .btn {
    width: 100%;
  }
}

/* Footer */
.footer {
  background: #0f172a;
  color: white;
  padding: 80px 0;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.footer .card-title {
  color: white;
  margin-bottom: 20px;
}

.footer .card-sub {
  color: #94a3b8;
}

.footer .btn {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.footer .btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer .notice {
  color: #64748b;
  margin-top: 24px;
  font-size: 14px;
}

/* Mobile Bar */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 12px 20px;
  border-top: 1px solid var(--border);
  display: none;
  z-index: 2000;
}

@media (max-width: 920px) {
  .mobile-bar {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }
}

.mb-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: var(--max);
  margin: 0 auto;
}

.mb-btn {
  padding: 14px;
  border-radius: 12px;
  font-weight: 800;
  text-align: center;
  font-size: 14px;
}

.mb-btn.offer {
  background: var(--text);
  color: white;
}

.mb-btn.call {
  background: var(--brand);
  color: white;
}

/* Filter Bar */
.filter-wrap {
  margin-bottom: 40px;
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fbtn {
  padding: 10px 20px;
  border-radius: 99px;
  border: 1px solid var(--border);
  background: white;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fbtn.active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

.service-item.is-hidden {
  display: none;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--brand);
}

.bc-sep {
  opacity: 0.5;
}

.bc-current {
  font-weight: 700;
  color: var(--text);
}