/* ============================================================
   BALKAŞ — Estetik Diş Kliniği
   "Cinematic Minimal" — true black & white, one electric accent,
   colossal type, vast whitespace, scroll-driven moments.
   Original work in an Apple-grade minimalist aesthetic.
   ============================================================ */

:root {
  --white:  #ffffff;
  --mist:   #eef5f3;   /* soft mint-tinted section */
  --mist-2: #e7f1f5;  /* soft sky-tinted section */
  --black:  #07100e;   /* near-black with green depth */
  --ink:    #14201d;   /* near-black text */
  --ink-2:  #495551;
  --gray:   #7c8884;   /* secondary */
  --gray-2: #a7b0ac;
  --line:   #e0e8e5;
  --line-d: rgba(255,255,255,0.16);

  --accent:   #0ea890;     /* medical teal-green */
  --accent-d: #0a8a76;
  --accent-2: #2faee0;     /* health sky blue (secondary) */
  --accent-2d:#1c93c6;
  --grad: linear-gradient(96deg, var(--accent) 0%, #1bb39a 45%, var(--accent-2) 100%);

  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Fraunces", "Manrope", Georgia, serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --wide:    1320px;
  --text:    920px;
  --pad:     clamp(22px, 5vw, 80px);
  --sect:    clamp(120px, 20vh, 280px);

  --ease:     cubic-bezier(0.4, 0, 0.1, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--ink);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.014em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--pad); }
.text-col { max-width: var(--text); margin-inline: auto; }
.center { text-align: center; }

/* ── type ─────────────────────────────────────────────── */
.kicker { font-size: clamp(0.82rem, 1vw, 0.95rem); font-weight: 600; letter-spacing: 0.02em; color: var(--gray); }
.kicker.accent { color: var(--accent); }

.mega   { font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(3.2rem, 12vw, 10.2rem); line-height: 0.94; letter-spacing: -0.025em; }
.display{ font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(2.7rem, 8vw, 6.6rem);  line-height: 1.0;  letter-spacing: -0.022em; }
.h-lg   { font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.04; letter-spacing: -0.018em; }
.h-md   { font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.1;  letter-spacing: -0.012em; }
.accentword { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--accent); }
.dim { color: var(--gray-2); }

.lead { font-size: clamp(1.2rem, 1.9vw, 1.7rem); line-height: 1.45; color: var(--ink-2); font-weight: 400; letter-spacing: -0.016em; }
.body { font-size: clamp(1.05rem, 1.3vw, 1.22rem); line-height: 1.6; color: var(--ink-2); }

/* chevron text link */
.clink { display: inline-flex; align-items: center; gap: 4px; font-size: clamp(1.05rem,1.4vw,1.3rem); color: var(--accent); font-weight: 400; transition: opacity .25s; }
.clink::after { content: "›"; font-size: 1.2em; line-height: 1; transform: translateY(-1px); transition: transform .3s var(--ease-out); }
.clink:hover::after { transform: translate(4px,-1px); }

/* buttons (pill) */
.btn { display: inline-flex; align-items: center; gap: 0.5em; font-size: 1.04rem; font-weight: 500; padding: 0.82em 1.6em; border-radius: 980px; transition: background .3s, color .3s, transform .35s var(--ease-out), box-shadow .35s, border-color .3s; }
.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { background: var(--accent-d); transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { transform: translateY(-2px); }
.btn-line { box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.btn-line:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-ghost-d { color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); }
.btn-ghost-d:hover { box-shadow: inset 0 0 0 1px #fff; }
.btn-lg { font-size: 1.16rem; padding: 0.95em 2em; }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 54px; transition: background .5s, box-shadow .5s; }
.nav.solid { background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 0.5px 0 var(--line); }
.nav-inner { height: 54px; max-width: var(--wide); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; font-weight: 600; font-size: 1.34rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand .reg { color: var(--gray); font-weight: 400; }
.brand-logo { height: 30px; width: auto; display: block; transition: opacity .3s, transform .4s var(--ease-out); }
.brand:hover .brand-logo { opacity: 0.78; }
.footer-logo { height: 36px; }
.m-menu-logo { height: 34px; width: auto; align-self: flex-start; margin-bottom: clamp(20px,4vh,40px); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { font-size: 0.86rem; font-weight: 400; color: var(--ink-2); padding: 8px 14px; border-radius: 8px; transition: color .25s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.nav-right .btn { padding: 0.45em 1.1em; font-size: 0.86rem; }
.burger { display: none; width: 42px; height: 42px; place-items: center; }
.burger svg { width: 23px; height: 23px; }

.m-menu { position: fixed; inset: 0; z-index: 99; background: rgba(255,255,255,0.96); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: clamp(90px,15vh,130px) var(--pad) 44px; display: flex; flex-direction: column; transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.m-menu.open { opacity: 1; transform: none; pointer-events: auto; }
.m-menu a.ml { font-size: clamp(2rem,8vw,3rem); font-weight: 600; letter-spacing: -0.03em; padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.m-menu a.ml svg { width: 22px; height: 22px; color: var(--gray-2); }
.m-menu .btn { margin-top: 32px; justify-content: center; }

/* ============================================================
   HERO  (colossal type + scale-on-scroll showcase)
   ============================================================ */
.hero { padding-top: clamp(150px, 24vh, 280px); padding-inline: var(--pad); text-align: center; position: relative; }
.hero .kicker { display: block; margin-bottom: clamp(20px,3vh,34px); }
.hero h1 { margin-inline: auto; max-width: 14ch; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; transform: translateY(108%); transition: transform 1.05s var(--ease-out); }
.hero.lit h1 .line > span { transform: none; }
.hero h1 .line:nth-child(2) > span { transition-delay: .08s; }
.hero .lead { margin: clamp(28px,4vh,44px) auto 0; max-width: 30ch; }
.hero-actions { margin-top: clamp(30px,4vh,44px); display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* scale-on-scroll */
.stage { position: relative; height: 240vh; margin-top: clamp(40px,6vh,80px); }
.stage-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.stage-frame { position: relative; width: min(720px, 88vw); aspect-ratio: 16/10; border-radius: clamp(20px,3vw,46px); overflow: hidden; will-change: transform, border-radius; box-shadow: 0 60px 120px -56px rgba(0,0,0,0.5); }
.stage-frame .overlay { position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 55%); opacity: 0; transition: opacity .6s; }
.stage-frame .overlay.show { opacity: 1; }
.stage-cap { position: absolute; left: 0; right: 0; bottom: 10vh; z-index: 4; text-align: center; color: #fff; padding-inline: var(--pad); opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.stage-cap.show { opacity: 1; transform: none; }
.stage-cap .k { font-size: clamp(1.8rem,4.5vw,3.6rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; text-shadow: 0 2px 36px rgba(0,0,0,0.4); }
.stage-cap .s { margin-top: 14px; font-size: clamp(1.05rem,1.5vw,1.35rem); color: rgba(255,255,255,0.85); }

/* ============================================================
   STATEMENT  (huge centered line, word reveal)
   ============================================================ */
.statement { padding-block: var(--sect); }
.statement p { font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(2rem, 5vw, 4.4rem); line-height: 1.12; letter-spacing: -0.02em; text-align: center; max-width: 18ch; margin-inline: auto; }
.statement .w { display: inline-block; opacity: 0.16; transition: opacity .5s var(--ease); }
.statement .w.on { opacity: 1; }
.statement .accentword { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   STATS
   ============================================================ */
.stats { padding-bottom: var(--sect); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(28px,4vw,60px); text-align: center; }
.stat .v { font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(2.8rem,6vw,5.2rem); letter-spacing: -0.02em; line-height: 1; }
.stat .k { margin-top: 12px; font-size: clamp(0.95rem,1.2vw,1.12rem); color: var(--gray); }

/* ============================================================
   LINEUP (treatments)  minimal big tiles
   ============================================================ */
.lineup { padding-block: var(--sect); background: var(--mist); }
.sec-head { text-align: center; margin-bottom: clamp(56px,8vh,104px); }
.sec-head .kicker { display: block; margin-bottom: 18px; }
.sec-head p { margin: 22px auto 0; max-width: 42ch; }
.tcount { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 0.92rem; font-weight: 500; color: var(--ink-2); }
.tcount .tc-n { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding-inline: 8px; border-radius: 980px; background: var(--accent); color: #fff; font-weight: 700; font-size: 0.92rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,1.6vw,22px); }
.tile { position: relative; background: var(--white); border-radius: clamp(18px,1.8vw,26px); padding: clamp(28px,2.4vw,40px); min-height: clamp(300px,36vh,380px); display: flex; flex-direction: column; overflow: hidden; transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out); }
.tile:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -44px rgba(20,32,29,0.28); }
.tile .tnum { font-family: var(--mono); font-size: 0.78rem; color: var(--gray-2); letter-spacing: 0.04em; }
.tile h3 { font-size: clamp(1.5rem,2vw,2.05rem); font-weight: 600; letter-spacing: -0.03em; margin-top: 10px; }
.tile p { margin-top: 12px; font-size: clamp(0.98rem,1.1vw,1.08rem); color: var(--ink-2); line-height: 1.5; max-width: 34ch; }
.tile .tbadges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tile .tbadge { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 980px; background: var(--accent); color: #fff; }
.tile .tbadge.ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.tile .tmeta { margin-top: auto; padding-top: 24px; display: flex; gap: 8px; flex-wrap: wrap; }
.tile .tmeta span { font-size: 0.8rem; color: var(--ink-2); padding: 7px 13px; border-radius: 980px; background: var(--mist); }
.tile .tgo { position: absolute; right: clamp(22px,2.4vw,32px); top: clamp(22px,2.4vw,32px); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: background .35s, color .35s, transform .4s var(--ease-out); }
.tile .tgo svg { width: 17px; height: 17px; }
.tile:hover .tgo { background: var(--accent); color: #fff; transform: rotate(-45deg); }
.tile.dark { background: var(--black); color: #fff; }
.tile.dark .tnum { color: var(--gray); }
.tile.dark p { color: rgba(255,255,255,0.72); }
.tile.dark .tmeta span { background: rgba(255,255,255,0.1); color: #fff; }
.tile.dark .tbadge.ghost { color: #56d6c0; box-shadow: inset 0 0 0 1px rgba(86,214,192,0.5); }
.tile.dark .tgo { box-shadow: inset 0 0 0 1px var(--line-d); color: #fff; }

.lineup-cta { margin-top: clamp(20px,2vw,28px); padding: clamp(30px,3vw,48px); border-radius: clamp(18px,1.8vw,26px); background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.lineup-cta .lc-text .kicker { display: block; color: rgba(255,255,255,0.85); margin-bottom: 10px; }
.lineup-cta .lc-text h3 { letter-spacing: -0.025em; }
.lineup-cta .lc-text p { margin-top: 8px; color: rgba(255,255,255,0.85); max-width: 46ch; }
.lineup-cta .btn-fill { background: #fff; color: var(--accent-d); }
.lineup-cta .btn-fill:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px -16px rgba(0,0,0,0.4); }

/* ============================================================
   FEATURE (black, DSD, full-bleed media + parallax)
   ============================================================ */
.feature { background: var(--black); color: #fff; padding-block: var(--sect); overflow: hidden; }
.feature .sec-head .kicker { color: #56d6c0; }
.feature h2 { max-width: 16ch; margin-inline: auto; }
.feature .sec-head p { color: rgba(255,255,255,0.66); }
.feature-media { margin: clamp(48px,7vh,96px) auto 0; width: min(1100px, 94vw); aspect-ratio: 16/9; border-radius: clamp(20px,2.4vw,40px); overflow: hidden; box-shadow: 0 70px 140px -60px #000; }
.feature-media .pinner { position: absolute; inset: -12% 0; }
.feature-rows { margin-top: clamp(56px,8vh,104px); display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(30px,4vw,72px); max-width: 1000px; margin-inline: auto; text-align: left; }
.feature-row .fn { font-size: clamp(2.4rem,3.4vw,3.4rem); font-weight: 600; letter-spacing: -0.04em; color: #56d6c0; }
.feature-row h4 { font-size: 1.24rem; font-weight: 600; margin-top: 14px; }
.feature-row p { color: rgba(255,255,255,0.62); margin-top: 8px; font-size: 1rem; line-height: 1.55; }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.results { padding-block: var(--sect); }
.ba-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px,5vw,90px); align-items: center; margin-top: clamp(44px,6vh,80px); }
.ba-compare { position: relative; aspect-ratio: 16/11; border-radius: clamp(18px,2vw,34px); overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; box-shadow: 0 50px 100px -56px rgba(0,0,0,0.4); }
.ba-layer { position: absolute; inset: 0; }
.ba-layer.before { z-index: 2; clip-path: inset(0 50% 0 0); will-change: clip-path; }
.ba-tag { position: absolute; top: 18px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; padding: 7px 14px; border-radius: 980px; background: rgba(0,0,0,0.55); color: #fff; backdrop-filter: blur(6px); z-index: 3; }
.ba-tag.l { left: 18px; } .ba-tag.r { right: 18px; }
.ba-line { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; z-index: 4; transform: translateX(-50%); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 56px; height: 56px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--accent); box-shadow: 0 10px 30px -8px rgba(0,0,0,0.45); }
.ba-knob svg { width: 23px; height: 23px; }
.ba-tabs { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.ba-tab { font-size: 0.88rem; font-weight: 500; color: var(--gray); padding: 9px 18px; border-radius: 980px; box-shadow: inset 0 0 0 1px var(--line); transition: all .3s; }
.ba-tab.on { background: var(--ink); color: #fff; box-shadow: none; }
.ba-info .ci { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--accent); }
.ba-info h3 { margin-top: 14px; }
.ba-info p { color: var(--ink-2); margin-top: 16px; font-size: 1.1rem; line-height: 1.55; }
.ba-quote { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.ba-quote blockquote { font-size: 1.35rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.02em; }
.ba-quote .by { margin-top: 16px; display: flex; align-items: center; gap: 12px; }
.ba-quote .av { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 0.78rem; font-weight: 600; }
.ba-quote .by b { display: block; font-size: 0.92rem; } .ba-quote .by span { font-size: 0.8rem; color: var(--gray); }
.ba-hint { text-align: center; margin-top: 16px; font-size: 0.82rem; color: var(--gray-2); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding-block: var(--sect); background: var(--mist); }
.psteps { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px,3vw,52px); }
.pstep { text-align: left; }
.pstep .pn { font-family: var(--mono); font-size: 0.84rem; color: var(--accent); }
.pstep .pl { margin-top: 16px; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.pstep .pl::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease-out); }
.pstep.in .pl::after { transform: scaleX(1); }
.pstep h3 { font-size: clamp(1.4rem,2vw,1.8rem); font-weight: 600; letter-spacing: -0.025em; margin-top: 22px; }
.pstep p { margin-top: 12px; font-size: 1rem; color: var(--ink-2); line-height: 1.55; }

/* ============================================================
   DOCTOR  (big portrait, sparse text)
   ============================================================ */
.doctor { padding-block: var(--sect); }
.doctor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px,6vw,110px); align-items: center; }
.doctor-photo { position: relative; aspect-ratio: 4/5; border-radius: clamp(22px,2.6vw,42px); overflow: hidden; box-shadow: 0 50px 100px -56px rgba(0,0,0,0.36); }
.doctor-body .kicker { display: block; margin-bottom: 14px; }
.doctor-body .dr { color: var(--gray); font-size: 1.06rem; margin-top: 14px; }
.doctor-body .bio { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.doctor-body .bio p { font-size: 1.12rem; color: var(--ink-2); line-height: 1.6; }
.doctor-quote { margin-top: 34px; padding-left: 24px; border-left: 2px solid var(--accent); }
.doctor-quote p { font-family: var(--display); font-optical-sizing: auto; font-size: clamp(1.4rem,2vw,1.9rem); font-weight: 500; line-height: 1.34; letter-spacing: -0.014em; font-style: italic; }
.doctor-quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 0.92rem; color: var(--gray); }

/* ============================================================
   TESTIMONIAL ROTATOR
   ============================================================ */
.voices { padding-block: var(--sect); background: var(--black); color: #fff; text-align: center; }
.voices .kicker { color: #56d6c0; display: block; margin-bottom: clamp(40px,6vh,72px); }
.rotator { position: relative; max-width: 980px; margin-inline: auto; min-height: clamp(220px,30vh,300px); }
.vquote { position: absolute; inset: 0; opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; }
.vquote.on { opacity: 1; transform: none; pointer-events: auto; }
.vquote blockquote { font-family: var(--display); font-optical-sizing: auto; font-size: clamp(1.5rem,3.2vw,2.7rem); font-weight: 500; line-height: 1.24; letter-spacing: -0.015em; }
.vquote .who { margin-top: clamp(26px,4vh,44px); font-size: 0.98rem; color: rgba(255,255,255,0.7); }
.vquote .who b { color: #fff; font-weight: 600; }
.rdots { display: flex; gap: 9px; justify-content: center; margin-top: clamp(36px,5vh,60px); }
.rdot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.28); transition: background .3s, transform .3s; }
.rdot.on { background: #fff; transform: scale(1.25); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-block: var(--sect); }
.faq-list { max-width: var(--text); margin-inline: auto; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; text-align: left; padding: clamp(26px,3vw,38px) 4px; font-size: clamp(1.3rem,2.2vw,2rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.15; transition: color .3s; }
.faq-q:hover { color: var(--accent); }
.faq-ic { flex-shrink: 0; width: 30px; height: 30px; position: relative; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--ink); transition: transform .4s var(--ease), background .3s; }
.faq-ic::before { left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%); }
.faq-ic::after { top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); }
.faq-item.open .faq-ic::after { transform: translateX(-50%) scaleY(0); }
.faq-item.open .faq-ic::before { background: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .55s var(--ease); }
.faq-a-inner { padding: 0 60px 34px 4px; font-size: clamp(1.08rem,1.4vw,1.25rem); color: var(--ink-2); line-height: 1.6; }

/* ============================================================
   CTA (grand closing) + form
   ============================================================ */
.cta { padding-block: var(--sect); text-align: center; }
.cta h2 { max-width: 16ch; margin: 0 auto; }
.cta .lead { margin: clamp(26px,4vh,42px) auto 0; max-width: 32ch; }
.cta-actions { margin-top: clamp(30px,4vh,44px); display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cform { max-width: 560px; margin: clamp(48px,7vh,80px) auto 0; text-align: left; }
.form-card { background: var(--mist); border-radius: clamp(22px,2.4vw,36px); padding: clamp(28px,3.2vw,46px); }
.form-card h3 { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; }
.form-card .fs { color: var(--gray); margin-top: 8px; font-size: 0.96rem; }
.form-grid { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 500; color: var(--ink-2); }
.field label .rq { color: var(--accent); }
.field input, .field select, .field textarea { font-family: inherit; font-size: 1rem; color: var(--ink); padding: 14px 15px; border-radius: 14px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; width: 100%; }
.field textarea { resize: vertical; min-height: 86px; }
.field input::placeholder, .field textarea::placeholder { color: var(--gray-2); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 2px var(--accent); }
.field select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 42px; }
.form-card .btn { margin-top: 26px; width: 100%; justify-content: center; padding: 1.05em; }
.form-note { font-size: 0.8rem; color: var(--gray-2); text-align: center; margin-top: 14px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.form-note svg { width: 14px; height: 14px; }
.form-ok { display: none; flex-direction: column; align-items: center; text-align: center; padding: 34px 8px; }
.form-ok.show { display: flex; }
.form-ok .ck { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.form-ok .ck svg { width: 30px; height: 30px; }
.form-ok h3 { font-size: 1.7rem; font-weight: 600; }
.form-ok p { color: var(--gray); margin-top: 8px; }

/* ============================================================
   3D TOOTH SHOWCASE
   ============================================================ */
.t3-intro { padding-block: var(--sect) clamp(20px,4vh,50px); text-align: center; }
.t3-intro .kicker { display: block; margin-bottom: 14px; }
.tooth3d { position: relative; height: 480vh; background: var(--white); }
.t3-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
#toothCanvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.t3-head { position: absolute; top: clamp(64px, 11vh, 130px); left: 0; right: 0; z-index: 3; text-align: center; padding-inline: var(--pad); pointer-events: none; }
.t3-head .kicker { display: block; margin-bottom: 14px; }
.t3-head h2 { max-width: 16ch; margin-inline: auto; }
.t3-foot { position: absolute; bottom: clamp(40px, 7vh, 76px); left: 0; right: 0; z-index: 3; text-align: center; pointer-events: none; }
.t3-steps { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 6px; border-radius: 22px; background: rgba(255,255,255,0.7); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 18px; max-width: min(92vw, 620px); }
.t3-step { font-size: clamp(0.74rem, 1vw, 0.86rem); font-weight: 500; color: var(--gray); padding: 8px 16px; border-radius: 980px; transition: color .35s, background .35s; white-space: nowrap; }
.t3-step.on { color: #fff; background: var(--accent); }
.t3-foot .scrollcue { display: block; }
.t3-foot .scrollcue { font-size: 0.82rem; color: var(--gray); display: inline-flex; align-items: center; gap: 8px; }
.t3-foot .scrollcue .dotline { width: 38px; height: 1px; background: var(--gray-2); }
.t3-note { position: absolute; z-index: 3; max-width: 248px; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); pointer-events: none; }
.t3-note.on { opacity: 1; transform: none; }
.t3-note .nn { font-family: var(--mono); font-size: 0.74rem; color: var(--accent); letter-spacing: 0.04em; }
.t3-note h4 { font-size: 1.18rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 8px; }
.t3-note p { font-size: 0.96rem; color: var(--ink-2); line-height: 1.5; margin-top: 6px; }
.t3-note.n0, .t3-note.n2, .t3-note.n4 { left: clamp(22px, 8vw, 140px); }
.t3-note.n1, .t3-note.n3 { right: clamp(22px, 8vw, 140px); text-align: right; }
.t3-note.n0 { top: 38%; } .t3-note.n1 { top: 34%; } .t3-note.n2 { top: 42%; }
.t3-note.n3 { top: 38%; } .t3-note.n4 { top: 34%; }

/* ============================================================
   HORIZONTAL CLINIC GALLERY (pinned)
   ============================================================ */
.gallery { position: relative; height: 320vh; background: var(--mist); }
.g-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.g-head { padding: 0 var(--pad); margin-bottom: clamp(28px, 4vh, 48px); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.g-head .kicker { display: block; margin-bottom: 12px; }
.g-head .gh-r { font-size: 0.86rem; color: var(--gray); white-space: nowrap; }
.g-track { display: flex; gap: clamp(16px, 2vw, 26px); padding-inline: var(--pad); will-change: transform; }
.g-card { position: relative; flex: 0 0 auto; width: clamp(260px, 38vw, 500px); aspect-ratio: 4/5; border-radius: clamp(18px, 2vw, 30px); overflow: hidden; box-shadow: 0 30px 60px -44px rgba(0,0,0,0.3); }
.g-card .gcap { position: absolute; left: 16px; bottom: 16px; z-index: 2; font-size: 0.8rem; font-weight: 500; color: #fff; background: rgba(0,0,0,0.5); backdrop-filter: blur(6px); padding: 7px 13px; border-radius: 980px; }
.g-card.tall { aspect-ratio: 3/4; }
.g-card.wide { aspect-ratio: 1/1; }

/* ============================================================
   VALUES / WHY US
   ============================================================ */
.values { padding-block: var(--sect); background: var(--white); }
.values-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.values-left { position: sticky; top: 120px; }
.values-left .kicker { display: block; margin-bottom: 16px; }
.values-left p { margin-top: 24px; max-width: 32ch; }
.values-list { display: flex; flex-direction: column; }
.vrow { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 40px); padding: clamp(28px, 3.4vw, 44px) 0; border-top: 1px solid var(--line); }
.vrow:last-child { border-bottom: 1px solid var(--line); }
.vrow .vic { width: 52px; height: 52px; border-radius: 14px; background: var(--mist); display: grid; place-items: center; color: var(--accent); }
.vrow .vic svg { width: 24px; height: 24px; }
.vrow .vn { font-family: var(--mono); font-size: 0.78rem; color: var(--gray-2); }
.vrow h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.025em; margin-top: 6px; }
.vrow p { margin-top: 12px; font-size: 1.06rem; color: var(--ink-2); line-height: 1.55; max-width: 46ch; }

@media (prefers-reduced-motion: reduce) {
  .tooth3d { height: auto; } .t3-sticky { position: relative; height: 80vh; }
  .t3-note { position: static; opacity: 1; transform: none; max-width: none; display: inline-block; margin: 8px 16px; }
  .gallery { height: auto; } .g-sticky { position: relative; height: auto; padding-block: 60px; }
  .g-track { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 820px) {
  .t3-note.n0, .t3-note.n1, .t3-note.n2 { left: 50%; right: auto; transform: translateX(-50%) translateY(16px); text-align: center; max-width: 84vw; }
  .t3-note.on { transform: translateX(-50%); }
  .t3-note.n0 { top: auto; bottom: 20%; } .t3-note.n1 { top: auto; bottom: 20%; } .t3-note.n2 { bottom: 20%; }
  .values-grid { grid-template-columns: 1fr; gap: 36px; }
  .values-left { position: static; }
  .g-head .gh-r { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-block: clamp(56px,8vh,90px) 34px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 36px; }
.footer-brand .brand { font-size: 1.5rem; }
.footer-brand p { margin-top: 16px; max-width: 300px; color: var(--gray); line-height: 1.6; font-size: 0.94rem; }
.footer-col h4 { font-size: 0.84rem; font-weight: 600; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { color: var(--gray); font-size: 0.92rem; transition: color .25s; } .footer-col a:hover { color: var(--ink); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 0.82rem; color: var(--gray); }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .35s var(--ease-out), box-shadow .3s; }
.footer-social a:hover { background: var(--accent); color: #fff; box-shadow: none; transform: translateY(-2px); }
.footer-social svg { width: 19px; height: 19px; }

/* ============================================================
   3D — brand watermark + live-render badge
   ============================================================ */
.t3-watermark { position: absolute; left: 50%; bottom: clamp(108px, 17vh, 168px); transform: translateX(-50%); width: clamp(150px, 20vw, 230px); height: auto; opacity: 0.07; z-index: 2; pointer-events: none; filter: grayscale(1); }

/* ============================================================
   FLOATING QUICK-CONTACT (WhatsApp)
   ============================================================ */
.fab-wa { position: fixed; right: clamp(16px, 3vw, 30px); bottom: clamp(16px, 3vw, 30px); z-index: 90; display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px 13px 15px; border-radius: 980px; background: #1faf55; color: #fff; font-weight: 600; font-size: 0.96rem; box-shadow: 0 16px 40px -14px rgba(31,175,85,0.6), 0 4px 12px -4px rgba(0,0,0,0.25); transition: transform .35s var(--ease-out), box-shadow .35s; }
.fab-wa:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(31,175,85,0.7); }
.fab-wa svg { width: 22px; height: 22px; }
.fab-wa::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,175,85,0.5); animation: fabPulse 2.6s var(--ease) infinite; }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(31,175,85,0.45); } 70% { box-shadow: 0 0 0 16px rgba(31,175,85,0); } 100% { box-shadow: 0 0 0 0 rgba(31,175,85,0); } }
@media (prefers-reduced-motion: reduce) { .fab-wa::after { animation: none; } }
@media (max-width: 700px) {
  .fab-wa { padding: 14px; }
  .fab-wa .fab-wa-txt { display: none; }
}

/* ============================================================
   IMAGE PLACEHOLDERS  (monochrome)
   ============================================================ */
.ph { position: relative; width: 100%; height: 100%; display: grid; place-items: center; color: var(--gray);
  background: repeating-linear-gradient(135deg, #ededf0 0 12px, #f4f4f6 12px 24px); }
.ph span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.02em; text-transform: uppercase; background: rgba(255,255,255,0.82); padding: 7px 13px; border-radius: 980px; }
.ph.soft { background: repeating-linear-gradient(135deg, #e9e9ec 0 12px, #f0f0f2 12px 24px); }
.ph.dark { background: repeating-linear-gradient(135deg, #121214 0 12px, #1a1a1d 12px 24px); color: #6a6a70; }
.ph.dark span { background: rgba(0,0,0,0.45); color: #9a9aa0; }
.ph-img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.doctor-photo .ph-img, .stage-frame .ph-img { filter: grayscale(1) contrast(1.02); }
.g-card .ph-img, .ba-layer .ph-img, .feature-media .ph-img { filter: grayscale(1); }
/* prevent native image ghost-drag / text selection while using the before-after slider */
.ba-compare, .ba-compare * { -webkit-user-select: none; -ms-user-select: none; user-select: none; -webkit-user-drag: none; }
.ba-layer img { pointer-events: none; }
body.ba-dragging { cursor: ew-resize; -webkit-user-select: none; user-select: none; }

/* doctor photo — branded placeholder (gerçek hekim fotoğrafı ile değiştirilecek) */
.ph-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 24px;
  background: linear-gradient(155deg, #0f2f2a 0%, #0a221f 55%, #07332c 100%); }
.ph-soon::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 18%, rgba(86,214,192,0.16), transparent 60%); }
.ph-soon-mono { position: relative; font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(3.4rem, 7vw, 5.6rem); letter-spacing: 0.02em; color: #fff; line-height: 1; }
.ph-soon-name { position: relative; color: rgba(255,255,255,0.92); font-weight: 600; font-size: 1.04rem; letter-spacing: 0.01em; }
.ph-soon-sub { position: relative; color: rgba(255,255,255,0.55); font-size: 0.82rem; letter-spacing: 0.04em; }

/* ============================================================
   TREATMENT COVERAGE CHIPS
   ============================================================ */
.tcover { margin-top: clamp(22px,2.4vw,32px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: center; }
.tcover-lbl { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); margin-right: 4px; }
.tchip { font-size: 0.9rem; font-weight: 500; color: var(--ink-2); padding: 9px 16px; border-radius: 980px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }

/* ============================================================
   TECH STACK
   ============================================================ */
.techstack { padding-block: var(--sect); background: var(--white); }
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px,1.5vw,20px); }
.tech-card { background: var(--mist); border-radius: clamp(16px,1.6vw,22px); padding: clamp(24px,2vw,32px); display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.tech-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(0,0,0,0.28); }
.tech-card .tic { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: var(--white); color: var(--accent); box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 18px; }
.tech-card .tic svg { width: 24px; height: 24px; }
.tech-card h4 { font-size: 1.12rem; font-weight: 600; letter-spacing: -0.01em; }
.tech-card p { margin-top: 9px; font-size: 0.95rem; color: var(--ink-2); line-height: 1.5; }

/* ============================================================
   DOCTOR EXPERTISE TAGS
   ============================================================ */
.dr-tags { margin-top: 30px; }
.dr-tags-lbl { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray); margin-bottom: 14px; }
.dr-tags-row { display: flex; flex-wrap: wrap; gap: 9px; }
.dr-tag { font-size: 0.9rem; font-weight: 500; color: var(--accent-d); padding: 9px 15px; border-radius: 980px; background: rgba(14,168,144,0.08); box-shadow: inset 0 0 0 1px rgba(14,168,144,0.22); }

/* ============================================================
   GUIDE / BİLGİ
   ============================================================ */
.guide { padding-block: var(--sect); background: var(--mist-2); }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px,1.8vw,24px); }
.guide-card { background: var(--white); border-radius: clamp(18px,1.8vw,26px); padding: clamp(28px,2.4vw,40px); display: flex; flex-direction: column; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.guide-card:hover { transform: translateY(-5px); box-shadow: 0 40px 80px -48px rgba(0,0,0,0.3); }
.guide-card .gc-cat { align-self: flex-start; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 980px; background: var(--accent); color: #fff; }
.guide-card h3 { font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: clamp(1.3rem,1.8vw,1.7rem); letter-spacing: -0.018em; line-height: 1.12; margin-top: 18px; }
.guide-card p { margin-top: 14px; font-size: 1rem; color: var(--ink-2); line-height: 1.6; }
.guide-card .gc-link { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.95rem; color: var(--accent-d); }
.guide-card .gc-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.guide-card:hover .gc-link svg { transform: translate(3px,-3px); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.s { transform: translateY(30px) scale(0.985); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .line > span { transform: none; }
  .statement .w { opacity: 1; }
  .pstep .pl::after { transform: scaleX(1); }
  html { scroll-behavior: auto; }
  .stage { height: auto; } .stage-sticky { position: relative; height: auto; padding-block: 40px; }
  .stage-cap { position: static; opacity: 1; transform: none; color: var(--ink); margin-top: 24px; }
  .stage-cap .k { text-shadow: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 44px 24px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .feature-rows { grid-template-columns: 1fr; gap: 30px; max-width: 460px; }
  .psteps { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .nav-links { display: none; } .burger { display: grid; }
  .nav-right .btn { padding: 0.55em 1.1em; font-size: 0.84rem; }
  .tiles { grid-template-columns: 1fr; }
  .ba-layout { grid-template-columns: 1fr; }
  .doctor-grid { grid-template-columns: 1fr; }
  .doctor-photo { width: 100%; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 560px) {
  .tech-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  :root { --sect: clamp(72px, 11vh, 130px); }
  /* shorter pinned journeys so mobile scroll doesn't feel endless */
  .stage { height: 200vh; }
  .tooth3d { height: 420vh; }
  .gallery { height: 260vh; }
  /* tap targets */
  .burger { width: 46px; height: 46px; }
  .psteps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  /* 3D: notes top, stepper bottom — no overlap */
  .t3-note { top: 11% !important; bottom: auto !important; left: 50% !important; right: auto !important; transform: translateX(-50%) translateY(16px); text-align: center !important; max-width: 84vw; }
  .t3-note.on { transform: translateX(-50%); }
  .t3-steps { gap: 5px; padding: 5px; }
  .t3-step { padding: 8px 12px; }
  .t3-foot { bottom: clamp(22px, 4vh, 50px); }
  .t3-watermark { display: none; }
  /* gallery cards a touch smaller, snappy */
  .g-card { width: clamp(230px, 74vw, 320px); }
  .g-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  /* type breathing room */
  .hero { padding-top: clamp(118px, 17vh, 160px); }
  .hero .lead, .cta .lead { max-width: 19ch; margin-inline: auto; font-size: 1.08rem; }
  .hero-actions { gap: 16px; width: 100%; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .statement p { font-size: clamp(1.85rem, 7.5vw, 2.6rem); max-width: 20ch; }
  .sec-head { margin-bottom: clamp(40px, 6vh, 64px); }
  .tile { min-height: clamp(300px, 52vh, 360px); padding: 30px; }
  .vrow { grid-template-columns: 1fr; gap: 14px; }
  .lineup-cta { flex-direction: column; align-items: flex-start; gap: 22px; }
  .lineup-cta .btn { width: 100%; justify-content: center; }
  .vrow .vic { width: 48px; height: 48px; }
  .ba-tabs { gap: 6px; } .ba-tab { padding: 8px 14px; font-size: 0.82rem; }
  .ba-knob { width: 48px; height: 48px; }
  .form-card { padding: 24px; }
  .footer-top { gap: 30px; }
}
@media (max-width: 430px) {
  .brand-logo { height: 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 34px 18px; }
  .stat .v { font-size: clamp(2.4rem, 13vw, 3.2rem); }
  .t3-step { font-size: 0.72rem; padding: 7px 10px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .clink { justify-content: center; }
  .cta-actions { width: 100%; } .cta-actions .btn { flex: 1; justify-content: center; }
}

/* ============================================================
   CONTACT MAP
   ============================================================ */
.cmap { margin-top: clamp(44px,7vh,84px); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(20px,3vw,44px); align-items: stretch; text-align: left; }
.cmap-info { display: flex; flex-direction: column; }
.cmap-info .kicker { display: block; margin-bottom: 12px; }
.cmap-info h3 { letter-spacing: -0.02em; }
.cmap-addr { margin-top: 16px; font-size: 1.06rem; line-height: 1.6; color: var(--ink-2); }
.cmap-list { list-style: none; margin: 22px 0 28px; display: flex; flex-direction: column; gap: 12px; }
.cmap-list li { display: flex; align-items: center; gap: 10px; font-size: 0.98rem; color: var(--ink-2); }
.cmap-list li svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.cmap-list a { color: var(--ink); }
.cmap-info .btn { align-self: flex-start; margin-top: auto; }
.cmap-frame { position: relative; min-height: 360px; border-radius: clamp(18px,2vw,30px); overflow: hidden; box-shadow: 0 40px 90px -50px rgba(0,0,0,0.4); }
.cmap-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 820px) {
  .cmap { grid-template-columns: 1fr; gap: 24px; }
  .cmap-info .btn { width: 100%; justify-content: center; margin-top: 8px; }
  .cmap-frame { min-height: 300px; }
}

/* ============================================================
   AI CHAT ASSISTANT  (n8n bağlantılı)
   ============================================================ */
.chat-fab { position: fixed; right: clamp(16px, 3vw, 30px); bottom: calc(clamp(16px, 3vw, 30px) + 70px); z-index: 101;
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 18px 13px 14px; border-radius: 980px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
  box-shadow: 0 16px 40px -14px rgba(14,168,144,0.6), 0 4px 12px -4px rgba(0,0,0,0.25); transition: transform .35s var(--ease-out), box-shadow .35s, opacity .3s; }
.chat-fab:hover { transform: translateY(-3px); box-shadow: 0 22px 50px -16px rgba(14,168,144,0.7); }
.chat-fab svg { width: 22px; height: 22px; }
.chat-fab .chat-fab-dot { position: absolute; top: 9px; right: 14px; width: 9px; height: 9px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 2px rgba(255,255,255,0.85); }
.chat-fab.hidden { opacity: 0; pointer-events: none; transform: scale(0.8); }

.chat-panel { position: fixed; right: clamp(14px, 3vw, 30px); bottom: clamp(14px, 3vw, 30px); z-index: 120;
  width: min(396px, calc(100vw - 28px)); height: min(620px, calc(100vh - 40px)); display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border-radius: 26px; box-shadow: 0 50px 120px -30px rgba(0,0,0,0.5), 0 12px 32px -12px rgba(0,0,0,0.3);
  opacity: 0; transform: translateY(24px) scale(0.96); transform-origin: bottom right; pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out); }
.chat-panel.open { opacity: 1; transform: none; pointer-events: auto; }

.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--black); color: #fff; }
.chat-head .ch-av { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; overflow: hidden; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.02rem; color: #fff; background: var(--grad); }
.chat-head .ch-av img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; border-radius: 50%; display: block; }
.chat-spin { width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff; border-radius: 50%; animation: chatSpin .7s linear infinite; display: inline-block; }
@keyframes chatSpin { to { transform: rotate(360deg); } }
.chat-head .ch-meta { flex: 1; min-width: 0; }
.chat-head .ch-name { font-weight: 600; font-size: 0.98rem; letter-spacing: -0.01em; }
.chat-head .ch-status { font-size: 0.76rem; color: rgba(255,255,255,0.6); display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.chat-head .ch-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #4ade80; }
.chat-head .ch-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,0.1); color: #fff; display: grid; place-items: center; transition: background .25s; }
.chat-head .ch-close:hover { background: rgba(255,255,255,0.2); }
.chat-head .ch-close svg { width: 18px; height: 18px; }

.chat-body { flex: 1; overflow-y: auto; padding: 18px; background: var(--mist); display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.chat-body::-webkit-scrollbar { width: 7px; } .chat-body::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.16); border-radius: 980px; }

/* intro form */
.chat-intro { background: var(--white); border-radius: 18px; padding: 20px; box-shadow: 0 16px 40px -28px rgba(0,0,0,0.3); }
.chat-intro h4 { font-family: var(--display); font-optical-sizing: auto; font-weight: 600; font-size: 1.28rem; letter-spacing: -0.015em; line-height: 1.15; }
.chat-intro p { margin-top: 8px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.5; }
.chat-field { margin-top: 14px; }
.chat-field label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.chat-field label .rq { color: var(--accent); }
.chat-field input, .chat-field textarea { width: 100%; font-family: var(--sans); font-size: 0.92rem; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; outline: none; transition: border-color .25s, background .25s; }
.chat-field textarea { resize: none; min-height: 76px; line-height: 1.45; }
.chat-field input:focus, .chat-field textarea:focus { border-color: var(--accent); background: #fff; }
.chat-field input.err, .chat-field textarea.err { border-color: #e0584f; background: #fdf2f1; }
.chat-intro-btn { width: 100%; margin-top: 16px; border: 0; cursor: pointer; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: #fff; background: var(--grad); border-radius: 12px; padding: 13px; transition: transform .3s var(--ease-out), opacity .3s; }
.chat-intro-btn:hover { transform: translateY(-2px); }
.chat-intro-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.chat-kvkk { margin-top: 12px; font-size: 0.72rem; color: var(--gray); line-height: 1.45; display: flex; gap: 7px; }
.chat-kvkk svg { width: 13px; height: 13px; flex: 0 0 auto; margin-top: 2px; color: var(--accent); }

/* bubbles */
.chat-msg { max-width: 84%; padding: 11px 14px; border-radius: 16px; font-size: 0.92rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; animation: chatIn .35s var(--ease-out); }
.chat-msg.bot { align-self: flex-start; background: var(--white); color: var(--ink); border-bottom-left-radius: 5px; box-shadow: 0 8px 22px -18px rgba(0,0,0,0.4); }
.chat-msg.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
@keyframes chatIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-typing { align-self: flex-start; background: var(--white); padding: 13px 16px; border-radius: 16px; border-bottom-left-radius: 5px; display: inline-flex; gap: 4px; box-shadow: 0 8px 22px -18px rgba(0,0,0,0.4); }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--gray-2); animation: chatDot 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2) { animation-delay: .18s; } .chat-typing span:nth-child(3) { animation-delay: .36s; }
@keyframes chatDot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

/* input row */
.chat-input { display: flex; align-items: flex-end; gap: 8px; padding: 12px; background: var(--white); border-top: 1px solid var(--line); }
.chat-input textarea { flex: 1; font-family: var(--sans); font-size: 0.92rem; color: var(--ink); background: var(--mist); border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; outline: none; resize: none; max-height: 110px; line-height: 1.4; transition: border-color .25s; }
.chat-input textarea:focus { border-color: var(--accent); }
.chat-send { width: 42px; height: 42px; flex: 0 0 auto; border: 0; cursor: pointer; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease-out), opacity .3s; }
.chat-send:hover { transform: translateY(-2px); }
.chat-send svg { width: 19px; height: 19px; }
.chat-input.locked textarea { opacity: 0.55; }
.chat-input.locked .chat-send { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.chat-foot { text-align: center; font-size: 0.68rem; color: var(--gray-2); padding: 0 0 9px; background: var(--white); }

@media (prefers-reduced-motion: reduce) { .chat-fab .chat-fab-dot, .chat-typing span { animation: none; } }
@media (max-width: 480px) {
  .chat-panel { left: 8px; right: 8px; top: 8px; bottom: 8px; width: auto; height: auto; border-radius: 20px; }
  .chat-fab .chat-fab-txt { display: none; }
  .chat-fab { padding: 14px; }
}
