/* ============================================================
   Enerji Antalya — Dark Engineering Theme
   Primary: #2B2D42 | Accent: #06D6A0 | Font: Rubik/Karla
   DARK MODE DEFAULT
   ============================================================ */

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

:root {
  --primary: #2B2D42;
  --primary-light: #383a52;
  --primary-dark: #1e1f30;
  --accent: #06D6A0;
  --accent-dark: #04a87d;
  --accent-light: #2effc3;
  --accent-glow: rgba(6,214,160,0.25);
  --text: #e0e0e0;
  --text-muted: #9494b0;
  --bg: #1a1a2a;
  --bg-card: #22243a;
  --bg-elevated: #2B2D42;
  --border: #383a55;
  --border-accent: rgba(6,214,160,0.3);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-accent: 0 8px 32px rgba(6,214,160,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font-main: 'Rubik', sans-serif;
  --font-body: 'Karla', sans-serif;
  --container: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }
img { max-width: 100%; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-card); }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--primary-dark);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar a { color: var(--text-muted); }
.topbar a:hover { color: var(--accent); }

/* ---- HEADER ---- */
.site-header {
  background: rgba(26,26,42,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 999;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-svg { width: 44px; height: 44px; }
.logo-name { font-family: var(--font-main); font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1.1; }
.logo-sub { font-size: 0.7rem; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }

/* Lightning animation */
@keyframes electricFlow {
  0%, 100% { stroke-dashoffset: 0; opacity: 1; }
  50% { stroke-dashoffset: 20; opacity: 0.6; }
}
.logo-svg path.electric { stroke-dasharray: 30; animation: electricFlow 1.5s ease-in-out infinite; }

/* Nav */
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu > li > a {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: all var(--transition);
  display: block;
  letter-spacing: 0.02em;
}
.nav-menu > li > a:hover, .nav-menu > li > a.active { color: var(--accent); background: var(--accent-glow); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 240px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  list-style: none; z-index: 100;
  box-shadow: var(--shadow-accent);
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: block; padding: 10px 18px;
  font-size: 0.86rem; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.dropdown-menu a:hover { color: var(--accent); background: var(--accent-glow); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  border-radius: var(--radius) !important;
}
.nav-cta:hover { background: var(--accent-light) !important; color: var(--primary-dark) !important; }

.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: all var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, var(--primary) 60%, var(--primary-dark) 100%);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(6,214,160,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--bg-card);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 6px 16px; border-radius: 20px;
  font-size: 0.78rem; font-weight: 600;
  font-family: var(--font-main);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 span { color: var(--accent); }
.hero-sub { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 2rem; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 2.5rem; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-weight: 700; font-size: 0.9rem;
  cursor: pointer; transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.03em;
}
.btn-primary { background: var(--accent); color: var(--primary-dark); }
.btn-primary:hover { background: var(--accent-light); color: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(6,214,160,0.4); }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--border-accent); }
.btn-outline:hover { background: var(--accent-glow); color: var(--accent-light); border-color: var(--accent); }
.btn-ghost { background: var(--bg-elevated); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

.hero-stats { display: flex; gap: 32px; }
.hero-stat-num { font-family: var(--font-main); font-size: 1.8rem; font-weight: 800; color: var(--accent); display: block; }
.hero-stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* Dashboard Visual */
.hero-dashboard {
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-accent), 0 24px 60px rgba(0,0,0,0.5);
}
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.dashboard-title { color: var(--accent); font-family: var(--font-main); font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase; }
.dashboard-status { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--accent); }
.status-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }
.dashboard-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 20px; }
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
}
.metric-label { color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.metric-value { font-family: var(--font-main); font-weight: 700; font-size: 1.4rem; color: #fff; }
.metric-value.accent { color: var(--accent); }
.metric-unit { font-size: 0.75rem; color: var(--text-muted); font-weight: 400; }
.dashboard-chart { background: var(--bg-card); border-radius: var(--radius); padding: 16px; }
.chart-label { color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.chart-bars { display: flex; align-items: flex-end; gap: 6px; height: 80px; }
.chart-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent), rgba(6,214,160,0.3));
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: all 0.5s ease;
}
.chart-bar::after {
  content: attr(data-label);
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ---- TRUST ---- */
.trust-section { padding: 40px 0; border-bottom: 1px solid var(--border); }
.trust-inner { display: flex; justify-content: center; align-items: center; gap: 32px; flex-wrap: wrap; }
.trust-badge {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  transition: all var(--transition);
  min-width: 100px;
}
.trust-badge:hover { border-color: var(--accent); box-shadow: var(--shadow-accent); }
.trust-badge svg { width: 36px; height: 36px; }
.trust-badge span { font-family: var(--font-main); font-weight: 700; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.75rem; font-weight: 700;
  font-family: var(--font-main);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1rem; }

/* ---- SERVICES GRID ---- */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-accent); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--accent); }
.service-card:hover .service-icon svg { color: var(--primary-dark); }
.service-icon svg { width: 24px; height: 24px; color: var(--accent); }
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { color: var(--text-muted); font-size: 0.87rem; margin-bottom: 16px; }
.service-link { color: var(--accent); font-weight: 600; font-size: 0.85rem; display: inline-flex; align-items: center; gap: 6px; }

/* ---- WHY US ---- */
.whyus-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.whyus-visual {
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-accent);
}
.whyus-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.whyus-stat-item { text-align: center; padding: 20px; background: var(--bg-card); border-radius: var(--radius); border: 1px solid var(--border); }
.whyus-stat-num { font-family: var(--font-main); font-size: 2rem; font-weight: 800; color: var(--accent); display: block; }
.whyus-stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }
.advantages-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.advantage-item { display: flex; align-items: flex-start; gap: 14px; }
.advantage-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.advantage-icon svg { width: 20px; height: 20px; color: var(--accent); }
.advantage-text h4 { font-size: 0.95rem; margin-bottom: 2px; color: #fff; }
.advantage-text p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ---- PROCESS ---- */
.process-timeline { display: flex; gap: 0; position: relative; }
.process-timeline::before {
  content: '';
  position: absolute; top: 28px; left: 28px; right: 28px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(6,214,160,0.2));
}
.process-step { flex: 1; text-align: center; padding: 0 12px; position: relative; }
.process-num {
  width: 56px; height: 56px;
  background: var(--bg-elevated);
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-main); font-weight: 800; font-size: 1.1rem;
  margin: 0 auto 14px;
  position: relative; z-index: 1;
  transition: all var(--transition);
  box-shadow: 0 0 20px rgba(6,214,160,0.2);
}
.process-step:hover .process-num { background: var(--accent); color: var(--primary-dark); box-shadow: 0 0 30px rgba(6,214,160,0.5); }
.process-step h4 { font-size: 0.88rem; margin-bottom: 6px; color: #fff; }
.process-step p { color: var(--text-muted); font-size: 0.78rem; margin: 0; }

/* ---- CALCULATOR ---- */
.calculator-wrap {
  background: var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow-accent);
  position: relative;
  overflow: hidden;
}
.calculator-wrap::before {
  content: '';
  position: absolute; top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(6,214,160,0.06) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.calc-label { display: block; color: var(--text-muted); font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; font-family: var(--font-main); text-transform: uppercase; letter-spacing: 0.06em; }
.calc-input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 1rem; outline: none;
  transition: all var(--transition);
  font-family: var(--font-body);
}
.calc-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6,214,160,0.1); }
.calc-group { margin-bottom: 20px; }
.calc-results { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.calc-result-title { color: var(--accent); font-family: var(--font-main); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 20px; }
.calc-result-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.calc-result-item:last-child { border-bottom: none; }
.calc-result-label { color: var(--text-muted); font-size: 0.85rem; }
.calc-result-value { color: var(--accent); font-family: var(--font-main); font-weight: 700; font-size: 1rem; }
.calc-result-highlight { background: var(--accent-glow); border: 1px solid var(--border-accent); border-radius: var(--radius); padding: 14px; margin-top: 14px; text-align: center; }
.calc-result-highlight span { display: block; color: var(--text-muted); font-size: 0.8rem; margin-bottom: 4px; }
.calc-result-highlight strong { font-family: var(--font-main); font-size: 1.8rem; color: var(--accent); font-weight: 800; }

/* ---- COUNTERS ---- */
.counters-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.counter-card {
  text-align: center; padding: 36px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.counter-card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-accent); }
.counter-num {
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800; color: var(--accent);
  display: block; line-height: 1; margin-bottom: 8px;
}
.counter-label { color: var(--text-muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-main); }

/* ---- TESTIMONIALS ---- */
.testimonials-slider { overflow: hidden; }
.testimonials-track { display: flex; animation: scrollTestimonials 24s linear infinite; width: max-content; }
.testimonials-track:hover { animation-play-state: paused; }
@keyframes scrollTestimonials { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 360px; flex-shrink: 0; margin-right: 20px;
  transition: all var(--transition);
}
.testimonial-card:hover { border-color: var(--border-accent); }
.testimonial-stars { color: var(--accent); font-size: 1rem; margin-bottom: 14px; }
.testimonial-text { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; background: var(--accent-glow); border: 1px solid var(--border-accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); font-family: var(--font-main); font-weight: 700; font-size: 0.9rem; }
.testimonial-name { font-weight: 700; font-size: 0.88rem; color: #fff; }
.testimonial-role { font-size: 0.75rem; color: var(--text-muted); }

/* ---- PROJECTS ---- */
.projects-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.project-card { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/3; cursor: pointer; border: 1px solid var(--border); }
.project-bg { width: 100%; height: 100%; transition: transform 0.5s ease; }
.project-card:hover .project-bg { transform: scale(1.05); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,26,42,0.95) 0%, transparent 60%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px; transition: all var(--transition);
}
.project-tag { background: var(--accent); color: var(--primary-dark); font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: 8px; font-family: var(--font-main); text-transform: uppercase; width: fit-content; margin-bottom: 6px; }
.project-title { color: #fff; font-size: 0.9rem; font-weight: 700; margin-bottom: 3px; }
.project-spec { color: var(--text-muted); font-size: 0.75rem; }

/* ---- FAQ ---- */
.faq-list { display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer;
  background: var(--bg-card); transition: all var(--transition);
  font-family: var(--font-main); font-weight: 600; font-size: 0.95rem; color: var(--text);
  border: none; width: 100%; text-align: left;
}
.faq-question:hover { background: var(--bg-elevated); color: var(--accent); }
.faq-item.open .faq-question { background: var(--accent); color: var(--primary-dark); }
.faq-icon { width: 26px; height: 26px; flex-shrink: 0; background: var(--bg-elevated); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 300; transition: all var(--transition); color: var(--accent); }
.faq-item.open .faq-icon { background: var(--primary-dark); color: #fff; transform: rotate(45deg); }
.faq-answer { padding: 0 22px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 500px; padding: 18px 22px; }
.faq-answer p { color: var(--text-muted); margin: 0; }

/* ---- CONTACT ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.map-wrap { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { width: 100%; height: 360px; border: none; display: block; filter: invert(1) hue-rotate(180deg); }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.contact-info-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--accent-glow); border: 1px solid var(--border-accent); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; }
.contact-info-icon svg { width: 20px; height: 20px; color: var(--accent); }
.contact-info-text strong { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 2px; font-family: var(--font-main); }
.contact-info-text a, .contact-info-text span { color: var(--text); font-weight: 600; }
.contact-info-text a:hover { color: var(--accent); }

/* ---- FOOTER ---- */
.site-footer { background: var(--primary-dark); border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 0.86rem; color: var(--text-muted); margin: 16px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 34px; height: 34px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all var(--transition); }
.social-btn:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
.social-btn svg { width: 15px; height: 15px; }
.footer-col h4 { color: var(--accent); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-family: var(--font-main); }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.86rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-input { flex: 1; padding: 10px 14px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); font-size: 0.86rem; outline: none; transition: border-color var(--transition); }
.newsletter-input:focus { border-color: var(--accent); }
.newsletter-btn { padding: 10px 16px; background: var(--accent); color: var(--primary-dark); border: none; border-radius: var(--radius); cursor: pointer; font-weight: 700; font-size: 0.8rem; font-family: var(--font-main); transition: all var(--transition); }
.newsletter-btn:hover { background: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent); }

/* ---- STICKY CTA ---- */
.sticky-cta { position: fixed; bottom: 28px; right: 28px; z-index: 990; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.sticky-btn { display: flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 50px; font-family: var(--font-main); font-weight: 700; font-size: 0.86rem; cursor: pointer; transition: all var(--transition); border: none; box-shadow: var(--shadow); text-decoration: none; }
.sticky-btn-main { background: var(--accent); color: var(--primary-dark); }
.sticky-btn-main:hover { background: var(--accent-light); transform: scale(1.05); }
.sticky-btn-wa { background: #25D366; color: #fff; }
.sticky-btn-wa:hover { background: #1da851; transform: scale(1.05); }
.sticky-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- POPUP ---- */
.popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(6px); z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.popup-overlay.open { opacity: 1; visibility: visible; }
.popup-box { background: var(--bg-elevated); border: 1px solid var(--border-accent); border-radius: var(--radius-lg); padding: 44px 36px; width: 100%; max-width: 540px; position: relative; box-shadow: var(--shadow-accent), 0 24px 80px rgba(0,0,0,0.6); animation: popIn 0.4s ease; }
@keyframes popIn { from { opacity: 0; transform: scale(0.92) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.popup-close { position: absolute; top: 16px; right: 16px; background: var(--bg-card); border: 1px solid var(--border); cursor: pointer; color: var(--text-muted); font-size: 1.2rem; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: all var(--transition); }
.popup-close:hover { border-color: var(--accent); color: var(--accent); }
.popup-box h3 { margin-bottom: 6px; font-size: 1.3rem; }
.popup-box p { color: var(--text-muted); margin-bottom: 22px; font-size: 0.9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-label { display: block; font-size: 0.78rem; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; font-family: var(--font-main); text-transform: uppercase; letter-spacing: 0.06em; }
.form-input, .form-select, .form-textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.88rem; font-family: var(--font-body); color: var(--text); background: var(--bg-card); outline: none; transition: border-color var(--transition); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(6,214,160,0.1); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; }
.form-checkbox input { width: 16px; height: 16px; margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.form-checkbox label { font-size: 0.78rem; color: var(--text-muted); }
.form-honeypot { display: none; }
.popup-or { text-align: center; margin: 18px 0 14px; color: var(--text-muted); font-size: 0.78rem; position: relative; }
.popup-or::before, .popup-or::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border); }
.popup-or::before { left: 0; }
.popup-or::after { right: 0; }
.wa-link { display: flex; align-items: center; justify-content: center; gap: 10px; background: #25D366; color: #fff; padding: 12px; border-radius: var(--radius); font-weight: 700; font-family: var(--font-main); transition: all var(--transition); }
.wa-link:hover { background: #1da851; color: #fff; }

/* ---- PAGE HEADER ---- */
.page-header { background: var(--primary); border-bottom: 1px solid var(--border); padding: 70px 0 50px; }
.page-header h1 { color: #fff; margin-bottom: 12px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 0.83rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: var(--border); }

/* ---- SERVICE PAGE ---- */
.service-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.service-content h2 { margin-top: 44px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--accent); display: inline-block; }
.service-content p { color: var(--text-muted); line-height: 1.85; }
.service-content ul { color: var(--text-muted); padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.service-content ul li::before { content: '→'; color: var(--accent); margin-right: 8px; }
.specs-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.specs-table th, .specs-table td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.specs-table th { background: var(--bg-elevated); color: var(--accent); font-family: var(--font-main); font-weight: 700; }
.specs-table td { color: var(--text-muted); }
.specs-table tr:nth-child(even) td { background: var(--bg-card); }
.sidebar-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 20px; }
.sidebar-box h4 { color: #fff; font-size: 0.95rem; margin-bottom: 14px; }
.sidebar-cta { background: var(--bg-elevated); border-color: var(--border-accent); }
.sidebar-cta p { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 14px; }
.service-sidebar { position: sticky; top: 90px; }
.service-process-step { display: flex; gap: 16px; margin-bottom: 22px; align-items: flex-start; }
.step-num { width: 32px; height: 32px; flex-shrink: 0; background: var(--accent); color: var(--primary-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-main); font-weight: 700; font-size: 0.85rem; }
.service-content strong { color: #fff; }
.cta-section { background: var(--bg-elevated); border-top: 1px solid var(--border-accent); padding: 80px 0; text-align: center; }
.cta-section h2 { color: #fff; margin-bottom: 16px; }
.cta-section p { color: var(--text-muted); margin-bottom: 32px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- BLOG ---- */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.blog-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-accent); transform: translateY(-4px); }
.blog-thumb { height: 200px; position: relative; overflow: hidden; }
.blog-thumb-bg { width: 100%; height: 100%; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumb-bg { transform: scale(1.05); }
.blog-category { position: absolute; top: 14px; left: 14px; background: var(--accent); color: var(--primary-dark); padding: 2px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 700; font-family: var(--font-main); }
.blog-body { padding: 22px; }
.blog-meta { font-size: 0.76rem; color: var(--text-muted); margin-bottom: 8px; display: flex; gap: 14px; }
.blog-body h3 { margin-bottom: 8px; font-size: 1.05rem; }
.blog-body h3 a { color: #fff; }
.blog-body h3 a:hover { color: var(--accent); }
.blog-body p { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 14px; }
.blog-read-more { color: var(--accent); font-weight: 600; font-size: 0.83rem; display: inline-flex; align-items: center; gap: 6px; }
.blog-article { max-width: 820px; margin: 0 auto; }
.blog-article h2 { margin-top: 40px; margin-bottom: 16px; }
.blog-article p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.2rem; }
.blog-article ul, .blog-article ol { color: var(--text-muted); padding-left: 20px; margin-bottom: 1.2rem; }
.blog-article li { margin-bottom: 6px; }
.blog-article strong { color: #fff; }

/* ---- ABOUT ---- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-visual { background: var(--bg-elevated); border: 1px solid var(--border-accent); border-radius: var(--radius-lg); padding: 48px; min-height: 380px; display: flex; align-items: center; justify-content: center; }
.team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.team-card { text-align: center; padding: 24px 16px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--transition); }
.team-card:hover { border-color: var(--border-accent); }
.team-avatar { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 14px; background: var(--accent-glow); border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; color: var(--accent); font-family: var(--font-main); font-weight: 700; font-size: 1.3rem; }
.team-name { font-weight: 700; margin-bottom: 3px; color: #fff; }
.team-role { color: var(--text-muted); font-size: 0.82rem; }

/* ---- 404 ---- */
.page-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.page-404 h1 { font-size: 8rem; color: var(--accent); line-height: 1; text-shadow: 0 0 40px rgba(6,214,160,0.5); }

/* ---- UTILITIES ---- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.alert { padding: 12px 16px; border-radius: var(--radius); margin-top: 10px; font-size: 0.86rem; }
.alert-success { background: rgba(6,214,160,0.15); color: var(--accent); border: 1px solid var(--border-accent); }
.alert-error { background: rgba(255,80,80,0.1); color: #ff6b6b; border: 1px solid rgba(255,80,80,0.3); }
.contact-form-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; }
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-dashboard { display: none; }
  .whyus-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: repeat(2,1fr); }
  .counters-grid { grid-template-columns: repeat(2,1fr); }
  .process-timeline { flex-direction: column; }
  .process-timeline::before { display: none; }
  .service-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .nav-menu { display: none; position: absolute; top: 70px; left: 0; right: 0; background: var(--bg-elevated); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); align-items: flex-start; gap: 0; }
  .nav-menu.open { display: flex; }
  .nav-menu > li > a { width: 100%; border-bottom: 1px solid var(--border); border-radius: 0; padding: 12px 4px; }
  .dropdown-menu { position: static; box-shadow: none; border: none; transform: none; opacity: 1; visibility: visible; padding-left: 16px; }
  .hamburger { display: flex; flex-direction: column; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left { display: none; }
  .calculator-wrap { padding: 28px 20px; }
  .popup-box { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-grid { grid-template-columns: 1fr; }
  .hero-stats { justify-content: center; }
  .hero-btns { justify-content: center; }
}


/* ============================================================
   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; }
