/* ============================================================
   Alanya Solar - style.css
   Tasarım: Turkuaz #0FB8AD + Lacivert #10243E
   Font: Sora / Manrope
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0FB8AD;
  --primary-dark: #0a9690;
  --primary-light: #3ecfc5;
  --navy: #10243E;
  --navy-2: #1a3560;
  --navy-3: #243f70;
  --accent: #F4C842;
  --accent-dark: #d4a720;
  --white: #ffffff;
  --off-white: #f0f9f9;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f9fafb;
  --success: #10b981;
  --font-head: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;
  --shadow-sm: 0 1px 3px rgba(16,36,62,0.1);
  --shadow-md: 0 4px 16px rgba(15,184,173,0.15);
  --shadow-lg: 0 8px 32px rgba(15,184,173,0.2);
  --shadow-xl: 0 20px 60px rgba(16,36,62,0.2);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --container: 1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--gray-800); background: var(--white); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p { margin-bottom: 1rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }
@media (min-width: 1280px) { .container { padding: 0 2.5rem; } }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 700; font-size: 0.9rem;
  transition: var(--transition); cursor: pointer;
  border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: 0 4px 15px rgba(15,184,173,0.35); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(15,184,173,0.5); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.8rem; }

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag {
  display: inline-block;
  background: rgba(15,184,173,0.12);
  color: var(--primary);
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-size: 0.75rem; font-weight: 700;
  font-family: var(--font-head);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--gray-600); max-width: 580px; margin: 0 auto; }
.divider { width: 48px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 2px; margin: 1rem auto 0; }

/* ── Header ── */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; transition: var(--transition); padding: 1rem 0;
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 24px rgba(16,36,62,0.1);
  padding: 0.65rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.logo-svg { width: 44px; height: 44px; flex-shrink: 0; }
.logo-name { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--white); letter-spacing: -0.02em; display: block; }
.header.scrolled .logo-name { color: var(--navy); }
.logo-tagline { font-size: 0.6rem; color: rgba(255,255,255,0.6); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; display: block; }
.header.scrolled .logo-tagline { color: var(--primary); }

.nav { display: none; }
@media (min-width: 1024px) { .nav { display: flex; align-items: center; gap: 0.25rem; } }
.nav-link { padding: 0.5rem 0.9rem; font-size: 0.875rem; font-weight: 600; font-family: var(--font-head); color: rgba(255,255,255,0.85); border-radius: var(--radius-sm); transition: var(--transition-fast); }
.header.scrolled .nav-link { color: var(--gray-700); }
.nav-link:hover { color: var(--primary); }
.nav-item { position: relative; }
.dropdown { position: absolute; top: calc(100% + 0.5rem); left: 50%; transform: translateX(-50%) translateY(-8px); background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-xl); min-width: 220px; padding: 0.75rem; opacity: 0; visibility: hidden; transition: var(--transition); border: 1px solid var(--gray-200); }
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.85rem; border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--gray-700); transition: var(--transition-fast); font-weight: 600; }
.dropdown a:hover { background: rgba(15,184,173,0.08); color: var(--primary); }

.header-cta { display: none; gap: 0.75rem; align-items: center; }
@media (min-width: 1024px) { .header-cta { display: flex; } }

/* Lang switcher */
.lang-switcher { display: flex; border-radius: 50px; overflow: hidden; border: 1px solid rgba(255,255,255,0.3); }
.header.scrolled .lang-switcher { border-color: var(--gray-200); }
.lang-btn { padding: 0.4rem 0.75rem; font-size: 0.75rem; font-weight: 700; font-family: var(--font-head); color: rgba(255,255,255,0.6); transition: var(--transition-fast); background: none; border: none; cursor: pointer; }
.header.scrolled .lang-btn { color: var(--gray-500); }
.lang-btn.active { background: var(--primary); color: var(--white); }
.header.scrolled .lang-btn.active { background: var(--primary); color: var(--white); }

.hamburger { display: flex; flex-direction: column; gap: 5px; width: 40px; height: 40px; cursor: pointer; padding: 8px; justify-content: center; }
@media (min-width: 1024px) { .hamburger { display: none; } }
.hamburger span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.header.scrolled .hamburger span { background: var(--navy); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav-overlay { display: none; position: fixed; inset: 0; background: rgba(16,36,62,0.6); z-index: 1050; }
.mobile-nav-overlay.show { display: block; }
.mobile-nav { display: none; position: fixed; top: 0; right: 0; width: min(320px,100vw); height: 100vh; background: var(--white); z-index: 1100; box-shadow: -4px 0 30px rgba(0,0,0,0.15); overflow-y: auto; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); flex-direction: column; }
.mobile-nav.open { transform: translateX(0); display: flex; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--gray-200); }
.mobile-nav-close { width: 36px; height: 36px; background: var(--gray-100); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; color: var(--gray-700); }
.mobile-nav-links { padding: 1rem; flex: 1; }
.mobile-nav-links a { display: flex; align-items: center; gap: 0.75rem; padding: 0.875rem 1rem; border-radius: var(--radius-sm); font-weight: 600; color: var(--gray-700); transition: var(--transition-fast); border-bottom: 1px solid var(--gray-100); font-family: var(--font-head); font-size: 0.9rem; }
.mobile-nav-links a:hover { background: rgba(15,184,173,0.07); color: var(--primary); }
.mobile-nav-footer { padding: 1.5rem; border-top: 1px solid var(--gray-200); }

/* ── HERO — Split Layout ── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 50%, var(--navy-3) 100%);
  display: flex; align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 50%;
  bottom: 0;
  background: rgba(15,184,173,0.04);
  clip-path: polygon(0 0, 85% 0, 100% 100%, 0 100%);
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Crect x='0' y='0' width='20' height='20'/%3E%3Crect x='20' y='20' width='20' height='20'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding: 4rem 0 5rem;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.hero-text { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; line-height: 1.1; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-desc { color: rgba(255,255,255,0.7); font-size: 1.05rem; margin-bottom: 2rem; line-height: 1.7; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-features { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.hero-feature { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.6); font-size: 0.85rem; font-weight: 500; }
.hero-feature-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); flex-shrink: 0; }

/* Hero Visual — Animated Panel Grid */
.hero-visual { display: none; justify-content: flex-end; align-items: center; }
@media (min-width: 1024px) { .hero-visual { display: flex; } }
.panel-grid-wrapper {
  position: relative;
  width: 420px; height: 380px;
}
.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  transform: perspective(800px) rotateY(-12deg) rotateX(8deg);
}
.panel-cell {
  height: 80px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgba(15,184,173,0.3) 0%, rgba(15,184,173,0.15) 100%);
  border: 1px solid rgba(15,184,173,0.4);
  position: relative;
  overflow: hidden;
  animation: panel-glow 3s ease-in-out infinite;
}
.panel-cell::after {
  content: '';
  position: absolute;
  top: 30%; left: 0; right: 0;
  height: 1px;
  background: rgba(15,184,173,0.3);
}
.panel-cell:nth-child(3n) { animation-delay: 0.5s; }
.panel-cell:nth-child(5n) { animation-delay: 1s; }
.panel-cell:nth-child(7n) { animation-delay: 1.5s; }
@keyframes panel-glow {
  0%, 100% { background: linear-gradient(135deg, rgba(15,184,173,0.25) 0%, rgba(15,184,173,0.1) 100%); }
  50% { background: linear-gradient(135deg, rgba(15,184,173,0.5) 0%, rgba(15,184,173,0.3) 100%); box-shadow: 0 0 15px rgba(15,184,173,0.3); }
}
.panel-badge {
  position: absolute;
  top: -10px; right: -10px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
}
.panel-badge-2 {
  position: absolute;
  bottom: 20px; left: -20px;
  background: var(--white);
  color: var(--navy);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
}

/* ── Trust Strip ── */
.trust-strip {
  background: var(--navy);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.trust-inner { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: center; }
.trust-badge { display: flex; align-items: center; gap: 0.6rem; color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 600; font-family: var(--font-head); white-space: nowrap; }
.trust-badge-icon { width: 34px; height: 34px; background: rgba(15,184,173,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1rem; flex-shrink: 0; }

/* ── Services ── */
.services { padding: 6rem 0; background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 480px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { width: 60px; height: 60px; background: rgba(15,184,173,0.1); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; transition: var(--transition); }
.service-card:hover .service-icon { background: var(--primary); }
.service-icon svg { width: 28px; height: 28px; transition: var(--transition); }
.service-card:hover .service-icon svg { filter: brightness(10); }
.service-card h3 { margin-bottom: 0.6rem; font-size: 1rem; }
.service-card p { color: var(--gray-600); font-size: 0.875rem; margin: 0 0 1rem; }
.service-link { color: var(--primary); font-weight: 700; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: var(--transition-fast); font-family: var(--font-head); }
.service-link:hover { gap: 0.7rem; }

/* ── Why Us ── */
.why-us { padding: 6rem 0; }
.why-us-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .why-us-grid { grid-template-columns: 1fr 1fr; } }
.why-us-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  position: relative; overflow: hidden;
}
.why-us-visual::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%230FB8AD' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/svg%3E"); }
.why-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; position: relative; z-index: 1; }
.why-stat { background: rgba(255,255,255,0.06); border: 1px solid rgba(15,184,173,0.2); border-radius: var(--radius-md); padding: 1.25rem; text-align: center; }
.why-stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.why-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; display: block; }
.advantages-list { display: flex; flex-direction: column; gap: 1.1rem; }
.advantage-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; background: var(--off-white); border-radius: var(--radius-md); border-left: 3px solid var(--primary); transition: var(--transition); }
.advantage-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.advantage-icon { width: 44px; height: 44px; flex-shrink: 0; background: rgba(15,184,173,0.1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.advantage-text h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.advantage-text p { font-size: 0.85rem; color: var(--gray-600); margin: 0; }

/* ── Process ── */
.process { padding: 6rem 0; background: var(--off-white); }
.process-steps { display: grid; grid-template-columns: 1fr; gap: 1.5rem; max-width: 900px; margin: 0 auto; }
@media (min-width: 768px) { .process-steps { grid-template-columns: repeat(5, 1fr); } }
.process-step-card { text-align: center; position: relative; }
@media (min-width: 768px) {
  .process-step-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1rem; top: 28px;
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 700;
  }
}
.step-circle {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 12px rgba(15,184,173,0.4);
}
.process-step-card h4 { font-size: 0.85rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--navy); }
.process-step-card p { font-size: 0.78rem; color: var(--gray-600); line-height: 1.5; margin: 0; }

/* ── Calculator ── */
.calculator {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  position: relative; overflow: hidden;
}
.calculator::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 50%, rgba(15,184,173,0.1) 0%, transparent 60%); }
.calculator .section-header h2 { color: var(--white); }
.calculator .section-header p { color: rgba(255,255,255,0.65); }
.calculator .section-tag { background: rgba(15,184,173,0.2); color: var(--primary); }
.calc-wrapper { background: rgba(255,255,255,0.05); border: 1px solid rgba(15,184,173,0.2); border-radius: var(--radius-xl); backdrop-filter: blur(10px); max-width: 880px; margin: 0 auto; overflow: hidden; }
.calc-inner { display: grid; grid-template-columns: 1fr; }
@media (min-width: 768px) { .calc-inner { grid-template-columns: 1fr 1fr; } }
.calc-input-side { padding: 2.5rem; border-right: 1px solid rgba(255,255,255,0.1); }
.calc-result-side { padding: 2.5rem; }
.calc-field { margin-bottom: 1.25rem; }
.calc-field label { display: block; color: rgba(255,255,255,0.8); font-size: 0.82rem; font-weight: 700; font-family: var(--font-head); margin-bottom: 0.5rem; letter-spacing: 0.02em; }
.calc-field input, .calc-field select { width: 100%; padding: 0.8rem 1rem; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--radius-sm); color: var(--white); font-size: 0.95rem; transition: var(--transition-fast); }
.calc-field input::placeholder { color: rgba(255,255,255,0.35); }
.calc-field input:focus, .calc-field select:focus { outline: none; border-color: var(--primary); background: rgba(255,255,255,0.12); }
.calc-field select option { background: var(--navy-2); }
.calc-result-title { font-family: var(--font-head); font-size: 0.85rem; font-weight: 800; color: var(--primary); margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.08em; }
.calc-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }
.calc-result-item { background: rgba(255,255,255,0.05); border: 1px solid rgba(15,184,173,0.2); border-radius: var(--radius-md); padding: 1.1rem 0.9rem; text-align: center; }
.calc-result-value { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--primary); display: block; line-height: 1; }
.calc-result-label { font-size: 0.7rem; color: rgba(255,255,255,0.55); margin-top: 0.3rem; display: block; }
.calc-placeholder { text-align: center; padding: 3rem 1rem; color: rgba(255,255,255,0.3); }
.calc-placeholder p { font-size: 0.85rem; }

/* ── Counters ── */
.counters { padding: 5rem 0; background: var(--primary); }
.counters-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
@media (min-width: 768px) { .counters-grid { grid-template-columns: repeat(4, 1fr); } }
.counter-item { text-align: center; }
.counter-icon { font-size: 2.2rem; display: block; margin-bottom: 0.6rem; }
.counter-number { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900; color: var(--white); display: block; line-height: 1; }
.counter-label { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-top: 0.4rem; display: block; }

/* ── Testimonials ── */
.testimonials { padding: 6rem 0; background: var(--white); overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-slide { min-width: 100%; padding: 0 0.75rem; }
@media (min-width: 768px) { .testimonial-slide { min-width: 50%; } }
@media (min-width: 1024px) { .testimonial-slide { min-width: 33.333%; } }
.testimonial-card { background: var(--off-white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--gray-200); height: 100%; }
.testimonial-quote { font-size: 2.5rem; color: var(--primary); line-height: 0.6; font-family: Georgia, serif; margin-bottom: 1rem; display: block; }
.testimonial-text { color: var(--gray-700); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.875rem; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 800; font-family: var(--font-head); font-size: 1rem; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-family: var(--font-head); font-size: 0.875rem; color: var(--navy); }
.testimonial-location { font-size: 0.75rem; color: var(--gray-500); }
.testimonial-stars { color: var(--accent); font-size: 0.8rem; }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; background: var(--off-white); border: 1.5px solid var(--gray-200); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1rem; cursor: pointer; transition: var(--transition-fast); }
.slider-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-300); cursor: pointer; transition: var(--transition-fast); }
.slider-dot.active { background: var(--primary); width: 20px; border-radius: 4px; }

/* ── Projects ── */
.projects { padding: 6rem 0; background: var(--off-white); }
.projects-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 480px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .projects-grid { grid-template-columns: repeat(4, 1fr); } }
.project-card { background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition); }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.project-image { height: 170px; position: relative; overflow: hidden; }
.project-gradient-1 { background: linear-gradient(135deg, #0FB8AD, #0a9690); }
.project-gradient-2 { background: linear-gradient(135deg, #10243E, #1a3560); }
.project-gradient-3 { background: linear-gradient(135deg, #F4C842, #d4a720); }
.project-gradient-4 { background: linear-gradient(135deg, #0FB8AD, #10243E); }
.project-icon-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; opacity: 0.6; }
.project-badge { position: absolute; top: 0.75rem; right: 0.75rem; background: var(--primary); color: var(--white); font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 50px; font-family: var(--font-head); }
.project-info { padding: 1.1rem; }
.project-info h3 { font-size: 0.9rem; margin-bottom: 0.3rem; }
.project-meta { font-size: 0.75rem; color: var(--gray-500); }
.project-meta span { margin-right: 0.6rem; }

/* ── FAQ ── */
.faq { padding: 6rem 0; background: var(--white); }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--off-white); border: 1px solid var(--gray-200); border-radius: var(--radius-md); margin-bottom: 0.625rem; overflow: hidden; transition: var(--transition); }
.faq-item.active { border-color: rgba(15,184,173,0.4); box-shadow: var(--shadow-md); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 0.9rem; color: var(--navy); cursor: pointer; background: none; border: none; transition: var(--transition-fast); }
.faq-question:hover { color: var(--primary); }
.faq-icon { width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%; background: rgba(15,184,173,0.12); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1rem; transition: var(--transition); }
.faq-item.active .faq-icon { background: var(--primary); color: var(--white); transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer-inner { padding: 0 1.4rem 1.1rem; color: var(--gray-600); font-size: 0.875rem; line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 400px; }

/* ── Contact CTA ── */
.contact-cta { padding: 6rem 0; }
.contact-cta-inner { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media (min-width: 1024px) { .contact-cta-inner { grid-template-columns: 1fr 1fr; } }
.contact-details { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: center; gap: 1rem; }
.contact-detail-icon { width: 44px; height: 44px; background: rgba(15,184,173,0.1); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.contact-detail-text a { color: var(--gray-700); transition: var(--transition-fast); }
.contact-detail-text a:hover { color: var(--primary); }
.contact-detail-text strong { display: block; font-size: 0.75rem; color: var(--gray-500); margin-bottom: 0.1rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.05em; }
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); height: 380px; border: 1px solid var(--gray-200); }
.map-container iframe { width: 100%; height: 100%; border: none; display: block; }

/* ── Footer ── */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 5rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand .logo-name { color: var(--white); font-size: 1.1rem; }
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.7; margin: 1rem 0 1.5rem; }
.footer-social { display: flex; gap: 0.65rem; }
.social-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition-fast); }
.social-icon:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.social-icon.wa:hover { background: #25d366; }
.footer-heading { font-family: var(--font-head); font-weight: 800; font-size: 0.8rem; color: var(--white); margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.85rem; color: rgba(255,255,255,0.55); transition: var(--transition-fast); }
.footer-links a:hover { color: var(--primary); padding-left: 0.2rem; }
.footer-contact-list { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-contact-item .icon { color: var(--primary); flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.5rem 0; display: flex; flex-direction: column; gap: 0.75rem; align-items: center; text-align: center; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.35); margin: 0; }
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { font-size: 0.78rem; color: rgba(255,255,255,0.35); transition: var(--transition-fast); }
.footer-legal a:hover { color: var(--primary); }

/* ── Sticky CTA ── */
.sticky-cta { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900; display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-end; }
.sticky-btn { display: flex; align-items: center; gap: 0.6rem; padding: 0.875rem 1.5rem; border-radius: 50px; font-family: var(--font-head); font-weight: 800; font-size: 0.875rem; cursor: pointer; transition: var(--transition); box-shadow: 0 4px 20px rgba(0,0,0,0.2); white-space: nowrap; text-decoration: none; border: none; }
.sticky-teklif { background: var(--primary); color: var(--white); animation: as-pulse 2.5s ease-in-out infinite; }
.sticky-teklif:hover { transform: scale(1.05); }
.sticky-wp { background: #25d366; color: var(--white); width: 50px; height: 50px; padding: 0; border-radius: 50%; justify-content: center; font-size: 1.3rem; }
@keyframes as-pulse { 0%,100%{box-shadow:0 4px 20px rgba(15,184,173,0.3)}50%{box-shadow:0 4px 30px rgba(15,184,173,0.6)} }

/* ── Popup ── */
.popup-overlay { position: fixed; inset: 0; background: rgba(16,36,62,0.7); z-index: 2000; display: none; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(6px); }
.popup-overlay.show { display: flex; }
.popup-modal { background: var(--white); border-radius: var(--radius-xl); max-width: 540px; width: 100%; max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 80px rgba(0,0,0,0.4); animation: as-popup-in 0.4s cubic-bezier(0.34,1.56,0.64,1); }
@keyframes as-popup-in { from{opacity:0;transform:scale(0.85) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)} }
.popup-header { background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding: 2rem; color: var(--white); border-radius: var(--radius-xl) var(--radius-xl) 0 0; position: relative; }
.popup-header h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 0.35rem; }
.popup-header p { color: rgba(255,255,255,0.7); font-size: 0.875rem; margin: 0; }
.popup-close { position: absolute; top: 1rem; right: 1rem; width: 30px; height: 30px; background: rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; cursor: pointer; border: none; transition: var(--transition-fast); }
.popup-close:hover { background: rgba(255,255,255,0.3); }
.popup-body { padding: 2rem; }
.popup-form-grid { display: grid; grid-template-columns: 1fr; gap: 0.9rem; margin-bottom: 1rem; }
@media (min-width: 480px) { .popup-form-grid { grid-template-columns: 1fr 1fr; } .popup-form-grid .full { grid-column: span 2; } }
.form-field label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--gray-700); margin-bottom: 0.35rem; font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.04em; }
.form-field input, .form-field select, .form-field textarea { width: 100%; padding: 0.75rem 0.9rem; border: 1.5px solid var(--gray-200); border-radius: var(--radius-sm); font-size: 0.875rem; color: var(--gray-800); transition: var(--transition-fast); background: var(--white); font-family: var(--font-body); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(15,184,173,0.1); }
.form-field textarea { resize: vertical; min-height: 80px; }
.kvkk-check { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 1.25rem; }
.kvkk-check input { margin-top: 0.2rem; accent-color: var(--primary); }
.kvkk-check label { font-size: 0.78rem; color: var(--gray-600); line-height: 1.5; }
.kvkk-check a { color: var(--primary); }
.popup-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.popup-success { display: none; text-align: center; padding: 2.5rem 1.5rem; }
.popup-success .success-icon { font-size: 3.5rem; display: block; margin-bottom: 1rem; }
.popup-success h3 { margin-bottom: 0.5rem; color: var(--success); }
.popup-success p { color: var(--gray-600); font-size: 0.875rem; }
.popup-honeypot { display: none !important; }

/* ── Page Hero ── */
.page-hero { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 70%, #0d4a6e 100%); padding: 8rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 60% 40%, rgba(15,184,173,0.12) 0%, transparent 60%); }
.page-hero h1 { color: var(--white); position: relative; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 580px; margin: 0.75rem auto 0; position: relative; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1.25rem; font-size: 0.82rem; color: rgba(255,255,255,0.55); position: relative; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ── Blog ── */
.blog { padding: 6rem 0; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition); background: var(--white); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.blog-card-image { height: 190px; position: relative; overflow: hidden; }
.blog-gradient-1 { background: linear-gradient(135deg, #0FB8AD, #0a9690); }
.blog-gradient-2 { background: linear-gradient(135deg, #10243E, #0FB8AD); }
.blog-gradient-3 { background: linear-gradient(135deg, #F4C842, #0FB8AD); }
.blog-icon-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 3.5rem; opacity: 0.5; }
.blog-category { position: absolute; top: 1rem; left: 1rem; background: var(--primary); color: var(--white); font-size: 0.68rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: 50px; font-family: var(--font-head); }
.blog-card-body { padding: 1.4rem; }
.blog-meta { font-size: 0.75rem; color: var(--gray-500); margin-bottom: 0.65rem; display: flex; gap: 0.75rem; }
.blog-card-body h3 { font-size: 0.95rem; margin-bottom: 0.6rem; line-height: 1.4; }
.blog-card-body p { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 1rem; }
.blog-read-more { color: var(--primary); font-weight: 700; font-size: 0.82rem; display: inline-flex; align-items: center; gap: 0.4rem; transition: var(--transition-fast); font-family: var(--font-head); }
.blog-read-more:hover { gap: 0.7rem; }

/* ── Content / Prose ── */
.content-section { padding: 5rem 0; }
.content-section.bg-gray { background: var(--off-white); }
.prose h2 { margin-bottom: 0.9rem; color: var(--primary); }
.prose h3 { margin-bottom: 0.65rem; }
.prose p { color: var(--gray-700); line-height: 1.8; margin-bottom: 1.1rem; }
.prose ul { padding-left: 1.5rem; margin-bottom: 1.1rem; }
.prose ul li { color: var(--gray-700); margin-bottom: 0.5rem; line-height: 1.7; list-style: disc; }
.steps-list { counter-reset: step; display: flex; flex-direction: column; gap: 1.25rem; margin: 1.5rem 0; }
.step-item { display: flex; gap: 1.1rem; align-items: flex-start; background: var(--off-white); padding: 1.4rem; border-radius: var(--radius-md); border: 1px solid var(--gray-200); }
.step-num { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.step-item h4 { margin-bottom: 0.35rem; color: var(--navy); }
.step-item p { margin: 0; color: var(--gray-600); font-size: 0.875rem; }

.cta-section { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); padding: 5rem 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 540px; margin: 0 auto 2rem; }

/* ── Scroll top ── */
.scroll-top { position: fixed; bottom: 5.5rem; right: 1.5rem; width: 42px; height: 42px; background: var(--navy); color: var(--white); border-radius: 50%; display: none; align-items: center; justify-content: center; font-size: 1rem; cursor: pointer; z-index: 800; box-shadow: var(--shadow-md); transition: var(--transition); border: none; }
.scroll-top.show { display: flex; }
.scroll-top:hover { background: var(--primary); transform: translateY(-2px); }

/* ── About page ── */
.about-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-visual { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-radius: var(--radius-xl); padding: 3rem; color: var(--white); text-align: center; min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 768px) { .team-grid { grid-template-columns: repeat(4, 1fr); } }
.team-card { text-align: center; padding: 1.5rem 1rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--gray-200); transition: var(--transition); }
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar { width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 800; font-size: 1.3rem; font-family: var(--font-head); margin: 0 auto 1rem; }
.team-name { font-weight: 700; font-family: var(--font-head); margin-bottom: 0.2rem; font-size: 0.9rem; }
.team-role { font-size: 0.78rem; color: var(--gray-500); }

/* ── Legal ── */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { font-size: 1.3rem; margin: 2rem 0 0.7rem; color: var(--primary); }
.legal-content p { color: var(--gray-700); line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { color: var(--gray-700); margin-bottom: 0.5rem; list-style: disc; line-height: 1.7; }

/* ── 404 ── */
.error-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding: 2rem; }
.error-code { font-family: var(--font-head); font-size: clamp(6rem, 20vw, 12rem); font-weight: 900; color: rgba(15,184,173,0.2); line-height: 1; display: block; }
.error-page h1 { color: var(--white); font-size: 2rem; margin-bottom: 1rem; }
.error-page p { color: rgba(255,255,255,0.65); margin-bottom: 2rem; max-width: 400px; margin-left: auto; margin-right: auto; }

/* ── Animations ── */
@keyframes fade-up { from{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)} }
[data-animate] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ── AS Logo Pulse ── */
@keyframes as-pulse { 0%,100%{opacity:1}50%{opacity:0.7;transform:scale(1.05)} }
.logo-svg-as { animation: as-pulse 3s ease-in-out infinite; }

/* Utilities */
.text-center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.form-msg { padding: 0.7rem 1rem; border-radius: var(--radius-sm); font-size: 0.85rem; margin-top: 0.75rem; display: none; }
.form-msg.success { background: rgba(16,185,129,0.1); color: var(--success); border: 1px solid rgba(16,185,129,0.3); display: block; }
.form-msg.error { background: rgba(239,68,68,0.1); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); display: block; }


/* ============================================================
   RESPONSIVE & NAV FIX PACK  (appended 2026-05-30, rev2)
   Fixes: mobile horizontal scroll/zoom, dropdown menus not
   opening, header menu overflow, service section misalignment.
   This block is intentionally last so it overrides earlier rules.
   ============================================================ */

/* --- Global horizontal-overflow guard (no more sideways drag on mobile) --- */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100%; }
img, svg, video, iframe { max-width: 100%; }
*, *::before, *::after { box-sizing: border-box; }

/* --- Responsive tables: wide service/spec tables scroll inside instead of
       breaking the whole page width on phones --- */
.service-body table,
.extended-content table,
.extended-supplement table,
.post-body table,
.privacy-content table,
.service-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* --- Align BOTH appended sections to the SAME width/padding as the page body
       (were 1280px / 2rem vs body 1200px / 24px -> caused the "shift") --- */
.extended-content,
.extended-supplement {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
  box-sizing: border-box;
}

/* --- Desktop dropdown: guaranteed on EVERY site (some were missing it) --- */
.nav-dropdown { position: relative; }
.nav-dropdown > .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: rgba(15,15,26,0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
  z-index: 1001;
}
.nav-dropdown:hover > .dropdown-menu,
.nav-dropdown.open > .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* --- Raise the mobile breakpoint to 992px so the full horizontal menu only
       shows when it actually fits; otherwise use the hamburger --- */
@media (max-width: 992px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 2px;
    background: rgba(15,15,26,0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    padding: 14px 20px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .hamburger { display: flex !important; }
  .nav-cta { display: none; }

  /* Mobile dropdown turns into an inline collapsible list */
  .nav-dropdown > .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 2px 0 6px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    transition: none;
  }
  .nav-dropdown.open > .dropdown-menu { display: block; }
  .nav-menu a { padding: 12px 14px; font-size: 1rem; }
}

/* --- Small phones: tighten paddings, prevent edge clipping --- */
@media (max-width: 600px) {
  .container, .container-wide { padding-left: 16px; padding-right: 16px; }
  .extended-content,
  .extended-supplement { padding-left: 16px !important; padding-right: 16px !important; }
  .section { padding: 56px 0; }
  .hero { padding: 110px 0 60px; }
  .popup-box { padding: 32px 20px; }
  .hero h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
}

/* --- Animate hamburger into an X when open --- */
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Professional SVG icons (replaced the old emoji). Default scales with the
       container font-size so it matches whatever the emoji used to be. --- */
.svg-icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex-shrink: 0; }
/* fixed-size flex icon boxes: fill ~55% of the box regardless of per-site px size */
.contact-detail-icon .svg-icon,
.advantage-icon .svg-icon,
.trust-badge-icon .svg-icon,
.pricing-icon .svg-icon,
.investment-icon .svg-icon,
.feature-icon .svg-icon,
.benefit-icon .svg-icon,
.value-icon .svg-icon,
.step-icon .svg-icon,
.process-icon .svg-icon,
.why-icon .svg-icon,
.card-icon .svg-icon { width: 55%; height: 55%; }
/* inline label icons a touch larger than text */
.icon .svg-icon,
.nav-cta .svg-icon,
.btn .svg-icon { width: 1.2em; height: 1.2em; }
/* decorative blog thumbnails: centered, subtle */
.blog-thumb .svg-icon,
.blog-icon-overlay .svg-icon { width: 38%; height: 38%; opacity: .55; }
.icon-badge .svg-icon { width: 32px; height: 32px; }
