/* ==========================================================================
   Çekici Merkezi Ankara - Industrial Precision & Ankara Rescue Craft Theme
   PageSpeed 100/100 · Zero CLS · Modern CSS with Anchor Positioning & Popover
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & PALETTE
   -------------------------------------------------------------------------- */
:root {
  --bg-canvas: #F7F6F2;
  --bg-asphalt: #141920;
  --bg-asphalt-2: #1C232D;
  --surface-card: #FFFFFF;
  --border-hair: #DDE1E6;
  --accent-signal: #C84600;
  --accent-amber: #F59E0B;
  --text-ink: #11161D;
  --text-muted: #4B5563;
  --wa-green: #0F7A3F;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Radii & Shadows */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-signal: 0 4px 18px rgba(232, 93, 4, 0.35);
}

/* --------------------------------------------------------------------------
   2. UNIVERSAL RESET & ZERO-OVERFLOW ENFORCEMENT
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: clip;
  max-width: 100%;
}

body {
  background-color: var(--bg-canvas);
  color: var(--text-ink);
  font-family: var(--font-sans);
  line-height: 1.55;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

input, button, textarea, select {
  font: inherit;
}

/* Accessible hidden text */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* --------------------------------------------------------------------------
   3. RESPONSIVE TYPOGRAPHY (clamp: max <= 2.5 * min)
   -------------------------------------------------------------------------- */
h1 {
  font-size: clamp(1.75rem, 3.5vw + 1rem, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--text-ink);
}

h2 {
  font-size: clamp(1.4rem, 2.8vw + 0.8rem, 2.4rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--text-ink);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw + 0.6rem, 1.8rem);
  line-height: 1.3;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: var(--text-ink);
}

h4 {
  font-size: clamp(1.05rem, 1.2vw + 0.5rem, 1.35rem);
  line-height: 1.35;
  font-weight: 600;
  color: var(--text-ink);
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-center {
  text-align: center;
}

/* --------------------------------------------------------------------------
   4. LAYOUT CONTAINERS & SECTIONS
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
}

.section {
  padding-block: 3.5rem;
}

.section-alt {
  background-color: #ECEAE4;
  border-block: 1px solid var(--border-hair);
}

@media (min-width: 900px) {
  .section {
    padding-block: 5rem;
  }
}

.section-head {
  margin-bottom: 2.25rem;
  max-width: 760px;
}

.section-head.text-center {
  margin-inline: auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-signal);
  margin-bottom: 0.5rem;
}

.section-title {
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. SITE HEADER & MODERN NAVBAR (ResizeObserver + Popover + Anchor)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(20, 25, 32, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(221, 225, 230, 0.15);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0.75rem 1rem;
  min-height: 4.5rem;
  gap: 0.75rem;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  width: 220px;
  height: 58px;
  object-fit: contain;
  display: block;
}

/* Scale logo proportionally on mobile below 640px to prevent overflow */
@media (max-width: 640px) {
  .header-inner {
    padding: 0.65rem 0.75rem;
    min-height: 4.25rem;
    gap: 0.5rem;
  }
  .site-logo img {
    width: 155px;
    height: auto;
  }
}

.site-nav {
  display: flex;
  align-items: center;
}

/* Anchor Positioning: Menu button anchor registration */
.menu-button {
  anchor-name: --menu-button;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(221, 225, 230, 0.2);
  color: #FFFFFF;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
  flex-shrink: 0;
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(221, 225, 230, 0.4);
}

.menu-button .menu-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* Popover Mobile Menu Styling */
.site-menu[popover] {
  position: fixed;
  position-anchor: --menu-button;
  inset-block-start: 4.75rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1rem;
  inset-inline-end: anchor(--menu-button right);
  margin: 0.5rem 0 0 0;
  padding: 1.25rem;
  background: var(--bg-asphalt);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  list-style: none;
  min-width: 240px;
  max-width: calc(100vw - 2rem);
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: opacity 0.22s ease, transform 0.22s ease, display 0.22s ease;
  transition-behavior: allow-discrete;
}

.site-menu[popover]:is(:popover-open, .\:popover-open) {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .site-menu[popover]:is(:popover-open, .\:popover-open) {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
}

.site-menu[popover]::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.22s ease, display 0.22s ease;
  transition-behavior: allow-discrete;
}

.site-menu[popover]:is(:popover-open, .\:popover-open)::backdrop {
  opacity: 1;
}

@starting-style {
  .site-menu[popover]:is(:popover-open, .\:popover-open)::backdrop {
    opacity: 0;
  }
}

.site-menu .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
}

.site-menu .nav-link:hover {
  color: var(--accent-amber);
  background: rgba(255, 255, 255, 0.06);
}

.site-menu .nav-link[aria-current="page"] {
  color: var(--accent-signal);
  font-weight: 700;
  background: rgba(232, 93, 4, 0.12);
}

/* Header Wide State (when navigation fits horizontally) */
.site-header.is-wide .menu-button {
  display: none !important;
}

.site-header.is-wide .site-menu {
  display: flex !important;
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  visibility: visible !important;
}

.site-header.is-wide .site-menu::backdrop {
  display: none !important;
}

.site-header.is-wide .site-menu .nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-header.is-wide .site-menu .nav-link[aria-current="page"] {
  background: transparent;
  color: var(--accent-signal);
  position: relative;
}

.site-header.is-wide .site-menu .nav-link[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--accent-signal);
  border-radius: 2px;
}

/* Header Measuring State (temporary for ResizeObserver calculation) */
.site-header.is-measuring,
.site-header.is-measuring * {
  transition: none !important;
  animation: none !important;
}

.site-header.is-measuring .menu-button {
  display: none !important;
}

.site-header.is-measuring .site-menu {
  display: flex !important;
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  flex-direction: row;
  gap: 1.5rem;
  list-style: none;
}

/* Header CTA Button */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-signal);
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.15rem;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-signal);
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}

.header-cta:hover {
  background: #D05303;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 93, 4, 0.45);
}

.header-cta .phone-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  flex-shrink: 0;
}

/* Hide CTA text on narrow screens (< 540px) and hide completely on tiny screens (< 420px) to prevent 320px-480px header overflow */
@media (max-width: 540px) {
  .header-cta span {
    display: none;
  }
  .header-cta {
    padding: 0.55rem 0.65rem;
    gap: 0;
  }
}

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

/* --------------------------------------------------------------------------
   6. HERO BAND & HERO CONTAINER (Aligned with HTML body partials)
   -------------------------------------------------------------------------- */
.hero-band {
  background: linear-gradient(135deg, rgba(20, 25, 32, 0.92), rgba(28, 35, 45, 0.82)), url('../images/bg-asphalt-3d.webp') center/cover no-repeat;
  color: #FFFFFF;
  padding-block: 2.5rem 3.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(221, 225, 230, 0.12);
  width: 100%;
}

.hero-section {
  background: linear-gradient(180deg, var(--bg-asphalt) 0%, var(--bg-asphalt-2) 100%);
  color: #FFFFFF;
  padding-block: 2.75rem 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(221, 225, 230, 0.12);
}

.hero-container,
.hero-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-container.hero-with-media {
    grid-template-columns: 0.95fr 1.05fr;
    grid-template-areas:
      "title title"
      "media copy";
    column-gap: 2.75rem;
    row-gap: 1.75rem;
    padding-block: 1rem;
  }
  .hero-with-media .hero-heading { grid-area: title; }
  .hero-with-media .hero-media   { grid-area: media; }
  .hero-with-media .hero-copy    { grid-area: copy; }
}

.hero-heading {
  color: #FFFFFF;
  margin-bottom: 0;
}

.hero-copy,
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 0.25rem;
}

/* Dark Hero BLUF box harmony */
.hero-band .bluf-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--accent-signal);
  color: #F1F5F9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-band .bluf-box p {
  color: #F1F5F9;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(232, 93, 4, 0.15);
  border: 1px solid rgba(232, 93, 4, 0.4);
  color: var(--accent-amber);
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-signal);
  box-shadow: 0 0 8px var(--accent-signal);
}

.hero-title {
  color: #FFFFFF;
  font-weight: 800;
  line-height: 1.15;
}

.hero-title .highlight {
  color: var(--accent-signal);
}

.hero-desc {
  color: #CBD5E1;
  font-size: 1.08rem;
  line-height: 1.6;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 0.5rem;
}

.hero-media,
.hero-visual {
  aspect-ratio: 16/10;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-asphalt-2);
  border: 1px solid rgba(221, 225, 230, 0.15);
  box-shadow: var(--shadow-lg);
}

.hero-img,
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   7. INTERACTIVE 3D SIMULATION SECTION & TOOLBAR (.sim-section, .stage-3d-wrap)
   -------------------------------------------------------------------------- */
.sim-section,
.stage-3d-section {
  background: var(--bg-asphalt);
  color: #FFFFFF;
  padding-block: 4rem;
  position: relative;
  border-bottom: 1px solid rgba(221, 225, 230, 0.1);
}

/* High contrast headings and descriptions on dark background */
.sim-section h2,
.sim-section .section-head h2,
.stage-3d-section h2,
.stage-3d-section .section-head h2 {
  color: #FFFFFF;
}

.sim-section .section-head p,
.stage-3d-section .section-head p {
  color: #CBD5E1;
}

.stage-3d-wrap {
  width: 100%;
  background: radial-gradient(circle at center, #242c38 0%, #141920 75%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(232, 93, 4, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 40px rgba(232, 93, 4, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
}

.stage-3d-wrap canvas {
  width: 100%;
  aspect-ratio: 16/9;
  max-height: 520px;
  display: block;
  touch-action: pan-y;
  cursor: grab;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.stage-3d-wrap canvas:active {
  cursor: grabbing;
}

/* Sleek dark toolbar directly integrated below canvas */
.sim-controls {
  background: rgba(20, 25, 32, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(221, 225, 230, 0.14);
  padding: 0.85rem 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  min-height: 56px;
  z-index: 10;
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

.sim-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
}

.btn-sim {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(221, 225, 230, 0.2);
  color: #CBD5E1;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-sim:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-color: rgba(221, 225, 230, 0.4);
}

.btn-sim.active {
  background: var(--accent-signal);
  color: #FFFFFF;
  border-color: var(--accent-signal);
  box-shadow: 0 0 14px rgba(232, 93, 4, 0.45);
}

.sim-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.sim-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid rgba(232, 93, 4, 0.35);
  color: var(--accent-amber);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn-sim-toggle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(221, 225, 230, 0.22);
  color: #CBD5E1;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.btn-sim-toggle:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   8. BLUF BOX (Direct Answer GEO & SEO Summary Box)
   -------------------------------------------------------------------------- */
.bluf-box {
  background: #FFFFFF;
  border-left: 4px solid var(--accent-signal);
  border-top: 1px solid var(--border-hair);
  border-right: 1px solid var(--border-hair);
  border-bottom: 1px solid var(--border-hair);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.25rem 1.5rem;
  margin-block: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.bluf-box p {
  color: var(--text-ink);
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 0;
}

.bluf-box .bluf-highlight {
  color: var(--accent-signal);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. TABLE OF CONTENTS (.table-of-contents, .toc-title, .toc-list)
   -------------------------------------------------------------------------- */
.table-of-contents {
  background: #FFFFFF;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-block: 2rem;
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--text-ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toc-list,
.table-of-contents ol,
.table-of-contents ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.toc-list a,
.table-of-contents a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.toc-list a:hover,
.table-of-contents a:hover {
  color: var(--accent-signal);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   10. CARDS GRID & SERVICE CARDS (.cards-grid, .service-card)
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-block: 2rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card h3 {
  font-size: 1.25rem;
  color: var(--text-ink);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   11. FEATURE MEDIA BOX (.feature-media-box, .feature-media-text)
   -------------------------------------------------------------------------- */
.feature-media-box {
  display: grid;
  gap: 2rem;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2.5rem;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 800px) {
  .feature-media-box {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

.feature-media-text {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-media-text h3 {
  font-size: 1.35rem;
  color: var(--text-ink);
}

.feature-media-text p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   12. FLEET CONTENT GRID (.fleet-content-grid, .fleet-image-wrap, .fleet-text)
   -------------------------------------------------------------------------- */
.fleet-content-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 850px) {
  .fleet-content-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
  }
}

.fleet-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.fleet-text h3 {
  font-size: 1.35rem;
  color: var(--text-ink);
}

.fleet-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.fleet-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-hair);
  box-shadow: var(--shadow-md);
  background: var(--bg-asphalt);
}

.fleet-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   13. PROCESS STEPS (.process-steps, .step-card, .step-num)
   -------------------------------------------------------------------------- */
.process-steps {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-block: 2rem;
}

.step-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-signal);
  opacity: 0.9;
  letter-spacing: -0.04em;
}

.step-card h3 {
  font-size: 1.18rem;
  color: var(--text-ink);
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   14. SPECIFICATION TABLE & RESPONSIVE SCROLL WRAPPER
   -------------------------------------------------------------------------- */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-block: 1.75rem;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.spec-table,
.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.spec-table th,
.table-wrap th {
  background: var(--bg-asphalt);
  color: #FFFFFF;
  padding: 0.9rem 1.15rem;
  font-weight: 700;
  white-space: nowrap;
  border-bottom: 2px solid var(--accent-signal);
}

.spec-table td,
.table-wrap td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid var(--border-hair);
  color: var(--text-ink);
  line-height: 1.5;
}

.spec-table tr:last-child td,
.table-wrap tr:last-child td {
  border-bottom: none;
}

.spec-table tr:nth-child(even) td,
.table-wrap tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.015);
}

.spec-table tr:hover td,
.table-wrap tr:hover td {
  background: rgba(232, 93, 4, 0.04);
}

/* --------------------------------------------------------------------------
   15. REGIONAL & SERVICE BOXES GRID (.boxes-grid & .box-item)
   -------------------------------------------------------------------------- */
.boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-block: 2rem;
}

.box-item {
  background: #FFFFFF;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
}

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

.box-item .box-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.box-item .box-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.box-item .box-meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-signal);
  padding-top: 0.5rem;
}

/* --------------------------------------------------------------------------
   16. ACCORDION FAQ (<details>/<summary> with +/−, .faq-body)
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-block: 2rem;
}

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.faq-item[open] {
  border-color: var(--accent-signal);
  box-shadow: var(--shadow-sm);
}

.faq-summary,
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 1.25rem;
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-ink);
  list-style: none;
  user-select: none;
}

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

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(232, 93, 4, 0.1);
  color: var(--accent-signal);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
  margin-left: 0.75rem;
  transition: transform 0.2s ease, background 0.2s ease;
}

.faq-icon::after {
  content: "+";
  line-height: 1;
}

.faq-item[open] .faq-icon::after {
  content: "−";
  line-height: 1;
}

.faq-item[open] .faq-icon {
  background: var(--accent-signal);
  color: #FFFFFF;
}

/* Fallback indicator for native summary without custom .faq-icon */
.faq-item summary:not(:has(.faq-icon))::after {
  content: "+";
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent-signal);
  margin-left: 0.75rem;
}

.faq-item[open] summary:not(:has(.faq-icon))::after {
  content: "−";
}

.faq-content,
.faq-body {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  border-top: 1px solid rgba(221, 225, 230, 0.6);
  padding-top: 1rem;
}

.faq-body p {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   17. CONTACT SECTION & DUAL GRID (.contact-section, .contact-meta, .trust-checklist)
   -------------------------------------------------------------------------- */
.contact-section {
  padding-block: 3.5rem;
  background-color: var(--bg-canvas);
}

@media (min-width: 900px) {
  .contact-section {
    padding-block: 5rem;
  }
}

.contact-dual-grid {
  display: grid;
  gap: 1.75rem;
  margin-block: 2rem;
}

@media (min-width: 800px) {
  .contact-dual-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-card.primary {
  background: linear-gradient(135deg, var(--bg-asphalt) 0%, var(--bg-asphalt-2) 100%);
  color: #FFFFFF;
  border: 1px solid rgba(232, 93, 4, 0.35);
  box-shadow: var(--shadow-lg);
}

.contact-card.primary .contact-title {
  color: #FFFFFF;
}

.contact-card.primary .contact-desc {
  color: #CBD5E1;
}

.contact-card h3,
.contact-card .contact-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-ink);
}

.contact-card p,
.contact-card .contact-desc {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.contact-meta {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-hair);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-ink);
}

.contact-meta p {
  margin-bottom: 0;
}

.trust-checklist,
.trust-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-block: 0.5rem;
}

.trust-checklist li,
.trust-item {
  position: relative;
  padding-left: 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-ink);
  line-height: 1.5;
}

.trust-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--wa-green);
  font-weight: 800;
  font-size: 1.1rem;
}

.trust-icon {
  width: 22px;
  height: 22px;
  color: var(--accent-amber);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   18. INTERACTIVE 3D CARD (GPU-only transform & opacity)
   -------------------------------------------------------------------------- */
.card-3d {
  background: #FFFFFF;
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   19. BUTTONS & ACTIONS (.btn, .btn-primary, .btn-secondary, .btn-wa)
   -------------------------------------------------------------------------- */
.btn,
.btn-primary,
.btn-secondary,
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-signal);
  color: #FFFFFF;
  box-shadow: var(--shadow-signal);
}

.btn-primary:hover {
  background: #D05303;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 93, 4, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(221, 225, 230, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(221, 225, 230, 0.45);
}

.btn-wa {
  background: var(--wa-green);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(15, 122, 63, 0.35);
}

.btn-wa:hover {
  background: #0B5C2F;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(15, 122, 63, 0.45);
}

.btn:active,
.btn-primary:active,
.btn-wa:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   20. STICKY MOBILE BOTTOM BAR (< 900px)
   -------------------------------------------------------------------------- */
.sticky-mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(20, 25, 32, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(221, 225, 230, 0.2);
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (min-width: 900px) {
  .sticky-mobile-bar {
    display: none !important;
  }
}

.sticky-bar-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  color: #FFFFFF;
  transition: transform 0.1s ease, filter 0.15s ease;
  min-height: 48px;
}

.sticky-bar-btn.call-btn {
  background: var(--accent-signal);
  box-shadow: 0 2px 10px rgba(232, 93, 4, 0.4);
}

.sticky-bar-btn.wa-btn {
  background: var(--wa-green);
  box-shadow: 0 2px 10px rgba(15, 122, 63, 0.4);
}

.sticky-bar-btn:active {
  transform: scale(0.97);
}

@media (max-width: 899px) {
  body {
    padding-bottom: 4.75rem;
  }
}

/* --------------------------------------------------------------------------
   21. SITE FOOTER (Dark Asphalt)
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-asphalt);
  color: #E2E8F0;
  border-top: 2px solid var(--accent-signal);
  padding-block: 3.5rem 2rem;
  position: relative;
}

.footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: inline-flex;
}

.footer-logo img {
  width: 200px;
  height: 53px;
  object-fit: contain;
}

.footer-tagline {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.6;
  max-width: 38ch;
}

.footer-nap {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: #CBD5E1;
}

.footer-company {
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1rem;
}

.footer-address, .footer-phone {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-icon {
  width: 18px;
  height: 18px;
  color: var(--accent-signal);
  flex-shrink: 0;
}

.footer-phone a {
  color: var(--accent-amber);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.15s ease;
}

.footer-phone a:hover {
  color: var(--accent-signal);
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-nav-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 1rem;
  margin-top: 2.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(221, 225, 230, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #94A3B8;
}

.footer-legal-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.footer-legal-bar a {
  color: #94A3B8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-legal-bar a:hover {
  color: var(--accent-amber);
}

.footer-legal-bar .sep {
  color: #475569;
}

.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.footer-copyright .sep {
  color: #475569;
}

.agency-signature a {
  color: var(--accent-signal);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.agency-signature a:hover {
  color: var(--accent-amber);
}

/* --------------------------------------------------------------------------
   22. ACCESSIBILITY & MEDIA QUERIES
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 2px solid var(--accent-signal);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card-3d:hover,
  .service-card:hover,
  .step-card:hover {
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .menu-button, .header-cta, .btn, .btn-primary, .btn-wa, .sticky-bar-btn {
    border: 2px solid ButtonText;
  }
  :focus-visible {
    outline: 3px solid Highlight;
  }
}
