/* =============================================================
   Kastamonu Sürücü Kursu — Tema CSS
   Yol/trafik motifleriyle tasarlanmış custom stylesheet.
   ============================================================= */

/* Hero orbit tilt değişkenini angle tipinde register et —
   var() keyframes içinde çalışsın diye gerekli */
@property --orbit-tilt {
    syntax: '<angle>';
    inherits: true;
    initial-value: 45deg;
}

/* ---------- 1. Tasarım sistemi ---------- */
:root {
    --c-primary: #2A0E2A;
    --c-primary-2: #4A1F4D;
    --c-primary-deep: #1A081C;
    --c-accent: #962AAC;
    --c-accent-2: #B543C7;
    --c-danger: #C8102E;
    --c-success: #0EAD69;
    --c-bg: #FFFFFF;
    --c-bg-soft: #FAF6FB;
    --c-bg-dark: #14060F;
    --c-border: #E8E0EC;
    --c-text: #1A0E22;
    --c-text-mute: #5B5266;
    --c-text-light: #9B96A4;

    --shadow-sm: 0 1px 2px rgba(91, 21, 114, .06);
    --shadow-md: 0 8px 24px -8px rgba(91, 21, 114, .18);
    --shadow-lg: 0 24px 48px -16px rgba(91, 21, 114, .28);
    --shadow-glow: 0 12px 32px -8px rgba(150, 42, 172, .45);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

    --container: 1240px;
    --topbar-h: 40px;
    --header-h: 84px;

    /* === HERO ORBIT AYARI ===
       Halka tilt açısı. 45deg = arkaya yatık daire.
       0deg = yatay halka (kameradan ince çizgi)
       45deg = arkaya 45° yatık (varsayılan)
       72deg = neredeyse tam daire, hafif derinlik
       90deg = tam dikey daire (depth efekti yok) */
    --orbit-tilt: 30deg;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background: var(--c-bg);
    overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; color: var(--c-primary); }
p { margin: 0; }

::selection { background: var(--c-accent); color: #fff; }

/* ---------- 3. Yardımcılar ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-primary); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px 7px 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--c-accent);
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 18px;
    border: 1px solid rgba(150, 42, 172, .18);
    box-shadow: 0 6px 18px -10px rgba(150, 42, 172, .45);
}
.section-eyebrow::before {
    content: '';
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--c-accent);
    box-shadow: 0 0 0 4px rgba(150, 42, 172, .18);
}
.section--dark .section-eyebrow {
    background: rgba(255, 255, 255, .07);
    color: #fff;
    border-color: rgba(255, 255, 255, .14);
    box-shadow: none;
}
.section--dark .section-eyebrow::before { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.section-title { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; }
.section-sub { color: var(--c-text-mute); font-size: 17px; }
.section--dark .section-sub { color: rgba(255, 255, 255, .72); }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform .25s var(--ease-spring), box-shadow .25s var(--ease), background .2s;
    white-space: nowrap;
}
.btn--primary { background: var(--c-accent); color: #fff; box-shadow: var(--shadow-glow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(150, 42, 172, .7); }
.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.hero .btn--ghost { color: var(--c-primary); border-color: rgba(91, 21, 114, .25); background: rgba(255, 255, 255, .55); }
.hero .btn--ghost:hover { border-color: var(--c-primary); background: #fff; }
.btn--dark { background: var(--c-primary); color: #fff; }
.btn--dark:hover { background: var(--c-primary-2); transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-border); }
.btn--outline:hover { border-color: var(--c-primary); }
.btn .icon { width: 18px; height: 18px; }

/* ---------- 4. Duyuru bandı ---------- */
.announce {
    background: linear-gradient(90deg, var(--c-accent-2) 0%, var(--c-accent) 50%, var(--c-accent-2) 100%);
    background-size: 200% 100%;
    animation: announceShift 6s ease-in-out infinite;
    color: #fff;
    font-size: 13.5px;
    font-weight: 600;
    position: relative;
}
.announce.is-hidden { display: none; }
.announce__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 9px 44px 9px 16px;
    text-align: center;
}
.announce__inner svg { width: 16px; height: 16px; flex-shrink: 0; }
.announce a {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    margin-left: 4px;
}
.announce__close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    color: #fff;
    display: grid;
    place-items: center;
    transition: background .2s;
}
.announce__close:hover { background: rgba(255, 255, 255, .35); }
.announce__close svg { width: 14px; height: 14px; }
@keyframes announceShift {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

/* ---------- 5. Top bar ---------- */
.topbar {
    background: var(--c-primary-deep);
    color: rgba(255, 255, 255, .85);
    font-size: 13.5px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}
.topbar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--topbar-h);
    gap: 24px;
}
.topbar__list {
    display: flex;
    gap: 24px;
    align-items: center;
}
.topbar__list a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s; }
.topbar__list a:hover { color: var(--c-accent); }
.topbar__list .icon { width: 14px; height: 14px; opacity: .8; }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08);
    transition: background .2s, transform .2s;
}
.topbar__social a:hover { background: var(--c-accent); color: var(--c-primary-deep); transform: translateY(-1px); }
.topbar__social svg { width: 14px; height: 14px; }
.topbar__search {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}
.topbar__search:hover { background: var(--c-accent); color: #fff; transform: translateY(-1px); }
.topbar__search svg { width: 14px; height: 14px; }

/* ---------- 5. Header (ana navigasyon) ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
    transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
    background: rgba(255, 255, 255, .98);
    backdrop-filter: saturate(140%) blur(12px);
    -webkit-backdrop-filter: saturate(140%) blur(12px);
    border-bottom-color: var(--c-border);
    box-shadow: 0 6px 24px -16px rgba(91, 21, 114, .25);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}
.brand__logo {
    display: block;
    width: auto;
    height: 56px;
    max-height: calc(var(--header-h) - 28px);
    object-fit: contain;
}
.mobile-menu__head .brand__logo { height: 44px; }
.brand--footer .brand__logo {
    height: 60px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: var(--c-primary);
    font-size: 20px;
    letter-spacing: -.01em;
}
.brand__mark {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
    color: var(--c-accent);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px -10px rgba(91, 21, 114, .6);
    position: relative;
    overflow: hidden;
}
.brand__mark::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 20%, rgba(150, 42, 172, .35), transparent 60%);
}
.brand__mark svg { width: 28px; height: 28px; position: relative; z-index: 1; }
.brand__name { line-height: 1.05; }
.brand__name small {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--c-text-mute);
    text-transform: uppercase;
    margin-top: 3px;
}

/* Ana menü */
.nav { display: flex; align-items: center; gap: 4px; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14.5px;
    color: var(--c-text);
    white-space: nowrap;
    transition: color .2s, background .2s;
}
span.nav__link { cursor: pointer; user-select: none; }
.nav__link:hover, .nav__item.is-active > .nav__link { color: var(--c-primary); background: var(--c-bg-soft); }
.nav__link .chev { width: 12px; height: 12px; transition: transform .2s; opacity: .6; }
.nav__item:hover .chev { transform: rotate(180deg); }

.nav__dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-md);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__item:hover > .nav__dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__dropdown a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--c-text);
    transition: background .2s, color .2s;
}
.nav__dropdown a:hover { background: var(--c-bg-soft); color: var(--c-primary); }
.nav__dropdown a .badge {
    margin-left: auto;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--c-accent);
    color: var(--c-primary-deep);
    font-weight: 700;
}

/* Mega menu - genel */
.mega {
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    padding: 24px;
}
.nav__item:hover .mega { transform: translateX(-50%) translateY(0); }
.mega--classes {
    min-width: 680px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
.mega--classes a {
    padding: 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.mega--classes a:hover { background: var(--c-bg-soft); border-color: var(--c-border); }

.mega__icon {
    width: 50px; height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px -4px rgba(150, 42, 172, .55);
}
.mega__text { display: flex; flex-direction: column; min-width: 0; }
.mega__text strong { font-size: 15px; color: var(--c-primary); margin-bottom: 2px; }
.mega__text span { font-size: 12.5px; color: var(--c-text-mute); font-weight: 500; }
.mega__meta {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    font-size: 11px;
    color: var(--c-text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.mega__meta span { display: inline-flex; align-items: center; gap: 4px; }
.mega__meta svg { width: 11px; height: 11px; }

/* Çok sütunlu mega menu (Kurumsal, Eğitim & Bilgi) */
.mega--wide {
    min-width: 760px;
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    gap: 28px;
}
.mega--cols2 {
    min-width: 600px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
/* Eğitim & Bilgi — düz yan yana grid (4 sütun × 2 satır) */
.mega--bilgi {
    min-width: 760px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    padding: 20px;
}
.mega--bilgi a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 14px 10px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text);
    transition: background .2s, border-color .2s, transform .2s, color .2s;
}
.mega--bilgi a:hover {
    background: var(--c-bg-soft);
    border-color: var(--c-border);
    color: var(--c-primary);
    transform: translateY(-2px);
}
.mega--bilgi a .ic {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(150, 42, 172, .14);
    color: var(--c-primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
    transition: background .2s, color .2s;
}
.mega--bilgi a:hover .ic { background: var(--c-accent); color: var(--c-primary-deep); }
.mega--bilgi a .ic svg { width: 18px; height: 18px; }
.mega-col h5 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--c-text-light);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--c-border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.mega-col h5::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--c-accent-2);
    border-radius: 2px;
}
.mega-col a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    transition: background .2s, color .2s, transform .2s;
}
.mega-col a:hover {
    background: var(--c-bg-soft);
    color: var(--c-primary);
    transform: translateX(2px);
}
.mega-col a .ic {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: rgba(150, 42, 172, .14);
    color: var(--c-primary);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.mega-col a:hover .ic { background: var(--c-accent); color: var(--c-primary-deep); }
.mega-col a .ic svg { width: 14px; height: 14px; }

/* Mega içi tanıtım kartı */
.mega-promo {
    position: relative;
    border-radius: 14px;
    padding: 22px 22px 22px;
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.mega-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 80% at 100% 0%, rgba(150, 42, 172, .25), transparent 60%),
        repeating-linear-gradient(45deg, transparent 0 14px, rgba(255, 255, 255, .035) 14px 15px);
    pointer-events: none;
}
.mega-promo__top {
    position: relative;
    z-index: 1;
}
.mega-promo .tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--c-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 6px;
    margin-bottom: 12px;
}
.mega-promo h6 {
    color: #fff;
    font-size: 18px;
    line-height: 1.25;
    margin-bottom: 8px;
}
.mega-promo p {
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
}
.nav__dropdown a.mega-promo__btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--c-accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: transform .2s var(--ease-spring), background .2s;
    align-self: flex-start;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 18px -8px rgba(150, 42, 172, .55);
}
.nav__dropdown a.mega-promo__btn:hover { transform: translateX(3px); background: var(--c-accent-2); color: #fff; }
.mega-promo__btn svg { width: 14px; height: 14px; }
.mega-promo__stats {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    position: relative;
    z-index: 1;
}
.mega-promo__stat strong {
    display: block;
    color: var(--c-accent);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}
.mega-promo__stat span {
    color: rgba(255, 255, 255, .65);
    font-size: 11px;
    font-weight: 500;
}

/* Search butonu */
.search-trigger {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--c-bg-soft);
    color: var(--c-primary);
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
}
.search-trigger:hover { background: var(--c-primary); color: #fff; }
.search-trigger svg { width: 18px; height: 18px; }

/* Search modal */
.search-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 80px 16px 16px;
    background: rgba(6, 24, 41, .55);
    backdrop-filter: blur(6px);
}
.search-modal.is-open { display: flex; animation: fade .2s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.search-modal__panel {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: slideDown .3s var(--ease);
}
@keyframes slideDown {
    from { transform: translateY(-16px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.search-modal__form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--c-border);
}
.search-modal__form svg.ic-search {
    width: 20px; height: 20px;
    margin: 0 16px;
    color: var(--c-text-mute);
    flex-shrink: 0;
}
.search-modal__form input {
    flex: 1;
    border: 0;
    outline: 0;
    padding: 18px 0;
    font-size: 16px;
    font-family: inherit;
    color: var(--c-text);
    background: transparent;
}
.search-modal__esc {
    margin: 0 14px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--c-bg-soft);
    color: var(--c-text-mute);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}
.search-modal__suggest {
    padding: 14px 16px 18px;
}
.search-modal__suggest strong {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--c-text-light);
    margin-bottom: 10px;
}
.search-modal__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.search-modal__chips a {
    padding: 6px 12px;
    background: var(--c-bg-soft);
    border-radius: 999px;
    font-size: 13px;
    color: var(--c-text);
    font-weight: 500;
    transition: background .2s;
}
.search-modal__chips a:hover { background: var(--c-accent); color: var(--c-primary-deep); }

/* Header CTA */
.header__cta { display: flex; align-items: center; gap: 12px; }
.header__phone {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 8px;
}
.header__phone-ic {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--c-accent);
    color: #fff;
    display: grid;
    place-items: center;
    position: relative;
    box-shadow: 0 8px 18px -8px rgba(150, 42, 172, .55);
}
.header__phone-ic::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 2px solid var(--c-accent);
    animation: ping 1.8s var(--ease) infinite;
}
.header__phone-ic svg { width: 18px; height: 18px; }
.header__phone-text { line-height: 1.1; }
.header__phone-text { white-space: nowrap; }
.header__phone-text small { display: block; color: var(--c-text-mute); font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2px; }
.header__phone-text strong { font-size: 15.5px; color: var(--c-primary); font-weight: 700; white-space: nowrap; }

@keyframes ping {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* Hamburger */
.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--c-bg-soft);
    place-items: center;
    color: var(--c-primary);
}
.menu-toggle svg { width: 22px; height: 22px; }

/* ---------- 6. Mobil menü ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    visibility: hidden;
}
.mobile-menu.is-open { pointer-events: auto; visibility: visible; }
.mobile-menu__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 24, 41, .55);
    opacity: 0;
    transition: opacity .3s var(--ease);
    backdrop-filter: blur(4px);
}
.mobile-menu.is-open .mobile-menu__backdrop { opacity: 1; }
.mobile-menu__panel {
    position: absolute;
    top: 0; right: 0;
    width: min(380px, 88vw);
    height: 100%;
    background: #fff;
    transform: translateX(100%);
    transition: transform .35s var(--ease);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--c-border);
}
.mobile-menu__close {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--c-bg-soft);
    display: grid;
    place-items: center;
    color: var(--c-primary);
}
.mobile-nav { padding: 14px 12px; flex: 1; }
.mobile-nav__item { border-bottom: 1px solid var(--c-border); }
.mobile-nav__item:last-child { border-bottom: 0; }
.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 12px;
    font-weight: 600;
    color: var(--c-text);
    text-align: left;
}
.mobile-nav__link .chev { width: 16px; height: 16px; transition: transform .25s; opacity: .55; }
.mobile-nav__item.is-open .mobile-nav__link .chev { transform: rotate(180deg); color: var(--c-accent-2); opacity: 1; }
.mobile-nav__sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
    padding-left: 16px;
}
.mobile-nav__item.is-open .mobile-nav__sub { max-height: 600px; }
.mobile-nav__sub a {
    display: block;
    padding: 12px;
    font-size: 14.5px;
    color: var(--c-text-mute);
    border-left: 2px solid var(--c-border);
    margin-bottom: 4px;
}
.mobile-nav__sub a:hover { color: var(--c-primary); border-left-color: var(--c-accent-2); }
.mobile-menu__foot {
    padding: 22px;
    border-top: 1px solid var(--c-border);
    background: var(--c-bg-soft);
}
.mobile-menu__foot .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ---------- 7. Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background: #FCF7FD;
    color: var(--c-text);
    margin-top: calc(-1 * var(--header-h));
    padding: calc(var(--header-h) + 80px) 0 70px;
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(55% 70% at 88% 18%, rgba(150, 42, 172, .18), transparent 65%),
        radial-gradient(45% 65% at 8% 95%, rgba(181, 67, 199, .10), transparent 60%),
        linear-gradient(180deg, #FFFFFF 0%, #FBEEFB 60%, #F2DEF7 100%);
    z-index: -2;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(91, 21, 114, .07) 1px, transparent 1.2px);
    background-size: 26px 26px;
    background-position: 0 0;
    mask-image: radial-gradient(80% 70% at 30% 40%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(80% 70% at 30% 40%, #000 20%, transparent 75%);
    z-index: -1;
    pointer-events: none;
}

/* Hero ile sonraki section arasında: yatay yol şeridi (kesik sarı çizgiler akar) */
.road-strip {
    position: relative;
    height: 56px;
    background: linear-gradient(180deg, #F2DEF7 0%, var(--c-primary-deep) 30%, var(--c-primary-deep) 100%);
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 255, 255, .05);
}
.road-strip::before, .road-strip::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: rgba(255, 255, 255, .06);
}
.road-strip::before { top: 14px; }
.road-strip::after  { bottom: 14px; }
.road-strip__lane {
    position: absolute;
    top: 50%;
    left: -80px; right: -80px;
    height: 6px;
    margin-top: -3px;
    background-image: repeating-linear-gradient(
        90deg,
        #fff 0 48px,
        transparent 48px 100px
    );
    background-size: 100px 100%;
    animation: laneScroll 1.4s linear infinite;
}
@keyframes laneScroll {
    from { background-position: 0 0; }
    to   { background-position: -100px 0; }
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 56px;
    align-items: center;
    z-index: 1;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 5px 16px 5px 5px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(150, 42, 172, .14);
    box-shadow: 0 8px 24px -14px rgba(150, 42, 172, .45), inset 0 0 0 1px rgba(255, 255, 255, .6);
    font-size: 13px;
    color: var(--c-text);
    margin-bottom: 28px;
    font-weight: 500;
}
.hero__badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px 4px 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px -4px rgba(150, 42, 172, .55);
}
.hero__badge-pill svg { width: 13px; height: 13px; }
.hero__badge-text { color: var(--c-primary); font-weight: 600; }
.hero__badge-sep {
    width: 4px; height: 4px;
    border-radius: 50%;
    background: rgba(150, 42, 172, .35);
}
.hero__badge-loc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--c-text-mute);
    font-weight: 500;
}
.hero__badge-loc svg { width: 13px; height: 13px; color: var(--c-accent); }

.hero__title {
    color: var(--c-primary);
    font-size: clamp(38px, 5.6vw, 68px);
    line-height: 1.04;
    margin-bottom: 22px;
    font-weight: 800;
    letter-spacing: -.028em;
}
.hero__title .accent {
    background: linear-gradient(135deg, #5B1572 0%, var(--c-accent-2) 60%, #962AAC 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}
.hero__title .accent::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 4px;
    background: var(--c-accent);
    border-radius: 4px;
    opacity: .8;
}

.hero__lead {
    font-size: 18px;
    color: var(--c-text-mute);
    max-width: 520px;
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    padding: 14px 0;
    border-top: 1px solid rgba(91, 21, 114, .12);
}
.hero__trust-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--c-primary);
    font-size: 13.5px;
    font-weight: 600;
}
.hero__trust-ic {
    width: 28px; height: 28px;
    border-radius: 8px;
    background: var(--c-accent);
    color: #fff;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px -4px rgba(150, 42, 172, .55);
}
.hero__trust-ic svg { width: 16px; height: 16px; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 480px;
}
.hero__stat strong {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--c-primary);
    line-height: 1;
    letter-spacing: -.02em;
}
.hero__stat span {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--c-text-mute);
    font-weight: 500;
}

/* Hero görsel */
.hero__visual {
    position: relative;
    min-height: 620px;
    display: grid;
    place-items: center;
    perspective: 800px;
    perspective-origin: 50% 50%;
}

/* Orbit ile aynı düzleme oturan zemin halkası — tilt değişkenine bağlı */
.hero__stage {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 640px;
    height: 640px;
    margin: -320px 0 0 -320px;
    border-radius: 50%;
    background:
        radial-gradient(closest-side, rgba(150, 42, 172, .35) 0%, rgba(150, 42, 172, .12) 50%, transparent 70%);
    transform: rotateX(calc(90deg - var(--orbit-tilt)));
    transform-style: preserve-3d;
    pointer-events: none;
}
.hero__stage::before, .hero__stage::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(150, 42, 172, .45);
}
.hero__stage::after {
    inset: 18%;
    border-style: solid;
    border-width: 1.5px;
    border-color: rgba(150, 42, 172, .35);
    animation: stageRot 24s linear infinite;
}
@keyframes stageRot { to { transform: rotate(360deg); } }

/* Araba */
.hero__car {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 430px;
    filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .55));
    animation: float 5s ease-in-out infinite;
    transform-style: preserve-3d;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

/* 3D YÖRÜNGE — gerçek daire halka, --orbit-tilt kadar arkaya yatık.
   Tek yerden ayarlamak için :root içindeki --orbit-tilt değişkenini değiştir. */
.orbit {
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    transform-style: preserve-3d;
    transform: rotateX(calc(var(--orbit-tilt) * -1));
    pointer-events: none;
    z-index: 4;
}
.orbit__sign {
    position: absolute;
    top: -45px;
    left: -45px;
    width: 90px;
    height: 90px;
    max-width: none;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .55));
    transform-style: preserve-3d;
    will-change: transform, z-index;
    backface-visibility: visible;
}
/* Her levha aynı animasyonu farklı başlangıç açısıyla yapar */
.orbit__sign--1 { animation: orbit1 18s linear infinite; }
.orbit__sign--2 { animation: orbit2 18s linear infinite; }
.orbit__sign--3 { animation: orbit3 18s linear infinite; }
.orbit__sign--4 { animation: orbit4 18s linear infinite; }
.orbit__sign--5 { animation: orbit5 18s linear infinite; }
.orbit__sign--6 { animation: orbit6 18s linear infinite; }

/* Her levha: yatay (rotateY) yörüngede dolaşır + counter-rotateY → kendi etrafında dönmez,
   sondaki rotateX(var(--orbit-tilt)) parent eğimini etkisiz kılıyor → levha kameraya düz bakar */
@keyframes orbit1 {
    from { transform: rotateY(0deg)   translateZ(310px) rotateY(0deg)    rotateX(var(--orbit-tilt)); }
    to   { transform: rotateY(360deg) translateZ(310px) rotateY(-360deg) rotateX(var(--orbit-tilt)); }
}
@keyframes orbit2 {
    from { transform: rotateY(60deg)  translateZ(310px) rotateY(-60deg)  rotateX(var(--orbit-tilt)); }
    to   { transform: rotateY(420deg) translateZ(310px) rotateY(-420deg) rotateX(var(--orbit-tilt)); }
}
@keyframes orbit3 {
    from { transform: rotateY(120deg) translateZ(310px) rotateY(-120deg) rotateX(var(--orbit-tilt)); }
    to   { transform: rotateY(480deg) translateZ(310px) rotateY(-480deg) rotateX(var(--orbit-tilt)); }
}
@keyframes orbit4 {
    from { transform: rotateY(180deg) translateZ(310px) rotateY(-180deg) rotateX(var(--orbit-tilt)); }
    to   { transform: rotateY(540deg) translateZ(310px) rotateY(-540deg) rotateX(var(--orbit-tilt)); }
}
@keyframes orbit5 {
    from { transform: rotateY(240deg) translateZ(310px) rotateY(-240deg) rotateX(var(--orbit-tilt)); }
    to   { transform: rotateY(600deg) translateZ(310px) rotateY(-600deg) rotateX(var(--orbit-tilt)); }
}
@keyframes orbit6 {
    from { transform: rotateY(300deg) translateZ(310px) rotateY(-300deg) rotateX(var(--orbit-tilt)); }
    to   { transform: rotateY(660deg) translateZ(310px) rotateY(-660deg) rotateX(var(--orbit-tilt)); }
}

/* Hero için yumuşak arka plan halesi */
.hero__halo {
    position: absolute;
    top: 50%; left: 50%;
    width: 520px; height: 520px;
    margin: -260px 0 0 -260px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(150, 42, 172, .14), transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: haloPulse 4s ease-in-out infinite;
}
@keyframes haloPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.08); opacity: .75; }
}

/* Hero section yan duvarlarından "çıkmış" yol levhaları */
.hero__sign {
    position: absolute;
    width: 130px;
    pointer-events: none;
    z-index: 2;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .45));
}
.hero__sign--l {
    left: -22px;
    top: 22%;
    transform: rotate(-12deg);
    animation: signSwayL 7s ease-in-out infinite;
}
.hero__sign--r {
    right: -28px;
    bottom: 26%;
    transform: rotate(10deg);
    animation: signSwayR 7s ease-in-out infinite .8s;
}
@keyframes signSwayL {
    0%, 100% { transform: rotate(-12deg) translateY(0); }
    50%      { transform: rotate(-9deg) translateY(-8px); }
}
@keyframes signSwayR {
    0%, 100% { transform: rotate(10deg) translateY(0); }
    50%      { transform: rotate(7deg) translateY(-8px); }
}

/* ---------- 8. Hizmet/seçim kartları ---------- */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.class-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px 26px 26px;
    transition: transform .35s var(--ease), border-color .25s, box-shadow .35s;
    overflow: hidden;
    isolation: isolate;
}
.class-card::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(150, 42, 172, .25), transparent 70%);
    opacity: 0;
    transition: opacity .35s;
    z-index: -1;
}
.class-card:hover {
    transform: translateY(-6px);
    border-color: var(--c-accent);
    box-shadow: var(--shadow-md);
}
.class-card:hover::before { opacity: 1; }
.class-card__badge {
    width: 64px; height: 64px;
    border-radius: 18px;
    background: var(--c-bg-soft);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    transition: background .3s;
}
.class-card:hover .class-card__badge { background: var(--c-accent); }
.class-card__badge img { width: 42px; height: 42px; object-fit: contain; }
.class-card h3 {
    font-size: 22px;
    margin-bottom: 6px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.class-card h3 small {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--c-accent);
    color: #fff;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.class-card p { color: var(--c-text-mute); font-size: 14.5px; margin-bottom: 18px; min-height: 66px; }
.class-card__features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.class-card__features span {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--c-bg-soft);
    color: var(--c-text-mute);
    font-weight: 600;
}
.class-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--c-primary);
    font-weight: 700;
    font-size: 14px;
}
.class-card__cta svg { width: 14px; height: 14px; transition: transform .25s; }
.class-card:hover .class-card__cta svg { transform: translateX(4px); }

/* ---------- 9. Hakkımızda + neden biz ---------- */
.about {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 72px;
    align-items: center;
}
.about__visual {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    box-shadow: var(--shadow-lg);
}
.about__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.about__visual:hover img { transform: scale(1.04); }
.about__visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(91, 21, 114, .3));
}
.about__years {
    position: absolute;
    left: 24px;
    bottom: 24px;
    background: var(--c-accent);
    color: var(--c-primary-deep);
    padding: 16px 22px;
    border-radius: var(--radius-md);
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-md);
}
.about__years strong { display: block; font-size: 36px; line-height: 1; }
.about__years span { font-size: 13px; }

.about__features {
    margin-top: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 28px;
}
.about__feature { display: flex; gap: 14px; }
.about__feature-ic {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 18px -8px rgba(150, 42, 172, .55);
}
.about__feature-ic svg { width: 22px; height: 22px; }
.about__feature h4 { font-size: 16px; margin-bottom: 4px; }
.about__feature p { font-size: 14px; color: var(--c-text-mute); margin: 0; }

/* Süreç şeridi */
.process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
    position: relative;
}
.process::before {
    content: '';
    position: absolute;
    top: 38px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background-image: repeating-linear-gradient(90deg, var(--c-accent) 0 12px, transparent 12px 24px);
    z-index: 0;
}
.process__step { text-align: center; position: relative; z-index: 1; }
.process__num {
    width: 76px; height: 76px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--c-accent);
    color: var(--c-primary);
    font-size: 26px;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.process__num::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed var(--c-accent);
    opacity: .5;
    animation: rotate 14s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.process__step h4 { font-size: 17px; margin-bottom: 6px; }
.process__step p { font-size: 14px; color: var(--c-text-mute); }

/* ---------- 10. Araçlar/galeri şerit ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.gallery__item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.gallery__item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.gallery__item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(6, 24, 41, .65));
    opacity: 0;
    transition: opacity .3s;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { opacity: 1; }
.gallery__caption {
    position: absolute;
    bottom: 14px; left: 16px; right: 16px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    z-index: 2;
    transform: translateY(8px);
    opacity: 0;
    transition: transform .3s, opacity .3s;
}
.gallery__item:hover .gallery__caption { transform: translateY(0); opacity: 1; }

/* ---------- 11. CTA bandı ---------- */
.cta-band {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: var(--c-primary);
    color: #fff;
    isolation: isolate;
}
.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(40% 60% at 80% 50%, rgba(150, 42, 172, .25), transparent 70%),
        repeating-linear-gradient(45deg, transparent 0 20px, rgba(255, 255, 255, .03) 20px 21px);
    z-index: -1;
}
.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(26px, 3.5vw, 38px); color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 8px; }

/* ---------- 12. Footer ---------- */
.footer {
    background: var(--c-primary-deep);
    color: rgba(255, 255, 255, .75);
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background-image: repeating-linear-gradient(90deg, var(--c-accent) 0 60px, transparent 60px 120px);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
    gap: 48px;
    padding-bottom: 56px;
}
.footer__brand .brand { color: #fff; }
.footer__brand p {
    margin: 22px 0;
    color: rgba(255, 255, 255, .65);
    font-size: 14.5px;
    line-height: 1.7;
}
.footer__social { display: flex; gap: 10px; }
.footer__social a {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .07);
    color: #fff;
    display: grid; place-items: center;
    transition: background .2s, transform .2s;
}
.footer__social a:hover { background: var(--c-accent); color: var(--c-primary-deep); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; }

.footer h4 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}
.footer h4::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 32px; height: 2px;
    background: var(--c-accent);
}
.footer__list li { margin-bottom: 12px; }
.footer__list a { font-size: 14.5px; transition: color .2s, padding .2s; }
.footer__list a:hover { color: var(--c-accent); padding-left: 6px; }

.footer__contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 14.5px;
    line-height: 1.55;
}
.footer__contact .ic {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: var(--c-accent);
    color: #fff;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px -6px rgba(150, 42, 172, .55);
}
.footer__contact .ic svg { width: 16px; height: 16px; }

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    flex-wrap: wrap;
    gap: 12px;
}
.footer__bottom a:hover { color: var(--c-accent); }

/* ---------- 13. WhatsApp float ---------- */
.whatsapp-float {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 90;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .55);
    transition: transform .25s var(--ease-spring);
}
.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid #25D366;
    animation: ping 2s var(--ease) infinite;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }

/* ---------- 14. Scroll reveal ---------- */
[data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal-delay="1"] { transition-delay: .1s; }
[data-reveal][data-reveal-delay="2"] { transition-delay: .2s; }
[data-reveal][data-reveal-delay="3"] { transition-delay: .3s; }
[data-reveal][data-reveal-delay="4"] { transition-delay: .4s; }

/* Floating road signs (sayfa içi parallax) */
.float-sign {
    position: absolute;
    width: 90px;
    opacity: .8;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}
.float-sign--tl { top: 80px; left: -30px; transform: rotate(-12deg); }
.float-sign--br { bottom: 60px; right: -30px; transform: rotate(8deg); }
.float-sign--ml { top: 50%; left: -40px; transform: rotate(-6deg) translateY(-50%); }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1280px) {
    .header__phone { display: none; }
    .nav__link { padding: 10px 12px; font-size: 14px; }
    .mega--wide { min-width: 680px; grid-template-columns: 1fr 1fr 1.1fr; gap: 22px; padding: 20px; }
    .mega--cols2 { min-width: 540px; }
    .mega--classes { min-width: 600px; }
}

@media (max-width: 1100px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { min-height: 360px; max-width: 520px; margin: 0 auto; }
    .classes-grid { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 1fr; gap: 48px; }
    .about__visual { aspect-ratio: 16 / 11; }
    .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .process { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .process::before { display: none; }
}

@media (max-width: 900px) {
    .nav, .header__phone, .search-trigger { display: none; }
    .menu-toggle { display: grid; }
    .topbar__list .topbar__only-desktop { display: none; }
    .topbar__inner { gap: 12px; }
    .announce__inner { padding: 9px 40px 9px 12px; font-size: 12.5px; }
}

@media (max-width: 720px) {
    :root { --header-h: 72px; --topbar-h: 36px; }
    .section { padding: 72px 0; }
    .container { padding: 0 18px; }
    .topbar { font-size: 12.5px; }
    .topbar__list { gap: 14px; }
    .brand { font-size: 17px; }
    .brand__mark { width: 42px; height: 42px; border-radius: 12px; }
    .brand__name small { font-size: 10px; }
    .hero { padding: 60px 0 100px; }
    .hero__title { font-size: clamp(32px, 8vw, 44px); }
    .hero__lead { font-size: 16px; }
    .hero__stats { grid-template-columns: 1fr 1fr; gap: 18px; }
    .hero__stat strong { font-size: 28px; }
    .hero__sign { width: 70px; opacity: .5; }
    .hero__sign--l { left: -22px; top: 5%; }
    .hero__sign--r { right: -22px; top: 8%; bottom: auto; }
    .hero__visual { min-height: 380px; }
    .hero__stage { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
    .hero__halo  { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
    .hero__car   { max-width: 300px; }
    .orbit__sign { width: 64px; height: 64px; top: -32px; left: -32px; }
    @keyframes orbit1 { from { transform: rotateY(0deg)   translateZ(190px) rotateY(0deg)    rotateX(var(--orbit-tilt)); } to { transform: rotateY(360deg) translateZ(190px) rotateY(-360deg) rotateX(var(--orbit-tilt)); } }
    @keyframes orbit2 { from { transform: rotateY(60deg)  translateZ(190px) rotateY(-60deg)  rotateX(var(--orbit-tilt)); } to { transform: rotateY(420deg) translateZ(190px) rotateY(-420deg) rotateX(var(--orbit-tilt)); } }
    @keyframes orbit3 { from { transform: rotateY(120deg) translateZ(190px) rotateY(-120deg) rotateX(var(--orbit-tilt)); } to { transform: rotateY(480deg) translateZ(190px) rotateY(-480deg) rotateX(var(--orbit-tilt)); } }
    @keyframes orbit4 { from { transform: rotateY(180deg) translateZ(190px) rotateY(-180deg) rotateX(var(--orbit-tilt)); } to { transform: rotateY(540deg) translateZ(190px) rotateY(-540deg) rotateX(var(--orbit-tilt)); } }
    @keyframes orbit5 { from { transform: rotateY(240deg) translateZ(190px) rotateY(-240deg) rotateX(var(--orbit-tilt)); } to { transform: rotateY(600deg) translateZ(190px) rotateY(-600deg) rotateX(var(--orbit-tilt)); } }
    @keyframes orbit6 { from { transform: rotateY(300deg) translateZ(190px) rotateY(-300deg) rotateX(var(--orbit-tilt)); } to { transform: rotateY(660deg) translateZ(190px) rotateY(-660deg) rotateX(var(--orbit-tilt)); } }
    .classes-grid { grid-template-columns: 1fr; }
    .about__features { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
    .footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .footer { padding-top: 56px; }
    .cta-band__inner { flex-direction: column; align-items: flex-start; }
    .whatsapp-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 480px) {
    .topbar__list .topbar__hide-sm { display: none; }
    .hero__actions .btn { flex: 1; justify-content: center; }
    .topbar__social a:not(:first-child) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ============== Page templates (DB-driven) ============== */
.page-hero {
    background: linear-gradient(180deg, var(--c-primary) 0%, color-mix(in srgb, var(--c-primary) 90%, #000) 100%);
    color: #fff;
    padding: 88px 0 56px;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute; inset: auto 0 -1px 0; height: 28px;
    background: var(--c-bg);
    clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}
.page-hero__crumb {
    display: flex; gap: 8px; align-items: center;
    color: rgba(255,255,255,.65);
    font-size: 13.5px;
    margin-bottom: 16px;
}
.page-hero__crumb a { color: rgba(255,255,255,.85); text-decoration: none; }
.page-hero__crumb a:hover { color: var(--c-accent); }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); color: #fff; margin: 0 0 12px; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 17px; max-width: 720px; line-height: 1.6; }
.page-hero__cover {
    margin: 28px auto 0;
    max-width: 640px;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.page-hero__cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

.prose { max-width: 820px; margin: 0 auto; line-height: 1.75; font-size: 16.5px; color: var(--c-text); }
.prose h2 { font-size: 26px; margin: 36px 0 14px; }
.prose h3 { font-size: 21px; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose ul, .prose ol { margin: 0 0 18px 22px; padding-left: 4px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--c-accent); }
.prose hr { border: 0; border-top: 1px solid var(--c-border); margin: 28px 0; }
.prose strong { color: var(--c-primary); }
.prose a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
.prose img {
    display: block;
    max-width: 560px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 22px auto;
    box-shadow: 0 12px 28px -16px rgba(91, 21, 114, .35);
}
.prose blockquote {
    border-left: 3px solid var(--c-accent);
    padding: 6px 0 6px 18px;
    color: var(--c-text-mute);
    margin: 18px 0;
    font-style: italic;
}

/* Class detail spec list */
.class-spec {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
    margin: 28px 0;
}
.class-spec__cell {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 14px 16px;
}
.class-spec__cell strong { display: block; font-size: 22px; color: var(--c-primary); margin-bottom: 4px; }
.class-spec__cell span { font-size: 13px; color: var(--c-text-mute); }

/* News list cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.news-card {
    background: #fff; border-radius: 14px; overflow: hidden;
    border: 1px solid var(--c-border);
    transition: transform .25s, box-shadow .25s;
    text-decoration: none; color: inherit; display: block;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.news-card__cover { aspect-ratio: 16/9; background: var(--c-bg); overflow: hidden; }
.news-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body { padding: 18px 20px; }
.news-card__cat { font-size: 11.5px; letter-spacing: .8px; text-transform: uppercase; color: var(--c-primary); font-weight: 700; }
.news-card h3 { font-size: 17px; margin: 6px 0 8px; line-height: 1.35; }
.news-card p { color: var(--c-text-mute); font-size: 14px; line-height: 1.55; margin: 0; }
.news-card__meta { font-size: 12.5px; color: var(--c-text-mute); margin-top: 10px; }

/* Staff cards */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
}
.staff-card {
    background: #fff; border: 1px solid var(--c-border); border-radius: 14px;
    padding: 22px 18px; text-align: center;
}
.staff-card__photo {
    width: 110px; height: 110px; border-radius: 50%;
    margin: 0 auto 14px; overflow: hidden;
    background: var(--c-bg); display: grid; place-items: center;
    color: var(--c-primary); font-weight: 800; font-size: 32px;
}
.staff-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-card h4 { font-size: 16px; margin: 0 0 4px; }
.staff-card small { color: var(--c-text-mute); font-size: 13px; }
.staff-card__bio { font-size: 13.5px; color: var(--c-text-mute); margin-top: 10px; line-height: 1.55; }
.staff-card__contact { margin-top: 12px; display: flex; justify-content: center; gap: 12px; }
.staff-card__contact a { color: var(--c-primary); font-size: 13px; text-decoration: none; }
.staff-card__contact a:hover { text-decoration: underline; }

/* Contact form */
.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info {
    background: var(--c-bg-soft); border-radius: 14px; padding: 26px;
}
.contact-info ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-direction: column; gap: 16px; }
.contact-info li { display: flex; gap: 12px; align-items: start; }
.contact-info svg { width: 18px; height: 18px; color: var(--c-primary); flex-shrink: 0; margin-top: 3px; }
.contact-info a { color: inherit; text-decoration: none; }
.contact-info a:hover { color: var(--c-primary); }

/* İletişim — yenilenen sağ panel */
.contact-side { display: flex; flex-direction: column; gap: 14px; }
.contact-side__head {
    background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
    color: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    position: relative;
    overflow: hidden;
}
.contact-side__head::before {
    content: '';
    position: absolute;
    inset: -40% -30% auto auto;
    width: 220px; height: 220px;
    background: radial-gradient(closest-side, rgba(150, 42, 172, .35), transparent 70%);
    pointer-events: none;
}
.contact-side__pill {
    display: inline-block;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.contact-side__head h3 { color: #fff; font-size: 22px; line-height: 1.2; margin: 0 0 8px; position: relative; }
.contact-side__hours {
    margin: 0;
    color: rgba(255, 255, 255, .8);
    font-size: 13.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.contact-side__hours svg { width: 14px; height: 14px; color: var(--c-accent); }

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.contact-action {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    text-decoration: none; color: var(--c-text);
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.contact-action:hover { transform: translateY(-2px); border-color: rgba(150, 42, 172, .3); box-shadow: 0 12px 24px -16px rgba(150, 42, 172, .35); }
.contact-action__ic {
    width: 42px; height: 42px; border-radius: 12px;
    display: grid; place-items: center;
    background: var(--c-accent);
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 8px 18px -8px rgba(150, 42, 172, .55);
}
.contact-action__ic svg { width: 18px; height: 18px; }
.contact-action--wa .contact-action__ic { background: #25D366; box-shadow: 0 8px 18px -8px rgba(37, 211, 102, .6); }
.contact-action__txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.contact-action__txt small { color: var(--c-text-mute); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; margin-bottom: 2px; }
.contact-action__txt strong { font-size: 14.5px; color: var(--c-primary); word-break: break-word; }

.contact-card {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 12px;
}
.contact-card--alt { background: var(--c-bg-soft); border-color: transparent; }
.contact-card__ic {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(150, 42, 172, .12);
    color: var(--c-accent);
    display: grid; place-items: center; flex-shrink: 0;
}
.contact-card__ic svg { width: 18px; height: 18px; }
.contact-card div { min-width: 0; }
.contact-card small { display: block; color: var(--c-text-mute); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; margin-bottom: 3px; }
.contact-card p { margin: 0; color: var(--c-primary); font-size: 14.5px; font-weight: 600; line-height: 1.5; }
.contact-card p a { color: inherit; }
.contact-card__link { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 700; color: var(--c-accent); }

.contact-socials { display: flex; gap: 10px; }
.contact-socials a {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--c-bg-soft);
    color: var(--c-primary);
    display: grid; place-items: center;
    transition: background .2s, color .2s, transform .2s;
}
.contact-socials a:hover { background: var(--c-accent); color: #fff; transform: translateY(-2px); }
.contact-socials svg { width: 17px; height: 17px; }

/* Alt büyük harita */
.contact-map {
    width: 100%;
    height: 460px;
    background: var(--c-bg-soft);
    overflow: hidden;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.1); }
@media (max-width: 720px) { .contact-map { height: 360px; } }

.form { display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea, .form select {
    padding: 12px 14px;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    font: inherit;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form textarea:focus, .form select:focus {
    outline: 0;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(11,37,69,.08);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

.alert-box {
    padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: 14.5px;
}
.alert-box--success { background: #e7f6ec; color: #1f6638; border: 1px solid #b9e2c7; }
.alert-box--error   { background: #fdecea; color: #8b1f1a; border: 1px solid #f1c1bd; }

.empty-state { text-align: center; padding: 60px 20px; color: var(--c-text-mute); }
.empty-state strong { display: block; color: var(--c-text); font-size: 18px; margin-bottom: 6px; }

/* Galeri sayfası — kategori sekmeleri */
.gallery-tabs {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 28px;
}
.gallery-tab {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px; border-radius: 999px;
    background: #fff;
    color: var(--c-text-mute);
    border: 1px solid var(--c-border);
    font-size: 13.5px; font-weight: 600;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.gallery-tab:hover { color: var(--c-primary); border-color: rgba(150, 42, 172, .3); }
.gallery-tab.is-active {
    background: var(--c-accent); color: #fff; border-color: var(--c-accent);
    box-shadow: 0 8px 18px -8px rgba(150, 42, 172, .55);
}
.gallery-tab span {
    display: inline-block; min-width: 22px; padding: 1px 7px;
    border-radius: 999px;
    background: rgba(150, 42, 172, .12);
    color: var(--c-accent);
    font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
    text-align: center;
}
.gallery-tab.is-active span { background: rgba(255, 255, 255, .24); color: #fff; }

/* Galeri sayfası — kart grid */
.gallery-page-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}
.gallery-cell {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--c-bg-soft);
    aspect-ratio: 4/3;
    display: block;
}
.gallery-cell img,
.gallery-cell video {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .35s var(--ease);
}
.gallery-cell:hover img { transform: scale(1.04); }
.gallery-cell { padding: 0; border: 0; cursor: pointer; }
.gallery-cell__pill {
    position: absolute; top: 10px; left: 10px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(0, 0, 0, .65); color: #fff;
    font-size: 11.5px; font-weight: 700; letter-spacing: .04em;
    pointer-events: none;
}
.gallery-cell__play {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    color: #fff;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35));
    pointer-events: none;
    transition: opacity .2s;
}
.gallery-cell__play svg { width: 56px; height: 56px; opacity: .92; filter: drop-shadow(0 6px 16px rgba(0,0,0,.45)); }
.gallery-cell:hover .gallery-cell__play svg { transform: scale(1.08); transition: transform .2s; }

/* Lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(10, 4, 18, .92);
    display: none;
    align-items: center; justify-content: center;
    padding: 24px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lightbox.is-open { display: flex; }
.lightbox__close,
.lightbox__nav {
    position: absolute;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    display: grid; place-items: center;
    border: 0;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: var(--c-accent); transform: scale(1.05); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__close svg { width: 20px; height: 20px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.05); }
.lightbox__nav--prev { left: 22px; }
.lightbox__nav--next { right: 22px; }
.lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__stage {
    max-width: min(96vw, 1200px);
    max-height: 88vh;
    width: 100%;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.lightbox__media {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: grid; place-items: center;
}
.lightbox__media img,
.lightbox__media video {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    border-radius: 12px;
    background: #000;
}
.lightbox__counter {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
}
@media (max-width: 720px) {
    .lightbox__close { top: 12px; right: 12px; }
    .lightbox__nav--prev { left: 8px; }
    .lightbox__nav--next { right: 8px; }
    .lightbox__nav, .lightbox__close { width: 38px; height: 38px; }
}
