/* ============================================================
   Neva Yalı İzmir — ana stil dosyası (v2)
   Marka revizyonları: kibar serif (Cormorant Garamond) + el yazısı
   aksan (Great Vibes) + Montserrat gövde; oval/yumuşak köşe dili,
   logo rozeti başlık yanlarında, tek sayfa yerleşim, minimal ölçek.
   BEM, mobil taban + min-width.
   ============================================================ */

/* ---------- Fontlar (Google Fonts, self-host woff2) ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400-italic-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400-italic-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-500-latin-ext.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-600-latin-ext.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Great Vibes';
  src: url('../fonts/great-vibes-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Great Vibes';
  src: url('../fonts/great-vibes-400-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-400-latin-ext.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-500-latin.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-500-latin-ext.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  src: url('../fonts/montserrat-600-latin-ext.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Değişkenler ---------- */
:root {
  --paper: #f3f4f2;
  --paper-deep: #e9ebe8;
  --ink: #1e242b;
  --ink-soft: #4c545e;
  --slate: #455567;
  --slate-deep: #2d3947;
  --white: #fcfdfc;
  --line: rgba(30, 36, 43, 0.14);
  --line-light: rgba(252, 253, 252, 0.22);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Montserrat', -apple-system, 'Helvetica Neue', sans-serif;

  /* Oval köşe dili */
  --r-sm: 12px;
  --r-md: 22px;
  --r-lg: 34px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.9s;

  --space-section: clamp(64px, 9vh, 120px);
  --gutter: clamp(20px, 4vw, 56px);
  --header-h: 72px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #171d24;
  --paper-deep: #202833;
  --ink: #f1f3f4;
  --ink-soft: #bec6cd;
  --slate: #9bafc1;
  --line: rgba(252, 253, 252, 0.14);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, dl, dd, figure, figcaption { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }
body.is-locked { overflow: hidden; }

/* Tek sayfa çıpaları: sabit header'ın altına hizala */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Tipografi ---------- */
.t-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: 0.005em;
  color: var(--slate);
}
.t-h1 { font-size: clamp(2.2rem, 5.2vw, 4.3rem); }
.t-h2 { font-size: clamp(1.7rem, 3.2vw, 2.75rem); }
.t-h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }

/* El yazısı aksan: bölüm girişleri ve vurgular */
.t-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.2;
  color: var(--slate);
}

.t-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate-deep);
}

.t-lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
  max-width: 34em;
}
.t-body { color: var(--ink-soft); }

/* Bölüm başlığı: rozet + el yazısı + serif başlık */
.sec-head.mb-30{ margin-bottom: 30px;}
.sec-head.mb-20{ margin-bottom: 20px;}
.sec-head { display: grid; gap: 6px; }
.sec-lead { margin-top: 18px; }
.statement--push { margin-top: 26px; }
.sec-head__script {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.sec-head__mark { width: 26px; height: 26px; flex-shrink: 0; }
.sec-head--light .t-script { color: rgba(252, 253, 252, 0.9); }
.sec-head--light .t-display { color: var(--white); }
.sec-head--light .sec-head__mark { filter: brightness(0) invert(1); opacity: 0.9; }

/* ---------- Yerleşim ---------- */
.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(44px, 6.5vh, 88px); }

/* ---------- Bağlantı ve buton ---------- */
.link-arrow {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7em;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 6px;
  position: relative;
}
.link-arrow::before {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.link-arrow::after {
  content: '\2192';
  transition: transform 0.5s var(--ease-out);
}
.link-arrow:hover::before { transform: scaleX(0.55); }
.link-arrow:hover::after { transform: translateX(6px); }
.link-arrow--light { color: var(--white); }

.btn {
  display: inline-block;
  padding: 0.95em 2.4em;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--slate);
  color: var(--white);
  border-radius: var(--r-pill);
  transition: background 0.35s var(--ease-out), transform 0.2s ease;
}
.btn:hover { background: var(--slate-deep); }
.btn:active { transform: translateY(1px); }
.btn--ghost {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1px currentColor;
}
.btn--ghost:hover { background: rgba(252, 253, 252, 0.12); }
/* Açık zeminde ikincil buton */
.btn--outline {
  background: transparent;
  color: var(--slate);
  box-shadow: inset 0 0 0 1px var(--line-strong, rgba(69, 85, 103, 0.34));
}
.btn--outline:hover { background: rgba(69, 85, 103, 0.07); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  transition: background 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.header__inner {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header__right {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 20px);
}
.header__partner {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.header__partner-img { width: clamp(56px, 4.4vw, 85px); height: auto; display: block; }

/* Logo: çerçevesiz, doğrudan header zemininde */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 60;
  transition: opacity 0.35s var(--ease-out);
}
.header__logo:hover { opacity: 0.72; }
.header__logo-img { width: clamp(104px, 9vw, 132px); height: auto; display: block; }
/* Beyaz varyant yalnızca mobil menü açıkken (koyu perde üstünde) görünür */
.header__logo-img--light { display: none; }

.header.is-solid {
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
}

.nav { display: flex; align-items: center; gap: clamp(10px, 1.5vw, 20px); }
.nav__item { position: relative; }
.nav__link {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  padding-block: 6px;
  white-space: nowrap;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header.is-solid .nav__link { color: var(--ink); }
.nav__link--cta {
  padding: 0.6em 1.4em;
  box-shadow: inset 0 0 0 1px currentColor;
  border-radius: var(--r-pill);
}
.nav__link--cta::after { content: none; }
.nav__link--cta:hover { background: var(--slate); color: var(--white); box-shadow: inset 0 0 0 1px var(--slate); }
.nav__link--lang { opacity: 0.62; }
.nav__link--lang:hover { opacity: 1; }

/* Kat Planları açılır menüsü (CSS-only: hover + focus-within) */

.nav__caret {
  width: 8px; height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease-out);
  display: inline-block;;
}
.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 200px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--r-sm);
  box-shadow: 0 18px 44px rgba(30, 36, 43, 0.16);
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), visibility 0s 0.3s;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 2px);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(225deg) translateY(-2px); }
.nav__sub-link {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background 0.25s, color 0.25s;
}
.nav__sub-link:hover { background: var(--paper-deep); color: var(--slate); }

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 48px;
  height: 48px;
  position: relative;
  z-index: 60;
}
.header__toggle-bar {
  display: block;
  width: 26px; height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease-out), background 0.3s;
}
.header.is-solid .header__toggle-bar { background: var(--ink); }

.theme-toggle {
  position: fixed;
  right: 30px;
  top: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  width: 44px;
  height: 50px;
  background: var(--white);
  color: var(--slate);
  border: 1px solid rgba(69, 85, 103, 0.28);
  border-top: 0;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  box-shadow: 0 8px 24px rgba(30, 36, 43, 0.14);
  transition: background 0.3s, transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0s 0.3s;
}
.theme-toggle:hover { background: var(--paper-deep); transform: translateY(3px); }
.theme-toggle__icon { font-size: 1.15rem; line-height: 1; }

html[data-theme="dark"] .theme-toggle {
  background: var(--slate-deep);
  color: var(--white);
  border-color: rgba(252, 253, 252, 0.22);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}
html[data-theme="dark"] .theme-toggle:hover { background: #39495a; }

html[data-theme="dark"] .header.is-solid .header__logo-img--dark { display: none; }
html[data-theme="dark"] .header.is-solid .header__logo-img--light { display: block; }

/* Mobil menü: tam ekran koyu perde */
@media (max-width: 1099px) {
  .header__toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 50;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    background: var(--slate-deep);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    padding-block: 90px 40px;
    transition: opacity 0.5s var(--ease-out), visibility 0s 0.5s;
  }
  .header.is-open .nav {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s var(--ease-out);
  }
  .nav .theme-toggle {
    position: relative;
    inset: auto;
    z-index: auto;
    width: 44px;
    height: 44px;
    margin-top: 20px;
    border: 1px solid rgba(252, 253, 252, 0.34);
    border-radius: 50%;
    background: rgba(252, 253, 252, 0.1);
    color: var(--white);
    box-shadow: none;
  }
  .nav .theme-toggle:hover { background: rgba(252, 253, 252, 0.18); transform: none; }
  .nav__item { text-align: center; }
  .header .nav .nav__link {
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 5.6vw, 2rem);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: none;
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  }
  .header.is-open .nav .nav__link { opacity: 1; transform: none; }
  .header .nav .nav__link--cta { box-shadow: none; padding: 0; }
  .header .nav .nav__link--cta:hover { background: none; box-shadow: none; }
  .header .nav .nav__link--lang {
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    margin-top: 16px;
  }
  /* Açılır menü mobilde düz listeye açılır */
  .nav__caret { display: none; }
  .nav__sub {
    position: static;
    transform: none;
    min-width: 0;
    padding: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transition: none;
  }
  .nav__sub-link {
    color: rgba(252, 253, 252, 0.72);
    font-size: 0.85rem;
    padding: 4px 0;
  }
  .nav__sub-link:hover { background: none; color: var(--white); }
  .header.is-open .header__toggle-bar { background: var(--white); }
  .header__logo-img { width: 96px; }
  .header.is-open .header__logo-img--dark { display: none; }
  .header.is-open .header__logo-img--light { display: block; }
  .header__right { gap: 12px; }
  .header__partner-img { width: 130px; }
  .header.is-open .header__toggle-bar:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .header.is-open .header__toggle-bar:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }
}

/* ---------- Reveal (IntersectionObserver) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-media {
  overflow: hidden;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.95s var(--ease-out), transform 0.95s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal-media.is-visible { opacity: 1; transform: none; }
.reveal-media img {
  transform: scale(1.08);
  transition: transform 1.5s var(--ease-out);
}
.reveal-media.is-visible img { transform: scale(1); }

/* CSS scroll-driven hafif parallax (destekleyen tarayıcılarda) */
@supports (animation-timeline: view()) {
  .parallax { overflow: hidden; }
  .parallax > img {
    height: 114%;
    object-fit: cover;
    animation: parallax-drift linear both;
    animation-timeline: view();
  }
  @keyframes parallax-drift {
    from { transform: translateY(-5%); }
    to { transform: translateY(5%); }
  }
}

/* ---------- Hero: çerçeveli oval görsel, minimal başlık ---------- */
.hero {
  position: relative;
  padding: var(--header-h) 0 0;
}
/* Tam genişlik: yan boşluk ve oval çerçeve yok, görsel header altını doldurur */
.hero__frame {
  position: relative;
  min-height: clamp(480px, calc(100vh - var(--header-h)), 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media img { animation: hero-zoom 2.6s var(--ease-out) both; }
@keyframes hero-zoom { from { transform: scale(1.06); } }
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(24, 30, 38, 0.72), rgba(24, 30, 38, 0.05) 55%),
    linear-gradient(to right, rgba(24, 30, 38, 0.26), transparent 60%);
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  /* Alt pay, sabit "Proje Güncel Durum" butonunun üstünde kalacak kadar geniş */
  padding: 0 var(--gutter) clamp(84px, 11vh, 124px);
  color: var(--white);
}
.hero__script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  margin-bottom: 8px;
  animation: hero-fade 1.2s var(--ease-out) 0.2s both;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 5.4vw, 4.4rem);
  line-height: 1.2;
  letter-spacing: 0.005em;
  max-width: 14em;
}
.hero__line { display: block; overflow: hidden; }
.hero__line > span { display: block; animation: hero-line 1.2s var(--ease-out) both; }
.hero__line:nth-child(2) > span { animation-delay: 0.14s; }
@keyframes hero-line { from { transform: translateY(112%); } }
.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(20px, 3.4vh, 38px);
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  animation: hero-fade 1.4s var(--ease-out) 0.55s both;
}
@keyframes hero-fade { from { opacity: 0; } }
.hero__sub {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 30em;
  color: rgba(252, 253, 252, 0.88);
}

/* ---------- İstatistikler ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 28px;
  margin-top: clamp(40px, 6.5vh, 72px);
}
.stats__item {
  padding-block: clamp(20px, 2.8vw, 32px) 12px;
  border-top: 1px solid var(--line);
}
.stats__value {
  font-weight: 400;
  font-size: clamp(2.1rem, 4.4vw, 3.6rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--slate);
}
.stats__label {
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- İçerik desenleri ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { border-radius: var(--r-md); }
.split__media img { width: 100%; object-fit: cover; border-radius: var(--r-md); }
/* Kemer form: seçili portre görsellerde üstü tam oval çerçeve */
.split__media--arch,
.split__media--arch img { border-radius: var(--r-pill) var(--r-pill) var(--r-md) var(--r-md); }
.split__media--arch img { aspect-ratio: 4 / 5; }
.split__title { margin-top: 10px; margin-bottom: 20px; }
.split__body + .split__body { margin-top: 16px; }
.split__link { margin-top: 28px; display: flex; }

.feature-list { margin-top: clamp(30px, 5vh, 52px); }
.feature-list__item {
  display: grid;
  gap: 6px 32px;
  padding-block: clamp(16px, 2.2vw, 26px);
  border-top: 1px solid var(--line);
}
.feature-list__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}
/* Başlık içi dış bağlantı: alt çizgi hover'da belirir */
.feature-list__link {
  color: inherit;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0 1px;
  transition: background-size 0.4s var(--ease-out);
}
.feature-list__link:hover { background-size: 100% 1px; }
.feature-list__desc { color: var(--ink-soft); max-width: 44em; font-size: 0.92rem; }
.feature-list__media { margin-top: 18px; border-radius: var(--r-md); overflow: hidden; }
.feature-list__media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Diğer Projelerimiz ---------- */
.projects-grid {
  margin-top: clamp(30px, 5vh, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}
.projects-grid__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  transition: box-shadow 0.3s, transform 0.3s var(--ease-out);
}
.projects-grid__item:hover {
  box-shadow: 0 14px 30px rgba(45, 57, 71, 0.18);
  transform: translateY(-3px);
}
.projects-grid__photo {
  width: 100%;
  height: 100%;
  min-height: 260px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-out);
}
.projects-grid__item:hover .projects-grid__photo { transform: scale(1.045); }
.projects-grid__logo-wrap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 22px 22px;
  display: flex;
  align-items: center;
  background: linear-gradient(to top, rgba(24, 30, 38, 0.75), transparent);
}
.projects-grid__logo {
  max-width: 150px;
  max-height: 48px;
  width: auto;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}
@media (max-width: 759px) {
  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid__photo { aspect-ratio: 16 / 10; min-height: 0; }
}

/* ---------- Lokasyon haritası ve erişim mesafeleri ---------- */
.location-head {
  display: grid;
  gap: 24px;
  align-items: end;
}
.location-head .btn { justify-self: start; }
.location-map {
  width: 100%;
  margin-top: clamp(30px, 5vh, 52px);
  display: block;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: 0 18px 50px rgba(45, 57, 71, 0.13);
  cursor: zoom-in;
}
.location-map img {
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--ease-out);
}
.location-map:hover img { transform: scale(1.015); }
.location-access {
  margin-top: clamp(32px, 5vw, 58px);
  color: var(--ink);
}
.location-access__eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.location-categories {
  margin-top: clamp(24px, 3.5vw, 38px);
  display: grid;
  gap: 16px;
}
.location-category {
  padding: clamp(22px, 2.6vw, 32px);
  border: 1px solid rgba(69, 85, 103, 0.12);
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(45, 57, 71, 0.055);
}
.location-category h3 {
  padding-bottom: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 500;
}
.distance-list { margin-top: 14px; display: grid; gap: 11px; }
.distance-list li { display: flex; align-items: baseline; min-width: 0; font-size: 0.84rem; line-height: 1.45; }
.distance-list li span { min-width: 0; }
.distance-list li i {
  min-width: 18px;
  flex: 1;
  margin-inline: 8px;
  border-bottom: 1px dotted rgba(69, 85, 103, 0.35);
}
.distance-list li strong { flex: 0 0 auto; font-weight: 600; color: var(--slate); }

/* Marka mavisi lokasyon kartları */
.location-categories--dark .location-category {
  color: var(--white);
  background: var(--slate-deep);
  border-color: rgba(252, 253, 252, 0.14);
  box-shadow: 0 12px 34px rgba(45, 57, 71, 0.16);
}
.location-categories--dark .distance-list li {
  color: rgba(252, 253, 252, 0.9);
}
.location-categories--dark .distance-list li i {
  border-bottom-color: rgba(252, 253, 252, 0.3);
}
.location-categories--dark .distance-list li strong {
  color: var(--white);
}

/* ---------- Karanlık tema yüzeyleri ---------- */
html[data-theme="dark"] .nav__sub,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .plan-figure,
html[data-theme="dark"] .contact-form-wrap,
html[data-theme="dark"] .catalog-page__viewer {
  background: var(--paper-deep);
}
html[data-theme="dark"] .contact-card__row {
  background: rgba(255, 255, 255, 0.055);
}
html[data-theme="dark"] .contact-card__row:hover {
  background: rgba(255, 255, 255, 0.1);
}
html[data-theme="dark"] .tabs__list,
html[data-theme="dark"] .plan-tabs__list {
  background: rgba(255, 255, 255, 0.07);
}
html[data-theme="dark"] .form--light .form__input {
  color: var(--ink);
  border-bottom-color: rgba(252, 253, 252, 0.3);
}
html[data-theme="dark"] .form--light .form__consent,
html[data-theme="dark"] .catalog-page__fallback { color: var(--ink-soft); }

/* Manifesto satırı: kibar italik serif */
.statement {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.45rem, 2.8vw, 2.3rem);
  line-height: 1.4;
  max-width: 26em;
}

/* Tam genişlik görsel bandı */
.band { overflow: hidden; border-radius: var(--r-lg); margin-inline: clamp(12px, 1.6vw, 24px); }
.band img {
  width: 100%;
  height: clamp(300px, 56vh, 540px);
  object-fit: cover;
}

.media-btn { cursor: zoom-in; display: block; width: 100%; border-radius: var(--r-md); overflow: hidden; }
.media-btn img { border-radius: var(--r-md); }

/* ---------- Olanaklar bento ---------- */
.amen-grid { display: grid; gap: 16px; margin-top: clamp(30px, 5vh, 52px); }
.amen-card { position: relative; overflow: hidden; border-radius: var(--r-md); }
.amen-card img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.amen-card:hover img { transform: scale(1.045); }
.amen-card__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 22px 18px;
  color: var(--white);
  background: linear-gradient(to top, rgba(24, 30, 38, 0.7), transparent);
}
/* Kart başlıkları el yazısı; okunurluk için gövdeden belirgin biçimde büyük */
.amen-card__name {
  font-family: var(--font-script);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.25;
  display: block;
}
.amen-card__desc { font-size: 0.82rem; opacity: 0.85; margin-top: 2px; display: block; }

.amen-more {
  margin-top: clamp(32px, 5.5vh, 60px);
  display: grid;
  gap: 14px;
}
.amen-more__item {
  min-height: 170px;
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid rgba(69, 85, 103, 0.13);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.48);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 350ms var(--ease-out), border-color 350ms var(--ease-out), background 350ms var(--ease-out);
}
.amen-more__item:hover {
  transform: translateY(-4px);
  border-color: rgba(69, 85, 103, 0.3);
  background: rgba(255, 255, 255, 0.78);
}
.amen-more__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.2;
}
.amen-more__desc { color: var(--ink-soft); font-size: 0.86rem; line-height: 1.55; margin-top: 8px; }

/* ---------- Kat planları ---------- */
.plans-sub { margin-top: clamp(40px, 7vh, 80px); }
.plans-sub > .plan-grid { margin-top: clamp(26px, 4vh, 44px); }
.tabs {
  display: flex;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  margin-top: clamp(24px, 4vh, 40px);
}
.tabs__tab {
  padding: 0.75em 1.8em;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  min-height: 44px;
  color: var(--ink-soft);
  border-radius: var(--r-pill);
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.tabs__tab.is-active { background: var(--slate); color: var(--white); }
.tabs__panel { margin-top: clamp(26px, 4vh, 44px); }
.tabs__panel[hidden] { display: none; }

.plan-grid { display: grid; gap: 20px; }
.plan-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.plan-card__img { width: 100%; padding: 24px; }
.plan-card__body {
  margin-top: auto;
  padding: 20px 24px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
}
.plan-card__title { font-size: 0.9rem; font-weight: 600; letter-spacing: 0.05em; }
.plan-card__area { font-family: var(--font-display); font-weight: 500; font-size: 1.45rem; color: var(--slate); }
.plan-card__rooms { color: var(--ink-soft); font-size: 0.85rem; }

/* Ofis planları: metinsiz, büyütülebilir plan görselleri */
.plan-figure {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 20px;
  display: block;
  width: 100%;
  cursor: zoom-in;
  transition: border-color 0.35s var(--ease-out);
}
.plan-figure:hover { border-color: rgba(69, 85, 103, 0.42); }
.plan-figure img { width: 100%; height: auto; display: block; }

/* ---------- Galeri ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: clamp(30px, 5vh, 52px);
}
.gallery-grid__item { overflow: hidden; display: block; width: 100%; border-radius: var(--r-md); cursor: zoom-in; }
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.gallery-grid__item:hover img { transform: scale(1.045); }

/* ---------- Sanal tur ---------- */
.tour__stage {
  position: relative;
  margin-top: clamp(30px, 5vh, 52px);
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--slate-deep);
}
.tour__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tour__poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.tour__poster:hover img { transform: scale(1.03); }
.tour__poster::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(24, 30, 38, 0.35);
}
.tour__play {
  position: relative;
  display: grid;
  place-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, .5);
}
.tour__play-ring {
  width: clamp(64px, 8vw, 88px);
  height: clamp(64px, 8vw, 88px);
  border-radius: 50%;
  border: 1px solid rgba(252, 253, 252, 0.8);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  background: rgba(252, 253, 252, 0.12);
  transition: transform 0.4s var(--ease-out), background 0.4s;
}
.tour__poster:hover .tour__play-ring { transform: scale(1.08); background: rgba(252, 253, 252, 0.22); }
.tour__play-ring::before {
  content: '';
  width: 0; height: 0;
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--white);
  margin-left: 4px;
}
.tour__stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Katalog bandı ---------- */
.catalog {
  background: var(--slate);
  color: var(--white);
  border-radius: var(--r-lg);
  margin-inline: clamp(12px, 1.6vw, 24px);
  overflow: hidden;
}
.catalog .t-display { color: var(--white); }
.catalog__inner {
  display: grid;
  gap: 36px;
  padding: clamp(44px, 7vh, 88px) var(--gutter);
  align-items: center;
}
.catalog__note { margin-top: 16px; color: rgba(252, 253, 252, 0.8); max-width: 32em; font-size: 0.92rem; }
.catalog__meta {
  margin-top: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(252, 253, 252, 0.6);
}
.catalog__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.catalog .btn { background: var(--white); color: var(--slate-deep); }
.catalog .btn:hover { background: var(--paper); }

/* ---------- İletişim ---------- */
.contact-layout {
  display: grid;
  gap: clamp(30px, 5vw, 64px);
  margin-top: clamp(32px, 5.5vh, 60px);
  align-items: center;
}
.contact-card { padding-top: 4px; }
.contact-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  color: var(--slate);
}
.contact-card__note { color: var(--ink-soft); font-size: 0.88rem; margin-top: 8px; }
.contact-card__list { margin-top: 24px; display: grid; gap: 10px; }
.contact-card__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 16px 18px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.62);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.contact-card__row:hover { background: var(--white); transform: translateX(3px); }
.contact-card__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.contact-card__value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  transition: color 0.3s;
}
.contact-card__row--address .contact-card__value { text-align: left; line-height: 1.45; }
a.contact-card__value:hover { color: var(--slate); }

/* İletişim bölümünde ana başlığı daha belirgin tut */
#iletisim .sec-head .t-display,
#contact .sec-head .t-display { font-weight: 600; }

/* Sayfa sonu form bloğu */
.contact-form-wrap {
  margin-top: clamp(40px, 7vh, 72px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4.5vw, 56px);
}
.contact-emblem {
  position: relative;
  min-height: clamp(170px, 24vw, 280px);
  display: grid;
  place-items: center;
}
.contact-emblem img {
  position: relative;
  z-index: 1;
  width: clamp(104px, 12vw, 156px);
  height: auto;
  display: block;
  opacity: 0.42;
}

/* ---------- Footer: kompakt ---------- */
.footer {
  background: var(--slate-deep);
  color: var(--white);
  /* Alt boşluk: sol alttaki sabit kamera butonu telif satırını örtmesin */
  padding-block: clamp(40px, 6.5vh, 72px) 84px;
  margin-top: var(--space-section);
}
.footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__brands { display: flex; align-items: center; gap: clamp(22px, 3vw, 38px); }
.footer__logo { width: 108px; }
.footer__rev {
  display: block;
  padding-left: clamp(22px, 3vw, 38px);
  border-left: 1px solid var(--line-light);
  opacity: 0.78;
  transition: opacity 0.3s;
}
.footer__rev:hover { opacity: 1; }
.footer__rev img { display: block; width: 88px; height: auto; filter: invert(1); }
.footer__social { display: flex; gap: 10px; }
.footer__social-link {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: rgba(252, 253, 252, 0.85);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.footer__social-link:hover { background: var(--white); color: var(--slate-deep); border-color: var(--white); }
.footer__social-link svg { width: 17px; height: 17px; fill: currentColor; }
.footer__base {
  margin-top: clamp(28px, 4.5vh, 48px);
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 32px;
  font-size: 0.78rem;
  color: rgba(252, 253, 252, 0.6);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(24, 30, 38, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--r-sm);
  animation: lightbox-in 0.5s var(--ease-out) both;
}
@keyframes lightbox-in { from { opacity: 0; transform: scale(0.96); } }
.lightbox__close {
  position: absolute;
  top: 18px; right: 22px;
  width: 52px; height: 52px;
  font-size: 2rem;
  line-height: 1;
  color: var(--white);
}
/* Galeri gezinme okları: yalnız çok görselli grupta görünür */
.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(24, 30, 38, 0.42);
  border-radius: 50%;
  transition: background 0.3s var(--ease-out);
}
.lightbox__nav[hidden] { display: none; }
.lightbox__nav:hover { background: rgba(24, 30, 38, 0.72); }
.lightbox__nav--prev { left: clamp(10px, 2.5vw, 32px); }
.lightbox__nav--next { right: clamp(10px, 2.5vw, 32px); }
.lightbox__arrow {
  width: 13px; height: 13px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.lightbox__nav--prev .lightbox__arrow { transform: translateX(3px) rotate(-135deg); }
.lightbox__nav--next .lightbox__arrow { transform: translateX(-3px) rotate(45deg); }

/* ---------- Canlı şantiye kamerası: sol alt sabit buton ---------- */
.cam-fab {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 45;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--slate-deep);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 30px rgba(45, 57, 71, 0.35);
  transition: background 0.35s var(--ease-out), transform 0.25s var(--ease-out);
}
.cam-fab:hover { background: var(--slate); transform: translateY(-2px); }
.cam-fab__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e05c4a;
  flex-shrink: 0;
  animation: cam-pulse 1.6s ease-in-out infinite;
}
@keyframes cam-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224, 92, 74, 0.55); }
  55% { box-shadow: 0 0 0 7px rgba(224, 92, 74, 0); }
}
.cam-fab__label--short { display: none; }
@media (max-width: 759px) {
  .cam-fab { padding: 11px 16px; font-size: 0.66rem; left: 12px; bottom: 14px; }
  .cam-fab__label--full { display: none; }
  .cam-fab__label--short { display: inline; }
}

/* Menü/çekmece/lightbox açıkken sabit butonlar perdenin üstüne binmesin */
body.is-locked .cam-fab,
body.is-locked .chatw,
body.is-locked .contact-fab,
body.is-locked > .theme-toggle { opacity: 0; visibility: hidden; }
.cam-fab, .contact-fab, .chatw, .theme-toggle { transition: background 0.35s var(--ease-out), transform 0.25s var(--ease-out), opacity 0.3s var(--ease-out), visibility 0s 0.3s; }

/* ---------- Sabit form sekmesi + çekmece (Sizi Arayalım) ---------- */
.contact-fab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  writing-mode: vertical-rl;
  padding: 22px 13px;
  background: var(--slate);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  transition: background 0.35s var(--ease-out), padding 0.35s var(--ease-out);
}
.contact-fab:hover { background: var(--slate-deep); padding-block: 28px; }

@media (max-width: 759px) {
  .contact-fab {
    writing-mode: horizontal-tb;
    top: auto;
    bottom: 14px;
    right: 12px;
    transform: none;
    padding: 12px 18px;
    border-radius: var(--r-pill);
    box-shadow: 0 10px 30px rgba(45, 57, 71, 0.35);
  }
  .contact-fab:hover { padding-block: 12px; }
}

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 70;
  width: min(560px, 100vw);
  background: var(--slate-deep);
  color: var(--white);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.6s var(--ease-out), visibility 0s 0.6s;
  overflow-y: auto;
  padding: clamp(28px, 5vh, 56px) clamp(24px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg) 0 0 var(--r-lg);
}
.drawer.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 0.6s var(--ease-out);
}
.drawer__backdrop {
  position: fixed;
  inset: 0;
  z-index: 65;
  background: rgba(24, 30, 38, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0s 0.5s;
}
.drawer__backdrop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease-out);
}
.drawer__close {
  align-self: flex-end;
  width: 48px; height: 48px;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--white);
  flex-shrink: 0;
}
.drawer__script {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: rgba(252, 253, 252, 0.85);
}
.drawer__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  line-height: 1.1;
  margin-top: 6px;
}
.drawer__note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(252, 253, 252, 0.78);
  max-width: 30em;
}

/* ---------- Form ---------- */
.form { margin-top: clamp(22px, 4vh, 40px); display: grid; gap: 22px; }
.form__row { display: grid; gap: 22px; }
.form__field { position: relative; display: grid; gap: 8px; }
.form__label {
  position: absolute;
  top: 16px;
  left: 2px;
  z-index: 1;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(252, 253, 252, 0.72);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.25s var(--ease-out), color 0.25s var(--ease-out), opacity 0.25s;
}
.form__field:focus-within .form__label,
.form__field:has(.form__input:not(:placeholder-shown)) .form__label,
.form__field:has(.form__input:-webkit-autofill) .form__label,
.form__field:has(.form__input:autofill) .form__label {
  color: var(--white);
  transform: translateY(-13px) scale(0.82);
}
/* Zorunlu alan yıldızı */
.form__req { color: #d98d80; margin-left: 2px; }
.form--light .form__req { color: #b4695c; }
.form__input {
  font: inherit;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(252, 253, 252, 0.35);
  min-height: 52px;
  padding: 21px 2px 8px;
  border-radius: 0;
  transition: border-color 0.3s;
}
.form__input::placeholder { color: rgba(252, 253, 252, 0.4); opacity: 0; transition: opacity 0.2s; }
.form__input:focus::placeholder { opacity: 1; }
.form__input:focus { outline: none; border-bottom-color: var(--white); }
textarea.form__input { resize: vertical; min-height: 82px; }

/* Tarayıcı otomatik doldurması: koyu/mavi form yüzeyini koru */
.drawer .form__input:-webkit-autofill,
.drawer .form__input:-webkit-autofill:hover,
.drawer .form__input:-webkit-autofill:focus,
.drawer .form__input:autofill {
  -webkit-text-fill-color: var(--white);
  caret-color: var(--white);
  box-shadow: 0 0 0 1000px var(--slate-deep) inset;
  border-bottom-color: rgba(252, 253, 252, 0.65);
}
.drawer .form__field:has(.form__input:-webkit-autofill) .form__label,
.drawer .form__field:has(.form__input:autofill) .form__label {
  color: var(--white);
  opacity: 1;
}
.form__error {
  display: none;
  font-size: 0.8rem;
  color: #f0b5ad;
}
.form__field.has-error .form__error { display: block; }
.form__field.has-error .form__input { border-bottom-color: #f0b5ad; }

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(252, 253, 252, 0.82);
  cursor: pointer;
}
.form__legal-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.form__legal-link:hover { opacity: 0.75; }
.form__checkbox {
  appearance: none;
  width: 20px; height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(252, 253, 252, 0.5);
  border-radius: 50%;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.form__checkbox:checked { background: var(--white); }
.form__checkbox:checked::before {
  content: '';
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--slate-deep);
}
.form__submit {
  justify-self: start;
  padding: 0.95em 2.6em;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--slate-deep);
  border-radius: var(--r-pill);
  transition: opacity 0.3s, transform 0.2s;
}
.form__submit:hover { opacity: 0.88; }
.form__submit:active { transform: translateY(1px); }
.form__submit:disabled { opacity: 0.55; cursor: wait; }
.form__submit.is-loading { display: inline-flex; align-items: center; gap: 10px; }
.form__submit.is-loading::before {
  content: '';
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: form-spin 0.7s linear infinite;
}
@keyframes form-spin { to { transform: rotate(360deg); } }
.form__success {
  display: none;
  margin-top: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(252, 253, 252, 0.3);
  border-radius: var(--r-sm);
  font-size: 0.88rem;
}
.form.is-sent .form__success { display: block; }
.form.has-server-error .form__success {
  display: block;
  color: #f0b5ad;
  border-color: rgba(240, 181, 173, 0.5);
}

/* Yasal metin modalı */
.legal-modal { position: fixed; inset: 0; z-index: 100; }
.legal-modal[hidden] { display: none; }
.legal-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 20, 26, 0.72); }
.legal-modal__dialog {
  position: absolute;
  inset: clamp(18px, 5vw, 64px);
  width: min(860px, calc(100% - 36px));
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}
.legal-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--slate-deep);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
}
.legal-modal__frame { display: block; width: 100%; height: 100%; border: 0; background: var(--paper); }

/* Form sonuç popup'ı */
.feedback-modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; }
.feedback-modal[hidden] { display: none; }
.feedback-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 20, 26, 0.72); }
.feedback-modal__dialog {
  position: relative;
  width: min(440px, 100%);
  padding: clamp(32px, 6vw, 52px);
  text-align: center;
  border-radius: var(--r-lg);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  animation: feedback-in 0.35s var(--ease-out) both;
}
@keyframes feedback-in {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
}
.feedback-modal__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 600;
}
.feedback-modal.is-success .feedback-modal__icon { color: #4f7965; }
.feedback-modal.is-error .feedback-modal__icon { color: #b15b50; }
.feedback-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  font-weight: 600;
  color: var(--slate);
}
.feedback-modal__message { margin-top: 12px; color: var(--ink-soft); line-height: 1.65; }
.feedback-modal__button {
  margin-top: 26px;
  padding: 0.85em 2.2em;
  border-radius: var(--r-pill);
  background: var(--slate);
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Açık zemin form varyantı */
.form--light .form__label { color: var(--ink-soft); }
.form--light .form__field:focus-within .form__label,
.form--light .form__field:has(.form__input:not(:placeholder-shown)) .form__label,
.form--light .form__field:has(.form__input:-webkit-autofill) .form__label { color: var(--slate); }
.form--light .form__input {
  color: var(--ink);
  border-bottom-color: rgba(30, 36, 43, 0.35);
}
.form--light .form__input::placeholder { color: rgba(30, 36, 43, 0.35); }
.form--light .form__input:focus { border-bottom-color: var(--ink); }
.form--light .form__error { color: #a3372a; }
.form--light .form__field.has-error .form__input { border-bottom-color: #a3372a; }
.form--light .form__consent { color: var(--ink-soft); }
.form--light .form__checkbox { border-color: rgba(30, 36, 43, 0.5); }
.form--light .form__checkbox:checked { background: var(--slate); border-color: var(--slate); }
.form--light .form__checkbox:checked::before { background: var(--white); }
.form--light .form__submit { background: var(--slate); color: var(--white); }
.form--light .form__success { border-color: rgba(30, 36, 43, 0.3); color: var(--ink); }

/* Dark temada açık form varyantının onay alanlarını görünür tut */
html[data-theme="dark"] .form--light .form__consent {
  color: #dce3e9;
}
html[data-theme="dark"] .form--light .form__legal-link {
  color: var(--white);
}
html[data-theme="dark"] .form--light .form__checkbox {
  background: transparent;
  border-color: rgba(252, 253, 252, 0.78);
}
html[data-theme="dark"] .form--light .form__checkbox:checked {
  background: var(--white);
  border-color: var(--white);
}
html[data-theme="dark"] .form--light .form__checkbox:checked::before {
  background: var(--slate-deep);
}
html[data-theme="dark"] .form--light .form__checkbox:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
}

/* Bal küpü alanı: botlara karşı, kullanıcıya görünmez */
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Galeri şeridi kenar maskesi (hero altı önizleme) ---------- */
.tease-gallery__strip {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}

/* ---------- Yalı hikâyesi: katmanlı görsel ---------- */
.story__grid { display: grid; gap: 44px; }
.story__media { position: relative; }
.story__media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-pill) var(--r-pill) var(--r-md) var(--r-md);
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 100dvh;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 18px;
  padding: var(--gutter);
}

/* ============================================================
   Responsive: >= 760px
   ============================================================ */
@media (min-width: 760px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .form__row--2 { grid-template-columns: 1fr 1fr; }

  .amen-grid { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 230px; }
  .amen-card--wide { grid-column: span 7; grid-row: span 2; }
  .amen-card--half { grid-column: span 6; }
  .amen-grid--five .amen-card--equal { grid-column: span 6; }

  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .plan-grid--three { grid-template-columns: repeat(3, 1fr); }

  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .amen-more { grid-template-columns: repeat(2, 1fr); }
  .distance-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px 30px; }

  .catalog__inner { grid-template-columns: 7fr 5fr; }
  .catalog__actions { justify-content: flex-end; }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ============================================================
   Alt sayfalar (Katalog, Hakkımızda)
   ============================================================ */
/* Header sabit; alt sayfada hero olmadığı için üstten pay bırakılır */
.subpage { padding-top: var(--header-h); }

/* ---------- Canlı web kamera ---------- */
.camera-page {
  min-height: calc(100vh - var(--header-h));
  background: var(--paper);
}
.camera-page__section { padding-block: clamp(52px, 7vw, 96px); }
.camera-page__head {
  max-width: 760px;
  margin: 0 auto clamp(30px, 4vw, 48px);
  text-align: center;
}
.camera-page__head .sec-head__script { justify-content: center; }
.camera-page__intro { margin: 14px auto 0; margin-bottom: 30px; }
.camera-frame {
  width: min(100%, 1200px);
  aspect-ratio: 16 / 9;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--slate-deep);
  box-shadow: 0 22px 60px rgba(30, 36, 43, 0.16);
}
.camera-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Hakkımızda: solda motto, sağda gövde metni */
.about-split { display: grid; gap: clamp(28px, 4vw, 56px); }
.about-split__motto { margin-top: 10px; }
.about-split__body { display: grid; gap: 20px; align-content: start; max-width: 62ch; }
.about-split__head { margin-top: clamp(18px, 3vh, 32px); }

.catalog-page {
  margin-top: clamp(28px, 4.5vh, 48px);
  display: grid;
  gap: 18px;
  justify-items: start;
}
.catalog-page__meta {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.catalog-page__viewer { margin-top: clamp(32px, 5vh, 56px); }
.catalog-page__object {
  width: 100%;
  height: clamp(420px, 76vh, 900px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--white);
}
.catalog-page__fallback { padding: 32px; color: var(--ink-soft); }
.catalog-page__fallback a { text-decoration: underline; }

.projects__grid { margin-top: clamp(26px, 4vh, 44px); display: grid; gap: 20px; }
.projects__item {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 6px;
  transition: border-color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.projects__item:hover { border-color: rgba(69, 85, 103, 0.45); transform: translateY(-3px); }
.projects__name { font-family: var(--font-display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 500; }
.projects__place { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-soft); }

@media (min-width: 760px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .about-split { grid-template-columns: 5fr 7fr; gap: 72px; }
  /* Metin uzun; motto kaydırma boyunca görünür kalsın */
  .about-split__aside { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}

/* ============================================================
   Responsive: >= 1024px (masaüstü kompozisyonlar)
   ============================================================ */
@media (min-width: 1024px) {
  .split { grid-template-columns: 6fr 5fr; gap: 72px; }
  .split--flip { grid-template-columns: 5fr 6fr; }
  .split--flip .split__media { order: 2; }

  .feature-list__item { grid-template-columns: 5fr 7fr; align-items: baseline; }
  .feature-list--columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 44px);
  }
  .feature-list--columns .feature-list__item { display: block; }
  .feature-list--columns .feature-list__desc { margin-top: 12px; }
  .amen-more { grid-template-columns: repeat(3, 1fr); }
  .location-head { grid-template-columns: 1fr auto; }
  .location-head .btn { justify-self: end; margin-bottom: 4px; }
  .location-categories { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .location-category--education { grid-column: span 4; }
  .location-category--health { grid-column: span 8; }
  .location-category--other { grid-column: span 12; }
  .contact-layout { grid-template-columns: 6fr 5fr; }

  .story__grid { grid-template-columns: 5fr 1fr 6fr; align-items: center; }
  .story__media { grid-column: 1 / 2; }
  .story__copy { grid-column: 3 / 4; }
}

/* ============================================================
   Hareket azaltma tercihi
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__media img,
  .hero__script,
  .hero__line > span,
  .hero__foot,
  .lightbox__img { animation: none; }
  .reveal,
  .reveal-media,
  .reveal-media img,
  .header,
  .nav .nav__link,
  .amen-card img,
  .gallery-grid__item img,
  .tour__poster img { transition: none; }
  .reveal { opacity: 1; transform: none; }
  .reveal-media { opacity: 1; transform: none; }
  .reveal-media img { transform: none; }
  .amen-card:hover img,
  .gallery-grid__item:hover img { transform: none; }

  .drawer, .drawer__backdrop { transition: none; }
  .contact-fab, .cam-fab { transition: none; }
  .cam-fab__dot { animation: none; }

  @supports (animation-timeline: view()) {
    .parallax > img { animation: none; height: 100%; }
  }
}

/* ============================================================
   Yüzen iletişim widget'ı (ayrı AI Asistan + iletişim grubu)
   Kurumsal sitedeki Chaty kurulumuyla aynı konum/ölçüler:
   sağ-alt 25px, 54px launcher, tıklamayla dikey açılım.
   ============================================================ */
.chatw {
  position: fixed;
  right: 25px;
  bottom: 25px;
  /* Diğer sabit butonlarla aynı katman: menü/çekmece/lightbox perdesi altında kalır */
  z-index: 45;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.chatw__toggle {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: #455567;
  box-shadow: 0 8px 28px rgba(45, 57, 71, 0.3);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 200ms ease;
}

.chatw__toggle:hover { transform: scale(1.06); }

.chatw__toggle-icon { display: block; }

.chatw__toggle-close { display: none; }

.chatw.is-open .chatw__toggle { background: #455567; }
.chatw.is-open .chatw__toggle-icon { display: none; }
.chatw.is-open .chatw__toggle-close { display: block; }

.chatw__items {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
  pointer-events: none;
}

.chatw__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatw__ai {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  border: 0;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(45, 57, 71, 0.3);
  display: grid;
  place-items: center;
  transition: transform 200ms ease;
}

.chatw__ai:hover { transform: scale(1.06); }
.chatw__ai img { display: block; border-radius: 50%; }

.chatw__ai-backdrop {
  position: fixed;
  inset: 0;
  z-index: 46;
  background: rgba(22, 29, 37, 0.18);
  opacity: 0;
  transition: opacity 250ms ease;
}

.chatw.is-ai-open .chatw__ai-backdrop { opacity: 1; }

.chatw__ai-panel {
  position: fixed;
  z-index: 47;
  right: 25px;
  bottom: 94px;
  width: min(400px, calc(100vw - 50px));
  height: min(640px, calc(100vh - 125px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(20, 29, 38, 0.32);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(24px) scale(0.98);
  transform-origin: right bottom;
  transition: transform 280ms ease, opacity 220ms ease, visibility 280ms;
}

.chatw.is-ai-open .chatw__ai-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.chatw__ai-head {
  min-height: 58px; z-index: 3;
  padding: 0 12px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #2d3947; background: #f1f1f3;
  border-bottom: 1px solid rgba(45, 57, 71, 0.12);
}

.chatw__ai-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #eef0f2;
  color: #455567;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.chatw__ai-close:hover { background: #e1e5e8; }

.chatw__ai-frame {
  width: 100%;
  height: calc(100% + 120px);
  flex: none;
  border: 0;
  background: #fff;
  transform: translateY(-120px);
}

body.chatw-ai-open { overflow: hidden; }

.chatw.is-open .chatw__items {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.chatw__item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.chatw__label {
  background: #fff;
  color: #2d3947;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(45, 57, 71, 0.18);
  white-space: nowrap;
}

.chatw__bubble {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(45, 57, 71, 0.25);
}

.chatw__item--wa .chatw__bubble { background: #25d366; }
.chatw__item--tel .chatw__bubble { background: #455567; }

/* Mobilde "Sizi Arayalım" hapı sağ-alta iniyor; widget onun üstüne yerleşir */
@media (max-width: 759px) {
  .chatw { right: 12px; bottom: 76px; }
  .chatw__ai-panel {
    right: 12px;
    bottom: 142px;
    width: calc(100vw - 24px);
    height: min(72vh, 620px);
    border-radius: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chatw__ai-panel,
  .chatw__ai-backdrop { transition: none; }
}
