/* =================================================================
   ŞANLIURFA OLİMPİYAT EĞİTİM KURUMLARI — Tasarım Sistemi
   Lacivert #1A3158 · Kırmızı #E0000F · Turuncu #EB7C00 · Soft #D4DBE5 · Beyaz
   Signature: olimpiyat meşalesi / zafer
   ================================================================= */

/* ---------- Token'lar ---------- */
:root {
    --navy:        #1A3158;
    --navy-900:    #0F1F3A;
    --navy-700:    #1A3158;
    --navy-500:    #2D4D80;
    --navy-100:    #E2E6EE;
    --red:         #E0000F;
    --red-700:     #B30009;
    --orange:      #EB7C00;
    --orange-700:  #C46700;
    --soft:        #D4DBE5;
    --soft-tint:   #EDF0F4;
    --ink:         #14202E;
    --muted:       #5A6B7B;
    --line:        #DCE5EC;
    --paper:       #FFFFFF;
    --bg:          #F6F9FB;

    --shadow-sm:   0 1px 3px rgba(26,49,88,.08), 0 1px 2px rgba(26,49,88,.06);
    --shadow-md:   0 8px 24px rgba(26,49,88,.10);
    --shadow-lg:   0 24px 60px rgba(26,49,88,.16);

    --r-sm: 8px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-pill: 999px;

    --container: 1200px;
    --gap: clamp(1rem, 3vw, 2rem);

    --ff-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
    --ff-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

    --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--ff-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }
h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gap); }
.section { padding-block: clamp(2.4rem, 5.5vw, 4.6rem); }
.section--tint { background: var(--paper); }
.section--navy { background: var(--navy-900); color: #fff; }

/* eyebrow — kademe şeridi disiplini */
.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-family: var(--ff-display); font-weight: 700;
    font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
    color: var(--red);
}
.eyebrow::before {
    content: ""; width: 26px; height: 2px; background: var(--red); display: inline-block;
}
.section--navy .eyebrow { color: var(--soft); }
.section--navy .eyebrow::before { background: var(--soft); }

.section-head { max-width: 640px; margin-bottom: clamp(1.3rem, 3.5vw, 2.4rem); }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.7rem); margin-top: .6rem; color: var(--navy-900); }
.section--navy .section-head h2 { color: #fff; }
.section-head p { margin-top: .9rem; color: var(--muted); font-size: 1.02rem; }
.section--navy .section-head p { color: var(--soft); }

/* Masaüstünde başlık solda, içerik sağda — Eğitim Kademeleri gibi bloklar için */
.section--split > .container {
    display: grid;
    grid-template-columns: minmax(220px, 0.75fr) minmax(0, 3.2fr);
    gap: clamp(1.4rem, 2.6vw, 2.6rem);
    align-items: start;
}
.section--split .section-head { margin-bottom: 0; position: sticky; top: 110px; }
.section--split .section-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
@media (max-width: 980px) {
    .section--split > .container { grid-template-columns: 1fr; }
    .section--split .section-head { position: static; margin-bottom: 1.4rem; }
}

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .85rem 1.5rem; border-radius: var(--r-pill);
    font-family: var(--ff-display); font-weight: 700; font-size: .95rem;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
    will-change: transform;
}
.btn svg { transition: transform .25s var(--ease); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(224,0,15,.28); }
.btn-primary:hover { background: var(--red-700); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(224,0,15,.34); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.2); }
.btn-outline { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

/* =================================================================
   HEADER
   ================================================================= */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.88);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; gap: 1rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand svg, .brand img { height: 68px; width: auto; }
@media (max-width: 720px) {
    .header-inner { height: 76px; }
    .brand svg, .brand img { height: 54px; }
}
.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
    font-family: var(--ff-display); font-weight: 600; font-size: .94rem;
    color: var(--ink); padding: .55rem .85rem; border-radius: var(--r-sm);
    position: relative; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--navy); background: var(--navy-100); }
.nav a.active { color: var(--navy); }
.nav a.active::after {
    content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .3rem;
    height: 2px; background: var(--red); border-radius: 2px;
}
.nav a.nav-cta {
    background: var(--red); color: #fff; margin-left: .4rem;
    box-shadow: 0 6px 16px rgba(224,0,15,.28);
}
.nav a.nav-cta:hover { background: var(--red-700,#B40009); color:#fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(224,0,15,.34); }
.nav a.nav-cta.active::after { display: none; }
.menu-toggle {
    display: none; color: var(--navy);
    width: 56px; height: 56px;
    align-items: center; justify-content: center;
    border-radius: 14px;
    background: transparent; border: 0;
    margin-right: -.6rem;
    transition: background .2s ease;
}
.menu-toggle:hover { background: rgba(15,37,69,.06); }
.menu-toggle svg { width: 34px; height: 34px; }

@media (max-width: 960px) {
    .menu-toggle { display: inline-flex; }
    .nav { display: none; }
}

/* =================================================================
   MOBİL OVERLAY MENÜ — tam ekran, Hilal stili
   ================================================================= */
.nav-overlay {
    position: fixed; inset: 0; z-index: 1100;
    display: none; flex-direction: column;
    padding: clamp(0.5rem, 2vh, 1.2rem) 1.4rem env(safe-area-inset-bottom, 0.8rem);
    background: linear-gradient(160deg, var(--navy-900) 0%, #0A2C50 55%, #061E37 100%);
    color: #fff; overflow: hidden;
    opacity: 0; transition: opacity .25s var(--ease);
    height: 100dvh; height: -webkit-fill-available;
    box-sizing: border-box;
}
.nav-overlay[hidden] { display: none !important; }
.nav-overlay.open { display: flex; opacity: 1; animation: navFade .35s var(--ease); }
@keyframes navFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
body.nav-locked { overflow: hidden; }

.nav-overlay__bg {
    position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
}
.nav-overlay__bg .ring {
    position: absolute; width: 360px; height: 360px; border-radius: 50%;
    border: 1px solid rgba(170,190,202,.18); top: -100px; right: -120px;
}
.nav-overlay__bg .ring.r2 {
    width: 220px; height: 220px; border-color: rgba(224,0,15,.25);
    border-style: dashed; top: auto; bottom: -60px; left: -60px; right: auto;
    animation: spin 90s linear infinite;
}
.nav-overlay__bg .blob {
    position: absolute; width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(224,0,15,.18), transparent 70%);
    bottom: 20%; right: -120px;
}
.nav-overlay > * { position: relative; z-index: 1; }

.nav-overlay__top {
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: clamp(0.3rem, 1.5vh, 0.8rem); 
    margin-bottom: clamp(0.2rem, 1vh, 0.6rem);
    border-bottom: 1px solid rgba(255,255,255,.08);
    flex-shrink: 0;
}
.nav-overlay__brand { display: inline-flex; align-items: center; }
.nav-overlay__brand svg,
.nav-overlay__brand img { height: clamp(48px, 8vh, 72px); width: auto; }
.nav-overlay__brand > svg { filter: brightness(0) invert(1); }
.nav-overlay__brand > svg .st0,
.nav-overlay__brand > svg .st1,
.nav-overlay__brand > svg .st2 { fill: #ffffff !important; }
.nav-overlay__close {
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
    color: #fff; display: grid; place-items: center;
    transition: background .2s, transform .25s; flex-shrink: 0;
}
.nav-overlay__close:hover { background: rgba(224,0,15,.6); transform: rotate(90deg); }

.nav-overlay__menu {
    display: flex; flex-direction: column; gap: 0;
    flex: 1 1 auto; justify-content: center;
    min-height: 0;
}
.nav-overlay__menu a {
    display: flex; align-items: center; justify-content: space-between;
    padding: clamp(0.4rem, 1.4vh, 0.7rem) 0.25rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    font-family: var(--ff-display); font-weight: 600; 
    font-size: clamp(0.95rem, 2.2vh, 1.05rem); 
    letter-spacing: 0;
    color: rgba(255,255,255,.82);
    transition: color .2s, padding .2s;
}
.nav-overlay__menu a:hover,
.nav-overlay__menu a.active { color: #fff; padding-left: .55rem; }
.nav-overlay__menu a.active { border-bottom-color: var(--red); }
.nav-overlay__menu a svg { color: var(--soft); transition: color .2s, transform .25s; flex-shrink: 0; }
.nav-overlay__menu a:hover svg { color: var(--red); transform: translateX(4px); }
.nav-overlay__menu a.cta { color: #fff; }
.nav-overlay__menu a.cta::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red);
    margin-right: .5rem; box-shadow: 0 0 0 4px rgba(224,0,15,.2); flex-shrink: 0;
}

.nav-overlay__actions {
    display: grid; grid-template-columns: 1fr 1fr; gap: .55rem;
    padding-top: clamp(0.5rem, 1.5vh, 0.8rem); flex-shrink: 0;
}
.nav-overlay__actions .btn {
    width: 100%; min-width: 0;
    justify-content: center; align-items: center;
    padding: clamp(0.5rem, 1.2vh, 0.65rem) 0.6rem; 
    font-size: clamp(0.8rem, 1.8vh, 0.85rem);
    gap: .4rem;
    white-space: nowrap; overflow: hidden;
}
.nav-overlay__actions .btn svg { flex-shrink: 0; width: 16px; height: 16px; }
.nav-overlay__actions .btn-wa { background: #25D366; color: #0a3a1c; }
.nav-overlay__actions .btn-wa:hover { background: #1ebd5b; }

.nav-overlay__social {
    display: flex; gap: .5rem; justify-content: center; align-items: center;
    padding: clamp(0.4rem, 1vh, 0.7rem) 0 clamp(0.3rem, 1vh, 0.5rem);
    border-top: 1px solid rgba(255,255,255,.08); 
    margin-top: clamp(0.4rem, 1vh, 0.7rem);
    flex-shrink: 0;
}
.nav-overlay__social a {
    width: clamp(32px, 6vh, 38px); height: clamp(32px, 6vh, 38px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.06); color: #fff;
    border: 1px solid rgba(255,255,255,.12);
    transition: background .2s, transform .25s;
    line-height: 0; padding: 0; box-sizing: border-box;
}
.nav-overlay__social a svg { display: block; width: 16px; height: 16px; margin: 0; flex-shrink: 0; }
.nav-overlay__social a:hover { background: var(--red); transform: translateY(-2px); }

.nav-overlay__sign {
    padding-top: clamp(0.3rem, 1vh, 0.5rem); padding-bottom: 0;
    text-align: center; font-size: 0.72rem; letter-spacing: .04em;
    color: rgba(255,255,255,.4); font-family: var(--ff-display); font-weight: 500;
    flex-shrink: 0;
}
.nav-overlay__sign a {
    color: var(--soft); font-weight: 700;
    border-bottom: 1px dashed rgba(170,190,202,.4);
    padding-bottom: 1px; transition: color .2s, border-color .2s;
}
.nav-overlay__sign a:hover { color: #fff; border-bottom-color: var(--red); }

@media (max-height: 560px) {
    .nav-overlay__social { display: none; }
    .nav-overlay__sign { display: none; }
}

/* =================================================================
   HERO — thesis: pusula/yıldız + kademe
   ================================================================= */
.hero {
    position: relative; overflow: hidden;
    background:
        radial-gradient(120% 120% at 85% -10%, #2D4D80 0%, var(--navy-900) 55%, #0F1F3A 100%);
    color: #fff;
    padding-block: clamp(.6rem, 1.8vw, 1.4rem);
}
.hero::before { /* ince yıldız ağı dokusu */
    content: ""; position: absolute; inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(170,190,202,.10) 0 2px, transparent 2px),
        radial-gradient(circle at 70% 60%, rgba(170,190,202,.08) 0 2px, transparent 2px),
        radial-gradient(circle at 45% 80%, rgba(170,190,202,.06) 0 1.5px, transparent 1.5px);
    background-size: 180px 180px, 240px 240px, 160px 160px;
    pointer-events: none;
}
.hero-grid {
    position: relative; display: grid; grid-template-columns: 1.15fr .85fr;
    gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    font-family: var(--ff-display); font-weight: 700;
    font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
    color: var(--soft); margin-bottom: .8rem;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.04;
}
.hero h1 .accent { color: var(--soft); }
.hero h1 .red { position: relative; display: inline-block; z-index: 0; isolation: isolate; }
.hero h1 .red::after {
    content: ""; position: absolute; left: -.05em; right: -.05em; bottom: .02em;
    height: .22em; background: var(--red); border-radius: 4px;
    z-index: -1; opacity: .88;
}
.hero-lead { margin-top: 1rem; font-size: clamp(1.05rem, 2vw, 1.2rem); color: #D5E1EC; max-width: 48ch; }
.hero-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .9rem; }

/* hero kademe rozetleri (logo şeridinden) */
.hero-stages {
    margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem;
}
.hero-stages span {
    font-family: var(--ff-display); font-weight: 600; font-size: .82rem;
    padding: .45rem .9rem; border-radius: var(--r-pill);
    background: rgba(255,255,255,.08); border: 1px solid rgba(170,190,202,.25);
    color: #E4ECF3;
}

/* hero görsel — pusula/yıldız madalyon */
.hero-medallion {
    position: relative; aspect-ratio: 1; max-width: 340px; margin-inline: auto; width: 100%;
}
.hero-medallion .ring {
    position: absolute; inset: 0; border-radius: 50%;
    border: 1px solid rgba(170,190,202,.3);
}
.hero-medallion .ring.r2 { inset: 9%; border-style: dashed; border-color: rgba(170,190,202,.25); animation: spin 60s linear infinite; }
.hero-medallion .ring.r3 { inset: 20%; border-color: rgba(224,0,15,.4); }
.hero-medallion .core {
    position: absolute; inset: 20%; border-radius: 50%;
    background: radial-gradient(120% 120% at 30% 25%, #2D4D80, var(--navy-900));
    display: grid; place-items: center; box-shadow: inset 0 0 60px rgba(0,0,0,.35);
}

/* Yörünge (orbit) — madalyonun çevresinde dönen küçük ikonlar */
.hero-medallion .orbit {
    position: absolute; inset: 0;
    pointer-events: none;
    animation: spin 30s linear infinite;
}
.hero-medallion .orbit-icon {
    position: absolute;
    width: 38px; height: 38px;
    display: grid; place-items: center;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(170,190,202,.45);
    border-radius: 50%;
    color: var(--soft);
    box-shadow: 0 6px 18px rgba(0,0,0,.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.hero-medallion .orbit-icon svg { width: 18px; height: 18px; }
.hero-medallion .orbit-icon--top    { top: -10px;    left: 50%;   transform: translateX(-50%); }
.hero-medallion .orbit-icon--right  { right: -10px;  top: 50%;    transform: translateY(-50%); }
.hero-medallion .orbit-icon--bottom { bottom: -10px; left: 50%;   transform: translateX(-50%); }
.hero-medallion .orbit-icon--left   { left: -10px;   top: 50%;    transform: translateY(-50%); }

/* Slide rengine göre vurgu */
.hero-slide .hero-medallion .orbit-icon {
    border-color: color-mix(in srgb, var(--banner-accent, var(--red)) 50%, rgba(170,190,202,.4));
    color: color-mix(in srgb, var(--banner-accent, var(--red)) 30%, #E8EFF6);
}
.hero-medallion .core svg { width: 56%; height: 56%; color: var(--soft); }
.hero-medallion .badge {
    position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%);
    background: var(--red); color: #fff; padding: .5rem 1.1rem; border-radius: var(--r-pill);
    font-family: var(--ff-display); font-weight: 800; font-size: .8rem; letter-spacing: .05em;
    box-shadow: 0 10px 24px rgba(224,0,15,.4); white-space: nowrap;
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 880px) {
    .hero-grid { grid-template-columns: 1fr; gap: 1.6rem; text-align: center; }
    .hero-medallion { max-width: 240px; order: -1; margin: 0 auto; }
    .hero-eyebrow { justify-content: center; }
    .hero-lead { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stages { justify-content: center; }
}
@media (max-width: 560px) {
    .hero-medallion { max-width: 180px; }
    .hero-medallion .orbit-icon { width: 28px; height: 28px; }
    .hero-medallion .orbit-icon svg { width: 13px; height: 13px; }
    .hero h1 { font-size: clamp(2.35rem, 9.4vw, 3rem); line-height: 1.02; }
    .hero-lead { font-size: 1rem; margin-top: 1rem; }
    .hero-actions { margin-top: 1.4rem; gap: .6rem; width: 100%; }
    .hero-actions .btn { flex: 1 1 calc(50% - .3rem); justify-content: center; padding: .7rem .8rem; font-size: .85rem; }
    .hero-stages { margin-top: 1.6rem; }
    .hero-stages span { font-size: .72rem; padding: .35rem .65rem; }
    .hero-slide { padding-block: clamp(1rem, 3vw, 1.8rem); }
}

/* =================================================================
   HERO SLIDER — 3 banner: sınav / ön kayıt WA / varsayılan
   ================================================================= */
.hero-slider { padding-block: 0; }
.hero-track {
    display: flex;
    will-change: transform;
    transition: transform .7s cubic-bezier(.65, .05, .36, 1);
}
.hero-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding-block: clamp(.6rem, 1.8vw, 1.4rem);
    opacity: .25;
    transition: opacity .7s ease;
}
.hero-slide.is-active { opacity: 1; }

/* Banner admin'inden gelen renkleri uygula: --banner-accent (vurgu) */
.hero-slide .red::after { background: var(--banner-accent, var(--red)) !important; }
.hero-slide .accent { color: var(--banner-accent, var(--soft)) !important; }
.hero-slide .hero-medallion .badge {
    background: var(--banner-accent, var(--red));
    box-shadow: 0 10px 24px color-mix(in srgb, var(--banner-accent, var(--red)) 45%, transparent);
}
.hero-slide .hero-medallion .ring.r3 {
    border-color: color-mix(in srgb, var(--banner-accent, var(--red)) 55%, transparent);
}
.hero-slide .hero-lead { color: color-mix(in srgb, var(--banner-text, #fff) 80%, transparent); }
.hero-slide .hero-eyebrow { color: color-mix(in srgb, var(--banner-text, #fff) 70%, transparent); }
.hero-slide .hero-eyebrow .dot { background: var(--banner-accent, var(--red)); }

.hero-nav {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    z-index: 5;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(170,190,202,.30);
    color: #fff;
    display: grid; place-items: center;
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, transform .2s ease;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.hero-nav:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.45); }
.hero-nav:active { transform: translateY(-50%) scale(.94); }
.hero-nav--prev { left: clamp(.6rem, 2vw, 1.6rem); }
.hero-nav--prev svg { transform: rotate(180deg); }
.hero-nav--next { right: clamp(.6rem, 2vw, 1.6rem); }

.hero-dots {
    position: absolute; left: 0; right: 0;
    bottom: clamp(.9rem, 2vw, 1.6rem);
    z-index: 5;
    display: flex; justify-content: center; gap: .55rem;
    pointer-events: none;
}
.hero-dot {
    pointer-events: auto;
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.28);
    cursor: pointer;
    padding: 0;
    transition: background .25s ease, width .3s ease, border-radius .3s ease;
}
.hero-dot:hover { background: rgba(255,255,255,.5); }
.hero-dot.is-active {
    width: 28px;
    border-radius: 6px;
    background: var(--red);
}

/* Slide varyant renkleri (madalyon) */
.hero-medallion--exam .core {
    background: radial-gradient(120% 120% at 30% 25%, #E04752, var(--red));
}
.hero-medallion--exam .ring.r3 { border-color: rgba(255, 214, 90, .55); }
.hero-medallion--exam .badge {
    background: #B71C1C;
    box-shadow: 0 10px 24px rgba(183, 28, 28, .45);
}

.hero-medallion--preregister .core {
    background: radial-gradient(120% 120% at 30% 25%, #25D366, #0F7A5E);
}
.hero-medallion--preregister .ring.r3 { border-color: rgba(37, 211, 102, .55); }
.hero-medallion--preregister .badge {
    background: #128C7E;
    box-shadow: 0 10px 24px rgba(18, 140, 126, .45);
}

@media (max-width: 700px) {
    .hero-nav { width: 38px; height: 38px; background: rgba(0,0,0,.35); border-color: rgba(255,255,255,.45); }
    .hero-nav--prev { left: .35rem; }
    .hero-nav--next { right: .35rem; }
    .hero-nav svg { width: 16px; height: 16px; }
    .hero-dots { bottom: .8rem; }
}

/* =================================================================
   İSTATİSTİK BANDI
   ================================================================= */
.stats {
    background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat {
    padding: clamp(2rem,4vw,3rem) 1rem; text-align: center;
    border-right: 1px solid var(--line); position: relative;
}
.stat:last-child { border-right: none; }
.stat-num {
    font-family: var(--ff-display); font-weight: 800; line-height: 1;
    font-size: clamp(2.2rem, 5vw, 3.4rem); color: var(--navy-900);
    font-variant-numeric: tabular-nums;
}
.stat-num .suf { color: var(--red); }
.stat-label { margin-top: .6rem; color: var(--muted); font-size: .9rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .08em; }
@media (max-width: 720px) {
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .stat:nth-child(2) { border-right: none; }
    .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--line); }
}

/* =================================================================
   KADEME KARTLARI
   ================================================================= */
.stages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.stage-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 2rem 1.6rem; position: relative; overflow: hidden;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
    display: flex; flex-direction: column;
}
.stage-card::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--navy); transform: scaleY(0); transform-origin: top;
    transition: transform .4s var(--ease);
}
.stage-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.stage-card:hover::before { transform: scaleY(1); }
.stage-icon {
    width: 56px; height: 56px; border-radius: var(--r-sm);
    display: grid; place-items: center; background: var(--navy-100); color: var(--navy);
    margin-bottom: 1.3rem; transition: background .35s, color .35s;
}
.stage-card:hover .stage-icon { background: var(--navy); color: #fff; }
.stage-range { font-size: .8rem; font-weight: 700; color: var(--red); letter-spacing: .04em; text-transform: uppercase; }
.stage-card h3 { font-size: 1.4rem; margin: .35rem 0 .2rem; color: var(--navy-900); }
.stage-lead { font-weight: 600; color: var(--navy); font-size: .95rem; margin-bottom: .7rem; }
.stage-card p { color: var(--muted); font-size: .92rem; flex: 1; }
@media (max-width: 980px) { .stages-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .stages-grid { grid-template-columns: 1fr; } }

/* =================================================================
   EĞİTİM ANLAYIŞI (approach)
   ================================================================= */
.approach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.6rem 2.4rem; }
.approach-item {
    display: flex; gap: 1.1rem; align-items: flex-start;
    padding: 1.1rem 1.1rem 1.1rem 1.2rem;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(170,190,202,.14);
    border-left: 3px solid var(--red);
    border-radius: var(--r-md);
    transition: background .25s var(--ease), transform .25s var(--ease), border-color .25s var(--ease);
}
.approach-item:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); border-left-color: var(--red); }
.approach-item .ic {
    flex: 0 0 auto; width: 50px; height: 50px; border-radius: var(--r-sm);
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(224,0,15,.18) 0%, rgba(26,49,88,.35) 100%);
    color: #fff;
    border: 1px solid rgba(224,0,15,.45);
    box-shadow: 0 4px 14px rgba(224,0,15,.18);
}
.approach-item h4 {
    font-size: 1.08rem; color: #fff; margin-bottom: .35rem;
    position: relative; padding-bottom: .3rem;
}
.approach-item h4::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 28px; height: 2px; background: var(--red); border-radius: 2px;
}
.approach-item p { color: var(--soft); font-size: .9rem; }
@media (max-width: 880px) { .approach-grid { grid-template-columns: 1fr; } }

/* =================================================================
   DEĞERLER ŞERİDİ
   ================================================================= */
.values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.value-card {
    background: var(--paper); border-radius: var(--r-md); padding: 1.8rem 1.5rem;
    border: 1px solid var(--line); border-top: 3px solid var(--red);
}
.value-card h4 { color: var(--navy-900); font-size: 1.2rem; margin-bottom: .5rem; }
.value-card p { color: var(--muted); font-size: .92rem; }
@media (max-width: 880px) { .values-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

/* =================================================================
   CTA BANT
   ================================================================= */
.cta-band {
    background: linear-gradient(120deg, var(--navy) 0%, var(--navy-900) 100%);
    border-radius: var(--r-lg); padding: clamp(2.5rem,6vw,4rem); color: #fff;
    position: relative; overflow: hidden; text-align: center;
}
.cta-band::after {
    content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
    border-radius: 50%; border: 30px solid rgba(224,0,15,.18);
}
.cta-band h2 { font-size: clamp(1.7rem,4vw,2.6rem); position: relative; }
.cta-band p { color: var(--soft); margin: 1rem auto 2rem; max-width: 52ch; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* =================================================================
   FOOTER
   ================================================================= */
.site-footer { background: #0A2C50; color: #C9D7E4; padding-block: clamp(2.4rem,5vw,3.6rem) 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand > svg, .footer-brand > img { height: 78px; width: auto; margin-bottom: 1.2rem; display: block; filter: brightness(0) invert(1); }
.footer-brand > svg .st0, .footer-brand > svg .st1, .footer-brand > svg .st2 { fill: #ffffff !important; }
.footer-brand p { font-size: .92rem; color: var(--soft); max-width: 32ch; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.4rem; flex-wrap: wrap; align-items: center; }
.footer-social a {
    width: 40px; height: 40px;
    aspect-ratio: 1 / 1;
    flex: 0 0 40px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.08); color: #fff;
    transition: background .25s ease, transform .25s ease;
    line-height: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.footer-social a svg { display: block; width: 18px; height: 18px; margin: 0; flex-shrink: 0; }
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-col h5 { font-family: var(--ff-display); font-size: .8rem; letter-spacing: .12em;
    text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.footer-col li { margin-bottom: .65rem; }
.footer-col a, .footer-contact a { font-size: .92rem; color: #C9D7E4; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: .92rem; }
.footer-contact svg { color: var(--soft); flex: 0 0 auto; margin-top: 2px; }
.footer-bottom {
    margin-top: clamp(2.5rem,5vw,3.5rem); border-top: 1px solid rgba(255,255,255,.1);
    padding-block: 1.6rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    font-size: .85rem; color: var(--soft);
}
.footer-bottom a:hover { color: #fff; }
.footer-credit { color: var(--soft); }
.footer-credit a { color: #fff; font-weight: 600; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.6rem; } }
@media (max-width: 560px) {
    .site-footer { padding-block: 1.6rem 0; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .footer-brand > svg, .footer-brand > img { height: 56px; margin-bottom: .6rem; }
    .footer-brand p { font-size: .86rem; max-width: 40ch; margin-bottom: .4rem; }
    .footer-social { gap: .4rem; margin-top: .7rem; }
    .footer-social a { width: 34px; height: 34px; flex: 0 0 34px; }
    .footer-social a svg { width: 15px; height: 15px; }
    .footer-col { margin-top: 0; }
    .footer-col h5 { font-size: .72rem; margin-bottom: .6rem; }
    .footer-col li { margin-bottom: .35rem; }
    .footer-col a, .footer-contact a { font-size: .86rem; }
    .footer-contact li { margin-bottom: .55rem; font-size: .86rem; }
    .footer-branches .footer-branch { padding: .35rem 0; }
    .footer-branches .footer-branch strong { font-size: .9rem; }
    .footer-branches .footer-branch span { font-size: .8rem; }
    .footer-bottom { margin-top: 1.2rem; padding-block: 1rem 5.6rem; gap: .4rem; font-size: .78rem; text-align: center; }
    .footer-bottom > span { width: 100%; }
}

/* =================================================================
   POPUP
   ================================================================= */
.popup-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(8,28,48,.72); backdrop-filter: blur(4px);
    display: none; align-items: center; justify-content: center; padding: 1.2rem;
    opacity: 0; transition: opacity .3s;
}
.popup-overlay.show { display: flex; opacity: 1; }
.popup {
    background: var(--paper); border-radius: var(--r-lg); max-width: 460px; width: 100%;
    overflow: hidden; box-shadow: var(--shadow-lg); position: relative;
    transform: translateY(20px) scale(.97); transition: transform .35s var(--ease);
}
.popup-overlay.show .popup { transform: translateY(0) scale(1); }
.popup-close {
    position: absolute; top: .85rem; right: .85rem; z-index: 2;
    width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
    background: rgba(255,255,255,.85); color: var(--navy-900); box-shadow: var(--shadow-sm);
    transition: transform .2s, background .2s;
}
.popup-close:hover { background: #fff; transform: rotate(90deg); }
.popup-head {
    background: linear-gradient(130deg, var(--navy) 0%, var(--navy-900) 100%);
    color: #fff; padding: 2rem 1.8rem 1.6rem; text-align: center; position: relative; overflow: hidden;
}
.popup-head::after {
    content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px;
    border-radius: 50%; border: 18px solid rgba(224,0,15,.2);
}
.popup-tag {
    display: inline-block; font-family: var(--ff-display); font-weight: 700;
    font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
    background: var(--red); padding: .35rem .85rem; border-radius: var(--r-pill); margin-bottom: .9rem;
}
.popup-head h3 { font-size: 1.55rem; line-height: 1.15; position: relative; }
.popup-body { padding: 1.6rem 1.8rem 2rem; }
.popup-body img { width: 100%; border-radius: var(--r-md); margin-bottom: 1.2rem; }
.popup-body p { color: var(--muted); font-size: .95rem; margin-bottom: 1.3rem; }

/* geri sayım */
.countdown { display: flex; justify-content: center; gap: .6rem; margin-bottom: 1.4rem; }
.cd-box {
    background: var(--navy-100); border-radius: var(--r-sm); padding: .7rem .4rem;
    min-width: 62px; text-align: center;
}
.cd-box .num {
    font-family: var(--ff-display); font-weight: 800; font-size: 1.6rem; color: var(--navy-900);
    font-variant-numeric: tabular-nums; line-height: 1;
}
.cd-box .lbl { font-size: .62rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-top: .3rem; }
.popup .btn { width: 100%; justify-content: center; }

/* =================================================================
   FORM (sınav-kayıt + iletişim)
   ================================================================= */
.page-hero {
    background: linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 45%, var(--red) 100%);
    color: #fff; padding-block: clamp(1.6rem,3.5vw,2.6rem); position: relative; overflow: hidden;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 55%);
    pointer-events: none;
}
.page-hero .eyebrow { color: rgba(255,255,255,.85); }
.page-hero .eyebrow::before { background: rgba(255,255,255,.85); }
.page-hero h1 { font-size: clamp(1.7rem,4vw,2.6rem); margin-top: .5rem; position: relative; }
.page-hero p { color: rgba(255,255,255,.86); margin-top: .65rem; max-width: 58ch; position: relative; font-size: .98rem; }
.breadcrumb { font-size: .85rem; color: var(--soft); margin-bottom: 1.2rem; position: relative; }
.breadcrumb a:hover { color: #fff; }

.form-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: clamp(1.6rem,4vw,2.6rem); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.3rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--ff-display); font-weight: 600; font-size: .88rem; color: var(--navy-900); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea {
    font: inherit; padding: .8rem .95rem; border: 1.5px solid var(--line);
    border-radius: var(--r-sm); background: #fff; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--navy);
    box-shadow: 0 0 0 4px rgba(26,49,88,.12);
}
.field .hint { font-size: .78rem; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.kvkk-row { grid-column: 1/-1; display: flex; gap: .7rem; align-items: flex-start;
    background: var(--soft-tint); padding: 1rem 1.2rem; border-radius: var(--r-sm); }
.kvkk-row input { margin-top: .25rem; flex: 0 0 auto; width: 18px; height: 18px; accent-color: var(--navy); }
.kvkk-row label { font-size: .85rem; color: var(--muted); font-weight: 400; line-height: 1.5; }
.kvkk-row a { color: var(--navy); font-weight: 600; }

.form-actions { grid-column: 1/-1; margin-top: .6rem; }
.form-actions .btn { width: 100%; justify-content: center; padding: 1rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

/* alert */
.alert { padding: 1rem 1.2rem; border-radius: var(--r-sm); margin-bottom: 1.4rem; font-size: .93rem;
    display: flex; gap: .7rem; align-items: flex-start; }
.alert svg { flex: 0 0 auto; margin-top: 2px; }
.alert-success { background: #E7F6EC; color: #176B3A; border: 1px solid #B7E4C7; }
.alert-error   { background: #FDE7E8; color: #A4161A; border: 1px solid #F5C2C2; }
.alert-info    { background: var(--navy-100); color: var(--navy-900); border: 1px solid #C3D7EA; }

/* başarı / sonuç ekranı */
.result-card { text-align: center; padding: clamp(2rem,5vw,3rem); }
.result-icon { width: 84px; height: 84px; border-radius: 50%; background: #E7F6EC; color: #176B3A;
    display: grid; place-items: center; margin: 0 auto 1.4rem; }
.result-ref { font-family: var(--ff-display); font-weight: 800; font-size: 2rem; color: var(--navy-900);
    letter-spacing: .04em; margin: .8rem 0; }
.ref-chip { display: inline-block; background: var(--navy-100); border: 1px dashed var(--navy);
    border-radius: var(--r-sm); padding: .9rem 1.6rem; }

/* sınav kart listesi */
.exam-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.25rem; }
.exam-card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 1.8rem; transition: transform .3s var(--ease), box-shadow .3s; display: flex; flex-direction: column;
}
.exam-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.exam-type { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--red); }
.exam-card h3 { font-size: 1.3rem; color: var(--navy-900); margin: .4rem 0 .6rem; }
.exam-meta { display: flex; flex-direction: column; gap: .5rem; margin: .8rem 0 1.4rem; }
.exam-meta span { display: flex; gap: .55rem; align-items: center; color: var(--muted); font-size: .9rem; }
.exam-meta svg { color: var(--navy); flex: 0 0 auto; }
.exam-card .btn { margin-top: auto; justify-content: center; }

/* iletişim grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-info .ci {
    display: flex; gap: 1rem; align-items: flex-start;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem;
}
.contact-info .ci .ic { width: 46px; height: 46px; flex: 0 0 auto; border-radius: var(--r-sm);
    background: var(--navy-100); color: var(--navy); display: grid; place-items: center; }
.contact-info .ci h4 { font-size: .95rem; color: var(--navy-900); margin-bottom: .2rem; }
.contact-info .ci a, .contact-info .ci p { color: var(--muted); font-size: .92rem; }
.map-wrap { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); margin-top: 1.5rem; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }

/* content prose (hakkımızda/eğitim) */
.prose { max-width: 760px; }
.prose h3 { color: var(--navy-900); font-size: 1.5rem; margin: 2.2rem 0 .8rem; }
.prose h4 { color: var(--navy); font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.prose p { color: var(--muted); margin-bottom: 1rem; }
.prose ul.ticks { display: grid; gap: .7rem; margin: 1rem 0; }
.prose ul.ticks li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); }
.prose ul.ticks svg { color: var(--red); flex: 0 0 auto; margin-top: 3px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.split .media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--navy-100);
    display: grid; place-items: center; }
.split .media svg { width: 35%; height: 35%; color: var(--soft); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* mobil sticky çağrı çubuğu */
.mobile-bar { display: none; }
@media (max-width: 720px) {
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr 1fr;
        position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
        background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(26,49,88,.1);
    }
    .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: .25rem;
        padding: .7rem; font-size: .72rem; font-weight: 600; color: var(--navy-900); }
    .mobile-bar a svg { color: var(--navy); }
    .mobile-bar a.wa svg { color: #25D366; }
    .mobile-bar a:not(:last-child) { border-right: 1px solid var(--line); }
    body { padding-bottom: 64px; }
}

/* =================================================================
   GALERİ
   ================================================================= */
.gal-filter {
    display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem;
    padding-bottom: 1.3rem; border-bottom: 1px solid var(--line);
}
.gal-filter a {
    padding: .55rem 1.1rem; border-radius: var(--r-pill);
    font-family: var(--ff-display); font-weight: 600; font-size: .85rem;
    background: #fff; border: 1px solid var(--line); color: var(--muted);
    transition: background .2s, color .2s, border-color .2s;
}
.gal-filter a:hover { color: var(--navy); border-color: var(--navy-100); }
.gal-filter a.active { background: var(--navy); color: #fff; border-color: var(--navy); }

.gal-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem;
}
@media (max-width: 880px) { .gal-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; } }
@media (max-width: 520px) { .gal-grid { grid-template-columns: 1fr; } }

.gal-item {
    position: relative; aspect-ratio: 4/3; overflow: hidden;
    border-radius: var(--r-md); background: var(--navy-100);
    cursor: zoom-in; display: block;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.gal-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gal-item:hover img { transform: scale(1.05); }
.gal-item .gal-cat {
    position: absolute; top: .7rem; left: .7rem;
    background: var(--red); color: #fff; font-size: .7rem; font-weight: 700;
    padding: .25rem .65rem; border-radius: var(--r-pill);
    letter-spacing: .05em; text-transform: uppercase;
}
.gal-item .gal-cap {
    position: absolute; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(8,28,48,.85), transparent);
    color: #fff; font-weight: 600; padding: 1.6rem 1rem .8rem;
    font-size: .92rem; opacity: 0; transition: opacity .25s;
}
.gal-item:hover .gal-cap { opacity: 1; }

.gal-empty {
    text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 1rem;
    background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r-lg);
}
.gal-empty svg { color: var(--soft); margin-bottom: 1rem; }
.gal-empty h3 { font-size: 1.3rem; color: var(--navy-900); margin-bottom: .4rem; }
.gal-empty p { color: var(--muted); max-width: 40ch; margin: 0 auto 1.5rem; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 1200; background: rgba(8,28,48,.94);
    display: flex; align-items: center; justify-content: center; padding: 2rem;
    animation: lbIn .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb-stage { max-width: min(92vw, 1200px); max-height: 84vh; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.lb-stage img { max-width: 100%; max-height: 80vh; border-radius: var(--r-md); box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.lb-stage figcaption { color: #fff; font-family: var(--ff-display); font-weight: 600; font-size: 1rem; text-align: center; opacity: .85; }
.lb-close, .lb-prev, .lb-next {
    position: absolute; width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center;
    border: 1px solid rgba(255,255,255,.18); transition: background .2s, transform .2s;
}
.lb-close { top: 1.4rem; right: 1.4rem; }
.lb-prev  { left: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 1.4rem; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--red); }
.lb-prev svg { transform: rotate(180deg); }
@media (max-width: 600px) {
    .lb-prev, .lb-next { width: 40px; height: 40px; }
    .lb-close { top: 1rem; right: 1rem; }
}

/* =================================================================
   ÖN KAYIT CTA KARTI (aktif sınav yokken)
   ================================================================= */
.prereg-card {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding: clamp(2.4rem, 5vw, 3.6rem) clamp(1.6rem, 4vw, 3rem);
    text-align: center;
    background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy) 100%);
    color: #fff;
    border-radius: var(--r-lg);
    box-shadow: 0 30px 70px rgba(26,49,88,.28);
    overflow: hidden;
}
.prereg-card::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 12% 18%, rgba(255,255,255,.12), transparent 42%),
        radial-gradient(circle at 88% 92%, rgba(224,0,15,.32), transparent 48%);
    pointer-events: none;
}
.prereg-card > * { position: relative; z-index: 1; }
.prereg-card__ribbon {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-family: var(--ff-display);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .72rem;
    padding: .42rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.6rem;
    box-shadow: 0 8px 22px rgba(224,0,15,.42);
}
.prereg-card__icon {
    width: 84px; height: 84px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.28);
    display: grid; place-items: center;
    color: #fff;
}
.prereg-card h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3.6vw, 2.2rem);
    margin-bottom: .6rem;
}
.prereg-card__lead {
    color: rgba(255,255,255,.86);
    font-weight: 500;
    margin-bottom: .4rem;
}
.prereg-card__desc {
    color: rgba(255,255,255,.78);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}
.prereg-card__desc strong { color: #fff; }
.prereg-card__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.prereg-card__actions .btn-outline {
    border-color: rgba(255,255,255,.5);
    color: #fff;
}
.prereg-card__actions .btn-outline:hover {
    background: #fff;
    color: var(--navy-900);
    border-color: #fff;
}

/* reveal animasyon */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    [data-reveal] { opacity: 1; transform: none; }
    .hero-medallion .ring.r2 { animation: none; }
}

/* ===================================================================
   KAYIT SORGULAMA PANELİ (sinav-kayit.php üstündeki kutu)
   =================================================================== */
.lookup-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-sm);
    padding: 1.6rem 1.6rem 1.4rem;
    margin: 0 auto 2.2rem;
    max-width: 820px;
    scroll-margin-top: 90px;
}
.lookup-card__head {
    display: flex; gap: 1rem; align-items: flex-start;
    padding-bottom: 1.2rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px dashed var(--line);
}
.lookup-card__head > svg { color: var(--navy); flex-shrink: 0; margin-top: .2rem; }
.lookup-card__head h2 {
    font-size: 1.3rem; color: var(--navy-900);
    margin-bottom: .35rem;
}
.lookup-card__head p {
    color: var(--muted); font-size: .92rem; line-height: 1.55; margin: 0;
}
.lookup-form {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    gap: 1rem;
    align-items: end;
}
.lookup-field label {
    display: block;
    font-size: .8rem; font-weight: 600;
    color: var(--navy-900);
    margin-bottom: .35rem;
    letter-spacing: .02em;
}
.lookup-field input {
    width: 100%;
    padding: .75rem .9rem;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    font-size: 1rem; font-family: inherit;
    background: #fff; color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
}
.lookup-field input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26,49,88,.15);
}
.lookup-or {
    align-self: center;
    padding: .7rem .2rem 0;
    color: var(--muted);
    font-size: .85rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .12em;
}
.lookup-form .btn { white-space: nowrap; padding: .8rem 1.2rem; }

@media (max-width: 680px) {
    .lookup-card { padding: 1.2rem; }
    .lookup-form { grid-template-columns: 1fr; gap: .8rem; }
    .lookup-or { padding: .3rem 0; text-align: center; }
    .lookup-card__head { flex-direction: column; gap: .6rem; }
}

/* ===================================================================
   KAYIT BELGESİ (kayit-belgesi.php) — A4 print-ready
   =================================================================== */
.doc-body {
    background: #e9eef3;
    margin: 0;
    font-family: var(--ff-body);
    color: var(--ink);
    overflow-x: hidden;
}
.doc-toolbar {
    position: sticky; top: 0; z-index: 50;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    padding: .8rem 1.2rem;
}
.doc-toolbar__title {
    font-family: var(--ff-display); font-weight: 700;
    color: var(--navy-900);
    font-size: 1rem;
}
.doc-page {
    background: #fff;
    width: 210mm;
    min-height: 297mm;
    margin: 1.5rem auto;
    padding: 18mm 16mm;
    box-shadow: 0 20px 60px rgba(26,49,88,.18);
    color: #14202E;
    font-size: 11pt;
    line-height: 1.5;
}
.doc-header {
    display: flex; gap: 1.2rem; align-items: center;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--navy);
    margin-bottom: 1.4rem;
}
.doc-logo { flex-shrink: 0; }
.doc-logo svg, .doc-logo img { height: 70px; width: auto; display: block; }
.doc-school h1 {
    font-family: var(--ff-display); font-weight: 800;
    color: var(--navy-900);
    font-size: 1.4rem;
    margin: 0 0 .2rem;
    letter-spacing: -.01em;
}
.doc-school p {
    margin: .1rem 0;
    font-size: .85rem;
    color: var(--muted);
}
.doc-title {
    text-align: center;
    margin: 1.2rem 0 1.4rem;
}
.doc-eyebrow {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .35rem .9rem;
    border-radius: var(--r-pill);
    margin-bottom: .7rem;
}
.doc-title h2 {
    font-family: var(--ff-display);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--navy-900);
    margin: 0 0 .3rem;
    letter-spacing: -.01em;
}
.doc-exam {
    font-family: var(--ff-display); font-weight: 600;
    color: var(--navy);
    font-size: 1.05rem;
}
.doc-refbar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: var(--soft-tint);
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    padding: 1rem 1.2rem;
    margin-bottom: 1.4rem;
}
.doc-refbar__label {
    font-size: .7rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .1em;
    color: var(--muted);
    margin-bottom: .25rem;
}
.doc-refbar__value {
    font-family: var(--ff-display); font-weight: 700;
    color: var(--navy-900);
    font-size: 1.05rem;
}
.doc-refbar__value.status-yeni     { color: var(--navy); }
.doc-refbar__value.status-onaylandi{ color: #1f8a4c; }
.doc-refbar__value.status-iptal    { color: var(--red); }
.doc-section {
    margin-bottom: 1.2rem;
    page-break-inside: avoid;
}
.doc-section h3 {
    font-family: var(--ff-display); font-weight: 700;
    color: var(--navy-900);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding-bottom: .35rem;
    border-bottom: 1px solid var(--line);
    margin-bottom: .7rem;
}
.doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .95rem;
}
.doc-table th, .doc-table td {
    text-align: left;
    padding: .55rem .8rem;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}
.doc-table th {
    width: 38%;
    color: var(--muted);
    font-weight: 600;
    background: #fafbfc;
}
.doc-table td { color: var(--ink); font-weight: 500; }
.doc-table tr:last-child th, .doc-table tr:last-child td { border-bottom: none; }
.doc-notice {
    background: #fff8e9;
    border: 1px solid #f3dca3;
    border-left: 4px solid #d99a1f;
    border-radius: var(--r-sm);
    padding: .9rem 1.1rem;
    margin: 1.4rem 0 1.6rem;
}
.doc-notice h4 {
    font-family: var(--ff-display); font-weight: 700;
    color: #8a5e15;
    font-size: .95rem;
    margin: 0 0 .5rem;
}
.doc-notice ul {
    margin: 0; padding-left: 1.2rem;
    list-style: disc;
    color: #5a4a20;
    font-size: .88rem;
    line-height: 1.55;
}
.doc-notice li { margin-bottom: .25rem; }
.doc-footer {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1.4rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}
.doc-sign__line {
    width: 220px;
    border-top: 1.5px solid var(--navy-900);
    margin-bottom: .4rem;
}
.doc-sign__label {
    font-family: var(--ff-display); font-weight: 600;
    color: var(--navy-900);
    font-size: .85rem;
}
.doc-meta {
    text-align: right;
    font-size: .75rem;
    color: var(--muted);
    line-height: 1.6;
}

@media (max-width: 820px) {
    .doc-page {
        width: 100%;
        margin: 0;
        padding: 6mm 5mm;
        box-shadow: none;
        font-size: 10pt;
    }
    .doc-header { flex-direction: column; align-items: flex-start; gap: .8rem; }
    .doc-refbar { grid-template-columns: 1fr; }
    .doc-table th { width: 45%; }
    .doc-footer { flex-direction: column; align-items: stretch; }
    .doc-meta { text-align: left; }
}

/* ----- Print (PDF olarak kaydet) ----- */
@media print {
    @page { size: A4; margin: 12mm; }
    body, .doc-body { background: #fff !important; }
    .no-print { display: none !important; }
    .doc-page {
        width: auto;
        min-height: 0;
        margin: 0;
        padding: 0;
        box-shadow: none;
    }
    .doc-section, .doc-notice, .doc-refbar { page-break-inside: avoid; }
}

/* =====================================================================
   Haberler · Etkinlikler · Instagram bölümü · Detay (haber.php)
   ===================================================================== */
.section-head--row {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2rem;
}
.section-head--row h2 { margin: .25rem 0 0; }

/* ---- Haber kartları (grid) ---- */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.news-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(12, 58, 107, .06);
    border: 1px solid #eef1f6;
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(12,58,107,.12); }
.news-card__media {
    position: relative; display: block; aspect-ratio: 16/9; overflow: hidden;
    background: linear-gradient(135deg, #0f1f3a, #1A3158);
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.news-card:hover .news-card__media img { transform: scale(1.04); }
.news-card__placeholder {
    width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255,255,255,.6);
}
.news-card__cat {
    position: absolute; right: 14px; top: 14px;
    background: rgba(224,0,15,.92); color: #fff;
    padding: .35rem .75rem; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .5px;
    text-transform: uppercase; backdrop-filter: blur(6px);
}
.news-card__body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.news-card__date { font-size: .82rem; color: var(--soft, #6b7c8b); font-weight: 500; }
.news-card__body h3 { font-size: 1.18rem; line-height: 1.35; margin: 0; font-weight: 700; }
.news-card__body h3 a { color: var(--navy, #1A3158); text-decoration: none; }
.news-card__body h3 a:hover { color: var(--red, #E0000F); }
.news-card__body p {
    color: #4a5868; font-size: .94rem; line-height: 1.6; margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card__more {
    margin-top: auto; padding-top: .4rem;
    display: inline-flex; align-items: center; gap: .3rem;
    color: var(--red, #E0000F); font-weight: 600; font-size: .92rem;
    text-decoration: none;
}
.news-card__more:hover { gap: .55rem; }

/* ---- Etkinlik kartları ---- */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.5rem;
}
.event-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef1f6;
    box-shadow: 0 4px 22px rgba(12,58,107,.06);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0;
    transition: transform .25s ease, box-shadow .25s ease;
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(12,58,107,.12); }
.event-card__date {
    width: 110px;
    background: linear-gradient(160deg, #1A3158, #0f1f3a);
    color: #fff;
    padding: 1.2rem .8rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: .15rem;
}
.event-card__day { font-family: 'Plus Jakarta Sans', Inter, sans-serif; font-size: 2.4rem; font-weight: 800; line-height: 1; }
.event-card__mon { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .9; }
.event-card__yr  { font-size: .78rem; opacity: .7; }
.event-card__body { padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.event-card__cat {
    background: rgba(224,0,15,.1); color: var(--red, #E0000F);
    padding: .3rem .65rem; border-radius: 999px; font-size: .7rem; font-weight: 700;
    align-self: flex-start; letter-spacing: .4px; text-transform: uppercase;
}
.event-card__body h3 { margin: 0; font-size: 1.18rem; line-height: 1.35; }
.event-card__body h3 a { color: var(--navy, #1A3158); text-decoration: none; }
.event-card__body h3 a:hover { color: var(--red, #E0000F); }
.event-card__body p { color: #4a5868; font-size: .92rem; line-height: 1.55; margin: 0; }
.event-card__meta { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .85rem; color: var(--soft, #6b7c8b); margin-top: .2rem; }
.event-card__meta span { display: inline-flex; align-items: center; gap: .3rem; }
.event-card__cover { display: none; }
.event-card--past .event-card__date { background: linear-gradient(160deg, #6b7c8b, #4a5868); }
.event-card--past .event-card__cat { background: rgba(107,124,139,.15); color: #4a5868; }

/* ---- Boş durum ---- */
.empty-state {
    background: #fff; border: 1px dashed #d4dbe3; border-radius: 18px;
    padding: 3rem 2rem; text-align: center; color: var(--soft, #6b7c8b);
    max-width: 560px; margin: 0 auto;
}
.empty-state svg { color: #c2cbd6; margin-bottom: .8rem; }
.empty-state h3 { color: var(--navy, #1A3158); margin: 0 0 .5rem; font-size: 1.25rem; }
.empty-state p { margin: 0; line-height: 1.55; }
.empty-state a { color: var(--red, #E0000F); font-weight: 600; }

/* ---- Instagram bölümü ---- */
.instagram-section { background: linear-gradient(180deg, #fff 0%, #f7f8fb 100%); }
.instagram-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}
.instagram-head h2 { font-size: 1.95rem; margin: .35rem 0 .75rem; }
.instagram-head .eyebrow { display: inline-flex; align-items: center; gap: .4rem; color: #E0000F; }
.instagram-head p { color: #4a5868; line-height: 1.65; max-width: 540px; margin-bottom: 1.2rem; }
.instagram-events {
    background: #fff; border-radius: 18px; padding: 1.4rem 1.5rem;
    box-shadow: 0 4px 22px rgba(12,58,107,.06); border: 1px solid #eef1f6;
}
.instagram-events h4 {
    margin: 0 0 .8rem; display: flex; align-items: center; gap: .4rem;
    font-size: 1rem; color: var(--navy, #1A3158); font-weight: 700;
}
.instagram-events ul { list-style: none; padding: 0; margin: 0 0 .8rem; display: flex; flex-direction: column; gap: .55rem; }
.instagram-events li a {
    display: flex; justify-content: space-between; gap: .8rem; align-items: baseline;
    padding: .7rem .85rem; border-radius: 12px; background: #f6f8fb;
    text-decoration: none; transition: background .2s ease;
}
.instagram-events li a:hover { background: #edf0f4; }
.ie-title { color: var(--navy, #1A3158); font-weight: 600; font-size: .92rem; flex: 1; }
.ie-date  { color: var(--red, #E0000F); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.ie-all   { display: inline-flex; align-items: center; gap: .3rem; color: var(--red, #E0000F); font-weight: 600; font-size: .9rem; text-decoration: none; }

.instagram-embed {
    border-radius: 22px; overflow: hidden; background: #fff;
    box-shadow: 0 4px 24px rgba(12,58,107,.08); border: 1px solid #eef1f6;
}

.instagram-fallback { margin-top: 1rem; }
.instagram-tile {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center;
    gap: 1.2rem; padding: 1.6rem 1.8rem;
    background: linear-gradient(135deg, #fdf2f8 0%, #fef3e2 50%, #e9ddf7 100%);
    border-radius: 22px; text-decoration: none; color: var(--navy, #1A3158);
    border: 1px solid #f1e6f0;
    transition: transform .2s ease, box-shadow .2s ease;
}
.instagram-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(214, 30, 95, .15); }
.instagram-tile__icon {
    width: 70px; height: 70px; border-radius: 18px; display: grid; place-items: center;
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
}
.instagram-tile__text { display: flex; flex-direction: column; gap: .2rem; }
.instagram-tile__text strong { font-size: 1.2rem; font-weight: 800; }
.instagram-tile__text span { color: #4a5868; font-size: .92rem; }

/* ---- Haber/Etkinlik detay (haber.php) ---- */
.article-hero { position: relative; min-height: 380px; color: #fff; overflow: hidden; isolation: isolate; }
.article-hero__cover {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    z-index: -2;
}
.article-hero__cover--solid { background: linear-gradient(135deg, #0f1f3a, #1A3158 60%, #8c0008); }
.article-hero__shade {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(12,58,107,.4) 0%, rgba(12,58,107,.92) 100%);
    z-index: -1;
}
.article-hero__inner { padding: 4rem 1rem 3rem; max-width: 920px; }
.article-crumbs { display: flex; gap: .5rem; align-items: center; font-size: .85rem; margin-bottom: 1.1rem; color: rgba(255,255,255,.75); }
.article-crumbs a { color: rgba(255,255,255,.85); text-decoration: none; }
.article-crumbs a:hover { color: #fff; }
.article-eyebrow {
    display: inline-block; background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
    padding: .35rem .9rem; border-radius: 999px;
    font-size: .75rem; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 1rem;
}
.article-hero__inner h1 {
    font-family: 'Plus Jakarta Sans', Inter, sans-serif;
    font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; line-height: 1.2;
    margin: 0 0 1.2rem; color: #fff;
}
.article-meta { display: flex; flex-wrap: wrap; gap: 1.2rem; font-size: .9rem; color: rgba(255,255,255,.88); }
.article-meta span { display: inline-flex; align-items: center; gap: .35rem; }

.article-body {
    max-width: 760px; padding: 3rem 1rem 4rem;
    font-size: 1.06rem; line-height: 1.75; color: #2a3441;
}
.article-lead {
    font-size: 1.18rem; line-height: 1.6; color: var(--navy, #1A3158); font-weight: 500;
    padding: 1.2rem 1.4rem; background: #f6f8fb; border-left: 4px solid #E0000F;
    border-radius: 0 12px 12px 0; margin-bottom: 1.8rem;
}
.article-body p { margin: 0 0 1.2rem; }

.article-share {
    margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid #e6ecf2;
    display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
}
.article-share > span { font-weight: 700; color: var(--navy, #1A3158); margin-right: .4rem; }
.share-btn {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .55rem 1rem; border-radius: 999px;
    background: #f6f8fb; color: var(--navy, #1A3158);
    border: 1px solid #e6ecf2; cursor: pointer; font-size: .9rem;
    text-decoration: none; transition: background .2s ease;
    font-family: inherit;
}
.share-btn:hover { background: #edf0f4; }

@media (max-width: 820px) {
    .instagram-head { grid-template-columns: 1fr; }
    .event-card { grid-template-columns: 1fr; }
    .event-card__date { width: 100%; flex-direction: row; gap: .7rem; padding: 1rem 1.4rem; justify-content: flex-start; }
    .event-card__day { font-size: 1.8rem; }
    .article-hero__inner { padding: 3rem 1rem 2rem; }
}
@media (max-width: 520px) {
    .news-grid { grid-template-columns: 1fr; }
    .events-grid { grid-template-columns: 1fr; }
    .instagram-tile { grid-template-columns: auto 1fr; padding: 1.2rem; }
    .instagram-tile > svg:last-child { grid-column: 1 / -1; justify-self: center; margin-top: .5rem; }
}

/* ---- Çerez bildirimi ---- */
.cookie-banner {
    position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 9000;
    background: #fff; border: 1px solid var(--line, #E5EAF2);
    box-shadow: 0 12px 36px rgba(26,49,88,.18);
    border-radius: 14px; padding: 1rem 1.2rem;
    max-width: 720px; margin: 0 auto;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
    display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; justify-content: space-between;
}
.cookie-banner p {
    margin: 0; color: var(--ink, #1B2A40); font-size: .92rem; line-height: 1.5; flex: 1 1 280px;
}
.cookie-banner a { color: var(--navy, #1A3158); text-decoration: underline; }
@media (max-width: 720px) {
    .cookie-banner { left: .5rem; right: .5rem; bottom: 5.5rem; padding: .85rem 1rem; }
    .cookie-banner__inner { flex-direction: column; align-items: stretch; }
    .cookie-banner__inner .btn { width: 100%; justify-content: center; }
}

/* ---- A11y: belirgin odak halkası ---- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 2px solid var(--navy, #1A3158);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---- Skip to content link ---- */
.skip-link {
    position: absolute; left: -9999px; top: 0;
    background: var(--navy, #1A3158); color: #fff;
    padding: .6rem 1rem; border-radius: 0 0 8px 0; z-index: 10000;
    font-weight: 600;
}
.skip-link:focus { left: 0; }

/* === Şubeler — iletişim sayfası === */
.branches { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-bottom: 1.4rem; }
.branch-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem; box-shadow: 0 4px 16px rgba(15,31,58,.06); display:flex; flex-direction:column; gap:1rem; }
.branch-card__head { display:flex; flex-direction:column; gap:.35rem; }
.branch-card__badge { display:inline-flex; align-items:center; gap:.35rem; background: var(--navy-100,#E2E6EE); color: var(--navy,#1A3158); padding:.25rem .7rem; border-radius: 999px; font-size:.78rem; font-weight:600; width:fit-content; }
.branch-card__title { font-size: 1.25rem; color: var(--navy,#1A3158); margin:.2rem 0 0; }
.branch-card__tag { color: var(--red,#E0000F); font-weight:600; font-size:.92rem; margin:0; }
.branch-card__list { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.6rem; }
.branch-card__list li { display:flex; gap:.6rem; align-items:flex-start; color: var(--ink,#14202E); font-size:.92rem; }
.branch-card__list li a { color: inherit; text-decoration: none; }
.branch-card__list li a:hover { color: var(--red,#E0000F); }
.branch-card__map { margin-top:.2rem; border-radius: 14px; overflow:hidden; aspect-ratio: 16/9; }
.branch-card__map iframe { width:100%; height:100%; border:0; display:block; }
.ci-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: .8rem; margin-top:.4rem; }

/* === Footer şube bloğu === */
.footer-branches .footer-branch { display:flex; flex-direction:column; gap:.15rem; padding:.55rem 0; border-bottom:1px dashed rgba(255,255,255,.12); }
.footer-branches .footer-branch:last-of-type { border-bottom:none; }
.footer-branches .footer-branch strong { color:#fff; font-size:.94rem; }
.footer-branches .footer-branch span { display:flex; gap:.4rem; align-items:flex-start; color: rgba(255,255,255,.74); font-size:.84rem; }

/* === news-card içinde tür rozeti (haber/etkinlik) === */
.news-card__kind { position:absolute; top:.7rem; right:.7rem; background: rgba(26,49,88,.92); color:#fff; padding:.22rem .55rem; border-radius:999px; font-size:.72rem; font-weight:600; letter-spacing:.02em; }
.news-card__kind--event { background: rgba(224,0,15,.95); }
.news-card.is-event .news-card__date svg { color: var(--red,#E0000F); }
.news-card__meta { display:flex; gap:.4rem; align-items:flex-start; color: var(--muted,#5A6B7B); font-size:.85rem; margin-top:.3rem; }
