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

/* ==========================================================================
   ELCE Danışmanlık — Premium Obsidian & Gold Design System
   ========================================================================== */

/* ---------- Design Tokens ---------- */
:root {
  /* Obsidian dark palette */
  --navy-950: #05090f;
  --navy-900: #080e18;
  --navy-850: #0a1320;
  --navy-800: #0e1a2b;
  --navy-700: #13243c;
  --navy-600: #192e4c;
  --navy-500: #213c63;

  /* Champagne Gold palette */
  --gold-600: #b08d4b;
  --gold-500: #cba962;
  --gold-400: #dbbb7b;
  --gold-300: #ecd297;
  --gold-glow: rgba(236, 210, 151, 0.22);

  /* Neutrals */
  --cream: #f4eee2;
  --ivory: #faf7f0;
  --text: #eae8e1;
  --text-dim: #b8c0d2;
  --text-muted: #808b9f;
  --line: rgba(236, 210, 151, 0.15);
  --line-soft: rgba(255, 255, 255, 0.06);

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 30px rgba(236, 210, 151, 0.1);

  /* Type */
  --font-serif: "Outfit", "Playfair Display", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1240px;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 90px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Card backgrounds */
  --card-bg: rgba(15, 30, 53, 0.35);
  --card-bg-hover: rgba(22, 41, 74, 0.4);

  /* Hero & Page Hero overlays */
  --hero-overlay-grad: linear-gradient(180deg, rgba(6, 13, 26, 0.5) 0%, rgba(6, 13, 26, 0.8) 55%, var(--navy-950) 100%);
  --hero-radial-grad: radial-gradient(1000px 700px at 85% 10%, rgba(236, 210, 151, 0.08), transparent 60%);
  --subpage-hero-overlay: linear-gradient(180deg, rgba(6, 13, 26, 0.75) 0%, rgba(6, 13, 26, 0.9) 100%);
  --header-bg: rgba(5, 9, 15, 0.9);
  --mobile-nav-bg: rgba(6, 13, 26, 0.98);
}

/* ---------- Light Mode Variable Overrides ---------- */
body.light-mode {
  --navy-950: #f5f7fa;
  --navy-900: #eef1f6;
  --navy-850: #e2e8f0;
  --navy-800: #cbd5e0;
  --navy-700: #a0aec0;
  --navy-600: #718096;
  --navy-500: #4a5568;

  --gold-600: #735118;
  --gold-500: #8b621d;
  --gold-400: #a37322;
  --gold-300: #ba8427;
  --gold-glow: rgba(136, 98, 33, 0.1);

  --cream: #0f172a;
  --text: #1e293b;
  --text-dim: #334155;
  --text-muted: #64748b;
  --line: rgba(136, 98, 33, 0.18);
  --line-soft: rgba(0, 0, 0, 0.06);

  --card-bg: rgba(255, 255, 255, 0.7);
  --card-bg-hover: rgba(255, 255, 255, 0.9);

  --bg-image: radial-gradient(900px 600px at 85% -5%, rgba(136, 98, 33, 0.04), transparent 60%),
              radial-gradient(800px 600px at 0% 30%, rgba(136, 98, 33, 0.06), transparent 55%);

  /* Overlays for light mode */
  --hero-overlay-grad: linear-gradient(180deg, rgba(245, 247, 250, 0.65) 0%, rgba(245, 247, 250, 0.88) 60%, var(--navy-950) 100%);
  --hero-radial-grad: radial-gradient(1000px 700px at 85% 10%, rgba(136, 98, 33, 0.06), transparent 60%);
  --subpage-hero-overlay: linear-gradient(180deg, rgba(245, 247, 250, 0.75) 0%, rgba(245, 247, 250, 0.92) 100%);
  --header-bg: rgba(245, 247, 250, 0.9);
  --mobile-nav-bg: rgba(245, 247, 250, 0.98);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  background-color: var(--navy-950);
  background-image: var(--bg-image,
    radial-gradient(900px 600px at 85% -5%, rgba(201, 168, 106, 0.08), transparent 60%),
    radial-gradient(800px 600px at 0% 30%, rgba(40, 70, 112, 0.18), transparent 55%));
  background-attachment: fixed;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--cream);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
h4 { font-size: 1.25rem; }

p { color: var(--text-dim); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}

.eyebrow.center::after {
  content: "";
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--text-dim);
  max-width: 60ch;
}

.text-gold { color: var(--gold-400); }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
  position: relative;
}

.section-head {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: 1rem; }
.section-head p { margin-top: 1.1rem; }

.bg-soft {
  background: var(--navy-900);
  border-block: 1px solid var(--line-soft);
}

.bg-card {
  background: var(--navy-900);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease);
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 24px rgba(201, 168, 106, 0.2);
}

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--gold-500);
  color: var(--gold-300);
  background: rgba(201, 168, 106, 0.06);
}

.btn-solid {
  background: rgba(255, 255, 255, 0.05);
  color: var(--cream);
  border: 1px solid var(--line-soft);
}
.btn-solid:hover {
  background: rgba(201, 168, 106, 0.1);
  border-color: var(--gold-500);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled {
  background: var(--header-bg);
  box-shadow: 0 1px 0 var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 68px;
  width: auto;
  display: block;
  transition: opacity 0.3s var(--ease);
}
.brand-logo.footer-logo { height: 84px; }
.brand:hover .brand-logo { opacity: 0.85; }

.main-nav { display: flex; align-items: center; gap: 0.4rem; }
.main-nav a {
  position: relative;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 100px;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 0.3rem;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.main-nav a:hover { color: var(--cream); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold-300); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-cta .btn { padding: 0.7rem 1.5rem; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 12px;
  border: 1px solid var(--line-soft);
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    var(--hero-overlay-grad),
    var(--hero-radial-grad),
    url("../assets/hero-bg-building.jpg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.hero h1 {
  margin: 1.4rem 0 1.2rem;
  font-size: clamp(2rem, 4.8vw, 3.2rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: normal;
  color: var(--gold-300);
  font-weight: 600;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero-stats {
  margin-top: 3rem;
  display: flex;
  gap: 2.6rem;
  flex-wrap: wrap;
}
.hero-stats .num {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--gold-300);
  line-height: 1;
}
.hero-stats .lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

/* Hero floating card */
.hero-card {
  position: relative;
  border-radius: var(--radius);
  padding: 2.4rem;
  background: rgba(12, 26, 48, 0.5);
  border: 1px solid var(--line);
}
.hero-card .quote-mark {
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--gold-500);
  opacity: 0.5;
}
.hero-card blockquote {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--cream);
  margin: 0.8rem 0 1.6rem;
}
.hero-card .quote-author { color: var(--gold-300); font-weight: 600; font-size: 0.95rem; }
.hero-card .quote-role { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.2rem; }

.hero-card-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
}
.hero-card-list li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--text);
}
.check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(201, 168, 106, 0.15);
  color: var(--gold-300);
  display: grid;
  place-items: center;
}
.check svg { width: 13px; height: 13px; }

.scroll-cue {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.scroll-cue .mouse {
  width: 22px; height: 36px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  position: relative;
}
.scroll-cue .mouse::after {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  background: var(--gold-400);
  border-radius: 3px;
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
  0% { opacity: 0; transform: translate(-50%, -4px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 10px); }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  border-block: 1px solid var(--line-soft);
  padding-block: 2.4rem;
  background: var(--navy-900);
}
.trust-bar .container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}
.trust-bar p.first {
  font-family: var(--font-serif);
  color: var(--cream);
  font-size: 1.1rem;
  max-width: 18ch;
  line-height: 1.3;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.trust-items .item {
  border-left: 1px solid var(--line);
  padding-left: 1.2rem;
}
.trust-items .num {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--gold-300);
  line-height: 1;
}
.trust-items .lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  display: block;
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  border: 1px solid var(--line-soft);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, var(--gold-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: 0;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-400);
  background: var(--card-bg-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 20px rgba(186, 144, 76, 0.1);
}
.service-card:hover::after {
  opacity: 1;
}
.service-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(186, 144, 76, 0.15) 0%, rgba(186, 144, 76, 0.05) 100%);
  border: 1px solid var(--line);
  color: var(--gold-300);
  margin-bottom: 1.6rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease), background 0.4s var(--ease), color 0.4s var(--ease);
}
.service-card:hover .service-icon {
  transform: scale(1.08) rotate(6deg);
  background: linear-gradient(135deg, rgba(186, 144, 76, 0.3) 0%, rgba(186, 144, 76, 0.1) 100%);
  color: var(--cream);
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  color: var(--cream);
  transition: color 0.3s var(--ease);
}
.service-card:hover h3 {
  color: var(--gold-300);
}
.service-card p {
  position: relative;
  z-index: 1;
  margin-top: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-dim);
}
.service-card .index {
  position: absolute;
  top: 1.2rem; right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gold-300);
  opacity: 0.06;
  z-index: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.service-card:hover .index {
  transform: scale(1.15) translateY(-5px);
  opacity: 0.15;
}

/* ---------- Split / About ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
}
.split-media .visual {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.split-media .visual svg { width: 80%; height: 80%; }
.split-media .badge {
  position: absolute;
  bottom: 1.4rem; left: 1.4rem; right: 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(6, 13, 26, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.split-media .badge .b-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--gold-300);
}
.split-media .badge .b-txt {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.3;
}

.feature-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list h4 { color: var(--cream); font-size: 1.05rem; margin-bottom: 0.15rem; }
.feature-list .check { margin-top: 2px; }
.feature-list p { font-size: 0.92rem; }

/* ---------- Process timeline ---------- */
.process { counter-reset: step; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-step {
  position: relative;
  padding: 2.2rem 1.6rem;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--line-soft);
  transition: border-color 0.3s var(--ease);
}
.process-step:hover { border-color: var(--line); }
.process-step .step-num {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold-400);
  letter-spacing: 0.2em;
}
.process-step h4 { font-size: 1.2rem; margin: 0.7rem 0 0.5rem; color: var(--cream); }
.process-step p { font-size: 0.9rem; }
.process-step::before {
  content: "0" counter(step);
  counter-increment: step;
  position: absolute;
  top: -18px; left: 1.6rem;
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy-900);
  border: 1px solid var(--gold-500);
  color: var(--gold-300);
  font-family: var(--font-serif);
  font-size: 0.95rem;
}

#service-process .process-step::before {
  display: none;
}

/* ---------- Why us / values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.value-card {
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--line-soft);
  background: var(--card-bg);
  transition: border-color 0.3s var(--ease);
}
.value-card:hover { border-color: var(--line); }
.value-card .v-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-300);
  background: rgba(201, 168, 106, 0.1);
}
.value-card .v-icon svg { width: 30px; height: 30px; }
.value-card h4 { font-size: 1.2rem; color: var(--cream); }
.value-card p { font-size: 0.9rem; margin-top: 0.6rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius);
  padding: clamp(2.6rem, 5vw, 4.5rem);
  overflow: hidden;
  text-align: center;
  background: var(--navy-800);
  border: 1px solid var(--line);
}
.cta-band h2 { max-width: 22ch; margin-inline: auto; }
.cta-band p { max-width: 56ch; margin: 1.2rem auto 0; }
.cta-band .hero-actions { justify-content: center; margin-top: 2.2rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: none;
}
@media (max-width: 760px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--card-bg);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq-item.open { border-color: var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.6rem;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--cream);
}
.faq-q .plus {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--gold-300);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-item.open .plus { transform: rotate(45deg); background: rgba(201, 168, 106, 0.15); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p { padding: 0 1.6rem 1.4rem; color: var(--text-dim); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 2.5rem);
  padding-bottom: 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(700px 400px at 50% -10%, rgba(201, 168, 106, 0.08), transparent 60%);
  z-index: 0;
}
.page-hero.hero-kurumsal::before {
  background:
    var(--subpage-hero-overlay),
    url("../assets/kurumsal-hero-bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.page-hero.hero-hizmetler::before {
  background:
    var(--subpage-hero-overlay),
    url("../assets/hizmetler-hero-bg.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.page-hero.hero-iletisim::before {
  background:
    var(--subpage-hero-overlay),
    url("../assets/iletisim-hero-bg.webp");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { margin: 1.2rem 0; }
.page-hero .lead { margin-inline: auto; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1.4rem;
}
.breadcrumb a:hover { color: var(--gold-300); }
.breadcrumb span { color: var(--gold-400); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-item {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--card-bg);
  transition: border-color 0.3s var(--ease);
}
.contact-item:hover { border-color: var(--line); }
.contact-item .ci-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(201, 168, 106, 0.12);
  color: var(--gold-300);
  border: 1px solid var(--line);
}
.contact-item .ci-icon svg { width: 21px; height: 21px; }
.contact-item .ci-label { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.contact-item .ci-value { color: var(--cream); font-weight: 500; margin-top: 0.2rem; word-break: break-word; }

.contact-form {
  padding: 2.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(12, 26, 48, 0.4);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--cream);
  background: rgba(6, 13, 26, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--text-muted); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.12);
}
.field.error input,
.field.error textarea { border-color: #e0746a; }
.field .err-msg { color: #e89188; font-size: 0.8rem; margin-top: 0.35rem; display: none; }
.field.error .err-msg { display: block; }
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  display: none;
}
.form-status.success { display: block; background: rgba(80, 170, 110, 0.12); color: #8fd6a8; border: 1px solid rgba(80, 170, 110, 0.3); }
.form-status.error { display: block; background: rgba(224, 116, 106, 0.12); color: #e89188; border: 1px solid rgba(224, 116, 106, 0.3); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  background: var(--navy-950);
  padding-top: 4.5rem;
  position: relative;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.92rem; max-width: 32ch; }
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.2rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col a { color: var(--text-dim); font-size: 0.92rem; }
.footer-col a:hover { color: var(--gold-300); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; color: var(--text-dim); font-size: 0.92rem; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold-400); flex-shrink: 0; margin-top: 4px; }

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-block: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-bottom .legal { display: flex; gap: 1.4rem; }
.footer-bottom .legal a:hover { color: var(--gold-300); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { min-height: auto; padding-bottom: 4rem; }
  .split { grid-template-columns: 1fr; gap: 2.5rem; }
  .split.reverse .split-media { order: 0; }
  .split-media { min-height: 320px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-bar .container { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 2rem 1.5rem;
    background: var(--mobile-nav-bg);
    backdrop-filter: blur(20px);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 999;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { width: 100%; padding: 1rem 1.2rem; font-size: 1.05rem; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .brand-logo { height: 50px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; }
  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .trust-items { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 1.8rem; }
}

@media (max-width: 420px) {
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Redesign Interactive Components ---------- */
.analyzer-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}
.analyzer-card h3 {
  font-family: var(--font-sans);
  font-size: 1.35rem;
  margin-bottom: 1.2rem;
  color: var(--cream);
  text-align: center;
}
.analyzer-steps {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.analyzer-q-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 0.6rem;
}
.analyzer-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
}
.analyzer-btn {
  padding: 0.8rem 0.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  color: var(--text-dim);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.analyzer-btn:hover {
  background: rgba(236, 210, 151, 0.05);
  border-color: var(--gold-500);
  color: var(--gold-300);
}
.analyzer-btn.active {
  background: var(--gold-glow);
  border-color: var(--gold-300);
  color: var(--cream);
  box-shadow: 0 0 10px rgba(236, 210, 151, 0.15);
}
.analyzer-result {
  margin-top: 1.5rem;
  padding: 1.2rem;
  border-radius: var(--radius);
  background: rgba(236, 210, 151, 0.04);
  border: 1px dashed rgba(236, 210, 151, 0.25);
  display: none;
  animation: fadeIn 0.4s var(--ease) forwards;
}
.analyzer-result h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gold-300);
  margin-bottom: 0.4rem;
}
.analyzer-result p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-dim);
}
.analyzer-result .btn-sm {
  display: inline-flex;
  margin-top: 0.8rem;
  padding: 0.45rem 1rem;
  font-size: 0.78rem;
  border-radius: 6px;
  background: var(--gold-500);
  color: var(--navy-950);
  font-weight: 600;
}
.analyzer-result .btn-sm:hover {
  background: var(--gold-300);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* Category Filters (Hizmetler) */
.filter-container {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.category-btn {
  padding: 0.65rem 1.4rem;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-soft);
  transition: all 0.3s var(--ease);
}
.category-btn:hover, .category-btn.active {
  background: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

/* Hide services cards when filtered */
.service-card.hidden {
  display: none !important;
}

/* ---------- Theme Toggle ---------- */
.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  margin-right: 1.2rem;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold-500);
}
body.light-mode .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}
body.light-mode .sun-icon { display: block !important; }
body.light-mode .moon-icon { display: none !important; }
body:not(.light-mode) .sun-icon { display: none !important; }
body:not(.light-mode) .moon-icon { display: block !important; }
