/* =========================================================
   PERGOVA | Pergola & Cam Sistemleri
   Tema: Açık (beyaz). Vurgu: logo sarısı, mürekkep: logo antrasiti
   Yazı: Apple cihazlarda SF Pro, diğerlerinde Inter
   Köşe sistemi: kart 22px, buton tam yuvarlak, input 12px
   z-index: header 50, mobil menü 45, whatsapp 40, katalog (top-layer)
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --surface: #ffffff;
  --surface-2: #f5f5f7;
  --line: #e6e6ea;
  --line-strong: #d2d2d7;
  --text: #1b1d21;
  --text-soft: #424245;
  --muted: #6e6e73;
  --subtle: #8e8e93;
  --accent: #fec223;
  --accent-soft: #fff4d1;
  --accent-ink: #1b1d21;
  --dark: #1b1d21;
  --dark-2: #25282d;
  --error: #c5221f;

  --radius-card: 22px;
  --radius-input: 12px;
  --radius-pill: 999px;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(88px, 10vw, 150px);
  --header-h: 84px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", system-ui, "Segoe UI", Roboto, sans-serif;

  --shadow-1: 0 1px 2px rgba(17, 18, 20, 0.04);
  --shadow-2: 0 2px 6px rgba(17, 18, 20, 0.04), 0 14px 36px -14px rgba(17, 18, 20, 0.16);
  --shadow-3: 0 2px 6px rgba(17, 18, 20, 0.05), 0 30px 70px -28px rgba(17, 18, 20, 0.28);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; letter-spacing: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  background: var(--dark); color: #fff;
  padding: 10px 16px; border-radius: var(--radius-pill); font-weight: 600;
  transform: translateY(-160%); transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; background: var(--accent); border-radius: 3px; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 18ch;
  text-wrap: balance;
}
.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.5;
  max-width: 52ch;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h); padding: 0 26px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out),
              border-color .25s var(--ease-out), transform .12s ease-out;
  touch-action: manipulation;
}
.btn:active { transform: scale(0.97); }
.btn i { font-size: 1.1em; transition: transform .35s var(--ease-out); }
.btn:hover i.ph-arrow-right { transform: translateX(4px); }
.btn--primary { background: var(--dark); color: #fff; }
.btn--primary:hover { background: #000; }
.btn--ghost { border: 1px solid var(--line-strong); color: var(--text); background: var(--bg); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { --btn-h: 44px; padding: 0 20px; font-size: 0.92rem; }
.btn--block { width: 100%; }

.chip {
  height: 40px; padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-strong);
  background: var(--bg);
  color: var(--text-soft); font-weight: 500; font-size: 0.92rem;
  transition: color .2s, border-color .2s, background-color .2s, transform .12s ease-out;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip:active { transform: scale(0.96); }
.chip.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }

/* ---------- Top bar ---------- */
.topbar { background: var(--dark); color: rgba(255, 255, 255, 0.78); font-size: 0.84rem; }
.topbar__inner { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar__info { display: flex; gap: 28px; }
.topbar__info li { display: inline-flex; align-items: center; gap: 8px; }
.topbar__info i { color: var(--accent); font-size: 1rem; }
.topbar__info a:hover { color: #fff; }
.topbar__social { display: flex; gap: 4px; }
.topbar__social a {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%;
  font-size: 1.05rem; transition: color .2s, background-color .2s;
}
.topbar__social a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(17, 18, 20, 0.35); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.header__logo img { height: 42px; width: auto; }
.header__nav { display: flex; align-items: stretch; height: 100%; gap: 6px; margin-left: auto; }
.header__nav a {
  position: relative; display: flex; align-items: center;
  padding: 0 14px;
  font-size: 0.97rem; font-weight: 500; color: var(--text-soft);
  transition: color .2s;
}
.header__nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px;
  background: var(--accent); border-radius: 3px 3px 0 0;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.header__nav a:hover { color: var(--text); }
.header__nav a:hover::after, .header__nav a.is-current::after { transform: scaleX(1); }
.header__nav a.is-current { color: var(--text); }
.header__actions { display: flex; align-items: center; gap: 22px; padding-left: 24px; border-left: 1px solid var(--line); height: 44px; }
.header__call { display: flex; align-items: center; gap: 12px; }
.header__call-icon {
  width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--text); font-size: 1.2rem;
  transition: background-color .2s;
}
.header__call:hover .header__call-icon { background: var(--accent); }
.header__call-text { display: grid; line-height: 1.2; }
.header__call-text small { font-size: 0.76rem; color: var(--muted); }
.header__call-text strong { font-size: 0.95rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.header__burger { display: none; width: 46px; height: 46px; border-radius: 12px; position: relative; margin-left: auto; border: 1px solid var(--line); }
.header__burger span {
  position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s, top .35s var(--ease-out);
}
.header__burger span:nth-child(1) { top: 15px; }
.header__burger span:nth-child(2) { top: 21px; }
.header__burger span:nth-child(3) { top: 27px; }
.header__burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45;
  background: #fff;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility 0s linear .3s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-out); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.03em;
  opacity: 0; transform: translateY(14px);
  transition: opacity .45s var(--ease-out), transform .45s var(--ease-out);
}
.mobile-menu.is-open nav a { opacity: 1; transform: none; }
.mobile-menu.is-open nav a:nth-child(2) { transition-delay: .04s; }
.mobile-menu.is-open nav a:nth-child(3) { transition-delay: .08s; }
.mobile-menu.is-open nav a:nth-child(4) { transition-delay: .12s; }
.mobile-menu.is-open nav a:nth-child(5) { transition-delay: .16s; }
.mobile-menu__foot { display: grid; gap: 10px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h) - 40px);
  display: flex; align-items: center;
  padding: 48px 0 72px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.6vw, 4.3rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .line > span { display: inline-block; }
.hero__title-soft { color: var(--subtle); }
.hero__sub {
  margin-top: 24px;
  font-size: clamp(1.08rem, 1.3vw, 1.22rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 44ch;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__visual { position: relative; }
.hero__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: calc(100dvh - var(--header-h) - 150px);
  width: 100%;
  margin-left: auto;
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: var(--shadow-3);
  perspective: 900px;
}
.hero__img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; will-change: transform; }
.louvers {
  position: absolute; inset: 0;
  display: grid; grid-template-rows: repeat(12, 1fr);
  transform-style: preserve-3d;
  pointer-events: none;
}
.louvers span {
  display: block;
  background: linear-gradient(180deg, #3a3e44 0%, #2a2d32 50%, #1f2226 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform-origin: 50% 50%;
  backface-visibility: hidden;
}
.no-anim .louvers, .anim-done .louvers { display: none; }

.hero__badge {
  position: absolute; left: -28px; bottom: 36px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 20px 12px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-2);
  font-weight: 600; font-size: 0.92rem;
}
.hero__badge i {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 1.1rem;
}

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding: 24px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li {
  display: inline-flex; align-items: center; gap: 40px; padding-right: 40px;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.45rem); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--text);
}
.marquee li::after {
  /* logodaki "A" üçgeni */
  content: ""; width: 13px; height: 11px; background: var(--accent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding: var(--section-y) 0 calc(var(--section-y) * 0.8); }
.statement__text {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.7rem);
  line-height: 1.22;
  letter-spacing: -0.035em;
  max-width: 30ch;
  text-wrap: pretty;
}
.statement__text .w { opacity: 0.18; transition: opacity .2s linear; }
.no-anim .statement__text .w { opacity: 1; }
.pillars {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.pillar i {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--text); font-size: 1.5rem;
}
.pillar h3 { margin-top: 20px; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.pillar p { margin-top: 6px; color: var(--muted); max-width: 34ch; }

/* ---------- Solutions / Bento ---------- */
.solutions { padding: calc(var(--section-y) * 0.6) 0 var(--section-y); }
.bento {
  margin-top: clamp(40px, 5vw, 60px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(220px, 21vw, 300px);
  gap: 14px;
}
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface-2);
  isolation: isolate;
  color: #fff;
}
.tile--xl { grid-column: span 2; grid-row: span 2; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.tile:hover img { transform: scale(1.05); }
.tile::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(17, 18, 20, 0) 38%, rgba(17, 18, 20, 0.82) 100%);
}
.tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(20px, 2.2vw, 30px); }
.tile__body h3 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); font-weight: 600; letter-spacing: -0.025em; }
.tile--xl .tile__body h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.tile__body p { margin-top: 6px; color: rgba(255, 255, 255, 0.82); font-size: 0.97rem; max-width: 40ch; }
.tile--accent { background: var(--accent); color: var(--accent-ink); }
.tile--accent::after { display: none; }
.tile--accent .tile__body p { color: rgba(27, 29, 33, 0.78); }
.tile__body--static { top: 0; display: flex; flex-direction: column; justify-content: flex-end; }
.tile__body--static i { font-size: 2.2rem; margin-bottom: auto; }
.tile::before {
  content: ""; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none;
  padding: 1.5px;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(254, 194, 35, 0.9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s;
}
.tile:hover::before { opacity: 1; }
.tile--accent::before { display: none; }

/* ---------- Louver simulator ---------- */
.sim { padding: var(--section-y) 0; }
.sim__grid {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
}
.sim__control { margin-top: 40px; }
.sim__label { display: flex; justify-content: space-between; align-items: baseline; font-weight: 500; color: var(--muted); }
.sim__label output {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text);
  font-variant-numeric: tabular-nums;
}
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 44px; margin: 10px 0 18px; background: transparent; cursor: pointer;
  --p: 33%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--dark) var(--p), #d9d9de var(--p));
}
input[type="range"]::-moz-range-track { height: 6px; border-radius: 6px; background: #d9d9de; }
input[type="range"]::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--dark); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -11px; border-radius: 50%;
  background: #fff; border: 7px solid var(--accent);
  box-shadow: 0 4px 14px rgba(17, 18, 20, 0.25);
  transition: transform .15s ease-out;
}
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 7px solid var(--accent);
}
.sim__states { display: flex; flex-wrap: wrap; gap: 8px; }
.sim__hint { margin-top: 18px; color: var(--muted); min-height: 3.2em; }

.sim__stage {
  position: relative;
  aspect-ratio: 5 / 4;
  border-radius: 28px;
  overflow: hidden;
  perspective: 700px;
  background: #0b0c0e;
  box-shadow: var(--shadow-3);
}
.sim__sky { position: absolute; inset: 0; background: linear-gradient(180deg, #6fa8d9 0%, #a9cbe6 55%, #e9efe9 100%); }
.sim__sun {
  position: absolute; width: 34%; aspect-ratio: 1; left: 58%; top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff7d6 0%, rgba(255, 226, 120, 0.85) 28%, rgba(255, 210, 90, 0) 70%);
}
.sim__roof { position: absolute; inset: 7%; display: grid; grid-auto-rows: 1fr; transform-style: preserve-3d; }
.sim__roof span {
  display: block;
  background: linear-gradient(180deg, #3a3e44 0%, #24272c 48%, #17191c 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -1px 0 rgba(0, 0, 0, 0.5);
  transform-origin: 50% 50%;
  will-change: transform;
}
.sim__light {
  position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  background: radial-gradient(70% 60% at 70% 20%, rgba(255, 214, 102, 0.45), transparent 70%);
  opacity: 0.4;
}
.sim__frame {
  position: absolute; inset: 0; pointer-events: none;
  border: clamp(14px, 3vw, 28px) solid #2a2d32;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 30px 60px -30px rgba(0, 0, 0, 0.7);
}

/* ---------- Sectors ---------- */
.sectors { position: relative; padding: var(--section-y) 0 0; background: var(--bg-2); }
.sectors__pin { padding-bottom: var(--section-y); }
.sectors__head { margin-bottom: clamp(32px, 4vw, 52px); }
.sectors__track {
  display: flex; gap: 20px;
  padding-inline: var(--gutter);
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  scrollbar-width: none; padding-bottom: 6px;
}
.sectors__track::-webkit-scrollbar { display: none; }
.sector { scroll-snap-align: start; }
.sectors__pin.is-pinned {
  height: 100dvh; padding: calc(var(--header-h) + 28px) 0 32px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
}
.sectors__pin.is-pinned .sectors__track { overflow: visible; width: max-content; scroll-snap-type: none; }
.sectors__pin.is-pinned .sector { width: min(56vw, calc((100dvh - 380px) * 1.6), 820px); }
.sector {
  position: relative;
  width: clamp(300px, 56vw, 820px);
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-card);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--surface-2);
  isolation: isolate;
  color: #fff;
}
.sector__media { position: absolute; inset: 0; overflow: hidden; }
.sector__media img { width: 118%; max-width: none; height: 100%; object-fit: cover; will-change: transform; }
.sector::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(17, 18, 20, 0.82) 0%, rgba(17, 18, 20, 0.45) 42%, rgba(17, 18, 20, 0) 70%);
}
.sector__body {
  position: absolute; z-index: 2; left: 0; bottom: 0; top: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px, 3vw, 44px);
  max-width: 460px;
}
.sector__body h3 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; }
.sector__body p { margin-top: 14px; color: rgba(255, 255, 255, 0.85); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tags li {
  padding: 6px 12px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(17, 18, 20, 0.3);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 0.82rem; font-weight: 500;
}

/* ---------- Projects ---------- */
.projects { padding: var(--section-y) 0; background: var(--bg-2); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 36px; }
.gallery { columns: 3 300px; column-gap: 16px; }
.card {
  position: relative; display: block; width: 100%;
  margin-bottom: 16px; break-inside: avoid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  background: #e9e9ed;
  cursor: pointer;
  text-align: left;
  isolation: isolate;
  color: #fff;
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), box-shadow .4s;
}
.card--tall { aspect-ratio: 4 / 5; }
.card--wide { aspect-ratio: 16 / 10; }
.card:hover { box-shadow: var(--shadow-2); }
.card:active { transform: scale(0.985); }
.card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out), opacity .6s ease;
}
.card:hover img { transform: scale(1.05); }
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(17, 18, 20, 0) 45%, rgba(17, 18, 20, 0.82));
}
.card__info {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 18px 20px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.card__title { display: block; font-size: 1.08rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.card__meta { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.78); margin-top: 3px; }
.card__meta span + span::before { content: ""; display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; margin-right: 10px; vertical-align: middle; }
.card__go {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--text);
  transform: scale(0.6); opacity: 0;
  transition: transform .45s var(--ease-spring), opacity .3s;
}
.card:hover .card__go, .card:focus-visible .card__go { transform: none; opacity: 1; }
.card.is-entering { opacity: 0; transform: translateY(18px); }
.card.is-loading { background: linear-gradient(100deg, #e9e9ed 30%, #f3f3f6 50%, #e9e9ed 70%) 0 0 / 300% 100%; animation: shimmer 1.4s linear infinite; }
.card.is-loading img { opacity: 0; }
@keyframes shimmer { to { background-position: -150% 0; } }

.empty {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding: 72px 24px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line-strong); border-radius: var(--radius-card); background: #fff;
}
.empty i { font-size: 2.4rem; color: var(--text); }

/* ---------- Project catalog (dialog) ---------- */
.catalog {
  width: min(1320px, calc(100vw - 32px));
  height: min(860px, calc(100dvh - 32px));
  max-width: none; max-height: none;
  padding: 0; border: 0; border-radius: 26px;
  background: #fff; color: var(--text);
  overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.5);
}
.catalog::backdrop { background: rgba(17, 18, 20, 0.7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.catalog[open] { animation: cat-in .5s var(--ease-out); }
@keyframes cat-in { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.catalog__layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; height: 100%; }
.catalog__stage { display: grid; grid-template-rows: minmax(0, 1fr) auto; background: #0f1012; min-height: 0; }
.catalog__viewer { position: relative; min-height: 0; overflow: hidden; touch-action: pan-y; user-select: none; }
.catalog__viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease; }
.catalog__viewer img.is-fading { opacity: 0; }
.catalog__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.35rem;
  background: rgba(255, 255, 255, 0.92); color: var(--text);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform .12s ease-out, opacity .2s;
}
.catalog__nav:active { transform: translateY(-50%) scale(0.94); }
.catalog__nav--prev { left: 18px; }
.catalog__nav--next { right: 18px; }
.catalog__nav[disabled] { opacity: 0; pointer-events: none; }
.catalog__count {
  position: absolute; left: 18px; bottom: 16px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(17, 18, 20, 0.6); color: #fff; font-size: 0.85rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.catalog__thumbs {
  display: flex; gap: 8px; padding: 12px;
  overflow-x: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}
.catalog__thumbs button {
  flex: 0 0 auto; width: 96px; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden;
  opacity: 0.5; outline-offset: 2px;
  box-shadow: inset 0 0 0 2px transparent;
  transition: opacity .2s, box-shadow .2s;
  position: relative;
}
.catalog__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.catalog__thumbs button:hover { opacity: 0.85; }
.catalog__thumbs button.is-active { opacity: 1; }
.catalog__thumbs button.is-active::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 3px var(--accent); }
.catalog__info {
  display: flex; flex-direction: column;
  padding: 40px 32px 28px;
  overflow-y: auto;
}
.catalog__cat { display: inline-flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.catalog__cat::before { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--accent); }
.catalog__title { margin-top: 12px; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; }
.catalog__meta { margin-top: 24px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.catalog__meta div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.catalog__meta dt { color: var(--muted); }
.catalog__meta dd { font-weight: 500; }
.catalog__desc { margin-top: 20px; color: var(--text-soft); line-height: 1.6; }
.catalog__actions { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
.catalog__pager { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.catalog__pager .btn { padding: 0 12px; }
.catalog__close {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.2rem;
  background: var(--bg-2); color: var(--text);
  transition: background-color .2s;
}
.catalog__close:hover { background: var(--line); }


/* ---------- Segmented control ---------- */
.segmented {
  display: inline-flex; gap: 4px; padding: 5px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-1);
}
.segmented button {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--radius-pill);
  font-size: 0.94rem; font-weight: 500; color: var(--text-soft);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), transform .12s ease-out;
}
.segmented button i { font-size: 1.15rem; }
.segmented button:hover { color: var(--text); }
.segmented button:active { transform: scale(0.96); }
.segmented button[aria-checked="true"] { background: var(--dark); color: #fff; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #ffd055; }

/* ---------- Seasons scene ---------- */
.seasons { padding: var(--section-y) 0; background: var(--bg-2); }
.seasons__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.scene {
  --lamel: 45deg; --glass: 88%; --zip: 0.5; --led: 0; --rays: 0.7; --shade: 0.25;
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--shadow-3);
}
.scene[data-season="yagmur"] { --lamel: 0deg; --glass: 0%; --zip: 0; --led: 0; --rays: 0; --shade: 0.5; }
.scene[data-season="kis"]    { --lamel: 0deg; --glass: 0%; --zip: 0; --led: 1; --rays: 0; --shade: 0.35; }
.scene[data-season="gece"]   { --lamel: 82deg; --glass: 88%; --zip: 0; --led: 1; --rays: 0; --shade: 0; }

.scene__sky { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.scene__sky--yaz    { background: linear-gradient(180deg, #78b2e4 0%, #b9d8f1 58%, #eef4f0 100%); }
.scene__sky--yagmur { background: linear-gradient(180deg, #6f7a87 0%, #9ea7b1 58%, #c9ced2 100%); }
.scene__sky--kis    { background: linear-gradient(180deg, #aebccb 0%, #d7dfe7 58%, #f3f5f7 100%); }
.scene__sky--gece   { background: linear-gradient(180deg, #081122 0%, #16233f 58%, #273550 100%); }
.scene[data-season="yaz"] .scene__sky--yaz,
.scene[data-season="yagmur"] .scene__sky--yagmur,
.scene[data-season="kis"] .scene__sky--kis,
.scene[data-season="gece"] .scene__sky--gece { opacity: 1; }

.scene__sun {
  position: absolute; top: 8%; right: 9%; width: 10%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #fffbe6 0%, #ffe28a 35%, rgba(255, 214, 102, 0) 70%);
  opacity: 0; transform: translateY(20%); transition: opacity 1s ease, transform 1.2s var(--ease-out);
}
.scene[data-season="yaz"] .scene__sun { opacity: 1; transform: none; }
.scene[data-season="kis"] .scene__sun { opacity: 0.45; transform: translateY(35%); }
.scene__moon {
  position: absolute; top: 10%; right: 12%; width: 4.2%; aspect-ratio: 1; border-radius: 50%;
  background: #f3efdc; box-shadow: 0 0 40px 8px rgba(243, 239, 220, 0.25), inset -8px -4px 0 rgba(0, 0, 0, 0.08);
  opacity: 0; transform: translateY(20%); transition: opacity 1s ease, transform 1.2s var(--ease-out);
}
.scene[data-season="gece"] .scene__moon { opacity: 1; transform: none; }
.scene__stars {
  position: absolute; inset: 0 0 45% 0; opacity: 0; transition: opacity 1.2s ease;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 12%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 44% 30%, #fff, transparent), radial-gradient(1px 1px at 60% 14%, #fff, transparent),
    radial-gradient(1px 1px at 72% 34%, #fff, transparent), radial-gradient(1.5px 1.5px at 6% 48%, #fff, transparent),
    radial-gradient(1px 1px at 36% 54%, #fff, transparent), radial-gradient(1px 1px at 54% 44%, #fff, transparent),
    radial-gradient(1.5px 1.5px at 92% 52%, #fff, transparent), radial-gradient(1px 1px at 20% 64%, #fff, transparent);
}
.scene[data-season="gece"] .scene__stars { opacity: 0.9; }

.scene__trees { position: absolute; left: 0; right: 0; bottom: 19%; height: 38%; }
.scene__trees span {
  position: absolute; bottom: 0; border-radius: 50% 50% 46% 46% / 60% 60% 40% 40%;
  background: #7f9c73; transition: background-color 1s ease;
}
.scene__trees span:nth-child(1) { left: -2%; width: 12%; height: 80%; }
.scene__trees span:nth-child(2) { left: 6%; width: 9%; height: 55%; background: #6f8d64; }
.scene__trees span:nth-child(3) { right: 4%; width: 11%; height: 95%; }
.scene__trees span:nth-child(4) { right: -3%; width: 9%; height: 60%; background: #6f8d64; }
.scene[data-season="yagmur"] .scene__trees span { background: #687d61; }
.scene[data-season="kis"] .scene__trees span { background: #dfe6e9; }

.scene__ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 20%;
  background: linear-gradient(180deg, #d6cfbf 0%, #c7bfad 100%);
  border-top: 2px solid rgba(0, 0, 0, 0.06);
  transition: background 1s ease;
}
.scene[data-season="yagmur"] .scene__ground { background: linear-gradient(180deg, #a8a499 0%, #8f8b82 100%); }
.scene[data-season="kis"] .scene__ground { background: linear-gradient(180deg, #f4f6f8 0%, #e3e8ec 100%); }
.scene__dim { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: rgba(6, 12, 28, 0.5); opacity: 0; transition: opacity 1s ease; }
.scene[data-season="gece"] .scene__dim { opacity: 1; }

.scene__rain { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.scene[data-season="yagmur"] .scene__rain { opacity: 1; }
.scene__rain i {
  position: absolute; top: -12%; width: 1.5px; height: 9%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.85));
  transform: rotate(8deg);
  animation: rain-fall linear infinite;
}
@keyframes rain-fall { to { transform: translate(-14px, 1300%) rotate(8deg); } }
.scene__snow { position: absolute; inset: 0; z-index: 4; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.scene[data-season="kis"] .scene__snow { opacity: 1; }
.scene__snow i {
  position: absolute; top: -4%; border-radius: 50%; background: #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  animation: snow-fall linear infinite;
}
@keyframes snow-fall {
  50% { transform: translate(14px, 55vh); }
  to { transform: translate(-6px, 110vh); }
}
.scene:not([data-season="yagmur"]) .scene__rain i,
.scene:not([data-season="kis"]) .scene__snow i { animation-play-state: paused; }

/* pergola */
.pg { position: absolute; z-index: 3; left: 17%; right: 17%; top: 30%; bottom: 20%; }
.pg::before {
  /* ön kiriş */
  content: ""; position: absolute; z-index: 5; left: -1.5%; right: -1.5%; top: 0; height: 8%;
  background: linear-gradient(180deg, #34373d, #24272c); border-radius: 3px;
  box-shadow: 0 6px 14px -6px rgba(0, 0, 0, 0.45);
}
.pg__roof {
  position: absolute; z-index: 4; left: -1.5%; right: -1.5%; bottom: 92%; height: 48%;
  transform-origin: 50% 100%;
  transform: perspective(900px) rotateX(54deg);
  transform-style: preserve-3d;
  display: grid; grid-auto-rows: 1fr;
  border: 5px solid #2a2d32; border-bottom: 0;
}
.pg__roof span {
  display: block;
  background: linear-gradient(180deg, #4a4e55 0%, #2e3136 55%, #222429 100%);
  transform: rotateX(var(--lamel));
  transition: transform 1.1s var(--ease-spring);
}
.pg__post { position: absolute; z-index: 5; top: 0; bottom: 0; width: 2.4%; background: linear-gradient(90deg, #2e3136, #23262a); }
.pg__post--l { left: -1.5%; }
.pg__post--r { right: -1.5%; }
.pg__inside { position: absolute; left: 0; right: 0; top: 8%; bottom: 0; overflow: hidden; }
.pg__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 26, 0.55), rgba(20, 22, 26, 0) 80%);
  opacity: var(--shade); transition: opacity 1s ease;
}
.pg__rays {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(105deg, rgba(255, 236, 170, 0.0) 0 22px, rgba(255, 236, 170, 0.45) 22px 34px);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.2) 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.2) 100%);
  opacity: var(--rays); transition: opacity 1s ease;
}
.pg__led-glow {
  position: absolute; inset: 0;
  background: radial-gradient(80% 90% at 50% 0%, rgba(255, 214, 130, 0.7), rgba(255, 214, 130, 0) 70%);
  opacity: var(--led); transition: opacity 1s ease;
}
.pg__led {
  position: absolute; z-index: 6; left: 1%; right: 1%; top: 8%; height: 3px; border-radius: 3px;
  background: #fff1c4;
  box-shadow: 0 0 10px 3px rgba(255, 220, 140, 0.9), 0 0 40px 10px rgba(255, 210, 120, 0.5);
  opacity: var(--led); transition: opacity .8s ease;
}
.pg__furniture { position: absolute; left: 0; right: 0; bottom: 0; height: 100%; }
.pg__table { position: absolute; left: 38%; width: 24%; bottom: 30%; height: 4%; background: #3a3e45; border-radius: 3px; }
.pg__table::before, .pg__table::after { content: ""; position: absolute; top: 100%; width: 5%; height: 650%; background: #3a3e45; }
.pg__table::before { left: 12%; }
.pg__table::after { right: 12%; }
.pg__chair { position: absolute; bottom: 0; width: 11%; height: 46%; }
.pg__chair::before { content: ""; position: absolute; left: 0; right: 0; bottom: 38%; height: 14%; background: #4a4e56; border-radius: 3px; }
.pg__chair::after { content: ""; position: absolute; top: 0; bottom: 38%; width: 16%; background: #4a4e56; border-radius: 3px; }
.pg__chair--l { left: 22%; }
.pg__chair--l::after { left: 0; }
.pg__chair--r { right: 22%; }
.pg__chair--r::after { right: 0; }
.pg__plant { position: absolute; right: 5%; bottom: 0; width: 7%; height: 40%; }
.pg__plant::before { content: ""; position: absolute; left: 15%; right: 15%; bottom: 0; height: 32%; background: #c8b8a2; border-radius: 3px 3px 6px 6px; }
.pg__plant::after { content: ""; position: absolute; left: 0; right: 0; bottom: 28%; top: 0; background: #6f8d64; border-radius: 50% 50% 40% 40%; }
.pg__glass { position: absolute; z-index: 3; left: 0.9%; right: 0.9%; top: 8%; bottom: 0; overflow: hidden; display: flex; gap: 0; }
.pg__glass span {
  flex: 1;
  border: 3px solid #2a2d32; border-top-width: 4px;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.08) 35%, rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0.26) 100%),
    rgba(200, 222, 235, 0.16);
  transform: translateY(var(--glass));
  transition: transform 1.4s var(--ease-out);
}
.pg__glass span:nth-child(2) { transition-delay: .08s; }
.pg__glass span:nth-child(3) { transition-delay: .16s; }
.scene[data-season="yagmur"] .pg__glass span {
  background:
    repeating-linear-gradient(92deg, rgba(255, 255, 255, 0) 0 9px, rgba(255, 255, 255, 0.22) 9px 10px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.2) 100%),
    rgba(180, 196, 208, 0.22);
}
.pg__zip {
  position: absolute; z-index: 2; left: 0.9%; right: 0.9%; top: 8%; height: 92%;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 2px, transparent 2px 4px),
    rgba(58, 61, 66, 0.62);
  border-bottom: 5px solid #2a2d32;
  transform-origin: top; transform: scaleY(var(--zip));
  transition: transform 1.2s var(--ease-out);
}

.scene__status {
  margin-top: 16px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.scene__status li {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-1);
}
.scene__status i {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--bg-2); color: var(--text);
}
.scene__status span { display: grid; line-height: 1.25; }
.scene__status small { color: var(--muted); font-size: 0.82rem; }
.scene__status strong { font-weight: 600; font-size: 1rem; }
.scene__status li.is-changed i { animation: status-pop .6s var(--ease-spring); background: var(--accent-soft); }
@keyframes status-pop { 40% { transform: scale(1.12); } }

/* ---------- Before / after ---------- */
.transform { padding: var(--section-y) 0; }
.transform__head { margin-bottom: clamp(32px, 4vw, 48px); }
.transform__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.transform__foot strong { display: block; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.02em; }
.transform__foot span { color: var(--muted); font-size: 0.95rem; }
.compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 16 / 8;
  border-radius: 28px;
  overflow: hidden;
  background: #e9e9ed;
  user-select: none;
  isolation: isolate;
  box-shadow: var(--shadow-3);
}
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare__before { position: absolute; inset: 0; z-index: 1; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px;
  background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.35); pointer-events: none;
}
.compare__knob {
  position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: grid; place-items: center; border-radius: 50%;
  background: #fff; color: var(--text); font-size: 1.4rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform .2s var(--ease-spring);
}
.compare:active .compare__knob { transform: scale(0.92); }
.compare__label {
  position: absolute; z-index: 3; top: 18px;
  padding: 7px 14px; border-radius: var(--radius-pill);
  background: rgba(17, 18, 20, 0.6); color: #fff; font-size: 0.85rem; font-weight: 600;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  pointer-events: none; transition: opacity .3s;
}
.compare__label--before { left: 18px; }
.compare__label--after { right: 18px; }
.compare__range {
  position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.compare:has(.compare__range:focus-visible) { outline: 3px solid var(--accent); outline-offset: 4px; }

/* catalog compare */
.catalog__stage { position: relative; }
.catalog__tabs {
  position: absolute; z-index: 5; top: 16px; left: 16px;
  display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius-pill);
  background: rgba(17, 18, 20, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.catalog__tabs button { height: 36px; padding: 0 14px; border-radius: var(--radius-pill); color: rgba(255, 255, 255, 0.8); font-size: 0.88rem; font-weight: 500; }
.catalog__tabs button.is-active { background: #fff; color: var(--text); }
.compare--catalog { position: absolute; z-index: 4; inset: 0; border-radius: 0; aspect-ratio: auto; box-shadow: none; background: #0f1012; }
.compare--catalog .compare__label { top: auto; bottom: 18px; }

/* ---------- Capacity calculator ---------- */
.calc { padding: var(--section-y) 0; background: var(--bg-2); }
.calc__head { margin-bottom: clamp(32px, 4vw, 48px); }
.calc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.calc__inputs {
  background: #fff; border-radius: 26px; box-shadow: var(--shadow-1);
  padding: clamp(24px, 3.5vw, 44px);
  display: grid; gap: 32px; align-content: start;
}
.calc__field { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc__field legend, .calc__label-row label { font-weight: 600; font-size: 1rem; padding: 0; }
.calc__field legend { margin-bottom: 12px; }
.calc__field .segmented { box-shadow: none; background: var(--bg-2); border-color: transparent; flex-wrap: wrap; }
.calc__label-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.calc__area-input {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 14px; height: 48px; border-radius: var(--radius-input);
  border: 1px solid var(--line-strong); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.calc__area-input:focus-within { border-color: var(--text); box-shadow: 0 0 0 4px rgba(27, 29, 33, 0.08); }
.calc__area-input input {
  width: 82px; border: 0; outline: 0; background: transparent; text-align: right;
  font: inherit; font-size: 1.15rem; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.calc__area-input input::-webkit-outer-spin-button, .calc__area-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__area-input span { color: var(--muted); font-weight: 500; }
.calc__scale { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--muted); margin-top: -8px; }
.calc__assume { border-top: 1px solid var(--line); padding-top: 18px; }
.calc__assume summary { cursor: pointer; font-weight: 500; color: var(--text-soft); list-style: none; display: flex; align-items: center; gap: 8px; }
.calc__assume summary::-webkit-details-marker { display: none; }
.calc__assume summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-2); font-size: 0.95rem; transition: transform .3s var(--ease-out); }
.calc__assume[open] summary::before { transform: rotate(45deg); }
.calc__assume ul { margin-top: 12px; display: grid; gap: 6px; color: var(--muted); font-size: 0.92rem; }
.calc__assume li { padding-left: 16px; position: relative; }
.calc__assume li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.calc__result {
  background: var(--dark); color: #fff; border-radius: 26px;
  padding: clamp(24px, 3.5vw, 44px);
  display: grid; gap: 28px; align-content: start;
}
.calc__result small { display: block; color: rgba(255, 255, 255, 0.6); font-size: 0.88rem; margin-bottom: 6px; }
.calc__big strong { display: block; font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.calc__sub { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.7); }
.calc__sub b { color: #fff; font-weight: 600; }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; margin-top: 4px; }
.months span { display: grid; gap: 6px; text-align: center; font-size: 0.7rem; color: rgba(255, 255, 255, 0.55); }
.months span::before {
  content: ""; display: block; height: 34px; border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
}
.months span.is-plus::before { background: var(--accent); animation: month-in .6s var(--ease-spring) both; animation-delay: calc(var(--i) * 40ms); }
@keyframes month-in { from { transform: scaleY(0.2); opacity: 0; } }
.months__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 12px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.75); }
.months__legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dot--base { background: rgba(255, 255, 255, 0.85); }
.dot--plus { background: var(--accent); }
.calc__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.calc__row strong { font-size: clamp(1.35rem, 2.2vw, 1.8rem); font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.calc__note { font-size: 0.84rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Process ---------- */
.process { padding: var(--section-y) 0; }
.process__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 6vw, 96px); }
.process__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
.steps { position: relative; display: grid; gap: clamp(40px, 5vw, 60px); }
.steps__rail {
  position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.steps__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.no-anim .steps__fill { transform: scaleY(1); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start; }
.step > i {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 1px solid var(--line-strong);
  font-size: 1.45rem; color: var(--muted);
  transition: background-color .4s, color .4s, border-color .4s;
}
.step.is-active > i { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.step h3 { font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-weight: 600; letter-spacing: -0.025em; padding-top: 13px; }
.step p { margin-top: 6px; color: var(--muted); max-width: 46ch; }

/* ---------- Contact ---------- */
.contact { padding: var(--section-y) 0; border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact__list { margin-top: 40px; display: grid; }
.contact__list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-weight: 500; }
.contact__list li:last-child { border-bottom: 0; }
.contact__list i {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: #fff; color: var(--text); font-size: 1.2rem;
  box-shadow: var(--shadow-1);
}
.contact__list a:hover { text-decoration: underline; text-underline-offset: 3px; }

.form {
  background: #fff;
  border-radius: 26px;
  padding: clamp(24px, 3.5vw, 44px);
  display: grid; gap: 20px;
  box-shadow: var(--shadow-2);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; align-content: start; }
.field label { font-size: 0.92rem; font-weight: 500; color: var(--text); }
.field label span { color: var(--error); }
.field input, .field textarea, .field select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: var(--radius-input);
  background: #fff;
  border: 1px solid var(--line-strong);
  color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--subtle); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--text); box-shadow: 0 0 0 4px rgba(27, 29, 33, 0.08);
}
.field.has-error input { border-color: var(--error); }
.field__error { color: var(--error); font-size: 0.86rem; }
.field__error:empty { display: none; }
.field__help { color: var(--muted); font-size: 0.84rem; }
.select { position: relative; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
.select i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn.is-loading i { animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__success {
  display: flex; gap: 14px; align-items: center;
  padding: 16px 18px; border-radius: 16px;
  background: var(--accent-soft); border: 1px solid rgba(254, 194, 35, 0.6);
}
.form__success i { font-size: 2rem; color: var(--text); }
.form__success p { color: var(--text-soft); font-size: 0.94rem; }

/* ---------- Footer (koyu, kurumsal kapanış) ---------- */
.footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); padding: 80px 0 32px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__logo { width: clamp(200px, 20vw, 260px); }
.footer__brand p { margin-top: 20px; max-width: 34ch; font-size: 0.95rem; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.footer__col h4 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.footer__col a { transition: color .2s; }
.footer__col a:hover { color: #fff; }
.footer__social { display: flex; gap: 8px; margin-top: 8px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18); font-size: 1.15rem; color: #fff;
  transition: background-color .2s, color .2s, border-color .2s;
}
.footer__social a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.footer__bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  font-size: 0.88rem; color: rgba(255, 255, 255, 0.55);
}
.footer__bottom a:hover { color: #fff; }

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink); font-size: 1.75rem;
  box-shadow: 0 12px 30px -8px rgba(17, 18, 20, 0.35);
  transition: transform .4s var(--ease-spring);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float:active { transform: scale(0.96); }

/* ---------- Reveal (yalnızca JS animasyonu çalışırken) ---------- */
.js:not(.no-anim) .reveal,
.js:not(.no-anim) [data-hero-fade] { opacity: 0; transform: translateY(26px); }
.js:not(.no-anim) .hero__title .line > span { transform: translateY(110%); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .header__call-text { display: none; }
  .header__actions { gap: 12px; padding-left: 16px; }
  .header__nav a { padding: 0 11px; }
  .header__nav a::after { left: 11px; right: 11px; }
}

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 260px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .catalog__layout { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .header { background: rgba(255, 255, 255, 0.96); }
  .header__nav, .header__actions { display: none; }
  .header__burger { display: block; }
  .header__logo img { height: 34px; }

  .hero { padding: 32px 0 56px; min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__frame { aspect-ratio: 4 / 3.4; max-height: none; }
  .hero__badge { left: 16px; bottom: 16px; }

  .sim__grid, .process__grid, .contact__grid { grid-template-columns: 1fr; }
  .process__aside { position: static; }

  .sectors__pin { padding-bottom: calc(var(--section-y) * 0.7); }
  .sector { width: min(84vw, 560px); aspect-ratio: 4 / 5; }
  .sector::after { background: linear-gradient(180deg, rgba(17, 18, 20, 0) 30%, rgba(17, 18, 20, 0.88) 100%); }
  .sector__media img { width: 100%; }

  .scene { aspect-ratio: 4 / 3; }
  .pg { left: 9%; right: 9%; }
  .scene__status { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compare { aspect-ratio: 4 / 3.2; }
  .calc__grid { grid-template-columns: 1fr; }
  .catalog { width: 100vw; height: 100dvh; border-radius: 0; }
  .catalog__layout { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); overflow-y: auto; }
  .catalog__stage { grid-template-rows: auto auto; }
  .catalog__viewer { aspect-ratio: 4 / 3; }
  .catalog__info { padding: 24px var(--gutter) 28px; overflow: visible; }
  .catalog__close { background: rgba(255, 255, 255, 0.92); }
  .catalog__nav { width: 44px; height: 44px; }
}

@media (max-width: 767px) {
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .tile--xl, .tile--wide, .tile--tall { grid-column: auto; grid-row: auto; }
  .gallery { columns: 2; column-gap: 10px; }
  .card { margin-bottom: 10px; }
  .card__go { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .hero__ctas .btn { flex: 1 1 auto; }
  .footer__top { grid-template-columns: 1fr; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .catalog__thumbs button { width: 76px; }
  .seasons__head .segmented { width: 100%; justify-content: space-between; }
  .seasons__head .segmented button { padding: 0 10px; flex: 1; justify-content: center; font-size: 0.86rem; gap: 6px; }
  .scene { aspect-ratio: 3 / 3.1; }
  .pg { left: 6%; right: 6%; top: 34%; }
  .scene__status li { padding: 12px; gap: 10px; }
  .scene__status i { width: 36px; height: 36px; }
  .transform__foot { flex-direction: column; align-items: flex-start; }
  .calc__row { grid-template-columns: 1fr; }
  .months { gap: 3px; }
}

@media (max-width: 480px) {
  .gallery { columns: 1; }
}

/* =========================================================
   Erişilebilirlik tercihleri
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee__track { animation: none; }
  .louvers { display: none; }
  .statement__text .w { opacity: 1; }
  .steps__fill { transform: scaleY(1); }
  .scene__rain i, .scene__snow i { animation: none; }
  .scene__rain i { top: auto; }
}
@media (prefers-reduced-transparency: reduce) {
  .header, .hero__badge, .tags li { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tags li { background: rgba(17, 18, 20, 0.7); }
}
@media (prefers-contrast: more) {
  :root { --muted: #48484a; --subtle: #6e6e73; --line: #c7c7cc; --line-strong: #8e8e93; }
}

/* bot tuzağı (gizli alan) */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
