:root {
  --navy: #061931;
  --navy-2: #102B4C;
  --gold: #D2A24C;
  --gold-soft: #F1E1BD;
  --paper: #F3F5F9;
  --white: #fff;
  --ink: #0A1B30;
  --muted: #586579;
  --line: #DDE2EA;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, sans-serif; font-optical-sizing: none; color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.55; }
h1, h2, h3 { font-family: Inter, sans-serif; font-weight: 700; letter-spacing: -.022em; line-height: 1.1; }
/* Taslaktaki başlık ölçülerini Inter'in optik boyut ekseniyle koru. */
h1, h2, h3, .pics .chip b, .facts b, .cgrid li, .steps li::before, .apply .ph b { font-variation-settings: "opsz" 32; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; box-shadow: 0 0 0 7px var(--navy); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.btn { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 600; padding: 14px 26px; border-radius: 999px; font-size: 16px; text-align: center; }
.btn.ghost { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn.ghost:focus-visible { box-shadow: 0 0 0 7px var(--navy); }
.btn.navy { background: var(--navy); color: #fff; }

/* Üst menü */
.top { background: var(--navy); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 88px; position: relative; }
.top img { height: 62px; width: auto; }
.top nav { display: flex; gap: 32px; font-size: 15.5px; font-weight: 500; color: #D5DDE8; }
.burger { display: none; position: relative; width: 44px; height: 44px; background: transparent; flex-shrink: 0; margin-right: -9px; }
.burger span { position: absolute; width: 26px; height: 18px; top: 13px; left: 9px; border-top: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); }
.burger span::after { content: ""; position: absolute; left: 0; right: 0; top: 5px; border-top: 2.5px solid var(--gold); }

/* Giriş ve bilgi şeridi */
.hero { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 0 0 110px; }
.hero .wrap { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; padding-top: 64px; align-items: center; }
.hero h1 { font-size: 60px; }
.hero p { margin-top: 22px; font-size: 19.5px; color: #C3CEDC; max-width: 29em; }
.acts { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.pics { position: relative; height: 500px; }
.pics .a { position: absolute; right: 0; top: 0; width: 86%; height: 440px; object-fit: cover; object-position: 78% 30%; border-radius: 28px 28px 28px 120px; }
.pics .b { position: absolute; left: 0; bottom: 0; width: 38%; height: 230px; object-fit: cover; border-radius: 22px; border: 6px solid var(--navy-2); }
.pics .chip { position: absolute; right: -14px; bottom: 36px; background: var(--white); color: var(--ink); border-radius: 16px; padding: 14px 18px; font-size: 14px; line-height: 1.35; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
.pics .chip b { display: block; font-size: 17px; }
.pics .ring { position: absolute; right: -26px; top: -22px; width: 120px; height: 120px; border: 2px solid var(--gold); border-radius: 50%; opacity: .7; }
.facts { margin-top: -58px; position: relative; }
.facts-grid { background: var(--white); border-radius: 22px; box-shadow: 0 18px 50px rgba(6, 25, 49, .12); display: grid; grid-template-columns: repeat(4, 1fr); padding: 26px 30px; }
.facts-grid > div { padding: 26px 30px; border-right: 1px solid var(--line); }
.facts-grid > div:last-child { border: 0; }
.facts b { display: block; font-size: 30px; color: var(--navy); letter-spacing: -.02em; }
.facts span { font-size: 14.5px; color: var(--muted); }

/* Bölüm başlıkları ve program kartları */
section { padding: 92px 0; }
.head { max-width: 36em; margin-bottom: 42px; }
.head h2, .apply h2, .about h2, .bg h2 { font-size: 42px; color: var(--navy); }
.head p { margin-top: 12px; color: var(--muted); }
.programs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.programs a { background: var(--white); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.programs img { height: 190px; width: 100%; object-fit: cover; }
.programs img.student { object-position: 50% 22%; }
.programs div { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.programs h3 { font-size: 22px; color: var(--navy); }
.programs p { font-size: 15.5px; color: var(--muted); margin: 8px 0 18px; flex: 1; }
.programs span { font-weight: 600; font-size: 15px; color: var(--navy); border-bottom: 2px solid var(--gold); align-self: flex-start; }

/* Belgrad */
.bg { padding-top: 0; }
.bg .wrap > div { background: var(--navy); color: #fff; border-radius: 32px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; }
.bg .txt { padding: 56px 56px 56px 60px; }
.bg .lab { display: inline-block; background: rgba(210, 162, 76, .16); color: var(--gold-soft); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 500; margin-bottom: 20px; }
.bg h2 { color: #fff; font-size: 40px; }
.bg p { margin-top: 14px; color: #C3CEDC; }
.bg ul { margin: 22px 0 30px; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.bg li { padding-left: 28px; position: relative; font-size: 15.5px; font-weight: 500; }
.bg li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 6px; border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold); transform: rotate(-45deg); }
.bg .im { position: relative; min-height: 440px; }
.bg .im img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bg .im .s { inset: auto 24px 24px auto; width: 210px; height: 150px; border-radius: 16px; border: 5px solid var(--navy); }

/* Ülke listesi ve süreç */
.countries { padding-top: 0; }
.cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; }
.cgrid li { background: var(--white); padding: 18px 22px; border-radius: 16px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 18.5px; color: var(--navy); }
.cgrid li:not(.main)::after { content: ""; width: 9px; height: 9px; flex-shrink: 0; border-radius: 50%; background: var(--gold); }
.cgrid li.main { background: var(--navy); color: #fff; }
.cgrid li.main small { font-weight: 500; font-size: 13px; color: var(--gold-soft); font-variation-settings: normal; }
.how { background: var(--white); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: s; }
.steps li { list-style: none; counter-increment: s; background: var(--paper); border-radius: 20px; padding: 24px 22px 26px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 700; font-size: 18px; }
.steps h3 { font-size: 19px; margin-top: 18px; color: var(--navy); }
.steps p { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* Ön görüşme formu */
.apply .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: stretch; }
.apply .ph { position: relative; border-radius: 28px; overflow: hidden; min-height: 540px; }
.apply .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.apply .ph div { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 32px 30px; color: #fff; background: linear-gradient(transparent, rgba(6, 25, 49, .92)); }
.apply .ph b { font-size: 26px; line-height: 1.2; display: block; max-width: 14em; }
.form { background: var(--white); border-radius: 28px; padding: 40px; }
.form p.sub { color: var(--muted); margin: 10px 0 24px; }
.field { display: block; min-width: 0; margin-bottom: 14px; }
.field span { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea { display: block; width: 100%; min-width: 0; border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; font-size: 15.5px; color: var(--ink); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: #8D97A6; opacity: 1; }
.field select { appearance: none; cursor: pointer; }
.field textarea { height: 84px; resize: vertical; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.form .btn { width: 100%; margin-top: 6px; }

/* Hakkımızda ve sık sorulan sorular */
.about { background: var(--white); }
.about .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.about p { margin-top: 16px; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 19px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--gold); font-size: 22px; line-height: 1; }
.faq details[open] summary span { display: none; }
.faq p { font-weight: 400; font-size: 15.5px; margin-top: 8px; }

/* Alt bilgi */
footer { background: var(--navy); color: #C3CEDC; padding: 64px 0 32px; font-size: 15.5px; }
footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
footer img { height: 70px; width: auto; margin-left: -8px; }
footer p { margin-top: 16px; max-width: 22em; }
footer h2 { color: var(--gold-soft); font-size: 15px; margin-bottom: 12px; font-variation-settings: normal; }
footer li { list-style: none; margin-bottom: 7px; }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 22px; font-size: 13.5px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

@media (max-width: 800px) {
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .top nav, .top .btn { display: none; }
  .burger { display: block; }
  .top .wrap { height: 72px; }
  .top img { height: 52px; margin-left: -6px; }
  .top nav.is-open { display: flex; flex-direction: column; gap: 0; position: absolute; top: 72px; left: 0; right: 0; z-index: 2; padding: 12px 20px 20px; background: var(--navy); }
  .top nav a { padding: 10px 0; }
  .hero { padding-bottom: 84px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 34px; }
  .hero h1 { font-size: 37px; }
  .hero p { font-size: 17px; }
  .acts .btn { width: 100%; }
  .pics { height: 330px; }
  .pics .a { height: 290px; width: 88%; border-radius: 22px 22px 22px 80px; }
  .pics .b { height: 140px; width: 36%; border-width: 4px; border-radius: 16px; }
  .pics .chip { right: 0; bottom: 8px; padding: 11px 14px; }
  .pics .ring { display: none; }
  .facts { margin-top: -50px; }
  .facts-grid { grid-template-columns: 1fr 1fr; padding: 18px 20px; }
  .facts-grid > div { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .facts-grid > div:nth-child(2n) { border-right: 0; }
  .facts-grid > div:nth-child(n+3) { border-bottom: 0; }
  .facts b { font-size: 24px; }
  section { padding: 58px 0; }
  .head h2, .apply h2, .about h2, .bg h2 { font-size: 30px; }
  .head { margin-bottom: 26px; }
  .programs { grid-template-columns: 1fr; gap: 16px; }
  .programs img { height: 170px; }
  .bg .wrap > div { grid-template-columns: 1fr; border-radius: 24px; }
  .bg .txt { padding: 32px 24px; order: 2; }
  .bg ul { grid-template-columns: 1fr; }
  .bg .im { min-height: 220px; }
  .bg .im .s { width: 120px; height: 86px; inset: auto 14px 14px auto; border-width: 4px; }
  .bg .btn { width: 100%; }
  .cgrid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cgrid li { font-size: 16px; padding: 15px 16px; }
  .cgrid li.main { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .steps li { display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; padding: 18px; }
  .steps li::before { grid-row: 1 / 3; }
  .steps h3 { margin-top: 0; }
  .steps p { margin-top: 4px; }
  .apply .wrap, .about .wrap { grid-template-columns: 1fr; gap: 20px; }
  .apply .ph { min-height: 230px; }
  .apply .ph b { font-size: 21px; }
  .form { padding: 26px 22px; }
  .two { grid-template-columns: 1fr; gap: 0; }
  .about .wrap { gap: 34px; }
  footer .wrap { grid-template-columns: 1fr; gap: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
