/* ==========================================================================
   BEYLİKDÜZÜ NAKLİYAT - ULTRALIGHT MODERN & HIGH-SPEED STYLESHEET
   Domain: beylikduzunakliye.com.tr
   Designed for: 100/100 Core Web Vitals, ZERO Horizontal Overflow, 100% Mobile Responsive
   ========================================================================== */

:root {
  --primary: #0b2545;
  --primary-dark: #07192f;
  --primary-light: #134074;
  --accent: #ff7b00;
  --accent-hover: #e06d00;
  --accent-light: #fff3e6;
  --success: #10b981;
  --success-light: #ecfdf5;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-alt: #f1f5f9;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-xs: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm: 0 2px 4px rgba(11,37,69,0.06);
  --shadow-md: 0 4px 12px rgba(11,37,69,0.08);
  --shadow-lg: 0 10px 25px rgba(11,37,69,0.12);
  --shadow-xl: 0 20px 35px rgba(11,37,69,0.16);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s ease-in-out;
  --container-max: 1240px;
}

/* ==========================================================================
   RESET & IRONCLAD HORIZONTAL OVERFLOW PREVENTION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  position: relative;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); /* Space for mobile sticky bar */
}

/* Modern CSS Clip to unconditionally lock horizontal dragging/white page */
@supports (overflow: clip) {
  html, body {
    overflow-x: clip !important;
  }
}

body.menu-open {
  overflow: hidden !important; /* Lock background scroll when drawer is open */
  touch-action: none;
}

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

/* Word break rule to prevent long words/URLs from pushing screen width */
body, h1, h2, h3, h4, h5, h6, p, span, a, li, input, select, textarea, button {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 16px; /* 16px prevents iOS Safari auto-zoom */
  border: none;
  outline: none;
  max-width: 100%;
}

/* All major sections clipped to guarantee zero edge spill */
.site-header,
.hero,
.services-section,
.semantic-guide-section,
.process-section,
.reviews-section,
.faq-section,
.contact-section,
.site-footer,
main {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 14px;
  padding-right: 14px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* ==========================================================================
   TOP BAR (DESKTOP ONLY)
   ========================================================================== */
.topbar {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  font-size: 13.5px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: none;
  width: 100%;
}

@media (min-width: 992px) {
  .topbar {
    display: block;
  }
  .topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .topbar-info {
    display: flex;
    align-items: center;
    gap: 20px;
  }
  .topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .topbar-item svg {
    width: 15px;
    height: 15px;
    fill: var(--accent);
  }
  .topbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .topbar-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 12px;
    border: 1px solid rgba(52, 211, 153, 0.3);
  }
}

/* ==========================================================================
   MAIN HEADER & NAVIGATION (MOBILE OPTIMIZED)
   ========================================================================== */
.site-header {
  background-color: var(--bg-card);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 60px;
  display: flex;
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .site-header {
    height: 76px;
  }
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  max-width: calc(100% - 95px);
  min-width: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (min-width: 576px) {
  .logo-img {
    height: 42px;
  }
}

@media (min-width: 992px) {
  .logo-wrapper {
    max-width: none;
  }
  .logo-img {
    height: 48px;
  }
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .header-cta-group {
    gap: 12px;
  }
}

/* Phone button in Header */
.btn-header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
  flex-shrink: 0;
}

.btn-header-phone span {
  display: none;
}

.btn-header-phone svg {
  width: 17px;
  height: 17px;
  fill: var(--accent);
}

@media (min-width: 992px) {
  .btn-header-phone {
    width: auto;
    height: auto;
    padding: 10px 18px;
    gap: 8px;
    font-weight: 700;
    font-size: 14.5px;
  }
  .btn-header-phone span {
    display: inline;
  }
  .btn-header-phone:hover {
    background-color: var(--primary-light);
    transform: translateY(-1px);
  }
}

.btn-header-whatsapp {
  display: none;
}

@media (min-width: 992px) {
  .btn-header-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: #fff;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 14.5px;
  }
  .btn-header-whatsapp svg {
    width: 17px;
    height: 17px;
    fill: #fff;
  }
  .btn-header-whatsapp:hover {
    background-color: #1eb956;
    transform: translateY(-1px);
  }
}

/* Hamburger Button */
.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
  flex-shrink: 0;
}

.mobile-nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  stroke-width: 2.2;
}

.mobile-nav-toggle:active {
  background: #e2e8f0;
}

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

/* ==========================================================================
   MOBILE NAV DRAWER & BACKDROP
   ========================================================================== */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(7, 25, 47, 0.65);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-backdrop.open {
  display: block;
  opacity: 1;
}

@media (max-width: 991px) {
  .nav-menu {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: stretch;
    padding: 22px 18px;
    gap: 0;
    box-shadow: -8px 0 25px rgba(0,0,0,0.25);
    transform: translateX(105%);
    visibility: hidden; /* CRITICAL: completely removes from scroll calculation when closed */
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    z-index: 1002;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
  }

  .nav-menu.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

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

  .mobile-menu-close {
    background: #f1f5f9;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .mobile-menu-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
  }

  .nav-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    padding: 13px 8px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-link.active {
    color: var(--accent);
    background: var(--accent-light);
    border-radius: var(--radius-sm);
  }

  .mobile-menu-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-menu-contact {
    margin-top: auto;
    padding-top: 18px;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    border-top: 1px solid var(--border);
  }
}

/* Desktop Navigation Menu */
@media (min-width: 992px) {
  .mobile-menu-header,
  .mobile-menu-actions,
  .mobile-menu-contact {
    display: none !important;
  }
  .nav-menu {
    display: flex !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    align-items: center;
    gap: 28px;
  }
  .nav-link {
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
    position: relative;
    padding: 8px 0;
  }
  .nav-link:hover,
  .nav-link.active {
    color: var(--accent);
  }
  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5px;
    background-color: var(--accent);
    border-radius: 2px;
  }
}

/* ==========================================================================
   BUTTONS & COMMON UI
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14.5px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  min-height: 48px;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal; /* Critical: wrap long button text without expanding screen */
  word-break: break-word;
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255, 123, 0, 0.35);
}

.btn-accent:active {
  background-color: var(--accent-hover);
  transform: scale(0.98);
}

@media (hover: hover) {
  .btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(255, 123, 0, 0.45);
  }
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:active {
  background-color: var(--primary-light);
  transform: scale(0.98);
}

@media (hover: hover) {
  .btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
  }
}

.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:active {
  background-color: #1eb956;
  transform: scale(0.98);
}

@media (hover: hover) {
  .btn-whatsapp:hover {
    background-color: #1eb956;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  }
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:active {
  background-color: var(--primary);
  color: #fff;
}

@media (hover: hover) {
  .btn-outline:hover {
    background-color: var(--primary);
    color: #fff;
  }
}

.btn-outline-white {
  background-color: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  max-width: 100%;
}

.badge-pill.accent {
  background-color: var(--accent-light);
  color: var(--accent-hover);
}

.badge-pill.primary {
  background-color: rgba(11, 37, 69, 0.08);
  color: var(--primary);
}

/* Section Headings */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px auto;
  box-sizing: border-box;
}

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

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-subtitle {
  color: var(--accent);
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-size: clamp(22px, 5.5vw, 36px);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.25;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

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

@media (min-width: 768px) {
  .section-desc {
    font-size: 16px;
  }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #07192f 0%, #0b2545 60%, #134074 100%);
  color: #fff;
  padding: 30px 0 55px 0;
  overflow: hidden;
  width: 100%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25px;
  background: var(--bg-body);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .hero {
    padding: 70px 0 95px 0;
  }
  .hero::after {
    height: 38px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 44px;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 123, 0, 0.18);
  border: 1px solid rgba(255, 123, 0, 0.45);
  color: #ffaa44;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
  max-width: 100%;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
  fill: #ffaa44;
  flex-shrink: 0;
}

.hero-title {
  font-size: clamp(23px, 6.5vw, 42px);
  font-weight: 900;
  line-height: 1.22;
  margin-bottom: 14px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--accent);
  background: linear-gradient(90deg, #ff7b00, #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 620px;
}

@media (min-width: 768px) {
  .hero-lead {
    font-size: 16.5px;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  width: 100%;
}

@media (min-width: 576px) {
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 576px) {
  .hero-actions .btn {
    width: auto;
  }
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
  width: 100%;
}

@media (min-width: 576px) {
  .hero-features {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
  }
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.hero-feat-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-feat-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
}

.hero-feat-text {
  min-width: 0;
}

.hero-feat-text strong {
  display: block;
  font-size: 12px;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-feat-text small {
  font-size: 10.5px;
  color: #94a3b8;
  display: block;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Quick Estimate Calculator Card */
.hero-calc-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

@media (min-width: 768px) {
  .hero-calc-card {
    padding: 26px 22px;
  }
}

.calc-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-bottom: 14px;
}

.calc-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.calc-header h3 svg {
  width: 19px;
  height: 19px;
  fill: var(--accent);
  flex-shrink: 0;
}

.calc-header p {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
  line-height: 1.45;
}

.calc-form-group {
  margin-bottom: 12px;
}

.calc-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  box-sizing: border-box;
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--accent);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.15);
}

.calc-row-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  width: 100%;
}

@media (min-width: 480px) {
  .calc-row-2 {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.calc-result-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px dashed #22c55e;
  border-radius: var(--radius-md);
  padding: 12px;
  text-align: center;
  margin: 14px 0;
  box-sizing: border-box;
}

.calc-result-title {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: #15803d;
  letter-spacing: 0.5px;
}

.calc-result-price {
  font-size: 22px;
  font-weight: 900;
  color: #14532d;
  margin: 2px 0;
}

.calc-result-hint {
  font-size: 11px;
  color: #166534;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  padding: 44px 0;
  width: 100%;
}

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

.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: 100%;
}

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

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

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  min-width: 0;
}

@media (min-width: 768px) {
  .service-card {
    padding: 28px 22px;
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  opacity: 0;
  transition: var(--transition);
}

@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: #cbd5e1;
  }
  .service-card:hover::before {
    opacity: 1;
  }
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
}

.service-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.service-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-features-list {
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  margin-bottom: 16px;
}

.service-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.service-features-list li svg {
  width: 13px;
  height: 13px;
  fill: var(--success);
  flex-shrink: 0;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 13.5px;
  color: var(--accent);
  padding: 4px 0;
}

/* ==========================================================================
   SEMANTIC ARTICLE & E-E-A-T GUIDE (SEO POWERHOUSE)
   ========================================================================== */
.semantic-guide-section {
  padding: 44px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  width: 100%;
}

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

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  width: 100%;
}

@media (min-width: 1024px) {
  .guide-layout {
    grid-template-columns: minmax(0, 2.8fr) minmax(0, 1.2fr);
    gap: 44px;
  }
}

.article-content {
  font-size: 15px;
  color: #334155;
  line-height: 1.7;
  min-width: 0;
  width: 100%;
}

@media (min-width: 768px) {
  .article-content {
    font-size: 16px;
  }
}

.article-header {
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border-light);
  padding-bottom: 18px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
}

.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-meta-item svg {
  width: 13px;
  height: 13px;
  fill: var(--accent);
}

.article-content h2 {
  font-size: clamp(20px, 5vw, 27px);
  font-weight: 800;
  color: var(--primary);
  margin-top: 26px;
  margin-bottom: 12px;
  line-height: 1.35;
  position: relative;
  padding-left: 10px;
  border-left: 4px solid var(--accent);
}

.article-content h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--primary-light);
  margin-top: 22px;
  margin-bottom: 8px;
}

.article-content p {
  margin-bottom: 14px;
}

.article-content ul, .article-content ol {
  margin-bottom: 18px;
  padding-left: 18px;
}

.article-content ul {
  list-style: disc;
}

.article-content ol {
  list-style: decimal;
}

.article-content li {
  margin-bottom: 6px;
  padding-left: 3px;
}

.article-callout {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin: 20px 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .article-callout {
    padding: 18px;
    margin: 26px 0;
  }
}

.article-callout.warning {
  border-left-color: var(--accent);
  background: #fffbf5;
}

.article-callout h4 {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

/* Horizontal Table with Scroll */
.price-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  position: relative;
  width: 100%;
  max-width: 100%;
  display: block;
}

.custom-table {
  width: 100%;
  min-width: 520px; /* Safe minimum table columns width */
  max-width: none;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.custom-table th {
  background-color: var(--primary);
  color: #fff;
  padding: 11px 12px;
  font-weight: 700;
  white-space: nowrap;
}

.custom-table td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-main);
}

.custom-table tr:last-child td {
  border-bottom: none;
}

.custom-table tr:nth-child(even) {
  background-color: #f8fafc;
}

.badge-included {
  display: inline-block;
  background: #dcfce7;
  color: #15803d;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
}

/* Sidebar Widgets */
.sidebar-widget {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 14px;
  margin-bottom: 20px;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .sidebar-widget {
    padding: 24px;
    margin-bottom: 26px;
  }
}

.sidebar-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
}

.sidebar-title svg {
  width: 17px;
  height: 17px;
  fill: var(--accent);
}

.neighborhood-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.nh-tag {
  background: #fff;
  border: 1px solid var(--border);
  padding: 4px 9px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.nh-tag:active {
  background: var(--accent);
  color: #fff;
}

.direct-nap-box {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  margin-bottom: 20px;
  min-width: 0;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .direct-nap-box {
    padding: 26px 22px;
    margin-bottom: 26px;
  }
}

.direct-nap-box h4 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 6px;
}

.direct-nap-box p {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.nap-phone-link {
  display: block;
  font-size: 21px;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .nap-phone-link {
    font-size: 24px;
  }
}

/* ==========================================================================
   PROCESS / HOW IT WORKS
   ========================================================================= */
.process-section {
  padding: 44px 0;
  background-color: var(--bg-body);
  width: 100%;
}

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

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  width: 100%;
}

@media (min-width: 576px) {
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.process-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  position: relative;
  transition: var(--transition);
  min-width: 0;
  box-sizing: border-box;
}

.process-number {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 30px;
  font-weight: 900;
  color: #e2e8f0;
  line-height: 1;
}

.process-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.process-icon svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.process-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.process-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   REVIEWS / TESTIMONIALS (YORUMLAR)
   ========================================================================== */
.reviews-section {
  padding: 44px 0;
  background-color: #fff;
  width: 100%;
}

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

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 16px;
  background: #f8fafc;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .reviews-summary {
    flex-direction: row;
    gap: 22px;
    padding: 18px;
  }
}

.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

@media (min-width: 640px) {
  .reviews-score {
    flex-direction: row;
    gap: 12px;
    text-align: left;
  }
}

.score-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.stars {
  display: flex;
  gap: 3px;
}

.stars svg {
  width: 16px;
  height: 16px;
  fill: #f59e0b;
}

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

.reviews-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  width: 100%;
}

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

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }
}

.review-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  min-width: 0;
  box-sizing: border-box;
}

.review-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 8px;
}

.reviewer-meta h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary);
}

.reviewer-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #15803d;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.verified-badge svg {
  width: 12px;
  height: 12px;
  fill: #15803d;
}

.review-text {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}

.review-footer {
  font-size: 11px;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 8px;
}

/* ==========================================================================
   FAQ SECTION (SSS)
   ========================================================================== */
.faq-section {
  padding: 44px 0;
  background-color: var(--bg-body);
  width: 100%;
}

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

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 10px;
  overflow: hidden;
  transition: var(--transition);
  width: 100%;
  box-sizing: border-box;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 15px 16px;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  gap: 10px;
  min-height: 48px;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .faq-question {
    padding: 18px 22px;
    font-size: 16.5px;
  }
}

.faq-question svg {
  width: 17px;
  height: 17px;
  fill: var(--accent);
  transition: transform 0.25s ease;
  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-out, padding 0.3s ease;
  padding: 0 16px;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  box-sizing: border-box;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 16px 16px 16px;
}

@media (min-width: 768px) {
  .faq-answer {
    padding: 0 22px;
    font-size: 14.5px;
  }
  .faq-item.active .faq-answer {
    padding: 0 22px 20px 22px;
  }
}

/* ==========================================================================
   CONTACT SECTION & MAP
   ========================================================================== */
.contact-section {
  padding: 44px 0;
  background-color: #fff;
  width: 100%;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  width: 100%;
}

@media (min-width: 992px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 44px;
  }
}

.contact-info-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .contact-info-card {
    padding: 32px 28px;
  }
}

.contact-detail-list {
  margin: 18px 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  min-width: 0;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

.contact-text {
  min-width: 0;
  flex: 1;
}

.contact-text strong {
  display: block;
  font-size: 14.5px;
  color: var(--primary);
  margin-bottom: 2px;
}

.contact-text p, .contact-text a {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-form-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .contact-form-box {
    padding: 32px 28px;
  }
}

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

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.form-control {
  width: 100%;
  padding: 11px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* Prevents iOS auto-zoom */
  color: var(--text-main);
  background: #f8fafc;
  transition: var(--transition);
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 95px;
}

/* Map Container */
.map-wrapper {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 220px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .map-wrapper {
    height: 270px;
    margin-top: 32px;
  }
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--primary-dark);
  color: #94a3b8;
  font-size: 13.5px;
  padding-top: 44px;
  padding-bottom: 22px;
  width: 100%;
}

@media (min-width: 768px) {
  .site-footer {
    padding-top: 65px;
    padding-bottom: 28px;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 26px;
  margin-bottom: 32px;
  width: 100%;
}

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

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1.6fr);
    gap: 36px;
    margin-bottom: 44px;
  }
}

.footer-col {
  min-width: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background-color: var(--accent);
  border-radius: 2px;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12.5px;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    font-size: 13px;
  }
}

/* ==========================================================================
   DESKTOP FLOATING WHATSAPP & MOBILE STICKY BAR
   ========================================================================== */
/* On mobile, floating whatsapp is completely removed to prevent overlay/clash */
.floating-whatsapp {
  display: none !important;
}

@media (min-width: 992px) {
  .floating-whatsapp {
    display: flex !important;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    animation: pulseWhatsapp 2.5s infinite;
  }

  .floating-whatsapp svg {
    width: 34px;
    height: 34px;
    fill: #fff;
  }

  .floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  }
}

@keyframes pulseWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Sticky Mobile Bottom Bar */
.mobile-sticky-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)) 10px;
  z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.1);
}

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

.mobile-sticky-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 12px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  min-height: 48px;
  box-sizing: border-box;
}

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

.mobile-sticky-call {
  background-color: var(--primary);
  color: #fff;
}

.mobile-sticky-whatsapp {
  background-color: #25d366;
  color: #fff;
}

.mobile-sticky-btn svg {
  width: 18px;
  height: 18px;
  fill: #fff;
  flex-shrink: 0;
}
