/* ==========================================================================
   İstanbul Harita Mühendislik & Kadastro Bürosu - Kurumsal Stil Dosyası
   Tasarım: Modern Mühendislik & Yüksek Hassasiyet Teması (Light & Technical)
   Renk Paleti: Surveyor Safety Orange (#ea580c), Precision Navy (#0f172a), Slate (#f8fafc)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Brand Colors - Surveyor High-Vis Orange & Technical Blueprint Navy */
  --primary: #ea580c;
  --primary-hover: #c2410c;
  --primary-light: #fff7ed;
  --primary-border: #fed7aa;
  
  --secondary: #1e3a8a;
  --secondary-hover: #172554;
  --secondary-light: #eff6ff;

  --navy-dark: #0f172a;
  --navy-card: #1e293b;
  
  /* Background & Surface */
  --bg-page: #f8fafc;
  --bg-white: #ffffff;
  --bg-alt: #f1f5f9;
  
  /* Typography */
  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  /* Borders & Dividers */
  --border: #e2e8f0;
  --border-focus: #ea580c;
  
  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 8px 12px -4px rgba(15, 23, 42, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-page);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ================= Top Bar ================= */
.top-bar {
  background: #090e1a;
  color: #94a3b8;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  white-space: nowrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: #cbd5e1;
}

.top-badge {
  background: rgba(234, 88, 12, 0.2);
  color: #fb923c;
  border: 1px solid rgba(234, 88, 12, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

@media (max-width: 900px) {
  .top-bar-right {
    display: none;
  }
  .top-bar-inner {
    justify-content: center;
  }
}

/* ================= Header ================= */
header {
  padding: 0.85rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid var(--primary-border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.12);
  transition: transform 0.2s;
}

.logo:hover .logo-icon-box {
  transform: scale(1.04);
}

.logo-texts {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.logo-title {
  font-weight: 900;
  font-size: 1.22rem;
  letter-spacing: -0.025em;
  color: var(--navy-dark);
  line-height: 1.15;
}

.logo-sub {
  font-size: 0.68rem;
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 1px;
}

/* Navigation Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.header-nav a {
  color: #334155;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.header-nav a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

@media (max-width: 1100px) {
  .header-nav {
    display: none;
  }
}

/* Header CTA Group */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.4rem 0.85rem;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.header-phone:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.header-phone-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-phone-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.phone-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.phone-val {
  font-size: 0.92rem;
  color: var(--navy-dark);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.btn-header-wa {
  background: #16a34a;
  color: #fff;
  padding: 0.62rem 1.1rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.2);
}

.btn-header-wa:hover {
  background: #15803d;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}

.btn-header-cta {
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #fff;
  padding: 0.62rem 1.15rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  transition: all 0.2s;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.25);
}

.btn-header-cta:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

@media (max-width: 768px) {
  .btn-header-wa, .btn-header-cta {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo-title {
    font-size: 1.05rem;
  }
  .logo-sub {
    font-size: 0.62rem;
  }
  .logo-icon-box {
    width: 38px;
    height: 38px;
  }
  .header-phone {
    padding: 0.35rem 0.55rem;
  }
  .phone-val {
    font-size: 0.8rem;
  }
  .phone-label {
    display: none;
  }
}

/* ================= Hero Section ================= */
.hero {
  padding: 4rem 0 4.5rem;
  background-color: #f8fafc;
  background-image: 
    radial-gradient(#cbd5e1 1px, transparent 1px),
    linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  background-size: 24px 24px, 100% 100%;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.hero-content h1 {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 1.2rem;
  color: var(--navy-dark);
  letter-spacing: -0.025em;
}

.hero-content h1 span {
  color: var(--primary);
  position: relative;
}

.hero-content p {
  font-size: 1.08rem;
  color: var(--text-body);
  margin-bottom: 2rem;
  line-height: 1.68;
}

.hero-trust-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

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

.trust-bullet-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.trust-bullet-item svg {
  color: var(--primary);
  background: var(--primary-light);
  border-radius: 50%;
  padding: 2px;
  flex-shrink: 0;
}

/* ================= Lead Form Card ================= */
.lead-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.lead-card-header {
  margin-bottom: 1.5rem;
  text-align: center;
}

.lead-card-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.lead-card-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: var(--navy-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--navy-dark);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.15);
}

.btn-submit {
  width: 100%;
  padding: 0.95rem;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.45);
}

.form-footer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.85rem;
}

/* ================= Stats Counter Bar ================= */
.stats-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  padding: 2.25rem 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.stat-item-number {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--navy-dark);
  line-height: 1;
  margin-bottom: 0.35rem;
  letter-spacing: -0.03em;
}

.stat-item-number span {
  color: var(--primary);
}

.stat-item-label {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 700;
}

/* ================= Section Generic ================= */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-title {
  text-align: center;
  margin-bottom: 3.25rem;
}

.section-badge {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: inline-block;
  background: var(--primary-light);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--primary-border);
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy-dark);
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.section-title p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* ================= Service Cards Grid ================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-img-wrap {
  width: 100%;
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.service-card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

.service-card-btn {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s;
}

.service-card-btn:hover {
  color: var(--primary-hover);
  gap: 0.55rem;
}

/* ================= Sample Projects Portfolio ================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project-img-box {
  width: 100%;
  height: 210px;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-card:hover .project-img-box img {
  transform: scale(1.04);
}

.project-location-tag {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
}

.project-body {
  padding: 1.35rem;
}

.project-body h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
}

.project-meta {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
}

.project-body p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ================= Equipment / Technology Section ================= */
.equip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.equip-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.equip-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.equip-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.85rem;
}

.equip-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.equip-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= Equipment Showcase Cards ================= */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 991px) {
  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.showcase-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.showcase-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow);
}

.showcase-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
  background: #0f172a;
}

.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-img-wrap img {
  transform: scale(1.05);
}

.showcase-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.showcase-card-body h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.showcase-card-body p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.showcase-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  border: 1px solid var(--primary-border);
}

/* ================= Workflow Steps ================= */
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.workflow-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-badge {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
  color: #fff;
  font-weight: 900;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.3);
}

.workflow-card h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.4rem;
}

.workflow-card p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ================= Districts Grid ================= */
.districts-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
}

.districts-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.districts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 0.65rem;
  margin-bottom: 2.25rem;
}

.district-btn {
  background: var(--bg-page);
  border: 1px solid var(--border);
  color: var(--navy-dark);
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
}

.district-btn:hover, .district-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25);
}

/* ================= FAQ Accordion ================= */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question svg {
  color: var(--primary);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

/* ================= Bureau Contact Card ================= */
.bureau-contact-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  margin-top: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.bureau-contact-card h3 {
  font-size: 1.85rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.bureau-contact-card p {
  color: #94a3b8;
  max-width: 620px;
  margin: 0 auto 2rem;
  font-size: 1.02rem;
}

.bureau-contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-bureau-phone {
  background: #ffffff;
  color: var(--navy-dark);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.btn-bureau-phone:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
}

.btn-bureau-wa {
  background: #16a34a;
  color: #ffffff;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.35);
  transition: all 0.2s;
}

.btn-bureau-wa:hover {
  background: #15803d;
  transform: translateY(-2px);
}

/* ================= Footer ================= */
footer {
  border-top: 1px solid var(--border);
  background: #0f172a;
  padding: 3.5rem 0 2rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 800;
}

.footer-links h5 {
  color: #ffffff;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

.footer-authority-badge {
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid rgba(234, 88, 12, 0.3);
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.footer-authority-badge a {
  color: #fb923c;
  font-weight: 800;
  text-decoration: underline;
}

/* ================= Floating WhatsApp Button ================= */
.floating-wa {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #16a34a;
  color: #fff;
  border-radius: 50px;
  padding: 0.75rem 1.35rem;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.35);
  z-index: 999;
  transition: all 0.25s;
}

.floating-wa:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 28px rgba(22, 163, 74, 0.45);
}

/* ================= Success / Alert Modal ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(5px);
}

.modal-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  max-width: 450px;
  width: 90%;
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.modal-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-close-modal {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.btn-close-modal:hover {
  background: var(--primary-hover);
}
