/* ==========================================================================
   Cihazlı Su Tesisatçısı — Istanbul Acoustic & Thermal Engineering Studio UI
   2026 Editorial Architectural Theme
   ========================================================================== */

:root {
  --bg-canvas: #f5f2eb;
  --bg-paper: #ffffff;
  --bg-stone: #ece7dc;
  --bg-obsidian: #0b1924;
  --bg-petrol: #132635;
  --bg-petrol-btn: #163044;
  --text-ink: #0b1924;
  --text-body: #324352;
  --text-muted: #5a6b7a;
  --accent-copper: #c85519;
  --accent-copper-hover: #e06322;
  --accent-copper-soft: rgba(200, 85, 25, 0.1);
  --accent-teal: #0d6e6e;
  --accent-teal-soft: rgba(13, 110, 110, 0.1);
  --accent-whatsapp: #148349;
  --accent-whatsapp-hover: #189a56;
  --border-stone: #ddd6c8;
  --border-dark: #22384a;
  --shadow-sm: 0 2px 8px rgba(11, 25, 36, 0.05);
  --shadow-md: 0 10px 28px rgba(11, 25, 36, 0.08);
  --shadow-lg: 0 22px 48px rgba(11, 25, 36, 0.14);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Consolas, monospace;
  --container-max: 1260px;
  --bottom-bar-h: 74px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0 0 calc(var(--bottom-bar-h) + 12px);
  background-color: var(--bg-canvas);
  color: var(--text-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

button,
input,
select {
  font-family: inherit;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mono {
  font-family: var(--font-mono);
}

/* ---------- Top Utility Bar ---------- */
.utility-bar {
  background: var(--bg-obsidian);
  color: #dbe4ec;
  font-size: 12.5px;
  border-bottom: 1px solid var(--border-dark);
}

.utility-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 36px;
  padding: 5px 0;
}

.utility-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
  flex-shrink: 0;
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.utility-link {
  color: #f5f2eb;
  font-weight: 600;
  transition: color 0.15s ease;
}

.utility-link:hover {
  color: var(--accent-copper-hover);
}

/* ---------- Sticky Header & Mega Menu ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 960;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-stone);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
}

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

.brand-emblem {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--text-ink);
}

.brand-domain {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-copper);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link,
.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover,
.nav-mega-trigger:hover,
.nav-mega-trigger[aria-expanded='true'] {
  background: var(--bg-stone);
  color: var(--accent-copper);
}

.nav-link-cta {
  background: var(--bg-obsidian);
  color: #faf8f4;
  margin-left: 6px;
}

.nav-link-cta:hover {
  background: var(--accent-copper);
  color: #ffffff;
}

.mega-caret {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.nav-mega-trigger[aria-expanded='true'] .mega-caret {
  transform: rotate(180deg);
}

/* Mega Menu Panel */
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-top: 3px solid var(--accent-copper);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px 26px 20px;
  display: none;
  z-index: 820;
}

.mega-menu.is-open {
  display: block;
}

.mega-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-stone);
}

.mega-menu-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-ink);
}

.mega-all-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-copper);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.mega-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-copper);
  margin: 0 0 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-stone);
}

.mega-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mega-list a {
  display: block;
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-body);
  transition: background 0.14s ease, color 0.14s ease, padding-left 0.14s ease;
}

.mega-list a:hover {
  background: var(--bg-canvas);
  color: var(--accent-copper);
  padding-left: 12px;
}

.mega-menu-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border-stone);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

/* Mobile Toggle & Drawer */
.mobile-menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-stone);
  background: var(--bg-paper);
  color: var(--text-ink);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border-stone);
  padding: 16px 20px 22px;
  max-height: 75vh;
  overflow-y: auto;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav-link,
.mobile-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  border: 1px solid var(--border-stone);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-ink);
  cursor: pointer;
}

.mobile-acc-panel {
  display: none;
  padding: 10px 6px 4px;
}

.mobile-acc-panel.is-open {
  display: block;
}

.mobile-service-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
  margin-bottom: 10px;
}

.mobile-service-links a {
  padding: 7px 10px;
  font-size: 13.5px;
  border-radius: var(--radius-sm);
  color: var(--text-body);
  background: #faf9f6;
}

/* ---------- Top Problem / District / Neighborhood Search Dock ---------- */
.top-search-dock {
  background: var(--bg-obsidian);
  color: #faf8f4;
  border-bottom: 3px solid var(--accent-copper);
  padding: 16px 0;
}

.top-search-dock--compact {
  padding: 12px 0;
}

.search-dock-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 14px;
  align-items: start;
}

.search-box-wrap {
  position: relative;
}

.search-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f39a68;
  margin-bottom: 6px;
}

.search-input-shell {
  position: relative;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #2b455a;
  border-radius: var(--radius-md);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-input-shell:focus-within {
  border-color: var(--accent-copper-hover);
  box-shadow: 0 0 0 3px rgba(224, 99, 34, 0.25);
}

.search-icon {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px 44px 12px 42px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-ink);
  outline: none;
}

.search-input::placeholder {
  color: #6b7d8d;
}

.search-clear {
  position: absolute;
  right: 10px;
  border: 0;
  background: var(--bg-stone);
  color: var(--text-ink);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: none;
}

.search-clear.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--bg-paper);
  color: var(--text-ink);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 410px;
  overflow-y: auto;
  z-index: 950;
  display: none;
}

.search-results.is-open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-bottom: 1px solid #f0ece3;
  transition: background 0.12s ease;
}

.search-result-item:last-child {
  border-bottom: 0;
}

.search-result-item:hover,
.search-result-item.is-active {
  background: #faf6ee;
}

.search-result-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-ink);
}

.search-result-sub {
  font-size: 12.5px;
  color: var(--text-muted);
}

.search-badge {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--bg-stone);
  color: var(--text-ink);
}

.search-badge--combo {
  background: var(--accent-copper-soft);
  color: var(--accent-copper);
}

.search-badge--mahalle {
  background: var(--accent-teal-soft);
  color: var(--accent-teal);
}

.search-empty {
  padding: 16px;
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.quick-chip {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e9ef;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.quick-chip:hover {
  background: var(--accent-copper);
  border-color: var(--accent-copper);
  color: #ffffff;
}

/* 2-Step District x Service Jumper */
.combo-jumper {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.combo-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
}

.combo-select {
  width: 100%;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid #355066;
  background: #0f2231;
  color: #faf8f4;
  font-size: 13px;
  font-weight: 600;
}

.combo-go-btn {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 0;
  background: var(--accent-copper);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.combo-go-btn:hover {
  background: var(--accent-copper-hover);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--bg-obsidian);
  color: #faf8f4;
}

.btn-primary:hover {
  background: var(--accent-copper);
  color: #ffffff;
}

.btn-copper {
  background: var(--accent-copper);
  color: #ffffff;
}

.btn-copper:hover {
  background: var(--accent-copper-hover);
}

.btn-whatsapp {
  background: var(--accent-whatsapp);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background: var(--accent-whatsapp-hover);
}

.btn-outline {
  background: var(--bg-paper);
  color: var(--text-ink);
  border-color: var(--border-stone);
}

.btn-outline:hover {
  border-color: var(--text-ink);
  background: var(--bg-stone);
}

.btn-sm {
  padding: 9px 14px;
  font-size: 13.5px;
}

/* ---------- Editorial Hero ---------- */
.hero-section {
  padding: 40px 0 44px;
  border-bottom: 1px solid var(--border-stone);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-copper);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent-copper);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.1vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 16px;
  color: var(--text-ink);
}

.hero-lead {
  font-size: 17px;
  color: var(--text-body);
  margin: 0 0 22px;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.metric-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
}

.metric-val {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-ink);
}

.metric-lbl {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.hero-visual-frame {
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.hero-visual-frame img {
  width: 100%;
  aspect-ratio: 16 / 10.5;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.hero-visual-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 6px 2px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-muted);
}

/* ---------- Section Scaffolding ---------- */
.section {
  padding: 46px 0;
}

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

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--text-ink);
}

.section-sub {
  margin: 0;
  color: var(--text-muted);
  max-width: 65ch;
  font-size: 15.5px;
}

/* ---------- Interactive Symptom Diagnosis Console (Image 1 Elevation) ---------- */
.symptom-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.symptom-tab {
  padding: 10px 15px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-stone);
  background: var(--bg-paper);
  color: var(--text-ink);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.symptom-tab:hover {
  border-color: var(--text-ink);
}

.symptom-tab.is-active {
  background: var(--bg-obsidian);
  border-color: var(--bg-obsidian);
  color: #ffffff;
}

.symptom-panel {
  display: none;
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-top: 3px solid var(--accent-copper);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}

.symptom-panel.is-active {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.symptom-panel h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 10px;
}

.symptom-panel p {
  margin: 0 0 18px;
  color: var(--text-body);
  font-size: 15px;
}

.symptom-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.device-recommend-box {
  background: var(--bg-canvas);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.device-recommend-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-copper);
  margin-bottom: 6px;
}

.device-recommend-box p {
  margin: 0;
  font-size: 14px;
  color: var(--text-ink);
  font-weight: 500;
}

/* ---------- 20 Services Bento / Editorial Grid ---------- */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-stone);
  background: var(--bg-paper);
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
}

.filter-pill.is-active {
  background: var(--accent-copper);
  border-color: var(--accent-copper);
  color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.service-card-media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-stone);
  margin-bottom: 12px;
  border: 1px solid #e9e3d7;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.04);
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-copper);
}

.service-card[hidden] {
  display: none;
}

.service-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.service-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-copper);
}

.service-cat-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--bg-stone);
  color: var(--text-body);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 17.5px;
  line-height: 1.28;
  font-weight: 800;
  margin: 0 0 8px;
}

.service-card p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.service-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid #f0ece3;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-ink);
}

.service-card:hover .service-card-foot {
  color: var(--accent-copper);
}

/* ---------- Equipment Cards & Comparison Table ---------- */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.equip-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.equip-card-img {
  background: var(--bg-stone);
  border-bottom: 1px solid var(--border-stone);
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
}

.equip-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.equip-card-body {
  padding: 16px;
}

.equip-card-body h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 6px;
}

.equip-card-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-body);
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-md);
  background: var(--bg-paper);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare-table th,
.compare-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-stone);
}

.compare-table thead th {
  background: var(--bg-obsidian);
  color: #faf8f4;
  font-family: var(--font-display);
  font-weight: 700;
}

.compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.badge-good {
  color: var(--accent-teal);
  font-weight: 700;
}

/* ---------- Districts & Neighborhoods Explorer ---------- */
.district-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.district-filter-input {
  min-width: 280px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-stone);
  background: var(--bg-paper);
  font-size: 14px;
  color: var(--text-ink);
}

.districts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.district-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.district-card:hover {
  border-color: var(--accent-copper);
  transform: translateY(-2px);
}

.district-card[hidden] {
  display: none;
}

.district-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.district-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}

.eta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-teal-soft);
  color: var(--accent-teal);
}

.district-side-meta {
  font-size: 12.5px;
  color: var(--text-muted);
}

.district-mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.district-mini-links a {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  border: 1px solid var(--border-stone);
  color: var(--text-body);
}

.district-mini-links a:hover {
  border-color: var(--accent-copper);
  color: var(--accent-copper);
}

/* ---------- Article Pages (Service, District, District×Service, Neighborhood) ---------- */
.page-hero {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border-stone);
  padding: 30px 0 34px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumbs a:hover {
  color: var(--accent-copper);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: 32px;
  padding: 36px 0 48px;
  align-items: start;
}

.article-main {
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.direct-answer-box {
  background: #faf6ee;
  border: 1px solid var(--border-stone);
  border-left: 4px solid var(--accent-copper);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 24px;
}

.direct-answer-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-copper);
  margin-bottom: 6px;
}

.direct-answer-box p {
  margin: 0;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text-ink);
}

.eeat-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  border: 1px solid var(--border-stone);
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.article-figure {
  background: var(--bg-canvas);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-md);
  padding: 8px;
  margin: 0 0 26px;
}

.article-figure img {
  width: 100%;
  aspect-ratio: 16 / 9.5;
  object-fit: cover;
  object-position: center 25%;
  border-radius: var(--radius-sm);
}

.article-prose h2 {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 800;
  margin: 28px 0 10px;
  color: var(--text-ink);
}

.article-prose p {
  margin: 0 0 16px;
  color: var(--text-body);
  max-width: 70ch;
}

.tech-list {
  margin: 0 0 20px;
  padding-left: 20px;
  color: var(--text-body);
}

.tech-list li {
  margin-bottom: 8px;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0 26px;
}

.process-step-card {
  background: var(--bg-canvas);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.process-step-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-copper);
  margin-bottom: 4px;
}

.process-step-card h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 800;
  margin: 0 0 6px;
}

.process-step-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-body);
}

/* Price-Free Notice Box */
.contact-notice-box {
  background: var(--bg-obsidian);
  color: #faf8f4;
  border-radius: var(--radius-md);
  padding: 20px 22px;
  margin: 26px 0;
  border-left: 4px solid var(--accent-copper);
}

.contact-notice-box h3 {
  font-family: var(--font-display);
  font-size: 18px;
  margin: 0 0 8px;
  color: #ffffff;
}

.contact-notice-box p {
  margin: 0 0 14px;
  color: #d1dce5;
  font-size: 14.5px;
}

/* Sticky Article Sidebar */
.article-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sidebar-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-md);
  padding: 20px;
}

.sidebar-card--dark {
  background: var(--bg-obsidian);
  color: #faf8f4;
  border-color: var(--border-dark);
}

.sidebar-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 12px;
}

.sidebar-dispatch-btns {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dispatch-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-petrol-btn);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
}

.dispatch-btn--copper {
  background: var(--accent-copper);
}

.dispatch-btn--wa {
  background: var(--accent-whatsapp);
}

.chip-mesh {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mesh-chip {
  display: inline-block;
  padding: 6px 11px;
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  border: 1px solid var(--border-stone);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-body);
}

.mesh-chip:hover {
  border-color: var(--accent-copper);
  color: var(--accent-copper);
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.faq-item {
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-ink);
  cursor: pointer;
}

.faq-panel {
  display: none;
  padding: 0 16px 15px;
  font-size: 14.5px;
  color: var(--text-body);
}

.faq-item.is-open .faq-panel {
  display: block;
}

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

.faq-plus {
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--accent-copper);
  transition: transform 0.15s ease;
}

/* ---------- Contact Form / WhatsApp Builder ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-field {
  margin-bottom: 14px;
}

.form-field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-ink);
}

.form-control {
  width: 100%;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-stone);
  background: var(--bg-canvas);
  font-size: 14.5px;
  color: var(--text-ink);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-obsidian);
  color: #cbd5e1;
  padding: 46px 0 36px;
  border-top: 3px solid var(--accent-copper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}

.footer-title {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f39a68;
  margin: 0 0 12px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 13.5px;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: #94a3b8;
}

/* ---------- Fixed Bottom Action Bar (Image 1 Layout) ---------- */
.sticky-bottom-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: var(--bg-obsidian);
  border-top: 2px solid var(--accent-copper);
  box-shadow: 0 -8px 26px rgba(11, 25, 36, 0.28);
  padding: 9px 14px;
}

.bottom-bar-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bottom-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-petrol-btn);
  color: #ffffff;
  border: 1px solid #244662;
  transition: transform 0.12s ease, background 0.15s ease;
}

.bottom-action:hover {
  background: #1d415c;
  transform: translateY(-1px);
}

.bottom-action--acil {
  background: var(--accent-copper);
  border-color: var(--accent-copper);
}

.bottom-action--acil:hover {
  background: var(--accent-copper-hover);
}

.bottom-action--wa {
  background: var(--accent-whatsapp);
  border-color: var(--accent-whatsapp);
}

.bottom-action--wa:hover {
  background: var(--accent-whatsapp-hover);
}

.bottom-action-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.bottom-action-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0.9;
}

.bottom-action-val {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 1120px) {
  .services-grid,
  .equipment-grid,
  .districts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .search-dock-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid,
  .article-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }
}

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

  .mobile-menu-btn {
    display: inline-flex;
  }

  .symptom-panel.is-active {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  :root {
    --bottom-bar-h: 112px;
  }

  .utility-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid,
  .equipment-grid,
  .districts-grid,
  .process-steps-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .combo-row {
    grid-template-columns: 1fr;
  }

  .bottom-bar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .bottom-action {
    padding: 7px 8px;
    gap: 7px;
  }

  .bottom-action-val {
    font-size: 13px;
  }
}

/* ---------- Top Reading Progress Bar ---------- */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-copper), #f59e0b);
  z-index: 1200;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ---------- Architectural Preloader Screen ---------- */
.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg-obsidian);
  color: #faf8f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.42s ease;
  animation: preloaderAutoFailSafe 2.2s forwards;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  animation: none !important;
}

@keyframes preloaderAutoFailSafe {
  0%, 88% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

.preloader-emblem-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-sonar {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--accent-copper);
  opacity: 0;
  animation: sonarRing 1.4s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes sonarRing {
  0% { transform: scale(0.84); opacity: 0.85; }
  100% { transform: scale(1.42); opacity: 0; }
}

.preloader-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #dbe4ec;
  text-align: center;
}

.preloader-track {
  width: min(260px, 74vw);
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
}

.preloader-fill {
  width: 35%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-copper), #f59e0b);
  border-radius: 999px;
  animation: preloaderSweep 0.55s ease-out forwards;
}

@keyframes preloaderSweep {
  0% { width: 15%; }
  100% { width: 100%; }
}

/* ---------- Live Indicator & Hero Telemetry Motion ---------- */
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25); }
  50% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.08); }
}

.live-dot {
  animation: livePulse 2s ease-in-out infinite;
}

/* ---------- Architectural Scroll Reveal ---------- */
html.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1), transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

html.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Structured Case-Study Gallery Grid ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gallery-card {
  background: var(--bg-paper);
  border: 1px solid var(--border-stone);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-copper);
}

.gallery-media {
  position: relative;
  aspect-ratio: 16 / 10.5;
  background: var(--bg-obsidian);
  overflow: hidden;
  border-bottom: 1px solid var(--border-stone);
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-card:hover .gallery-media img {
  transform: scale(1.035);
}

.gallery-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(11, 25, 36, 0.9);
  color: #faf8f4;
  border: 1px solid rgba(200, 85, 25, 0.7);
}

.gallery-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 10px;
}

.gallery-body h3 {
  font-family: var(--font-display);
  font-size: 16.5px;
  line-height: 1.3;
  font-weight: 800;
  margin: 0 0 6px;
}

.gallery-body p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-body);
}

.gallery-foot {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-copper);
}

@media (max-width: 1120px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .site-preloader {
    display: none !important;
  }
  .live-dot,
  .preloader-sonar {
    animation: none !important;
  }
  html.js-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
