/* ==========================================================================
   DMR TEKNİK - ULTRA-FAST HIGH PERFORMANCE DESIGN SYSTEM
   ========================================================================== */
:root {
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Color Palette */
  --bg-primary: #060b18;
  --bg-surface: #0a1329;
  --bg-card: rgba(13, 23, 49, 0.72);
  --bg-card-hover: rgba(19, 34, 72, 0.88);
  --bg-glass: rgba(10, 19, 41, 0.82);

  --accent-cyan: #00f0ff;
  --accent-cyan-hover: #38e1ff;
  --accent-blue: #2563eb;
  --accent-blue-light: #38bdf8;
  --accent-green: #10b981;
  --accent-amber: #f59e0b;

  --text-white: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-cyan: #38bdf8;

  --border-subtle: rgba(56, 189, 248, 0.16);
  --border-hover: rgba(0, 240, 255, 0.45);
  --border-glass: rgba(255, 255, 255, 0.08);

  --glow-cyan: 0 0 25px rgba(0, 240, 255, 0.28);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-white);
}

body {
  font-family: var(--font-main);
  background: radial-gradient(circle at 50% 0%, #0d1e44 0%, var(--bg-primary) 65%);
  /* background-attachment: fixed causes GPU compositing issues on mobile — disabled */
  background-attachment: scroll;
  color: var(--text-white);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  /* Smooth scrolling */
  scroll-behavior: smooth;
  /* Improve tap response on mobile */
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-white);
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: var(--text-muted); }
.text-cyan { color: var(--text-cyan); }
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, #38bdf8 70%, #00f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-container {
  padding-top: 50px;
  padding-bottom: 70px;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb-link {
  color: var(--accent-cyan);
}

.breadcrumb-link:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  color: var(--text-muted);
}

.breadcrumb-current {
  color: var(--text-secondary);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-normal);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
  /* Prevent any child from wrapping or overflowing */
  min-width: 0;
}

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

.brand-logo-img {
  height: 44px;
  width: auto;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex-shrink: 1;
  min-width: 0;
}

@media (min-width: 1024px) {
  .nav-menu {
    display: flex;
  }
}

@media (min-width: 1200px) {
  .nav-menu {
    gap: 8px;
  }
}

.nav-link {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .nav-link {
    font-size: 0.95rem;
    padding: 8px 12px;
  }
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-cyan);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  border-radius: 2px;
}

/* Dropdown Menu */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: rgba(9, 18, 41, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  padding: 10px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 1050;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.dropdown-item:hover {
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.dropdown-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-cyan);
  flex-shrink: 0;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

@media (min-width: 1200px) {
  .nav-actions {
    gap: 14px;
  }
}

.header-phone-badge {
  display: none;
  flex-direction: column;
  align-items: flex-end;
  white-space: nowrap;
}

/* Show phone badge only on wide screens where there's room */
@media (min-width: 1200px) {
  .header-phone-badge {
    display: flex;
  }
}

.header-phone-badge span {
  font-size: 0.7rem;
  color: var(--text-cyan);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.header-phone-badge a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.header-phone-badge a:hover {
  color: var(--accent-cyan);
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: block;
  background: transparent;
  border: none;
  color: var(--text-white);
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .mobile-nav-toggle {
    display: none;
  }
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
}

/* Nav WhatsApp Button — icon-only on small screens */
.nav-wa-btn {
  padding: 8px 10px;
}

.nav-wa-label {
  display: none;
}

@media (min-width: 480px) {
  .nav-wa-label {
    display: inline;
  }
  .nav-wa-btn {
    padding: 8px 16px;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  height: calc(100vh - 76px);
  background: rgba(6, 11, 24, 0.98);
  backdrop-filter: blur(25px);
  padding: 24px 20px;
  display: none;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  z-index: 999;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer a {
  font-size: 1.05rem;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-white);
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer a:hover {
  background: rgba(0, 240, 255, 0.1);
  border-color: var(--border-hover);
  color: var(--accent-cyan);
}

.mobile-drawer-cta {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  line-height: 1;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-cyan {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #050d24;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #38e1ff 0%, #60a5fa 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5);
  color: #050d24;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2cd46c 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.55);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.05rem;
}

/* Glowing Live Badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #34d399;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 60px 0 80px 0;
  overflow: hidden;
}

@media (min-width: 992px) {
  .hero-section {
    padding: 80px 0 110px 0;
  }
}

.hero-glow-bg {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.18) 0%, rgba(37, 99, 235, 0.08) 50%, transparent 80%);
  /* Use will-change to promote to GPU layer; skip blur on mobile to avoid repaints */
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
}

@media (max-width: 767px) {
  .hero-glow-bg {
    /* Heavy blur is expensive on mobile GPU — use a lighter version */
    filter: blur(50px);
    width: 500px;
    height: 300px;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.hero-title {
  font-size: 2.3rem;
  letter-spacing: -0.5px;
  line-height: 1.18;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 10px;
}

.hero-meta-items {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.hero-meta-item svg {
  color: var(--accent-cyan);
  width: 18px;
  height: 18px;
}

/* Hero Media Card */
.hero-media-wrapper {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

.hero-image-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-overlay-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(6, 13, 31, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-overlay-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 240, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.hero-overlay-icon svg {
  width: 24px;
  height: 24px;
}

.hero-overlay-text h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.hero-overlay-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.stats-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 30px 0;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   TRUST USPs
   ========================================================================== */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 640px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  opacity: 0;
  transition: var(--transition-fast);
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card), var(--glow-cyan);
}

.trust-card:hover::before {
  opacity: 1;
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.trust-icon-box svg {
  width: 26px;
  height: 26px;
}

.trust-card h3 {
  font-size: 1.15rem;
}

.trust-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   SECTIONS GENERAL
   ========================================================================== */
.section-padding {
  padding: 50px 0;
}

@media (min-width: 768px) {
  .section-padding {
    padding: 75px 0;
  }
}

@media (min-width: 992px) {
  .section-padding {
    padding: 100px 0;
  }
}

.section-alt-bg {
  background: rgba(10, 19, 41, 0.45);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 50px;
  }
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
}

.section-title {
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

@media (min-width: 480px) {
  .section-title {
    font-size: 2.1rem;
  }
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.6rem;
  }
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition-normal);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 240, 255, 0.2);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15) 0%, rgba(37, 99, 235, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cyan);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.service-card h3 {
  font-size: 1.25rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cbd5e1;
}

.service-features-list li svg {
  width: 14px;
  height: 14px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

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

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   PRICE & SERVICE ESTIMATOR
   ========================================================================== */
.estimator-wrapper {
  background: linear-gradient(135deg, rgba(13, 23, 49, 0.9) 0%, rgba(10, 19, 41, 0.95) 100%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 36px 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--glow-cyan);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .estimator-wrapper {
    padding: 48px;
  }
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 992px) {
  .estimator-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
  }
}

.estimator-inputs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.input-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-cyan);
}

.select-chips-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip-option {
  position: relative;
}

.chip-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.chip-option input[type="radio"]:checked + .chip-label {
  background: rgba(0, 240, 255, 0.18);
  border-color: var(--accent-cyan);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
}

.form-select-dark {
  width: 100%;
  padding: 12px 16px;
  background: rgba(6, 11, 24, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-white);
  font-family: var(--font-main);
  font-size: 0.95rem;
  outline: none;
  cursor: pointer;
}

.form-select-dark:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

/* Estimator Output Card */
.estimator-result-card {
  background: rgba(6, 13, 31, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: center;
}

.est-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin: 0 auto;
}

.est-price-val {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.est-price-val span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.est-addon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(37, 99, 235, 0.14) 100%);
  border: 1px solid rgba(0, 240, 255, 0.32);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.82rem;
  color: #ffffff;
  margin: -4px auto 0 auto;
  max-width: 100%;
  box-shadow: 0 4px 18px rgba(0, 240, 255, 0.12);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.est-addon-badge svg {
  width: 15px;
  height: 15px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.est-addon-badge strong {
  color: #38e1ff;
  font-weight: 700;
}

.est-addon-badge em {
  color: var(--accent-cyan);
  font-style: normal;
  font-weight: 600;
}

.est-addon-badge.hidden {
  display: none;
}

.est-details {
  font-size: 0.88rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 14px 0;
}

/* ==========================================================================
   COMPARISON SECTION
   ========================================================================== */
.comparison-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  /* Critical: allow horizontal scroll on mobile instead of overflowing */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  min-width: 540px; /* Prevent table from collapsing below readable width */
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.88rem;
}

@media (min-width: 768px) {
  .comparison-table th,
  .comparison-table td {
    padding: 18px 24px;
    font-size: 0.95rem;
  }
}

.comparison-table th {
  background: rgba(10, 19, 41, 0.9);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.th-dmr {
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08) !important;
}

.td-dmr {
  background: rgba(0, 240, 255, 0.04);
  font-weight: 600;
  color: #ffffff;
}

.td-bad {
  color: var(--text-muted);
}

/* ==========================================================================
   LOCAL SEO SEMT HUB
   ========================================================================== */
.semt-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 480px) {
  .semt-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (min-width: 768px) {
  .semt-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .semt-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.semt-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: var(--transition-fast);
}

.semt-card:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.semt-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.semt-card-header svg {
  color: var(--accent-cyan);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.semt-card h4 {
  font-size: 1.1rem;
}

.semt-eta {
  font-size: 0.78rem;
  color: #34d399;
  font-weight: 600;
}

.semt-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   REVIEWS & TESTIMONIALS
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #fbbf24;
}

.review-stars svg {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
}

.review-text {
  font-size: 0.92rem;
  color: #cbd5e1;
  font-style: italic;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00f2fe, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #060b18;
}

.author-info h5 {
  font-size: 0.92rem;
}

.author-info span {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-white);
  cursor: pointer;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 240px;
  padding-bottom: 20px;
}

/* ==========================================================================
   CTA BANNER COMPONENT
   ========================================================================== */
.section-cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.15) 0%, rgba(0, 240, 255, 0.08) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.cta-title {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .cta-title {
    font-size: 2.3rem;
  }
}

.cta-lead {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 30px auto;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* ==========================================================================
   CONTENT BLOCKS (REPLACING INLINE STYLES)
   ========================================================================== */
.content-box-highlight {
  margin-top: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.content-box-highlight h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.content-box-highlight p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.badge-tag-cloud {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.price-card-large {
  margin-top: 60px;
  background: linear-gradient(135deg, rgba(13, 23, 49, 0.9) 0%, rgba(10, 19, 41, 0.95) 100%);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
}

.price-val-large {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin: 10px 0;
}

.price-val-large span {
  font-size: 1.2rem;
  color: var(--accent-cyan);
}

.price-addon-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid var(--border-subtle);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  color: #ffffff;
  margin: 6px 0 20px 0;
  max-width: 100%;
}

.price-addon-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.price-addon-badge em {
  color: var(--accent-cyan);
  font-style: normal;
  font-weight: 600;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #040711;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 30px 0;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

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

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand-logo {
  height: 42px;
  width: auto;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--text-white);
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-cyan);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-contact-row svg {
  color: var(--accent-cyan);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-phone-link {
  color: var(--accent-cyan);
  font-weight: 700;
}

.footer-wa-link {
  color: #4ade80;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================================================
   MOBILE STICKY BOTTOM ACTION BAR
   ========================================================================== */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(66px + env(safe-area-inset-bottom, 0px));
  background: rgba(6, 11, 24, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-hover);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 14px calc(8px + env(safe-area-inset-bottom, 0px)) 14px;
  z-index: 990;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.7);
}

@media (min-width: 992px) {
  .sticky-bottom-bar {
    display: none;
  }
}

.sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  height: 100%;
  color: #ffffff;
}

.sticky-call {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.sticky-whatsapp {
  background: linear-gradient(135deg, #16a34a, #15803d);
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.sticky-btn svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (DESKTOP)
   ========================================================================== */
.floating-whatsapp {
  display: none;
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #ffffff;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.45);
  align-items: center;
  gap: 12px;
  z-index: 990;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition-normal);
}

@media (min-width: 992px) {
  .floating-whatsapp {
    display: flex;
  }
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 40px rgba(34, 197, 94, 0.65);
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}


/* ==========================================================================
   MOBILE PERFORMANCE OVERRIDES
   backdrop-filter: blur() is GPU-expensive on low-end mobile — reduce on small screens
   ========================================================================== */
@media (max-width: 767px) {
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6, 11, 24, 0.97);
  }

  .dropdown-menu {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-drawer {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6, 11, 24, 0.99);
  }

  .sticky-bottom-bar {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(6, 11, 24, 0.98);
  }

  /* Page container spacing on mobile */
  .page-container {
    padding-top: 30px;
    padding-bottom: 50px;
  }

  /* Reduce animation complexity on mobile */
  .hero-title {
    font-size: 1.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  /* CTA Banner actions full width on mobile */
  .section-cta-banner {
    padding: 50px 0;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Price Estimator mobile polish */
  .select-chips-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .chip-label {
    width: 100%;
    justify-content: center;
    padding: 10px 8px;
    font-size: 0.85rem;
  }

  .estimator-result-card {
    padding: 22px 16px;
  }

  .content-box-highlight {
    padding: 24px 18px;
    margin-top: 36px;
  }

  /* Disable heavy box shadows on cards for mobile GPU */
  .trust-card,
  .service-card,
  .review-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }

  /* Touch target minimum size (accessibility + usability) */
  .btn, .sticky-btn, .nav-link, .dropdown-item {
    min-height: 44px;
  }
}

/* Reduce motion for users who prefer it */
@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;
  }
  .pulse-dot {
    animation: none;
    box-shadow: 0 0 6px #10b981;
  }
}
