:root {
  --navy: #0b1f3a;
  --navy-2: #13315c;
  --gold: #b8963e;
  --gold-soft: #fffaf0;
  --ink: #1d2433;
  --muted: #5a6476;
  --line: #e2e6ee;
  --bg: #ffffff;
  --bg-alt: #f6f4ef;
  --ok: #1f7a4d;
  --err: #a12a2a;
  --radius: 12px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--navy-2); }
a:hover { color: var(--gold); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 4.5vw, 2.6rem); margin: .2em 0 .4em; }
h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 1.6em 0 .5em; }
h3 { font-size: 1.15rem; margin: 1.3em 0 .4em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--gold); color: var(--navy); font-size: 22px; }
.brand-text { display: flex; flex-direction: column; font-size: 1.05rem; line-height: 1.15; }
.brand-text strong { color: var(--gold); }
.brand-text small { font-size: .74rem; opacity: .8; font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { color: #e9edf5; text-decoration: none; padding: 8px 10px; border-radius: 8px; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: rgba(255,255,255,.1); color: #fff; }
.main-nav .nav-cta { background: var(--gold); color: var(--navy); font-weight: 700; margin-left: 6px; }
.main-nav .nav-cta:hover { background: #cfae55; color: var(--navy); }
.nav-toggle { display: none; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 68px; background: var(--navy); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 11px 18px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 700; text-align: center; }
.btn-lg { padding: 14px 22px; font-size: 1.05rem; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: #cfae55; color: var(--navy); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }
.text-link { font-weight: 700; text-decoration: none; }

/* Hero */
.hero { background: linear-gradient(160deg, #f8f5ec 0%, #eef2f8 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 56px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 700; color: var(--gold); margin: 0; }
.hero h1 span { display: block; color: var(--navy-2); font-weight: 600; }
.lead { font-size: 1.12rem; color: #3a4456; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.hero-note { font-size: .88rem; color: var(--muted); }
.hero-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 22px 8px; box-shadow: 0 10px 30px rgba(11,31,58,.08); }
.hero-card-title { font-weight: 800; color: var(--navy); font-size: 1.1rem; }
.hero-card ol { padding-left: 1.2em; margin: 0 0 1em; }
.hero-card li { margin-bottom: .7em; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; padding-top: 32px; padding-bottom: 32px; gap: 24px; } }

/* Sections & cards */
.section { padding: 48px 0; }
.section-alt { background: var(--bg-alt); }
.section-title { margin-top: 0; }
.section-lead { color: var(--muted); max-width: 760px; }
.cards { display: grid; gap: 18px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .cards-2, .cards-3 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card-link { display: block; text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(11,31,58,.09); border-color: var(--gold); color: var(--ink); }
.card h3 { margin-top: .2em; }
.card p { color: var(--muted); margin-bottom: .6em; }
.card-kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--gold); font-weight: 700; }
.card-more { font-weight: 700; color: var(--navy-2); }

/* Page head */
.page-head { background: linear-gradient(160deg, #f8f5ec 0%, #eef2f8 100%); border-bottom: 1px solid var(--line); padding: 30px 0 18px; }
.crumbs { font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

/* Prose */
.prose h2 { border-bottom: 2px solid var(--line); padding-bottom: .25em; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: .8em; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.7em; margin-bottom: .6em; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.checklist { list-style: none; padding: 0; counter-reset: none; }
.checklist > li { border-left: 4px solid var(--gold); background: #fff; padding: 4px 0 4px 18px; margin-bottom: 18px; }
.checklist h2 { border: 0; font-size: 1.2rem; margin: .4em 0 .3em; }
.box-info { background: var(--gold-soft); border: 1px solid #ecdcae; border-radius: var(--radius); padding: 18px 20px 6px; margin-top: 28px; }
.box-title { font-weight: 800; color: var(--navy); }
.note { background: #f1f4f9; border-left: 4px solid var(--navy-2); padding: 12px 16px; border-radius: 6px; }
.next-links { margin-top: 2em; }
.table-wrap { overflow-x: auto; max-width: 100%; }
.info-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.info-table th, .info-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.info-table th { background: var(--bg-alt); color: var(--navy); }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--navy); list-style-position: inside; }
.faq details p { padding: 0 16px 6px; }

/* Calculator (ortak motor sablonlari) */
.calc-tips { background: var(--gold-soft); border: 1px solid #ecdcae; border-radius: var(--radius); padding: 14px 18px 2px; margin-bottom: 20px; font-size: .95rem; }
.calc-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px 16px; box-shadow: 0 8px 26px rgba(11,31,58,.06); }
.calc-box h2:first-child, .calc-box section > h2:first-child { margin-top: .8em; font-size: 1.3rem; }
.ergur-holiday-form fieldset { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 4px; margin: 0 0 16px; min-width: 0; }
.ergur-holiday-form legend { font-weight: 800; color: var(--navy); padding: 0 6px; }
.ergur-holiday-form label, .lead-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 12px; color: #2b3445; }
.ergur-holiday-form input[type="date"], .ergur-holiday-form input[type="number"], .ergur-holiday-form input[type="text"], .ergur-holiday-form select,
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form input[type="email"], .lead-form input[type="date"], .lead-form select, .lead-form textarea {
  display: block; width: 100%; margin-top: 5px; padding: 11px 12px; font: inherit; font-weight: 400; color: var(--ink); background: #fff; border: 1px solid #c9d1de; border-radius: 8px; min-height: 46px;
}
.ergur-holiday-form input:focus, .ergur-holiday-form select:focus, .lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid rgba(184,150,62,.35); border-color: var(--gold); }
.ergur-grid-2, .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .ergur-grid-2, .grid-2 { grid-template-columns: 1fr; } }
.ergur-bi-help, .ergur-sl-help { font-size: .87rem; color: var(--muted); margin: -4px 0 12px; }
details.ergur-bi-help summary { cursor: pointer; font-weight: 600; }
.ergur-chip { display: flex !important; align-items: center; gap: 8px; font-weight: 600; }
.ergur-chip input { width: 20px; height: 20px; }
.ergur-holiday-submit, .ergur-int-add { font: inherit; font-weight: 800; cursor: pointer; border-radius: 10px; }
.ergur-holiday-submit { width: 100%; padding: 15px; background: var(--navy); color: #fff; border: 0; font-size: 1.1rem; }
.ergur-holiday-submit:hover { background: var(--navy-2); }
.ergur-holiday-submit:disabled { opacity: .6; cursor: wait; }
.ergur-int-add { background: #fff; border: 2px dashed #b9c3d4; color: var(--navy-2); padding: 10px 14px; margin-bottom: 8px; }
.c-gender, .c-birth { display: block; width: 100%; margin-top: 5px; padding: 11px 12px; font: inherit; border: 1px solid #c9d1de; border-radius: 8px; min-height: 46px; background: #fff; }
#ergur-bi-result, #ergur-sl-result { margin-top: 18px; }
#ergur-bi-result ul, #ergur-sl-result ul { padding-left: 1.2em; }
#ergur-bi-result li, #ergur-sl-result li { margin-bottom: .35em; }
.ergur-calculation-disclaimer { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 18px; }

/* Result CTA (sonuc.js) */
.result-cta { margin: 18px 0 6px; padding: 18px; border-radius: var(--radius); background: var(--navy); color: #fff; }
.result-cta p { margin: 0 0 12px; }
.result-cta strong { color: var(--gold); }
.result-cta .btn { margin: 4px 6px 4px 0; }

/* Lead form */
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 8px 26px rgba(11,31,58,.06); }
.lead-form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.lead-form .check input { width: 20px; height: 20px; margin-top: 3px; flex: none; }
.lead-form button { width: 100%; margin-top: 6px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.calc-attach { background: var(--bg-alt); border-radius: 8px; padding: 10px 12px; margin-bottom: 12px; }
.calc-attach-preview { white-space: pre-wrap; font-size: .82rem; max-height: 160px; overflow: auto; margin: 6px 0 0; font-family: inherit; color: var(--muted); }
.captcha-box { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 4px; margin-bottom: 14px; }
.captcha-q { display: block; font-size: 1.05rem; font-weight: 800; color: var(--navy); margin-top: 4px; }
.captcha-box input { max-width: 220px; }
.captcha-new { background: none; border: 0; color: var(--navy-2); text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; padding: 0 0 10px; }
#basvuru-sonuc { margin-top: 14px; font-weight: 600; }
#basvuru-sonuc.ok { color: var(--ok); }
#basvuru-sonuc.err { color: var(--err); }
.small { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* CTA band & footer */
.cta-band { background: var(--navy); color: #fff; padding: 40px 0; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band p { color: #d5dbe7; }
.cta-band-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) { .cta-band-inner { grid-template-columns: 1fr; } }
.site-footer { background: #071528; color: #b9c2d3; padding: 36px 0 90px; font-size: .92rem; }
.site-footer a { color: #e3e8f1; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand, .footer-title { color: #fff; font-weight: 800; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-note { border-top: 1px solid rgba(255,255,255,.12); margin-top: 20px; padding-top: 16px; font-size: .84rem; }

/* Mobile bar */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr 1.2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 14px rgba(0,0,0,.08); }
  .mobile-bar a { text-align: center; padding: 14px 6px; font-weight: 800; text-decoration: none; color: var(--navy); }
  .mobile-bar a.mb-primary { background: var(--gold); }
}
@media (min-width: 761px) { .site-footer { padding-bottom: 36px; } }
