/* =============================================================================
   DEPO EVIN — styles.css
   Tasarım logodan türetilmiştir: lacivert kutu gövdesi, terracotta çatı kanatları,
   kemerli kapı. Düz (flat) dil, yumuşak gölge, ölçülü yarıçap. Gradyan yok.
   ========================================================================== */

/* ----------------------------- Fontlar ----------------------------------- */
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;           /* variable ağırlık ekseni */
  font-display: swap;
  src: url("/assets/fonts/rubik-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/assets/fonts/rubik-latinext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ----------------------------- Token'lar --------------------------------- */
:root {
  /* Ana palet (logodan) */
  --navy: #1C2A43;
  --terracotta: #E2774B;
  --terracotta-deep: #A84B26;   /* açık zeminde vurgu METNİ (≈5:1) */
  --cream: #F7F2E8;
  --white: #FFFFFF;

  /* Türetilmiş nötrler */
  --navy-90: #2A3A56;
  --navy-70: #4A5872;           /* yardımcı metin (cream üstünde ≈7:1) */
  --navy-55: #6B7890;
  --line: #E2DCCE;              /* krem üstü ince çizgi */
  --line-strong: #D5CDBA;
  --terracotta-soft: #FBEDE4;  /* çok açık vurgu zemini */
  --terracotta-tint: #F6DFD1;
  --green: #4F7A5B;            /* "kazanç" vurgusu, düşük doygunluk */
  --green-soft: #E7F0E8;

  /* Yüzeyler */
  --bg: var(--cream);
  --surface: var(--white);
  --ink: var(--navy);
  --muted: var(--navy-70);

  /* Tipografi */
  --font: "Rubik", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --fs-hero: clamp(2.3rem, 5.2vw, 3.9rem);
  --fs-h1: clamp(2rem, 4.4vw, 3rem);
  --fs-h2: clamp(1.6rem, 3.4vw, 2.3rem);
  --fs-h3: 1.25rem;
  --fs-body: 1.0625rem;
  --fs-sm: 0.9375rem;
  --fs-xs: 0.8125rem;
  --lh: 1.6;

  /* Aralık ölçeği (0.25rem taban) */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem; --s5: 1.5rem;
  --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;

  /* Yarıçap (logo gövdesi gibi ölçülü) */
  --r-card: 14px;
  --r-btn: 11px;
  --r-pill: 999px;
  --r-sm: 8px;

  /* Yumuşak gölgeler (az ve hafif) */
  --sh-sm: 0 1px 2px rgba(28, 42, 67, 0.05);
  --sh: 0 6px 20px -12px rgba(28, 42, 67, 0.18);
  --sh-lg: 0 18px 44px -24px rgba(28, 42, 67, 0.28);

  --container: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.3, 0.5, 1);
  --header-h: 76px;
}

/* ------------------------------ Reset ------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 600; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--terracotta-deep); outline-offset: 2px; border-radius: 4px; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: var(--cream); padding: var(--s3) var(--s5);
  border-radius: 0 0 var(--r-btn) 0; font-weight: 600;
}
.skip-link:focus { left: 0; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------------------------- Layout ------------------------------------- */
.container { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3rem, 7vw, var(--s9)); position: relative; }
.section--navy { background: var(--navy); color: var(--cream); }
.section--soft { background: var(--terracotta-soft); }
.section-head { max-width: 62ch; margin-bottom: var(--s7); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: var(--s3); }
.section--navy .section-head p { color: #C7D0DE; }

/* Eyebrow + bölüm numarası — açıklamalı logodaki gibi (aralıklı, terracotta-deep) */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terracotta-deep); margin-bottom: var(--s3);
}
.section--navy .eyebrow { color: var(--terracotta); }
.eyebrow .roof { width: 18px; height: 11px; flex: none; }
.sec-num {
  font-weight: 700; color: var(--terracotta-deep); font-size: var(--fs-xs);
  letter-spacing: 0.16em;
}
.section--navy .sec-num { color: var(--terracotta); }

/* 39° açılı ince bölüm geçişi */
.angle-rule {
  height: 2px; width: 56px; background: var(--terracotta);
  transform: skewX(-39deg); border-radius: 2px; margin: var(--s5) 0;
}

/* ----------------------------- Butonlar ---------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-weight: 600; font-size: var(--fs-body); line-height: 1;
  padding: 0.85em 1.35em; border-radius: var(--r-btn); border: 2px solid transparent;
  transition: transform 0.18s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  text-align: center;
}
.btn:active { transform: translateY(1px) scale(0.99); }
/* Birincil: terracotta zemin + LACİVERT metin (≈4,8:1 ✓) */
.btn--primary { background: var(--terracotta); color: var(--navy); box-shadow: var(--sh-sm); }
.btn--primary:hover { background: #E9875E; transform: translateY(-2px); box-shadow: var(--sh); }
/* İkincil: lacivert zemin + krem metin */
.btn--secondary { background: var(--navy); color: var(--cream); }
.btn--secondary:hover { background: #26395A; transform: translateY(-2px); box-shadow: var(--sh); }
/* Çerçeveli */
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--cream); }
.section--navy .btn--outline { color: var(--cream); border-color: rgba(247,242,232,0.5); }
.section--navy .btn--outline:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--ghost { background: transparent; color: var(--terracotta-deep); padding-inline: 0.4em; }
.btn--ghost:hover { color: var(--navy); }
.btn--lg { padding: 1em 1.6em; font-size: 1.1rem; }
.btn--block { display: flex; width: 100%; }
.btn svg { width: 18px; height: 18px; }

/* Rozet */
.badge {
  display: inline-flex; align-items: center; gap: var(--s2);
  background: var(--terracotta); color: var(--navy);
  font-weight: 600; font-size: var(--fs-sm); padding: 0.3em 0.75em; border-radius: var(--r-pill);
}
.badge--navy { background: var(--navy); color: var(--cream); }
.badge--green { background: var(--green-soft); color: #2F5138; }
.badge .roof { width: 15px; height: 9px; }

/* Çatı-kanadı liste madde işareti */
.list { display: grid; gap: var(--s3); }
.list li { display: flex; gap: var(--s3); align-items: flex-start; }
.list li > .roof { width: 18px; height: 11px; margin-top: 6px; flex: none; }
.list--navy li > .roof path { fill: var(--terracotta); }

/* ----------------------------- Header ------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(247, 242, 232, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--sh-sm); }
.site-header .container { display: flex; align-items: center; gap: var(--s5); height: var(--header-h); }
.logo-link { display: inline-flex; align-items: center; flex: none; }
.logo-link img { width: 170px; height: auto; }
.site-nav { display: flex; align-items: center; gap: var(--s5); margin-inline-start: auto; }
.site-nav a { color: var(--navy-70); font-weight: 500; font-size: var(--fs-sm); transition: color 0.2s; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.header-phone { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--navy); }
.header-phone svg { width: 18px; height: 18px; color: var(--terracotta-deep); }
.menu-toggle { display: none; background: none; border: 0; padding: var(--s2); color: var(--navy); }

/* Mobil menü overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: var(--cream);
  display: flex; flex-direction: column; padding: var(--gutter);
  transform: translateY(-100%); transition: transform 0.4s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { transform: translateY(0); visibility: visible; }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__logo { width: 120px; }
.mobile-menu nav { display: grid; gap: var(--s4); margin-top: var(--s8); }
.mobile-menu nav a { font-size: 1.5rem; font-weight: 600; color: var(--cream); }
.mobile-menu .btn { margin-top: var(--s6); }

/* ------------------------------ Hero ------------------------------------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { font-size: var(--fs-hero); letter-spacing: -0.03em; }
.hero h1 .accent { color: var(--terracotta-deep); }
.hero__lead { font-size: 1.2rem; color: var(--muted); margin-top: var(--s4); max-width: 42ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--s5); margin-top: var(--s6); }
.hero__trust span { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.hero__trust svg { width: 18px; height: 18px; color: var(--terracotta-deep); flex: none; }

/* Hero marka motifi + imza animasyonu (çatı kanatları kapanır) */
.hero__mark { position: absolute; right: 2%; top: -8%; width: 190px; opacity: 0.1; pointer-events: none; z-index: 0; }

/* Fiyat kartı (hero yanı) */
.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--s6); box-shadow: var(--sh-lg); position: relative; overflow: hidden;
}
.price-card__flag { position: absolute; top: var(--s4); right: var(--s4); }
.price-card .k { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.price-card .amount { font-size: clamp(2.4rem, 5vw, 3rem); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; line-height: 1; margin-top: var(--s2); }
.price-card .amount small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card .rows { margin-top: var(--s5); display: grid; gap: var(--s3); border-top: 1px solid var(--line); padding-top: var(--s5); }
.price-card .row { display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-sm); }
.price-card .row b { font-weight: 600; }
.price-card .green { color: #2F5138; }
.price-card .btn { margin-top: var(--s5); }
.price-card__note { font-size: var(--fs-xs); color: var(--navy-55); margin-top: var(--s3); text-align: center; }

/* ------------------- "Bir bakışta" özet tablosu -------------------------- */
.glance { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sh-sm); }
.glance dl { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
.glance div { display: flex; flex-direction: column; gap: 2px; padding: var(--s5); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.glance dt { font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta-deep); font-weight: 600; }
.glance dd { margin: 0; font-weight: 600; color: var(--navy); font-size: 1.05rem; }
.glance dd small { font-weight: 400; color: var(--muted); font-size: var(--fs-sm); }

/* ------------------------------- Kartlar --------------------------------- */
.grid { display: grid; gap: var(--s5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--s6); box-shadow: var(--sh-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.card__icon { width: 44px; height: 44px; color: var(--navy); margin-bottom: var(--s4); }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--muted); font-size: var(--fs-sm); }
.card__link { display: inline-flex; align-items: center; gap: var(--s2); margin-top: var(--s4); color: var(--terracotta-deep); font-weight: 600; font-size: var(--fs-sm); }
.card__link svg { width: 15px; height: 15px; transition: transform 0.2s var(--ease); }
.card__link:hover svg { transform: translateX(3px); }

/* Numaralı adım kartı */
.step { position: relative; }
.step__n { display: inline-flex; align-items: center; gap: var(--s2); margin-bottom: var(--s3); }
.step__n .sec-num { font-size: 1rem; }

/* ----------------------- Hesaplayıcı ------------------------------------- */
.calc { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--s6); align-items: start; }
.calc__panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: var(--s6); box-shadow: var(--sh-sm); }
.field { margin-bottom: var(--s5); }
.field > label, .field > .field-label { display: block; font-weight: 600; margin-bottom: var(--s3); color: var(--navy); }
.stepper { display: inline-flex; align-items: center; gap: var(--s4); background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-pill); padding: var(--s1); }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--navy); color: var(--cream); font-size: 1.3rem; line-height: 1; display: grid; place-items: center; }
.stepper button:disabled { opacity: 0.35; cursor: not-allowed; }
.stepper output { min-width: 2.5ch; text-align: center; font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--navy);
  padding: 0.5em 1em; border-radius: var(--r-pill); font-weight: 500; font-size: var(--fs-sm);
  transition: all 0.18s var(--ease);
}
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"], .chip.is-active { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.field label.switch, .switch { display: inline-flex; align-items: center; gap: var(--s3); cursor: pointer; font-weight: 500; position: relative; margin-bottom: 0; }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }
.switch__track { width: 46px; height: 26px; border-radius: var(--r-pill); background: var(--line-strong); position: relative; transition: background 0.2s var(--ease); flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); transition: transform 0.2s var(--ease-spring); box-shadow: var(--sh-sm); }
.switch input:checked + .switch__track { background: var(--terracotta); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--terracotta-deep); outline-offset: 2px; }

.calc__result { background: var(--navy); color: var(--cream); border-radius: var(--r-card); padding: var(--s6); position: sticky; top: calc(var(--header-h) + 1rem); }
.calc__result .eyebrow { color: var(--terracotta); }
.result-total { font-size: clamp(2.2rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; margin: var(--s3) 0; }
.result-rows { display: grid; gap: var(--s3); border-top: 1px solid rgba(247,242,232,0.15); padding-top: var(--s4); margin-top: var(--s4); }
.result-row { display: flex; justify-content: space-between; font-size: var(--fs-sm); }
.result-row b { font-weight: 600; }
.result-savings { color: #9FD7AD; font-weight: 600; }
.campaign-flag { margin-top: var(--s4); opacity: 0; transform: translateY(6px); transition: all 0.3s var(--ease); }
.campaign-flag.show { opacity: 1; transform: none; }
.calc__result .btn { margin-top: var(--s5); }
.calc__validity { font-size: var(--fs-xs); color: var(--navy-55); margin-top: var(--s4); }

/* ----------------------- Kaç oda aracı (kapı silüeti) -------------------- */
.room-tool { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); }
.door-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-card); padding: var(--s5) var(--s3); text-align: center;
  transition: all 0.2s var(--ease); cursor: pointer;
}
.door-card:hover, .door-card.is-active { border-color: var(--navy); box-shadow: var(--sh); }
.door-card svg { width: 40px; height: 52px; margin: 0 auto var(--s3); }
.door-card .t { display: block; font-weight: 700; color: var(--navy); }
.door-card .s { display: block; font-size: var(--fs-sm); color: var(--muted); margin-top: 2px; }
.room-advice { margin-top: var(--s5); padding: var(--s5); background: var(--terracotta-soft); border-radius: var(--r-card); font-weight: 500; display: none; }
.room-advice.show { display: block; }

/* --------------------------- Bento (akıllı depo) ------------------------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(150px, auto); gap: var(--s4); }
.bento .b {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: var(--s5); display: flex; flex-direction: column; justify-content: space-between; overflow: hidden;
}
.bento .b h3 { font-size: 1.1rem; }
.bento .b p { color: var(--muted); font-size: var(--fs-sm); margin-top: var(--s2); }
.bento .b--wide { grid-column: span 2; }
.bento .b--tall { grid-row: span 2; }
.bento .b--navy { background: var(--navy); color: var(--cream); border-color: var(--navy); }
.bento .b--navy p { color: #C7D0DE; }
.bento__media { margin-top: var(--s4); }

/* --------------------------- İkinci el akışı ----------------------------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); counter-reset: flow; }
.flow__step { text-align: left; }
.flow__num { width: 40px; height: 40px; border-radius: 50%; background: var(--terracotta-soft); color: var(--terracotta-deep); display: grid; place-items: center; font-weight: 700; margin-bottom: var(--s3); }

/* ------------------------------- Harita ---------------------------------- */
.map-card { position: relative; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--surface); min-height: 320px; }
.map-static { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: var(--s6); background:
  repeating-linear-gradient(0deg, var(--cream), var(--cream) 22px, #efe8da 22px, #efe8da 23px),
  repeating-linear-gradient(90deg, var(--cream), var(--cream) 22px, #efe8da 22px, #efe8da 23px);
}
.map-static__pin { width: 46px; height: 46px; color: var(--terracotta); margin-bottom: var(--s3); }
.map-card iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* ------------------------------- SSS ------------------------------------- */
.faq { display: grid; gap: var(--s3); max-width: 820px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: var(--s5); font-weight: 600; font-size: 1.05rem; color: var(--navy); display: flex; justify-content: space-between; align-items: center; gap: var(--s4); }
.faq__q .pm { width: 22px; height: 22px; flex: none; position: relative; transition: transform 0.25s var(--ease); }
.faq__q .pm::before, .faq__q .pm::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; background: var(--terracotta-deep); transform: translate(-50%, -50%); }
.faq__q .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.25s var(--ease); }
.faq__item[open] .pm::after, .faq__q[aria-expanded="true"] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { padding: 0 var(--s5) var(--s5); color: var(--muted); }
.faq__a p { margin-bottom: var(--s3); }

/* ------------------------------- Form ------------------------------------ */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(1.5rem, 4vw, var(--s7)); box-shadow: var(--sh-sm); }
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s4); }
.form__full { grid-column: 1 / -1; }
.input-label { display: block; font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--s2); color: var(--navy); }
.input, select.input, textarea.input {
  width: 100%; padding: 0.75em 0.9em; border: 1px solid var(--line-strong); border-radius: var(--r-btn);
  background: var(--cream); color: var(--navy); font: inherit; font-size: var(--fs-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.input:focus, select.input:focus, textarea.input:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(28,42,67,0.12); }
textarea.input { min-height: 96px; resize: vertical; }
.checkbox { display: flex; gap: var(--s3); align-items: flex-start; font-size: var(--fs-sm); color: var(--muted); }
.checkbox input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--terracotta); }
.form__error { color: #B3261E; font-size: var(--fs-xs); margin-top: var(--s2); display: none; }
.form__error.show { display: block; }

/* --------------------------- Kapanış CTA bandı --------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: var(--fs-h1); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: #C7D0DE; margin-top: var(--s4); max-width: 46ch; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; margin-top: var(--s6); }

/* ------------------------------ Footer ----------------------------------- */
.site-footer { background: var(--navy); color: var(--cream); padding-block: var(--s8) var(--s6); }
.site-footer a { color: #C7D0DE; transition: color 0.2s; }
.site-footer a:hover { color: var(--cream); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s6); }
.footer__brand img { width: 220px; margin-bottom: var(--s4); }
.footer__brand p { color: #AEB9C9; font-size: var(--fs-sm); max-width: 34ch; }
.footer__col h4 { font-size: var(--fs-sm); letter-spacing: 0.04em; margin-bottom: var(--s4); color: var(--cream); }
.footer__col a { display: block; margin-bottom: var(--s3); font-size: var(--fs-sm); }
.footer__nap { font-size: var(--fs-sm); color: #AEB9C9; display: grid; gap: var(--s2); }
.footer__nap a { color: var(--cream); font-weight: 600; }
.footer__bottom { border-top: 1px solid rgba(247,242,232,0.12); margin-top: var(--s7); padding-top: var(--s5); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s3); font-size: var(--fs-xs); color: #8F9BAD; }

/* ------------------------- Breadcrumb ------------------------------------ */
.breadcrumb { font-size: var(--fs-sm); color: var(--muted); padding-top: var(--s5); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--s2); }
.breadcrumb a { color: var(--terracotta-deep); font-weight: 500; }
.breadcrumb [aria-current] { color: var(--navy); }

/* ----------------------- Mobil sabit bar --------------------------------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; display: none;
  grid-template-columns: repeat(3, 1fr); background: var(--navy); color: var(--cream);
  box-shadow: 0 -8px 24px -16px rgba(0,0,0,0.5); padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: var(--s3) var(--s2); font-size: var(--fs-xs); font-weight: 600; color: var(--cream); }
.mobile-bar a + a { border-left: 1px solid rgba(247,242,232,0.12); }
.mobile-bar a.is-primary { background: var(--terracotta); color: var(--navy); }
.mobile-bar svg { width: 20px; height: 20px; }

/* --------------------------- Yer tutucu görsel --------------------------- */
.img-arch { position: relative; border-radius: 120px 120px var(--r-card) var(--r-card); overflow: hidden; background: var(--terracotta-soft); border: 1px solid var(--line); display: grid; place-items: center; aspect-ratio: 4 / 3; color: var(--terracotta-deep); }
.img-arch svg { width: 64px; height: 64px; opacity: 0.6; }
.img-arch .ph { position: absolute; bottom: var(--s4); font-size: var(--fs-xs); color: var(--navy-55); }

/* ------------------------- Scroll reveal --------------------------------- */
/* Yalnızca JS varsa gizle; JS kapalıyken tüm içerik görünür kalır. */
.js .reveal { opacity: 0; transform: translateY(20px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }

/* İmza animasyonu: çatı kanatları yukarıdan iner (bir kez) */
.js .roof-sign .wing-l, .js .roof-sign .wing-r { transform: translateY(-14px); opacity: 0; }
.roof-sign.play .wing-l { animation: wingDrop 0.6s var(--ease-spring) 0.1s forwards; }
.roof-sign.play .wing-r { animation: wingDrop 0.6s var(--ease-spring) 0.22s forwards; }
@keyframes wingDrop { to { transform: translateY(0); opacity: 1; } }

/* ------------------------------ Responsive ------------------------------- */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .site-nav, .header-phone { display: none; }
  .menu-toggle { display: inline-flex; margin-inline-start: auto; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__mark { display: none; }
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .glance dl { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 64px; }
}
@media (max-width: 600px) {
  :root { --fs-body: 1rem; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento .b--wide { grid-column: auto; }
  .bento .b--tall { grid-row: auto; }
  .room-tool { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .glance dl { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .logo-link img { width: 130px; }
  .hero__cta .btn { flex: 1 1 100%; }
}

/* --------------------------- Reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .roof-sign .wing-l, .roof-sign .wing-r { transform: none; opacity: 1; }
}

/* ------------------------------- Print ----------------------------------- */
.print-only { display: none; }
@media print {
  .site-header, .mobile-bar, .mobile-menu, #depo-chatbot, .wa-float, .hero__cta, .calc__panel .stepper button { display: none !important; }
  body { background: #fff; color: #000; }
  .section--navy, .calc__result, .site-footer { background: #fff !important; color: #000 !important; }
  .site-footer a, .footer__nap a { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  /* Yazdırmada siyah logo kullanılır */
  .print-only { display: block !important; }
  .footer__brand img:not(.print-only) { display: none !important; }
}

/* ===========================================================================
   SSS <details> — native (JS-off çalışır), özel +/- işareti
   ========================================================================== */
.faq__q { list-style: none; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__item[open] .faq__q { color: var(--terracotta-deep); }

/* ===========================================================================
   DEPO EVIN ASİSTANI (chatbot) — sol alt
   ========================================================================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 65;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: var(--sh-lg);
  transition: transform 0.2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

#depo-chatbot { position: fixed; left: 20px; bottom: 20px; z-index: 66; }
.dc-launcher {
  position: relative; width: 60px; height: 60px; border-radius: 50%;
  background: var(--navy); border: 0; box-shadow: var(--sh-lg);
  display: grid; place-items: center; transition: transform 0.2s var(--ease-spring);
}
.dc-launcher:hover { transform: scale(1.06); }
.dc-launcher img { width: 34px; height: 34px; }
.dc-launcher__badge {
  position: absolute; top: -3px; right: -3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--terracotta); color: var(--navy); font-size: 11px; font-weight: 700;
  display: grid; place-items: center; border: 2px solid var(--cream);
}
.dc-proactive {
  position: absolute; left: 0; bottom: 74px; width: max-content; max-width: 240px;
  background: var(--surface); color: var(--navy); border: 1px solid var(--line);
  border-radius: var(--r-card); border-bottom-left-radius: 4px; padding: var(--s4) var(--s5) var(--s4) var(--s4);
  box-shadow: var(--sh-lg); font-size: var(--fs-sm); font-weight: 500;
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: all 0.3s var(--ease);
}
.dc-proactive.show { opacity: 1; transform: none; pointer-events: auto; }
.dc-proactive button.x { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: var(--navy-55); font-size: 16px; cursor: pointer; line-height: 1; }

/* Panel */
.dc-panel {
  position: fixed; left: 20px; bottom: 20px; z-index: 67;
  width: 380px; height: min(600px, calc(100dvh - 40px));
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--sh-lg); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(0.98); transform-origin: left bottom;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease-spring);
  pointer-events: none;
}
.dc-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.dc-head { background: var(--navy); color: var(--cream); padding: var(--s4) var(--s5); display: flex; align-items: center; gap: var(--s3); }
.dc-head img { width: 40px; height: 40px; border-radius: 50%; flex: none; }
.dc-head .t { font-weight: 600; line-height: 1.1; }
.dc-head .status { font-size: var(--fs-xs); color: #9FD7AD; display: flex; align-items: center; gap: 5px; }
.dc-head .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5ED47F; }
.dc-head .dc-actions { margin-inline-start: auto; display: flex; gap: var(--s2); }
.dc-head button { background: rgba(247,242,232,0.12); border: 0; color: var(--cream); width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.dc-head button:hover { background: rgba(247,242,232,0.22); }
.dc-head button svg { width: 16px; height: 16px; }

.dc-body { flex: 1; overflow-y: auto; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s3); scroll-behavior: smooth; }
.dc-intro { text-align: center; padding: var(--s4) var(--s2) var(--s2); }
.dc-intro img { width: 72px; margin: 0 auto var(--s3); }
.dc-msg { max-width: 82%; padding: var(--s3) var(--s4); border-radius: 14px; font-size: var(--fs-sm); line-height: 1.5; }
.dc-msg.bot { background: var(--surface); color: var(--navy); border: 1px solid var(--line); align-self: flex-start; border-bottom-left-radius: 4px; }
.dc-msg.user { background: var(--navy); color: var(--cream); align-self: flex-end; border-bottom-right-radius: 4px; }
.dc-msg strong { font-weight: 700; }
.dc-chips { display: flex; flex-wrap: wrap; gap: var(--s2); align-self: flex-start; max-width: 100%; }
.dc-chip { background: var(--terracotta-soft); color: var(--terracotta-deep); border: 1px solid var(--terracotta-tint); border-radius: var(--r-pill); padding: 0.45em 0.85em; font-size: var(--fs-xs); font-weight: 600; cursor: pointer; transition: all 0.15s var(--ease); }
.dc-chip:hover { background: var(--terracotta-tint); }

/* "yazıyor" — çatı kanatları açılıp kapanır */
.dc-typing { display: inline-flex; align-items: center; gap: 6px; padding: var(--s3) var(--s4); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; align-self: flex-start; }
.dc-typing svg { width: 26px; height: 16px; }
.dc-typing .wing-l, .dc-typing .wing-r { transform-origin: 50% 100%; animation: flap 1s ease-in-out infinite; }
.dc-typing .wing-r { animation-delay: 0.15s; }
@keyframes flap { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-2px) rotate(-8deg); } }

.dc-foot { border-top: 1px solid var(--line); padding: var(--s3); display: flex; gap: var(--s2); background: var(--cream); }
.dc-foot input { flex: 1; border: 1px solid var(--line-strong); border-radius: var(--r-pill); padding: 0.65em 1em; font: inherit; font-size: var(--fs-sm); background: var(--surface); color: var(--navy); }
.dc-foot input:focus { outline: 0; border-color: var(--navy); }
.dc-foot button.send { width: 42px; height: 42px; border-radius: 50%; background: var(--terracotta); color: var(--navy); border: 0; display: grid; place-items: center; flex: none; cursor: pointer; }
.dc-foot button.send:hover { background: #E9875E; }
.dc-foot button.send svg { width: 18px; height: 18px; }

@media (max-width: 480px) {
  .dc-panel { left: 0; right: 0; bottom: 0; top: 0; width: 100%; height: 100dvh; border-radius: 0; transform: translateY(100%); }
  .dc-panel.is-open { transform: none; }
  #depo-chatbot { left: 12px; bottom: 70px; }
  .wa-float { right: 12px; bottom: 70px; width: 50px; height: 50px; }
}
@media print { .wa-float, #depo-chatbot, .dc-panel { display: none !important; } }
