/* =========================================================
   Fiyat hesaplayıcı (/fiyat-hesapla) + tanıtım bandı (views/calc/teaser.php) — Gece tasarım sistemi
   Koyu varsayılan; gündüz modu :root[data-theme="light"] ile. Hero içindeki renkler --txt-d / --txt-d2 / --line-d
   değişkenlerinden gelir (gündüzde site.css bunları açık tona çevirir).
   ========================================================= */
.ta .calc-hero { padding: 140px 0 88px; }
.ta .calc-hero__in { display: grid; gap: 34px; justify-items: center; }
.ta .calc-head { text-align: center; max-width: 760px; display: flex; flex-direction: column; align-items: center; }
.ta .calc-head .ta-crumbs { justify-content: center; }
.ta .calc-h1 { margin-top: 20px; font: 300 clamp(34px, 5vw, 62px)/1.04 var(--fd); letter-spacing: -.04em; color: var(--txt-d); text-wrap: balance; }
.ta .calc-lead { margin-top: 18px; font-size: clamp(15.5px, 1.4vw, 18px); line-height: 1.6; color: var(--txt-d2); max-width: 600px; text-wrap: pretty; }

/* Kart */
.ta .calc-box {
  position: relative; width: 100%; max-width: 880px; padding: clamp(20px, 3.4vw, 40px); border-radius: 28px;
  background: linear-gradient(165deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .85);
  backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3);
  color: var(--txt-d); scroll-margin-top: 90px;
}

/* İlerleme */
.ta .calc-prog { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.ta .calc-prog__bar { flex: 1; height: 6px; border-radius: 9px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.ta .calc-prog__bar i { display: block; height: 100%; width: 4%; border-radius: inherit; background: var(--grad); transition: width .45s var(--ease); }
.ta .calc-prog small { flex: none; min-width: 74px; text-align: right; font-size: 13px; font-weight: 500; color: var(--txt-d2); font-variant-numeric: tabular-nums; }

/* Soru ekranı */
.ta .calc-stage.is-in > * { animation: calc-in .38s var(--ease) both; }
.ta .calc-stage.is-in > .calc-opts { animation-delay: .05s; }
@keyframes calc-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.ta .calc-back {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; margin: -6px 0 14px -10px; padding: 0 12px 0 8px; border: 0; border-radius: 999px;
  background: none; color: var(--txt-d2); font: 500 14px/1 var(--f); cursor: pointer; transition: background .2s, color .2s;
}
.ta .calc-back:hover { background: rgba(255, 255, 255, .06); color: var(--txt-d); }
.ta .calc-back .ico { width: 16px; height: 16px; }
.ta .calc-kicker { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.ta .calc-q { margin-top: 8px; font: 400 clamp(23px, 2.8vw, 32px)/1.18 var(--fd); letter-spacing: -.025em; color: var(--txt-d); text-wrap: balance; outline: none; }
.ta .calc-hint { margin-top: 8px; font-size: 14.5px; color: var(--txt-d2); }
.ta .calc-hint a { color: var(--cyan); }

.ta .calc-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
.ta .calc-opts--svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ta .calc-opt {
  position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 78px; padding: 16px 18px; text-align: left;
  border-radius: 18px; border: 1px solid rgba(255, 255, 255, .11); background: rgba(255, 255, 255, .035);
  color: var(--txt-d); font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: border-color .2s, background .2s, transform .18s var(--ease), box-shadow .2s;
}
.ta .calc-opt:hover { border-color: rgba(94, 224, 232, .45); background: rgba(255, 255, 255, .06); transform: translateY(-1px); }
.ta .calc-opt:active { transform: scale(.985); }
.ta .calc-opt.is-on { border-color: var(--tq); background: rgba(15, 163, 177, .14); box-shadow: 0 0 0 1px var(--tq) inset, 0 14px 30px -18px rgba(15, 163, 177, .9); }
.ta .calc-opt__tx { display: grid; gap: 3px; min-width: 0; flex: 1; }
.ta .calc-opt__tx b { font: 500 16.5px/1.3 var(--fd); letter-spacing: -.01em; }
.ta .calc-opt__tx small { font-size: 13.5px; line-height: 1.4; color: var(--txt-d2); }
.ta .calc-opt__go { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--txt-d2); transition: transform .25s var(--ease), color .2s, background .2s; }
.ta .calc-opt__go .ico { width: 16px; height: 16px; }
.ta .calc-opt:hover .calc-opt__go, .ta .calc-opt.is-on .calc-opt__go { transform: translateX(3px); color: #031416; background: var(--cyan); }
.ta .calc-opt__ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(94, 224, 232, .1); color: var(--cyan); }
.ta .calc-opt__ic .ico { width: 22px; height: 22px; }
.ta .calc-opt--svc { min-height: 96px; }
.ta .calc-opt__box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .28); color: transparent; transition: all .2s; }
.ta .calc-opt__box .ico { width: 15px; height: 15px; }
.ta .calc-opt.is-on .calc-opt__box { background: var(--tq); border-color: var(--tq); color: #031416; }
.ta .calc-next { display: flex; justify-content: flex-end; margin-top: 20px; }

/* Sonuç */
.ta .calc-res__k { font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); outline: none; }
.ta .calc-seg { margin-top: 14px; }
.ta .calc-cards { display: grid; gap: 14px; margin-top: 18px; }
.ta .calc-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ta .calc-card {
  display: flex; flex-direction: column; padding: clamp(20px, 2.6vw, 28px); border-radius: 22px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); min-width: 0;
}
.ta .calc-card.is-main { background: linear-gradient(160deg, rgba(15, 163, 177, .16), rgba(255, 255, 255, .03) 60%); border-color: rgba(94, 224, 232, .35); }
.ta .calc-card__svc { font-size: 13px; color: var(--txt-d2); }
.ta .calc-card__n { margin-top: 4px; font: 400 clamp(26px, 3vw, 34px)/1.1 var(--fd); letter-spacing: -.03em; color: var(--txt-d); }
.ta .calc-card__n small { display: inline-block; margin-left: 6px; font: 600 11.5px/1 var(--f); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); vertical-align: middle; }
.ta .calc-card__price { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.ta .calc-card__price b { font: 500 clamp(30px, 3.6vw, 40px)/1 var(--fd); letter-spacing: -.03em; color: var(--txt-d); font-variant-numeric: tabular-nums; }
.ta .calc-card__price small { font-size: 14px; color: var(--txt-d2); }
.ta .calc-card__alt { margin-top: 6px; font-size: 13.5px; color: var(--txt-d2); }
.ta .calc-card__d { margin-top: 12px; font-size: 14.5px; line-height: 1.55; color: var(--txt-d2); }
.ta .calc-card__intro { margin-top: 16px; font-size: 13px; font-weight: 600; color: var(--txt-d); }
.ta .calc-card__f { display: grid; gap: 8px; margin-top: 10px; }
.ta .calc-card__f li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; color: var(--txt-d2); }
.ta .calc-card__f .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--cyan); }
.ta .calc-card__act { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: auto; padding-top: 22px; }
.ta .calc-card__act .ta-btn { margin-bottom: 6px; }
.ta .calc-card__more { font-size: 13.5px; color: var(--txt-d2); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.ta .calc-card__more:hover { color: var(--cyan); border-bottom-color: currentColor; }

.ta .calc-why, .ta .calc-sum__note { display: flex; gap: 9px; align-items: flex-start; margin-top: 14px; font-size: 13.5px; line-height: 1.5; color: var(--txt-d2); }
.ta .calc-why .ico, .ta .calc-sum__note .ico { width: 16px; height: 16px; margin-top: 2px; color: var(--cyan); }

.ta .calc-sum { margin-top: 18px; padding: clamp(18px, 2.4vw, 24px); border-radius: 22px; background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .08); }
.ta .calc-sum__rows { display: grid; gap: 10px; }
.ta .calc-sum__r { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: var(--txt-d); }
.ta .calc-sum__r span { min-width: 0; }
.ta .calc-sum__r b { flex: none; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.ta .calc-sum__r.is-sub { color: var(--txt-d2); }
.ta .calc-sum__r.is-sub span::before { content: "+ "; opacity: .6; }
.ta .calc-sum__r.is-maybe { opacity: .8; font-style: italic; }
.ta .calc-sum__r em { font-style: normal; color: #7ef0c4; }
.ta .calc-sum__tot { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .16); }
.ta .calc-sum__tot span { font-size: 15px; font-weight: 600; color: var(--txt-d); }
.ta .calc-sum__tot small { font-weight: 400; color: var(--txt-d2); }
.ta .calc-sum__tot b { font: 500 clamp(22px, 2.6vw, 28px)/1.15 var(--fd); letter-spacing: -.02em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.ta .calc-sum__pay { margin-top: 6px; font-size: 13.5px; color: var(--txt-d2); }

/* Talep formu */
.ta .calc-lead-card { margin-top: 22px; padding: clamp(20px, 2.8vw, 28px); border-radius: 22px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .12); scroll-margin-top: 90px; }
.ta .calc-lead-card__head { display: flex; gap: 14px; align-items: flex-start; }
.ta .calc-lead-card__ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: rgba(94, 224, 232, .12); color: var(--cyan); }
.ta .calc-lead-card h2 { font: 400 clamp(21px, 2.3vw, 26px)/1.2 var(--fd); letter-spacing: -.02em; color: var(--txt-d); }
.ta .calc-lead-card__head p { margin-top: 4px; font-size: 14px; color: var(--txt-d2); }
.ta .calc-form { margin-top: 18px; gap: 14px; }
.ta .calc-err { padding: 10px 14px; border-radius: 12px; font-size: 14px; background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .35); color: #fecaca; }
.ta .calc-err[hidden] { display: none; }
.ta .calc-or { text-align: center; font-size: 14px; color: var(--txt-d2); }
.ta .calc-or a { color: var(--txt-d); font-weight: 600; }
.ta .ta-btn.is-busy { opacity: .7; pointer-events: none; }
.ta .calc-restart { display: inline-flex; align-items: center; gap: 7px; margin: 18px auto 0; padding: 8px 12px; border: 0; border-radius: 999px; background: none; color: var(--txt-d2); font: 500 14px/1 var(--f); cursor: pointer; }
.ta .calc-restart:hover { color: var(--txt-d); background: rgba(255, 255, 255, .06); }
.ta .calc-restart .ico { width: 15px; height: 15px; }
.ta .calc-res { display: flex; flex-direction: column; }
.ta .calc-res > div:first-child { min-width: 0; }
.ta .calc-res[hidden], .ta .calc-stage[hidden] { display: none; }

/* Alt bölümler */
.ta .calc-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.ta .calc-steps li { padding: 26px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line-l); }
.ta .calc-steps span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: rgba(15, 163, 177, .12); color: var(--teal); font: 600 16px/1 var(--fd); }
.ta .calc-steps b { display: block; margin-top: 16px; font: 500 18px/1.3 var(--fd); letter-spacing: -.01em; }
.ta .calc-steps p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.ta .calc-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-top: 30px; font-size: 15px; color: var(--ink-2); }
.ta .calc-links a { color: var(--teal); font-weight: 500; border-bottom: 1px solid currentColor; }
.ta .calc-how { padding-bottom: clamp(40px, 5vw, 64px); }
.ta .calc-faq { padding-top: clamp(40px, 5vw, 64px); border-top: 0; }

/* Gündüz modu */
:root[data-theme="light"] .ta .calc-box { background: rgba(255, 255, 255, .86); border-color: rgba(20, 22, 26, .08); box-shadow: inset 0 1px 0 #fff, 0 40px 80px -44px rgba(10, 26, 47, .45); }
:root[data-theme="light"] .ta .calc-prog__bar { background: rgba(20, 22, 26, .08); }
:root[data-theme="light"] .ta .calc-back:hover, :root[data-theme="light"] .ta .calc-restart:hover { background: rgba(20, 22, 26, .05); }
:root[data-theme="light"] .ta .calc-kicker, :root[data-theme="light"] .ta .calc-res__k, :root[data-theme="light"] .ta .calc-card__n small { color: #0b7f8a; }
:root[data-theme="light"] .ta .calc-opt { background: #fff; border-color: rgba(20, 22, 26, .12); }
:root[data-theme="light"] .ta .calc-opt:hover { border-color: rgba(15, 163, 177, .55); background: #fff; box-shadow: 0 12px 26px -20px rgba(10, 26, 47, .5); }
:root[data-theme="light"] .ta .calc-opt.is-on { background: rgba(15, 163, 177, .08); border-color: var(--tq); }
:root[data-theme="light"] .ta .calc-opt__ic { background: rgba(15, 163, 177, .1); color: #0b7f8a; }
:root[data-theme="light"] .ta .calc-opt:hover .calc-opt__go, :root[data-theme="light"] .ta .calc-opt.is-on .calc-opt__go { background: var(--tq); color: #fff; }
:root[data-theme="light"] .ta .calc-opt__box { border-color: rgba(20, 22, 26, .25); }
:root[data-theme="light"] .ta .calc-opt.is-on .calc-opt__box { color: #fff; }
:root[data-theme="light"] .ta .calc-card { background: #fff; border-color: rgba(20, 22, 26, .1); }
:root[data-theme="light"] .ta .calc-card.is-main { background: linear-gradient(160deg, rgba(15, 163, 177, .09), #fff 60%); border-color: rgba(15, 163, 177, .4); }
:root[data-theme="light"] .ta .calc-card__f .ico, :root[data-theme="light"] .ta .calc-why .ico, :root[data-theme="light"] .ta .calc-sum__note .ico { color: #0b7f8a; }
:root[data-theme="light"] .ta .calc-card__more:hover { color: #0b7f8a; }
:root[data-theme="light"] .ta .calc-sum { background: #f6f4f0; border-color: rgba(20, 22, 26, .08); }
:root[data-theme="light"] .ta .calc-sum__tot { border-top-color: rgba(20, 22, 26, .16); }
:root[data-theme="light"] .ta .calc-sum__r em { color: #047857; }
:root[data-theme="light"] .ta .calc-lead-card { background: #fff; border-color: rgba(20, 22, 26, .1); }
:root[data-theme="light"] .ta .calc-lead-card__ic { background: rgba(15, 163, 177, .1); color: #0b7f8a; }
:root[data-theme="light"] .ta .calc-err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* Mobil */
@media (max-width: 760px) {
  .ta .calc-cards--2 { grid-template-columns: 1fr; }
  .ta .calc-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ta .calc-hero { padding: 116px 0 56px; }
  .ta .calc-hero__in { gap: 24px; }
  .ta .calc-box { border-radius: 22px; padding: 18px 16px 20px; margin: 0 -4px; width: calc(100% + 8px); }
  .ta .calc-opts, .ta .calc-opts--svc { grid-template-columns: 1fr; gap: 10px; margin-top: 18px; }
  .ta .calc-opt { min-height: 68px; padding: 14px 14px; gap: 12px; }
  .ta .calc-opt--svc { min-height: 80px; }
  .ta .calc-opt__ic { width: 42px; height: 42px; border-radius: 12px; }
  .ta .calc-next .ta-btn { width: 100%; }
  .ta .calc-seg { display: grid; width: 100%; }
  .ta .calc-seg button { min-width: 0; }
  .ta .calc-card__act .ta-btn { white-space: normal; height: auto; min-height: 50px; padding: 12px 18px; }
  .ta .calc-sum__r { font-size: 13.5px; }
  .ta .calc-lead-card .ta-form__row { grid-template-columns: 1fr; }
  .ta .calc-faq .ta-faq { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .ta .calc-stage.is-in > * { animation: none; }
  .ta .calc-prog__bar i { transition: none; }
}

/* =========================================================
   Tanıtım bandı (views/calc/teaser.php)
   ========================================================= */
.ta .calc-tz { padding: clamp(28px, 5vw, 56px) 0; }
.ta .calc-tz__in {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 22px 40px; overflow: hidden; isolation: isolate;
  padding: clamp(24px, 4vw, 44px); border-radius: 28px; color: #e9eef3;
  background: radial-gradient(70% 120% at 100% 0%, rgba(15, 163, 177, .35), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(6, 64, 74, .7), transparent 60%), #0b0d10;
  border: 1px solid rgba(94, 224, 232, .18); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .8);
}
.ta .calc-tz__k { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #5ee0e8; }
.ta .calc-tz__k .ico { width: 16px; height: 16px; }
.ta .calc-tz h2 { margin-top: 10px; font: 400 clamp(24px, 3vw, 36px)/1.12 var(--fd); letter-spacing: -.03em; color: #fff; text-wrap: balance; }
.ta .calc-tz p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: #9aa5b1; max-width: 560px; }
.ta .calc-tz__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ta .calc-tz__chips li { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; color: #cfe9ec; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.ta .calc-tz__chips .ico { width: 14px; height: 14px; color: #5ee0e8; }
.ta .calc-tz__act { display: grid; gap: 10px; justify-items: center; }
.ta .calc-tz__act small { font-size: 13px; color: #9aa5b1; }
:root[data-theme="light"] .ta .calc-tz__in { color: var(--ink); background: radial-gradient(70% 120% at 100% 0%, rgba(15, 163, 177, .16), transparent 60%), #fff; border-color: rgba(15, 163, 177, .25); box-shadow: 0 30px 60px -40px rgba(10, 26, 47, .4); }
:root[data-theme="light"] .ta .calc-tz h2 { color: var(--ink); }
:root[data-theme="light"] .ta .calc-tz p, :root[data-theme="light"] .ta .calc-tz__act small { color: var(--ink-2); }
:root[data-theme="light"] .ta .calc-tz__k, :root[data-theme="light"] .ta .calc-tz__chips .ico { color: #0b7f8a; }
:root[data-theme="light"] .ta .calc-tz__chips li { color: var(--ink-2); background: rgba(20, 22, 26, .03); border-color: rgba(20, 22, 26, .1); }
@media (max-width: 760px) {
  .ta .calc-tz__in { grid-template-columns: 1fr; }
  .ta .calc-tz__act { justify-items: stretch; text-align: center; }
  .ta .calc-tz__act .ta-btn { width: 100%; }
}
