/* ============================================================
   VergiRota — site stili
   Palet: petrol yeşili (güven/denetim) + bakır aksan (rota/yön)
   Tipografi: Bricolage Grotesque (display) + Figtree (body)
   ============================================================ */
:root {
  --paper: #f4f6f2;
  --card: #ffffff;
  --ink: #12322c;
  --ink-deep: #0a221e;
  --body: #33443f;
  --accent: #b96a2b;
  --accent-deep: #8f4e1b;
  --accent-soft: #f6e8da;
  --ok: #2e7d5b;
  --muted: #5f6f6a;
  --line: #dde4dc;
  --warn-bg: #fdf3e4;
  --warn-line: #ecd9b8;
  --radius: 14px;
  --shadow: 0 2px 16px rgba(10, 34, 30, 0.07);
  --maxw: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: "Figtree", system-ui, -apple-system, sans-serif;
  background: var(--paper);
  color: var(--body);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Bricolage Grotesque", "Figtree", sans-serif;
  color: var(--ink);
  line-height: 1.18;
  letter-spacing: -0.015em;
}
h1 { font-size: clamp(1.9rem, 4.6vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); font-weight: 700; margin-bottom: .6rem; }
h3 { font-size: 1.15rem; font-weight: 600; }
p + p { margin-top: .8rem; }
a { color: var(--accent-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
img, svg { max-width: 100%; }
.icon { width: 1.15em; height: 1.15em; vertical-align: -0.2em; flex: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 242, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.25rem; color: var(--ink); text-decoration: none; }
.logo svg { width: 26px; height: 26px; }
.logo b { color: var(--accent); font-weight: 700; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--accent-deep); }
.nav a.active { color: var(--accent-deep); border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.nav .btn { margin-left: .35rem; }

.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px; padding: .45rem .6rem; cursor: pointer; color: var(--ink); }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .4rem; }
  .nav {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 1rem 1.2rem; gap: .9rem;
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
  .nav .btn { margin-left: 0; text-align: center; }
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--accent); color: #fff; border: none; cursor: pointer;
  font: 600 1rem "Figtree", sans-serif;
  padding: .78rem 1.4rem; border-radius: 999px; text-decoration: none;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--accent-deep); color: #fff; transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { padding: .5rem 1rem; font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding: 3.2rem 0 2.6rem; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 2.5rem; align-items: center; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero-visual { max-width: 380px; margin: 0 auto; } }
.hero .kicker { display: inline-flex; align-items: center; gap: .5rem; background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; margin-bottom: 1rem; }
.hero p.lead { margin: 1.1rem 0 1.6rem; font-size: 1.12rem; max-width: 34rem; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.hero .assurance { margin-top: 1rem; font-size: .88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.hero .assurance span { display: inline-flex; align-items: center; gap: .35rem; }

/* ---------- Hero rota animasyonu ---------- */
.route-svg { width: 100%; height: auto; overflow: visible; }
/* soluk planlanan iz */
.route-track { opacity: .3; }
/* rota kendini çizer (pathLength=1 → dashoffset 1→0) */
.route-draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: route-draw 2.4s ease-in-out .3s forwards; }
@keyframes route-draw { to { stroke-dashoffset: 0; } }
/* kilometre taşları sırayla "pop" */
.route-dot { opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; animation: route-pop .5s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: calc(.5s + var(--i) * .58s); }
@keyframes route-pop { to { opacity: 1; transform: scale(1); } }
/* exit noktası belirdikten sonra hafifçe parlar */
.route-dot--exit { animation: route-pop .5s cubic-bezier(.34,1.56,.64,1) forwards, route-glow 2.4s ease-in-out 2.8s infinite; }
@keyframes route-glow { 0%,100% { filter: drop-shadow(0 0 0 rgba(46,125,91,0)); } 50% { filter: drop-shadow(0 0 5px rgba(46,125,91,.75)); } }
/* etiketler sırayla belirir */
.route-labels text { opacity: 0; animation: route-fade .6s ease forwards; animation-delay: calc(.7s + var(--i) * .58s); }
@keyframes route-fade { to { opacity: .95; } }
/* rotada gezen ışık */
.route-runner { filter: drop-shadow(0 0 3px rgba(185,106,43,.65)); }
/* hareket tercihini kapatanlar için: her şey son halinde, animasyon yok */
@media (prefers-reduced-motion: reduce) {
  .route-draw { animation: none; stroke-dashoffset: 0; }
  .route-dot, .route-dot--exit { animation: none; opacity: 1; transform: none; }
  .route-labels text { animation: none; opacity: .95; }
  .route-runner { display: none; }
}

/* ---------- Bölümler ---------- */
section { padding: 2.6rem 0; }
section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: 1.6rem; }
.section-head .eyebrow { color: var(--accent-deep); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; }

/* Acı aynası */
.pains { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 720px) { .pains { grid-template-columns: 1fr; } }
.pain {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow);
}
.pain blockquote { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; color: var(--ink); font-size: 1.06rem; margin-bottom: .5rem; }
.pain p { font-size: .95rem; }
.pain p strong { color: var(--ok); }

/* Hizmetler — asimetrik: 1 büyük + 2 küçük */
.services { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 1rem; }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }
.service {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .6rem;
}
.service.major { grid-row: span 2; background: var(--ink); border-color: var(--ink); }
.service.major h3, .service.major p { color: #eef3ee; }
.service.major h3 { font-size: 1.35rem; }
.service.major .tag { background: rgba(255,255,255,.12); color: #f2d9be; }
.service .tag { align-self: flex-start; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; background: var(--accent-soft); color: var(--accent-deep); padding: .2rem .6rem; border-radius: 6px; }
.service ul { list-style: none; margin-top: .3rem; display: grid; gap: .45rem; }
.service ul li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; }
.service.major ul li { color: #cfdcd2; }
.service ul .icon { color: var(--ok); margin-top: .2em; }
.service.major ul .icon { color: #7fc9a4; }
.service a.more { margin-top: auto; font-weight: 600; }
.service.major a.more { color: #f2d9be; }

/* Adımlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1rem;
  color: var(--accent); display: block; margin-bottom: .4rem;
}
.step h3 { margin-bottom: .35rem; }
.step p { font-size: .95rem; }

/* Güven şeridi */
.proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
@media (max-width: 720px) { .proof { grid-template-columns: 1fr; } }
.proof-item { border-left: 3px solid var(--accent); padding: .2rem 0 .2rem 1rem; }
.proof-item .num { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--ink); display: block; }
.proof-item .cap { font-size: .9rem; color: var(--muted); }

/* ---------- İçerik sayfaları ---------- */
.page-hero { padding: 2.6rem 0 1.2rem; }
.page-hero .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .7rem; }
.page-hero .crumbs a { color: var(--muted); }
.page-hero .updated { display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; font-size: .85rem; color: var(--ok); font-weight: 600; }

.content { max-width: 46rem; }
.content h2 { margin-top: 2.2rem; }
.content h3 { margin-top: 1.4rem; margin-bottom: .3rem; }
.content ul, .content ol { padding-left: 1.3rem; margin: .6rem 0; display: grid; gap: .35rem; }
.content .note {
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 10px;
  padding: .9rem 1.1rem; font-size: .93rem; margin: 1rem 0;
}
.content .note strong { color: var(--accent-deep); }

/* Özet kutusu (AI/featured-snippet dostu) */
.keyfacts {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; margin: 1.4rem 0; box-shadow: var(--shadow);
}
.keyfacts h2, .keyfacts h3 { margin: 0 0 .6rem; font-size: 1.05rem; }
.keyfacts dl { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; font-size: .95rem; }
@media (max-width: 560px) { .keyfacts dl { grid-template-columns: 1fr; gap: .1rem; } .keyfacts dd { margin-bottom: .5rem; } }
.keyfacts dt { font-weight: 700; color: var(--ink); }

/* Tablolar */
.table-scroll { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--line); border-radius: 10px; }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: var(--card); font-size: .93rem; }
th, td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--ink); color: #eef3ee; font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: none; }

/* SSS */
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: .6rem; }
details.faq summary { cursor: pointer; padding: .9rem 1.1rem; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.3rem; color: var(--accent); }
details.faq[open] summary::after { content: "–"; }
details.faq .a { padding: 0 1.1rem .9rem; font-size: .95rem; }

/* Rehber kartları (hub) */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.guide-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.1rem 1.2rem; text-decoration: none; color: var(--body); display: block;
  box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease;
}
.guide-card:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--body); }
.guide-card h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: .35rem; }
.guide-card h3 .icon { color: var(--accent); }
.guide-card p { font-size: .9rem; }
.guide-card .meta { display: block; margin-top: .5rem; font-size: .82rem; color: var(--ok); font-weight: 600; }

/* ---------- Lead formu ---------- */
.lead-section { background: var(--ink); color: #dfe9e2; }
.lead-section .section-head .eyebrow { color: #f2d9be; }
.lead-section h2, .lead-section h3 { color: #fff; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 820px) { .lead-grid { grid-template-columns: 1fr; } }
.lead-side ul { list-style: none; display: grid; gap: .7rem; margin-top: 1rem; }
.lead-side li { display: flex; gap: .6rem; align-items: flex-start; }
.lead-side .icon { color: #7fc9a4; margin-top: .2em; }
.lead-form { background: var(--card); border-radius: var(--radius); padding: 1.5rem; color: var(--body); box-shadow: var(--shadow); }
.lead-form .field { margin-bottom: .9rem; }
.lead-form label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .3rem; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 9px;
  font: 400 1rem "Figtree", sans-serif; color: var(--body); background: #fff;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--accent); outline: none; }
.consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; margin: 1rem 0; }
.consent input { width: auto; margin-top: .25rem; }
.form-msg { display: none; margin-top: .8rem; padding: .8rem 1rem; border-radius: 9px; font-size: .92rem; }
.form-msg.ok { display: block; background: #e7f3ec; color: var(--ok); border: 1px solid #bfe0cf; }
.form-msg.err { display: block; background: #fbeaea; color: #a33; border: 1px solid #ecc; }

/* ---------- Yapışkan mobil CTA ---------- */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--accent); padding: .6rem .9rem; display: none;
  box-shadow: 0 -3px 14px rgba(10,34,30,.18);
}
.sticky-cta a { color: #fff; text-decoration: none; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: .55rem; }
@media (max-width: 720px) { .sticky-cta { display: block; } body { padding-bottom: 56px; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #a9bcb2; padding: 2.4rem 0 5rem; font-size: .9rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: .6rem; }
.site-footer a { color: #cfdcd2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; display: grid; gap: .4rem; }
.site-footer .legal { margin-top: 1.8rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; }
/* Kapsamlı (mega) footer: her sayfadan tüm rehberlere erişim */
.site-footer .foot-brand { max-width: 34rem; margin-bottom: 2rem; }
.site-footer .foot-brand h4 { font-size: 1.05rem; }
.site-footer .foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.8rem 2rem; }
.site-footer .foot-cols h4 { margin-bottom: .7rem; }
.site-footer .foot-cols .muted { color: #8aa094; font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Ana sayfa: tüm rehberler bölümü ---------- */
.browse-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.browse-group h3 { font-size: 1rem; margin-bottom: .7rem; display: flex; align-items: center; gap: .5rem; }
.browse-group h3 .icon { width: 18px; height: 18px; color: var(--accent); }
.browse-group ul { list-style: none; display: grid; gap: .5rem; }
.browse-group ul a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; }
.browse-group ul a:hover { color: var(--accent); border-bottom-color: var(--accent); }

/* ---------- Çerez banner ---------- */
.cookiebar {
  position: fixed; bottom: 1rem; left: 1rem; right: 1rem; z-index: 100;
  max-width: 560px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 30px rgba(10,34,30,.2); padding: 1.1rem 1.3rem; font-size: .9rem;
}
.cookiebar .row { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.cookiebar strong { color: var(--ink); }

/* Uyarı bandı (mevzuat disclaimeri) */
.disclaimer { font-size: .82rem; color: var(--muted); border-top: 1px dashed var(--line); margin-top: 2rem; padding-top: .9rem; }


/* ============================================================
   Anasayfa v2 ekleri — topbar, hero dokusu, istatistik kartları,
   sektör şeridi, hesaplayıcı, quiz, tarih sayaçları, scroll-reveal
   ============================================================ */

/* ---------- Güncel mevzuat bandı ---------- */
.topbar {
  background: var(--ink-deep); color: #cfdcd2;
  font-size: .85rem; padding: .45rem 0;
}
.topbar .wrap { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }
.topbar-badge {
  background: var(--accent); color: #fff; font-weight: 700; font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .12rem .55rem; border-radius: 999px; flex: none;
}
.topbar-text { transition: opacity .4s ease; }
.topbar-text.fade { opacity: 0; }
.topbar-link { margin-left: auto; color: #f2d9be; font-weight: 600; white-space: nowrap; text-decoration: none; }
.topbar-link:hover { color: #fff; text-decoration: underline; }
@media (max-width: 720px) { .topbar-link { margin-left: 0; } }

/* ---------- Hero dokusu: nokta ızgara + ışımalar ---------- */
.hero {
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(185, 106, 43, .12), transparent 60%),
    radial-gradient(45rem 26rem at -10% 110%, rgba(46, 125, 91, .10), transparent 60%),
    radial-gradient(rgba(18, 50, 44, .055) 1px, transparent 1.5px);
  background-size: auto, auto, 22px 22px;
}

/* ---------- Hero istatistik kartları ---------- */
.stat-cards {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem;
  margin-top: 2.2rem;
}
@media (max-width: 720px) { .stat-cards { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: .95rem 1.15rem; text-decoration: none; color: var(--body);
  box-shadow: var(--shadow); border-top: 3px solid var(--accent);
  transition: transform .15s ease, border-color .15s ease;
  display: block;
}
.stat-card:hover { transform: translateY(-2px); border-top-color: var(--accent-deep); color: var(--body); }
.stat-num {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
  font-size: 1.45rem; color: var(--ink); display: block; line-height: 1.15;
}
.stat-cap { font-size: .87rem; color: var(--muted); display: block; margin-top: .2rem; }
.stat-cap a { color: inherit; }

/* ---------- Sektör şeridi ---------- */
.sector-strip { padding: 1.6rem 0 0; }
.sector-strip .wrap { display: flex; align-items: center; gap: .9rem; flex-wrap: wrap; }
.sector-label { font-weight: 700; color: var(--ink); font-size: .95rem; flex: none; }
.sector-pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.sector-pills a {
  display: inline-block; padding: .32rem .85rem; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); color: var(--ink);
  text-decoration: none; font-size: .88rem; font-weight: 500;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.sector-pills a:hover { border-color: var(--accent); color: var(--accent-deep); background: var(--accent-soft); }

/* ---------- Hesaplayıcı ---------- */
.calc {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.4rem; align-items: start;
}
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } }
.calc-controls {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow); display: grid; gap: .9rem; align-content: start;
}
.calc-controls label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: .3rem; }
.calc-controls select {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: 9px;
  font: 400 1rem "Figtree", sans-serif; color: var(--body); background: #fff;
}
.calc-controls select:focus { border-color: var(--accent); outline: none; }
.calc-result {
  background: var(--card); border: 1.5px solid var(--ink); border-radius: var(--radius);
  padding: 1.4rem; box-shadow: var(--shadow); min-height: 16rem;
}
.calc-result .cr-empty { color: var(--muted); font-size: .95rem; display: flex; min-height: 13rem; align-items: center; justify-content: center; text-align: center; padding: 0 1rem; }
.calc-result h3 { margin-bottom: .6rem; }
.calc-list { list-style: none; display: grid; gap: .5rem; margin: .6rem 0 1rem; }
.calc-list li {
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
  border-bottom: 1px dashed var(--line); padding-bottom: .45rem; font-size: .95rem;
}
.calc-list li:last-child { border-bottom: none; }
.calc-list a { font-weight: 600; color: var(--ink); text-decoration: none; }
.calc-list a:hover { color: var(--accent-deep); text-decoration: underline; }
.calc-list .cl-cap { font-weight: 700; color: var(--accent-deep); white-space: nowrap; }
.calc-list .cl-note { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; }
.calc-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  background: var(--ink); color: #eef3ee; border-radius: 10px; padding: .8rem 1.1rem; margin: .4rem 0 .8rem;
}
.calc-total b { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.5rem; color: #f2d9be; white-space: nowrap; }
.calc-extras { font-size: .88rem; color: var(--body); margin-bottom: .8rem; }
.calc-extras strong { color: var(--ok); }
.calc-disclaimer { font-size: .8rem; color: var(--muted); margin-bottom: .9rem; }

/* ---------- Quiz ---------- */
.quiz {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: var(--shadow); max-width: 44rem;
}
.quiz-progress { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.quiz-progress span { font-size: .85rem; font-weight: 700; color: var(--accent-deep); white-space: nowrap; }
.quiz-bar { flex: 1; height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.quiz-bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .3s ease; }
.quiz-q { font-family: "Bricolage Grotesque", sans-serif; font-weight: 600; color: var(--ink); font-size: 1.15rem; margin-bottom: .9rem; }
.quiz-opts { display: grid; gap: .55rem; }
.quiz-opts button {
  text-align: left; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; font: 500 .97rem "Figtree", sans-serif; color: var(--body); cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.quiz-opts button:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-1px); }
.quiz-opts button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.quiz-result h3 { margin-bottom: .5rem; }
.quiz-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0 1rem; }
.quiz-chips a {
  background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; font-size: .9rem;
  padding: .4rem .85rem; border-radius: 999px; text-decoration: none; border: 1px solid var(--warn-line);
}
.quiz-chips a:hover { background: var(--accent); color: #fff; }
.quiz-result p { font-size: .95rem; }
.quiz-restart { background: none; border: none; color: var(--muted); text-decoration: underline; cursor: pointer; font: 500 .88rem "Figtree", sans-serif; margin-top: .9rem; padding: 0; }
.quiz-restart:hover { color: var(--accent-deep); }

/* ---------- Kritik tarihler ---------- */
.deadlines { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.deadline {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.3rem; box-shadow: var(--shadow);
}
.deadline .dl-count {
  font-family: "Bricolage Grotesque", sans-serif; font-weight: 700; font-size: 1.9rem;
  color: var(--accent-deep); display: block; line-height: 1.1;
}
.deadline .dl-count small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.deadline h3 { margin: .45rem 0 .3rem; font-size: 1.02rem; }
.deadline p { font-size: .88rem; }
.dl-cta { margin-top: 1.3rem; font-weight: 600; color: var(--ink); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .topbar-text { transition: none; }
  .quiz-bar i { transition: none; }
}

/* reveal tamamlandıktan sonra kart hover kaldırma efektini koru */
.stat-card.reveal.in:hover { transform: translateY(-2px); }

/* ============================================================
   Scroll rotası — kenarda çizilen rota çizgisi ve duraklar
   (Yalnızca geniş ekranlarda; anasayfadaki #route-rail ile çalışır)
   ============================================================ */
.route-rail { display: none; }
@media (min-width: 1280px) {
  .route-rail {
    display: block; position: fixed; left: 18px; top: 0; bottom: 0;
    width: 26px; z-index: 40;
  }
  .rail-track, .rail-progress {
    position: absolute; left: 9px; top: 4vh; width: 2px; border-radius: 2px;
  }
  .rail-track { bottom: 4vh; background: var(--line); }
  .rail-progress { height: 0; background: var(--accent); }
  .rail-stop {
    position: absolute; left: 10px; transform: translate(-50%, -50%);
    display: block; text-decoration: none;
  }
  .rail-stop i {
    display: block; width: 10px; height: 10px; border-radius: 50%;
    background: var(--paper); border: 2px solid var(--accent);
    transition: background .2s ease, transform .2s ease;
  }
  .rail-stop:hover i { transform: scale(1.35); }
  .rail-stop.active i { background: var(--accent); }
  .rail-stop--exit i { border-color: var(--ok); }
  .rail-stop--exit.active i { background: var(--ok); }
  .rail-stop.current i { animation: rail-pulse 2s ease-in-out infinite; }
  @keyframes rail-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(185, 106, 43, .35); }
    50% { box-shadow: 0 0 0 6px rgba(185, 106, 43, 0); }
  }
  .rail-stop em {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    font: 600 .74rem "Figtree", sans-serif; font-style: normal; white-space: nowrap;
    color: var(--muted); background: var(--card); border: 1px solid var(--line);
    padding: .15rem .55rem; border-radius: 999px; box-shadow: var(--shadow);
    opacity: 0; pointer-events: none; transition: opacity .2s ease;
  }
  .route-rail:hover .rail-stop em,
  .rail-stop.current em,
  .rail-stop:focus-visible em { opacity: 1; }
  .rail-stop.current em { color: var(--accent-deep); border-color: var(--accent); }
}
@media (prefers-reduced-motion: reduce) {
  .rail-stop.current i { animation: none; }
  .rail-stop i, .rail-stop em { transition: none; }
}
