/* ==========================================================================
   Smart Enerji — Tasarım Sistemi
   Açık/koyu tema: yüzey ve metin belirteçleri tema ile değişir; lacivert
   "gece" bölümleri (hero, süreç, CTA, footer) her iki temada da sabit kalır.
   Tipografi: Archivo (başlık) / Public Sans (metin) / IBM Plex Mono (veri)
   ========================================================================== */

:root {
  /* Her iki temada sabit: gece yüzeyleri ve marka rengi */
  --navy-950: #071624;
  --navy-900: #0b2033;
  --navy-850: #0e2941;
  --navy-800: #12314a;
  --line-dark: #1d3d57;
  --on-dark: #e9f0f6;
  --on-dark-muted: #8ea6bb;

  --sun: #ffb020;
  --sun-deep: #f07c22;
  --sun-soft: rgba(255, 176, 32, 0.14);

  /* Tema ile değişen yüzeyler */
  --paper: #eef3f7;
  --paper-2: #ffffff;
  --paper-hover: #f8fafc;
  --line-light: #dbe4ec;
  --ink: #0a1b2a;
  --ink-muted: #546a7e;
  --accent-ink: #d9691a;
  --bar: #d9691a;
  --bar-peak: #f5a524;
  --shadow: 0 18px 40px rgba(10, 27, 42, 0.09);

  /* Tipografi */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: clamp(0.82rem, 0.8rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.45rem, 1.3rem + 0.75vw, 1.9rem);
  --step-3: clamp(1.85rem, 1.55rem + 1.5vw, 2.75rem);
  --step-4: clamp(2.3rem, 1.7rem + 3vw, 4.4rem);

  --wrap: 1180px;
  --gutter: clamp(1.15rem, 4vw, 3rem);
  --radius: 3px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0b2033;
    --paper-2: #0e2941;
    --paper-hover: #123152;
    --line-light: #1d3d57;
    --ink: #e9f0f6;
    --ink-muted: #93aabe;
    --accent-ink: #ffb020;
    --bar: #d9922c;
    --bar-peak: #ffd166;
    --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #0b2033;
  --paper-2: #0e2941;
  --paper-hover: #123152;
  --line-light: #1d3d57;
  --ink: #e9f0f6;
  --ink-muted: #93aabe;
  --accent-ink: #ffb020;
  --bar: #d9922c;
  --bar-peak: #ffd166;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
  color-scheme: dark;
}

/* --------------------------------------------------------------- temel -- */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; }

:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0;
}

h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.015em; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.stack { display: flex; flex-direction: column; }
.prose { max-width: 62ch; }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
  opacity: 0.7;
}

.eyebrow svg { width: 14px; height: 14px; flex: none; }

.on-dark .eyebrow { color: var(--sun); }

.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-muted); }
.on-dark .lede { color: var(--on-dark-muted); }

/* ------------------------------------------------------------ bölümler -- */

section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }

.on-dark {
  background: var(--navy-950);
  color: var(--on-dark);
  position: relative;
}

/* lacivert bölümlerde ince panel dokusu */
.on-dark.has-texture::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}

.on-dark > .wrap { position: relative; z-index: 1; }

.on-paper { background: var(--paper); color: var(--ink); }
.on-white { background: var(--paper-2); color: var(--ink); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
  max-width: 62ch;
}

.section-head.is-split {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  max-width: none;
  gap: 2rem;
  flex-wrap: wrap;
}

.section-head.is-split > .stack { gap: 1rem; max-width: 55ch; }

/* --------------------------------------------------------------- buton -- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn-sun { background: var(--sun); color: #071624; }
.btn-sun:hover { background: #ffc24d; }
.btn-ghost { border-color: var(--line-dark); color: var(--on-dark); background: transparent; }
.btn-ghost:hover { border-color: var(--sun); color: var(--sun); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper-2); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* --------------------------------------------------------------- başlık -- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(7, 22, 36, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 74px;
}

.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; flex: none; }
.brand-mark { width: 34px; height: 34px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: -0.03em; }
.brand-sub { font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.2em; color: var(--on-dark-muted); margin-top: 0.28rem; }

.nav { display: flex; align-items: center; gap: 0.15rem; }

.nav > a,
.has-menu > button {
  padding: 0.55rem 0.7rem;
  font-size: 0.93rem;
  text-decoration: none;
  color: var(--on-dark);
  border-radius: var(--radius);
  transition: color 0.15s ease;
  white-space: nowrap;
  background: none;
  border: 0;
  font-family: inherit;
  cursor: pointer;
}

.nav > a:hover,
.nav > a[aria-current="page"] { color: var(--sun); }

/* açılır menü — buton ile menü arasında boşluk yok, köprü alanı var */
.has-menu { position: relative; padding-bottom: 0; }

.has-menu > button { display: inline-flex; align-items: center; gap: 0.35rem; }
.has-menu > button:hover,
.has-menu[data-open="true"] > button { color: var(--sun); }
.has-menu > button svg { width: 12px; height: 12px; transition: transform 0.2s ease; }
.has-menu[data-open="true"] > button svg { transform: rotate(180deg); }

.submenu {
  position: absolute;
  top: 100%;
  left: -0.5rem;
  min-width: 300px;
  padding-top: 14px;
  display: none;
  flex-direction: column;
}

.has-menu[data-open="true"] .submenu { display: flex; }

.submenu-inner {
  background: var(--navy-900);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.5);
}

.submenu a {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.65rem 0.75rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--on-dark);
  border-left: 2px solid transparent;
  border-radius: 2px;
}

.submenu a svg { width: 18px; height: 18px; color: var(--sun); }
.submenu a:hover { background: var(--navy-850); border-left-color: var(--sun); color: var(--sun); }

.header-cta { display: flex; align-items: center; gap: 0.65rem; flex: none; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--on-dark);
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.header-phone:hover { border-color: var(--sun); color: var(--sun); }
.header-phone svg { width: 15px; height: 15px; color: var(--sun); }

.icon-btn {
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: none;
  color: var(--on-dark);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.icon-btn:hover { border-color: var(--sun); color: var(--sun); }
.icon-btn svg { width: 19px; height: 19px; }

.theme-toggle .i-moon { display: none; }
.theme-toggle .i-sun { display: block; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .i-moon { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .i-sun { display: none; }
}

:root[data-theme="dark"] .theme-toggle .i-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }

.burger { display: none; }

@media (max-width: 1100px) {
  .nav, .header-phone { display: none; }
  .burger { display: inline-grid; }
}

@media (max-width: 640px) {
  .header-cta .btn { display: none; }
  .header-cta { gap: 0.4rem; }
  .header-inner { gap: 0.6rem; }
  .brand-name { font-size: 1rem; }
  .lang-menu > button { padding: 0 0.5rem; gap: 0.25rem; }
  .lang-menu > button svg:first-child { display: none; }
}

@media (max-width: 360px) {
  .brand-text { display: none; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .brand-mark { width: 30px; height: 30px; }
  .icon-btn { width: 38px; height: 38px; }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--line-dark);
  background: var(--navy-900);
  padding: 0.75rem var(--gutter) 1.5rem;
  max-height: 78vh;
  overflow-y: auto;
}

.mobile-nav[data-open="true"] { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
  font-size: 1rem;
}

.mobile-nav a.sub { padding-left: 1rem; font-size: 0.92rem; color: var(--on-dark-muted); }
.mobile-nav .btn { display: flex; margin-top: 1.1rem; width: 100%; justify-content: center; border-bottom: 0; }


/* --------------------------------------------------------- dil menüsü -- */

.lang-menu > button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  height: 42px;
  padding: 0 0.7rem;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: none;
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.lang-menu > button:hover,
.lang-menu[data-open="true"] > button { border-color: var(--sun); color: var(--sun); }
.lang-menu > button svg { width: 15px; height: 15px; }
.lang-menu > button svg:last-child { width: 11px; height: 11px; opacity: 0.7; }
.lang-menu .submenu { left: auto; right: 0; min-width: 178px; }
.lang-menu .submenu a { grid-template-columns: 26px 1fr; }

.lang-menu .submenu a b {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--sun);
}

.lang-menu .submenu a[aria-current="true"] { background: var(--navy-850); border-left-color: var(--sun); }
.mobile-nav a[aria-current="true"] { color: var(--sun); }

/* ---------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--on-dark);
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(3rem, 6vw, 5rem);
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.9; pointer-events: none; }

.hero-glow {
  position: absolute;
  right: -12%;
  top: -30%;
  width: 62vw;
  height: 62vw;
  max-width: 780px;
  max-height: 780px;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.22) 0%, rgba(240, 124, 34, 0.09) 38%, transparent 68%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-block: 1.4rem 1.35rem; }
.hero h1 em { font-style: normal; color: var(--sun); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }

.hero-note {
  margin-top: 1.6rem;
  font-size: var(--step--1);
  color: var(--on-dark-muted);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-note svg { width: 15px; height: 15px; color: var(--sun); flex: none; }

/* hero yan panel */
.hero-panel {
  background: rgba(11, 32, 51, 0.72);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.hero-panel h2 { font-size: var(--step-1); color: var(--on-dark); }
.hero-panel p { color: var(--on-dark-muted); font-size: 0.96rem; }

.mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 84px; }

.mini-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--sun), rgba(240, 124, 34, 0.35));
  border-radius: 3px 3px 0 0;
  min-height: 6px;
}

.mini-axis {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--on-dark-muted);
  margin-top: 0.5rem;
}

/* --------------------------------------------------------- istatistik -- */

.stats { border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: var(--navy-950); color: var(--on-dark); padding-block: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(1.5rem, 3vw, 2.25rem) clamp(0.9rem, 2vw, 1.75rem); border-left: 1px solid var(--line-dark); }
.stat:first-child { border-left: 0; padding-left: 0; }

.stat-num {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--sun);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.stat-num small { font-size: 0.5em; font-weight: 600; letter-spacing: 0; color: var(--on-dark); }
.stat-label { margin-top: 0.6rem; font-size: var(--step--1); color: var(--on-dark-muted); line-height: 1.4; }

@media (max-width: 780px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-left: 1px solid var(--line-dark); }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-dark); }
}

/* ------------------------------------------------------------ kartlar -- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
}

.card {
  position: relative;
  background: var(--paper-2);
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
  min-height: 100%;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sun), var(--sun-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover::before { transform: scaleX(1); }
.card:hover { background: var(--paper-hover); }

.card-no {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
}

.card-icon { width: 42px; height: 42px; color: var(--accent-ink); }
.card h3 { font-size: var(--step-1); }
.card p { color: var(--ink-muted); font-size: 0.97rem; }

.card-link {
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }
.card:hover .card-link { color: var(--accent-ink); }

/* ------------------------------------------------------------- split -- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.split.is-content { grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.75fr); }

@media (max-width: 900px) {
  .split, .split.is-content { grid-template-columns: minmax(0, 1fr); }
}

.benefits { display: grid; gap: 1px; background: var(--line-light); border-block: 1px solid var(--line-light); }

.benefit {
  background: var(--paper);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1.1rem;
  padding: 1.35rem;
  align-items: start;
}

.on-white .benefit { background: var(--paper-2); }
.benefit svg { width: 26px; height: 26px; color: var(--accent-ink); margin-top: 0.2rem; }
.benefit h3 { font-size: 1.06rem; margin-bottom: 0.3rem; }
.benefit p { color: var(--ink-muted); font-size: 0.96rem; }

/* ------------------------------------------------------------- güven -- */

.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); }

@media (max-width: 900px) { .trust-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust-row { grid-template-columns: 1fr; } }

.trust {
  background: var(--navy-950);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.trust svg { width: 24px; height: 24px; color: var(--sun); }
.trust h3 { font-size: 1.02rem; color: var(--on-dark); }
.trust p { font-size: 0.92rem; color: var(--on-dark-muted); }

/* --------------------------------------------------------- hesaplayıcı -- */

.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}

@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } }

.calc-inputs {
  background: var(--navy-900);
  border: 1px solid var(--line-dark);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.field { display: flex; flex-direction: column; gap: 0.55rem; }

.field label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.field-row { display: flex; align-items: baseline; gap: 0.5rem; }

.field output {
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--sun);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
}

.field-unit { font-family: var(--mono); font-size: 0.85rem; color: var(--on-dark-muted); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--line-dark);
  border-radius: 2px;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--navy-900);
  box-shadow: 0 0 0 1px var(--sun);
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--navy-900);
  box-shadow: 0 0 0 1px var(--sun);
  cursor: pointer;
}

.calc-results { display: flex; flex-direction: column; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }

.result {
  background: var(--paper-2);
  padding: 1.3rem clamp(1.1rem, 2.5vw, 1.75rem);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.result dt { font-size: 0.95rem; color: var(--ink-muted); }

.result dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.result dd span { font-size: 0.55em; font-weight: 600; color: var(--ink-muted); margin-left: 0.3rem; }
.result.is-highlight { background: var(--navy-950); }
.result.is-highlight dt { color: var(--on-dark-muted); }
.result.is-highlight dd { color: var(--sun); }
.result.is-highlight dd span { color: var(--on-dark-muted); }

.calc-note { font-size: 0.82rem; color: var(--on-dark-muted); line-height: 1.55; border-top: 1px solid var(--line-dark); padding-top: 1rem; }

/* ------------------------------------------------------------- grafik -- */

.chart-card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  padding: clamp(1.4rem, 3vw, 2rem);
  position: relative;
}

.chart-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.chart-title { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.02em; }
.chart-sub { font-size: 0.86rem; color: var(--ink-muted); margin-top: 0.35rem; }

.chart-total { text-align: right; }
@media (max-width: 620px) { .chart-total { text-align: left; } .chart-head { gap: 0.75rem; } }
.chart-total b { display: block; font-family: var(--display); font-size: 1.8rem; font-weight: 800; color: var(--accent-ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.chart-total span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }

.chart-card { --chart-pad: 42px; }
.chart-plot { position: relative; height: 220px; border-bottom: 1px solid var(--line-light); padding-left: var(--chart-pad); }

.chart-axis {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: right;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ink-muted);
}

.chart-axis i { font-style: normal; transform: translateY(-50%); }
.chart-axis i:first-child { transform: none; }
.chart-axis i:last-child { transform: translateY(-50%); }

.chart-grid { position: absolute; inset: 0 0 0 var(--chart-pad); display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart-grid i { display: block; border-top: 1px dashed var(--line-light); }

.chart-bars { position: absolute; inset: 0 0 0 var(--chart-pad); display: flex; align-items: flex-end; gap: clamp(3px, 1vw, 10px); }

.bar { position: relative; flex: 1; display: flex; align-items: flex-end; height: 100%; cursor: default; }

.bar i {
  display: block;
  width: 100%;
  background: var(--bar);
  border-radius: 4px 4px 0 0;
  transition: background-color 0.15s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: bottom;
}

.bar i { transform: scaleY(0); }
.chart-card.is-in .bar i { transform: scaleY(1); }
.bar:hover i { background: var(--bar-peak); }
.bar.is-peak i { background: var(--bar-peak); }

.bar-label {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -100%);
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--accent-ink);
  white-space: nowrap;
}

.chart-x { display: flex; gap: clamp(3px, 1vw, 10px); margin-top: 0.6rem; padding-left: var(--chart-pad); }
@media (max-width: 560px) {
  .chart-card { --chart-pad: 26px; }
  .chart-axis { width: 22px; font-size: 0.55rem; }
  .chart-x span { font-size: 0.55rem; letter-spacing: -0.02em; }
  .chart-bars, .chart-x { gap: 2px; }
}
.chart-x span { flex: 1; text-align: center; font-family: var(--mono); font-size: 0.68rem; color: var(--ink-muted); }

.chart-tip {
  position: absolute;
  z-index: 5;
  transform: translate(-50%, -115%);
  background: var(--navy-950);
  color: var(--on-dark);
  border: 1px solid var(--line-dark);
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
}

.chart-tip b { color: var(--sun); font-variant-numeric: tabular-nums; }
.chart-tip[data-show="true"] { opacity: 1; }

.chart-foot { margin-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: center; }
.chart-note { font-size: 0.8rem; color: var(--ink-muted); max-width: 62ch; }

.chart-table { margin-top: 1rem; }
.chart-table summary { cursor: pointer; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-ink); }
.chart-table table { width: 100%; border-collapse: collapse; margin-top: 0.85rem; font-size: 0.88rem; }
.chart-table th, .chart-table td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line-light); font-variant-numeric: tabular-nums; }
.chart-table th { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }

/* --------------------------------------------------------- akış şeması -- */

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; align-items: stretch; }

@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } }

.flow-node {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  padding: 1.35rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  position: relative;
}

.flow-node + .flow-node { border-left: 0; }

@media (max-width: 860px) {
  .flow-node + .flow-node { border-left: 1px solid var(--line-light); border-top: 0; }
}

.flow-node::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-top: 2px solid var(--sun);
  border-right: 2px solid var(--sun);
  transform: rotate(45deg);
  background: var(--paper-2);
  z-index: 2;
}

.flow-node:last-child::after { display: none; }

@media (max-width: 860px) {
  .flow-node::after { right: 50%; top: auto; bottom: -7px; margin: 0 -6px 0 0; transform: rotate(135deg); }
}

.flow-step { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.16em; color: var(--accent-ink); }
.flow-node svg { width: 28px; height: 28px; color: var(--ink); }
.flow-node h3 { font-size: 1.02rem; }
.flow-node p { font-size: 0.9rem; color: var(--ink-muted); }

/* ------------------------------------------------------------- süreç -- */

.timeline { display: grid; gap: 0; position: relative; }

.tl-item {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-dark);
  position: relative;
}

.tl-item:first-child { border-top: 0; }

.tl-no {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--sun);
  padding-top: 0.25rem;
  position: relative;
}

.tl-no::after {
  content: "";
  position: absolute;
  left: 58px;
  top: 0.6rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sun);
}

.tl-body h3 { color: var(--on-dark); margin-bottom: 0.5rem; }
.tl-body p { color: var(--on-dark-muted); max-width: 68ch; font-size: 0.98rem; }

@media (max-width: 620px) {
  .tl-item { grid-template-columns: 1fr; gap: 0.5rem; }
  .tl-no::after { display: none; }
}

/* ----------------------------------------------------------- paketler -- */

.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }

@media (max-width: 880px) { .pkgs { grid-template-columns: 1fr; } }

.pkg { background: var(--paper-2); padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: 0.9rem; }
.pkg-size { font-family: var(--display); font-size: clamp(1.6rem, 3.4vw, 2.1rem); font-weight: 800; letter-spacing: -0.04em; color: var(--accent-ink); }
.pkg h3 { font-size: 1.05rem; }
.pkg p { font-size: 0.94rem; color: var(--ink-muted); }
.pkg ul { list-style: none; margin: 0.4rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; border-top: 1px solid var(--line-light); padding-top: 1rem; }
.pkg li { font-size: 0.9rem; color: var(--ink-muted); display: flex; gap: 0.55rem; align-items: flex-start; }
.pkg li::before { content: "—"; color: var(--sun-deep); flex: none; }

/* ----------------------------------------------------------------- sss -- */

.faq { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 3rem 1.35rem 0;
  position: relative;
  font-family: var(--display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 13px;
  height: 13px;
  margin-top: -6px;
  border-right: 2px solid var(--accent-ink);
  border-bottom: 2px solid var(--accent-ink);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}

.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details[open] summary { color: var(--accent-ink); }
.faq .answer { padding: 0 3rem 1.6rem 0; color: var(--ink-muted); max-width: 68ch; }

/* -------------------------------------------------------------- bölge -- */

.region-grid { display: flex; flex-wrap: wrap; gap: 0.55rem; }

.chip {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--line-dark);
  border-radius: 100px;
  color: var(--on-dark);
  white-space: nowrap;
}

.chip.is-base { border-color: var(--sun); color: var(--sun); }
.on-paper .chip, .on-white .chip { color: var(--ink); border-color: var(--line-light); }
.on-paper .chip.is-base, .on-white .chip.is-base { color: var(--accent-ink); border-color: var(--accent-ink); }

.marquee { overflow: hidden; border-block: 1px solid var(--line-dark); padding-block: 0.9rem; }
.marquee-track { display: flex; gap: 2.5rem; width: max-content; animation: slide 38s linear infinite; }

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--on-dark-muted);
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
}

.marquee span::after { content: "●"; font-size: 0.4rem; color: var(--sun); }

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: 100%; }
  .marquee-track > span:nth-child(2) { display: none; }
}

/* -------------------------------------------------------------- şerit -- */

.cta-band {
  background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy-850) 55%, #16405f 100%);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}

.cta-band::after {
  content: "";
  position: absolute;
  right: -6%;
  bottom: -60%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.2), transparent 65%);
}

.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { max-width: 20ch; }
.cta-band .lede { color: #c7d6e2; }

/* ----------------------------------------------------------- iletişim -- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }

@media (max-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

.contact-list { display: flex; flex-direction: column; gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }

.contact-item {
  background: var(--paper-2);
  padding: 1.3rem 1.5rem;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

a.contact-item:hover { background: var(--paper-hover); }
.contact-item svg { width: 22px; height: 22px; color: var(--accent-ink); }
.contact-item .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.contact-item .v { font-family: var(--display); font-weight: 600; font-size: 1.08rem; letter-spacing: -0.015em; }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.form label { display: flex; flex-direction: column; gap: 0.45rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }

.form input, .form select, .form textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  width: 100%;
  text-transform: none;
  letter-spacing: normal;
}

.form textarea { min-height: 120px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sun); outline: none; box-shadow: 0 0 0 3px var(--sun-soft); }
.form .form-note { font-family: var(--body); font-size: 0.82rem; letter-spacing: normal; text-transform: none; color: var(--ink-muted); }

/* ---------------------------------------------------------- iç sayfa -- */

.page-hero { background: var(--navy-950); color: var(--on-dark); position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 5rem); }

.page-hero::after {
  content: "";
  position: absolute;
  left: 55%;
  top: -70%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(255, 176, 32, 0.16), transparent 62%);
  pointer-events: none;
}

.page-hero .wrap { position: relative; z-index: 2; }

.crumb { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; color: var(--on-dark-muted); margin-bottom: 1.4rem; }
.crumb a { color: var(--on-dark-muted); text-decoration: none; }
.crumb a:hover { color: var(--sun); }
.crumb span { color: var(--sun); }

.page-hero h1 { font-size: var(--step-3); max-width: 18ch; }
.page-hero .lede { margin-top: 1.2rem; max-width: 62ch; }

.rich { min-width: 0; }
.rich > * + * { margin-top: 1.4rem; }
.rich h2 { font-size: var(--step-2); margin-top: 2.8rem; }
.rich h3 { margin-top: 2rem; }
.rich p { color: var(--ink-muted); max-width: 68ch; }
.rich ul { margin: 0; padding-left: 1.15rem; color: var(--ink-muted); max-width: 68ch; }
.rich li + li { margin-top: 0.6rem; }
.rich strong { color: var(--ink); }

.callout {
  border-left: 3px solid var(--sun);
  background: var(--paper-2);
  padding: 1.35rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.on-white .callout { background: var(--paper); }
.callout h3 { font-size: 1.05rem; margin: 0; }
.callout p { font-size: 0.95rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.checklist li { display: grid; grid-template-columns: 22px 1fr; gap: 0.75rem; color: var(--ink-muted); }
.checklist li::before {
  content: "";
  width: 16px;
  height: 9px;
  margin-top: 0.45rem;
  border-left: 2px solid var(--sun-deep);
  border-bottom: 2px solid var(--sun-deep);
  transform: rotate(-45deg);
}

.spec-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.spec-table th, .spec-table td { text-align: left; padding: 0.9rem 1rem; border-bottom: 1px solid var(--line-light); }
.spec-table th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; }
.spec-table td { color: var(--ink-muted); }
.spec-table td:first-child { color: var(--ink); font-weight: 600; }
.spec-table tbody tr:hover { background: var(--paper); }
.on-paper .spec-table tbody tr:hover { background: var(--paper-2); }
.table-scroll { overflow-x: auto; }

.aside-card {
  background: var(--navy-950);
  color: var(--on-dark);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 100px;
}

.aside-card h3 { color: var(--on-dark); }
.aside-card p { color: var(--on-dark-muted); font-size: 0.95rem; }
.aside-card .btn { justify-content: center; }
.aside-links { display: flex; flex-direction: column; gap: 0.6rem; border-top: 1px solid var(--line-dark); padding-top: 1rem; margin-top: 0.4rem; }
.aside-links a { font-size: 0.92rem; color: var(--on-dark-muted); text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.aside-links a:hover { color: var(--sun); }
.aside-links svg { width: 14px; height: 14px; }

@media (max-width: 900px) { .aside-card { position: static; } }

/* -------------------------------------------------------------- footer -- */

.site-footer { background: var(--navy-950); color: var(--on-dark); border-top: 1px solid var(--line-dark); padding-block: clamp(3rem, 5vw, 4.5rem) 0; }

.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(1.75rem, 4vw, 3rem); }

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h4 { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sun); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { text-decoration: none; color: var(--on-dark-muted); font-size: 0.95rem; }
.footer-col a:hover { color: var(--sun); }
.footer-col p { color: var(--on-dark-muted); font-size: 0.95rem; }

.footer-bottom { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line-dark); padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.85rem; color: var(--on-dark-muted); }

.socials { display: flex; gap: 0.6rem; }

.socials a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--on-dark-muted);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.socials a:hover { border-color: var(--sun); color: var(--sun); }
.socials svg { width: 17px; height: 17px; }

/* ------------------------------------------------------------ whatsapp -- */

.wa-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  background: #1f9c4d;
  color: #fff;
  text-decoration: none;
  border-radius: 100px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease;
}

.wa-fab:hover { transform: translateY(-3px); }
.wa-fab svg { width: 20px; height: 20px; }

@media (max-width: 560px) { .wa-fab span { display: none; } .wa-fab { padding: 0.95rem; } }

/* ------------------------------------------------------------- reveal -- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--sun); color: var(--navy-950); padding: 0.7rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
