/* ============================================================
   Derbent ASM — Public Site Teması (modern, profesyonel)
   ============================================================ */
:root {
    --brand:   #0ea5a4;
    --brand-d: #0d9488;
    --brand-dd:#0f766e;
    --brand-rgb: 14, 165, 164;
    --ink:     #0f172a;
    --ink-2:   #1e293b;
    --muted:   #64748b;
    --bg:      #ffffff;
    --soft:    #f1f5f9;
    --soft-2:  #f8fafc;
    --line:    #e2e8f0;
    --radius:  16px;
    --radius-sm: 10px;
    --shadow:  0 6px 24px rgba(15, 23, 42, .07);
    --shadow-lg: 0 18px 50px rgba(15, 23, 42, .14);
    --container: 1320px;
    --header-h: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body, 'Inter'), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ink-2);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Poppins', sans-serif; color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
a { color: var(--brand-d); text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }
.d-md { display: inline; }

/* ---------- Butonlar ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 26px; border-radius: 999px;
    font-weight: 600; font-size: 15px; cursor: pointer;
    border: 2px solid transparent; transition: all .2s ease; white-space: nowrap;
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(var(--brand-rgb),.32); }
.btn-primary:hover { background: var(--brand-d); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(var(--brand-rgb),.42); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-d); }

/* ---------- Üst bilgi çubuğu ---------- */
.topbar {
    color: #cbd5e1; font-size: 13.5px;
    background:
        radial-gradient(140% 320% at 100% 0%, rgba(var(--brand-rgb), .40), transparent 58%),
        radial-gradient(120% 300% at 0% 100%, rgba(var(--brand-rgb), .16), transparent 55%),
        linear-gradient(90deg, #080c16, var(--ink) 62%, var(--ink-2));
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; min-height: 42px; gap: 14px; }
.topbar a { color: #cbd5e1; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar i { color: var(--brand); margin-left: 1px; }
.tb-social { width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); }
.tb-social:hover { background: var(--brand); }
.tb-social i { color: inherit; margin: 0; }

/* ---------- Başlık / nav ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-img { height: 92px; width: auto; }
.brand-badge {
    width: 48px; height: 48px; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand), var(--brand-dd));
    color: #fff; font-size: 22px; border-radius: 14px; box-shadow: 0 6px 16px rgba(var(--brand-rgb),.35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: 'Poppins'; font-size: 18px; color: var(--brand-d); font-weight: 400; }
.brand-text .brand-first { font-size: 42px; font-weight: 700; }
.brand-text small { font-size: 12px; color: var(--muted); }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a {
    padding: 10px 15px; border-radius: 999px; color: var(--ink-2);
    font-weight: 500; font-size: 17px; transition: all .18s ease;
}
.main-nav > a:hover { color: var(--brand-d); background: var(--soft); }
.main-nav > a.active { color: var(--brand-d); background: var(--soft); }

/* Açılır menü (Kurumsal) */
.nav-group { position: relative; }
.nav-group-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 10px 15px; border: none; background: none; cursor: pointer;
    border-radius: 999px; color: var(--ink-2); font: inherit; font-weight: 500; font-size: 17px;
    transition: all .18s ease;
}
.nav-group-btn:hover { color: var(--brand-d); background: var(--soft); }
.nav-group.is-active .nav-group-btn { color: var(--brand-d); background: var(--soft); }
.nav-caret { font-size: 11px; transition: transform .2s ease; }
.nav-group:hover .nav-caret, .nav-group.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
    position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; z-index: 200;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
    padding: 8px; display: flex; flex-direction: column; gap: 2px;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-group:hover .nav-dropdown, .nav-group.open .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
.nav-dropdown::before { content: ''; position: absolute; bottom: 100%; left: 0; right: 0; height: 8px; }
.nav-dropdown a { padding: 11px 14px; border-radius: 9px; color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; }
.nav-dropdown a:hover { background: var(--soft); color: var(--brand-d); }
.nav-dropdown a.active { background: var(--soft); color: var(--brand-d); }

.nav-close, .nav-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--ink); cursor: pointer; }
.nav-toggle { width: 46px; height: 46px; border-radius: 12px; }
.nav-toggle:hover { background: var(--soft); }
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 99; }

/* Mobil menü ek öğeleri (masaüstünde gizli) */
.nav-head, .nav-extra { display: none; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 17px; color: var(--ink); }
.nav-phone { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-d); font-weight: 600; font-size: 16px; }
.nav-phone i { color: var(--brand); }
.nav-social { display: flex; gap: 10px; margin-top: 16px; }
.nav-social a { width: 42px; height: 42px; border-radius: 50%; background: var(--soft); color: var(--ink-2); display: grid; place-items: center; font-size: 17px; }
.nav-social a:hover { background: var(--brand); color: #fff; }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: clamp(460px, 72vh, 680px); overflow: hidden; background: var(--ink); }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; visibility: hidden;
    background-size: cover; background-position: center;
    transition: opacity .8s ease;
    display: flex; align-items: center;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(13,20,38,.86) 0%, rgba(13,20,38,.55) 45%, rgba(13,20,38,.2) 100%);
}
.hero-slide.no-img { background: linear-gradient(120deg, #0f766e, #0ea5a4 60%, #14b8a6); }
.hero-content { position: relative; z-index: 2; max-width: 660px; color: #fff; padding: 20px 0; text-align: left; }
.hero-content .hero-actions { justify-content: flex-start; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(4px);
    padding: 7px 16px; border-radius: 999px; font-size: 13.5px; font-weight: 600; margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 52px); font-weight: 800; margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero p { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.92); margin-bottom: 28px; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 11px; height: 11px; border-radius: 50%; border: none; background: rgba(255,255,255,.45); cursor: pointer; transition: all .2s; padding: 0; }
.hero-dots button.active { background: #fff; width: 30px; border-radius: 999px; }
.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 50px; height: 50px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(255,255,255,.16); color: #fff; font-size: 18px; backdrop-filter: blur(4px); transition: background .2s;
}
.hero-arrow:hover { background: rgba(255,255,255,.3); }
.hero-prev-btn { left: 22px; } .hero-next-btn { right: 22px; }

/* ---------- Hızlı bilgi şeridi ---------- */
.quickbar { position: relative; z-index: 5; margin-top: -52px; }
.quickbar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quick-card {
    background: #fff; border-radius: var(--radius); padding: 24px 26px;
    box-shadow: var(--shadow); display: flex; align-items: center; gap: 18px;
    border: 1px solid var(--line);
}
.quick-ic { width: 54px; height: 54px; flex: 0 0 auto; border-radius: 14px; display: grid; place-items: center; background: var(--soft); color: var(--brand-d); font-size: 22px; }
.quick-card h4 { margin: 0 0 2px; font-size: 16px; }
.quick-card p { margin: 0; color: var(--muted); font-size: 14px; }
.quick-link { color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.quick-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.quick-link:hover .quick-ic { background: var(--brand); color: #fff; }
.quick-link .quick-ic { transition: background .2s ease, color .2s ease; }

/* ---------- Bölümler ---------- */
.section { padding: 84px 0; }
.section.soft { background: var(--soft-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.eyebrow { display: inline-block; color: var(--brand-d); font-weight: 700; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ---------- Hakkımızda ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about-text h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 18px; }
.about-text p { color: var(--ink-2); margin-bottom: 16px; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.about-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; text-align: center; }
.about-stat b { display: block; font-family: 'Poppins'; font-size: 30px; color: var(--brand-d); }
.about-stat span { color: var(--muted); font-size: 14px; }
.about-visual { position: relative; }
.about-visual .av-main { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; height: 420px; object-fit: cover; }
.about-visual .av-ph { width: 100%; height: 420px; border-radius: var(--radius); background: linear-gradient(135deg, var(--brand), var(--brand-dd)); display: grid; place-items: center; color: rgba(255,255,255,.5); font-size: 90px; box-shadow: var(--shadow-lg); }

/* ---------- Hizmet kartları ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.service-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 30px 26px; transition: all .22s ease; position: relative; overflow: hidden;
}
.service-card::after { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: var(--brand); transition: width .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { width: 100%; }
.service-ic { width: 62px; height: 62px; border-radius: 16px; background: linear-gradient(135deg, rgba(var(--brand-rgb),.14), rgba(var(--brand-rgb),.06)); color: var(--brand-d); display: grid; place-items: center; font-size: 26px; margin-bottom: 18px; }
.service-card h3 { font-size: 19px; margin-bottom: 8px; }
.service-card p { color: var(--muted); font-size: 14.5px; margin: 0 0 14px; }
.service-card .more { font-weight: 600; font-size: 14px; color: var(--brand-d); display: inline-flex; align-items: center; gap: 6px; }
.service-card:hover .more { gap: 10px; }

/* ---------- Hekim kartları ---------- */
.doctor-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .22s ease; text-align: center; }
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-photo { background: var(--soft); position: relative; overflow: hidden; line-height: 0; }
.doctor-photo img { width: 100%; height: auto; display: block; }
.doctor-photo .dr-ph { aspect-ratio: 4 / 1; width: 100%; display: grid; place-items: center; font-size: 44px; color: #cbd5e1; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); line-height: normal; }
.doctor-info { padding: 20px; }
.doctor-info h3 { font-size: 18px; margin-bottom: 3px; }
.doctor-info .unvan { color: var(--brand-d); font-size: 14px; font-weight: 600; }
.doctor-tag { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.doctor-tag.doktor { background: rgba(37,99,235,.1); color: #2563eb; }
.doctor-tag.personel { background: rgba(217,119,6,.12); color: #d97706; }
.doctor-contact { margin-top: 12px; display: flex; flex-direction: column; gap: 6px; }
.doctor-contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13.5px; }
.doctor-contact a:hover { color: var(--brand-d); }
.doctor-contact i { color: var(--brand); width: 16px; }
.doctor-social { margin-top: 12px; display: flex; justify-content: center; gap: 8px; }
.doctor-social a { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); color: var(--ink-2); display: grid; place-items: center; transition: all .2s; }
.doctor-social a:hover { background: var(--brand); color: #fff; }

/* ---------- Duyuru kartları ---------- */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: all .22s ease; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-thumb { aspect-ratio: 3 / 2; background: var(--soft); overflow: hidden; }
.news-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-thumb img { transform: scale(1.06); }
.news-thumb .nt-ph { width: 100%; height: 100%; display: grid; place-items: center; color: #cbd5e1; font-size: 44px; background: linear-gradient(135deg, #e2e8f0, #f1f5f9); }
.news-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.news-date { color: var(--brand-d); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.news-body h3 { font-size: 18px; margin-bottom: 8px; }
.news-body p { color: var(--muted); font-size: 14.5px; flex: 1; margin: 0 0 14px; }

/* ---------- İletişim / harita ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-info-list { display: flex; flex-direction: column; gap: 18px; margin: 24px 0 0; }
.ci-item { display: flex; gap: 16px; align-items: flex-start; }
.ci-ic { width: 50px; height: 50px; flex: 0 0 auto; border-radius: 14px; background: var(--soft); color: var(--brand-d); display: grid; place-items: center; font-size: 20px; }
.ci-item h4 { margin: 0 0 2px; font-size: 16px; }
.ci-item p, .ci-item a { margin: 0; color: var(--muted); font-size: 15px; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); min-height: 340px; border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-ph { width: 100%; min-height: 340px; display: grid; place-items: center; background: var(--soft); color: var(--muted); }

/* ---------- Form ---------- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.field input, .field textarea {
    width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
    font: inherit; font-size: 15px; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.13); }
.field textarea { resize: vertical; min-height: 130px; }
.captcha-row { display: flex; align-items: center; gap: 14px; }
.captcha-q { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 11px 18px; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: 1px; white-space: nowrap; }
.captcha-q i { color: var(--brand); font-size: 13px; margin: 0 3px; }
.captcha-row input { max-width: 130px; }

/* ---------- Sayfa başlığı (iç sayfalar) ---------- */
.page-hero {
    position: relative; overflow: hidden; color: #fff; padding: 44px 0;
    background:
        radial-gradient(135% 130% at 88% -15%, rgba(var(--brand-rgb), .42), transparent 56%),
        radial-gradient(120% 130% at -5% 118%, rgba(var(--brand-rgb), .20), transparent 52%),
        linear-gradient(120deg, #080c16, var(--ink) 58%, var(--ink-2));
}
.page-hero > .container { position: relative; z-index: 1; }
.ph-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ph-left { min-width: 0; }
.page-hero h1 { color: #fff; font-size: clamp(24px, 3.4vw, 36px); margin: 0 0 8px; }
.page-hero .breadcrumb { color: rgba(255,255,255,.62); font-size: 13.5px; }
.page-hero .breadcrumb a { color: rgba(255,255,255,.9); }
.page-hero .breadcrumb a:hover { color: #fff; text-decoration: underline; }
.page-hero .breadcrumb span { color: rgba(255,255,255,.62); }
.page-hero .breadcrumb i { font-size: 10px; margin: 0 7px; opacity: .5; }
.ph-desc { color: rgba(255,255,255,.85); text-align: right; max-width: 360px; margin: 0; font-size: 15px; }

/* genel breadcrumb (içerikte kullanılırsa) */
.breadcrumb { color: var(--muted); font-size: 13.5px; }
.breadcrumb a { color: var(--brand-d); }
.breadcrumb i { font-size: 10px; margin: 0 7px; opacity: .55; }

@media (max-width: 680px) { .ph-in { flex-direction: column; align-items: flex-start; } .ph-desc { text-align: left; } }

/* ---------- İçerik (sayfa metni) ---------- */
.prose { max-width: 840px; margin: 0 auto; font-size: 16.5px; color: var(--ink-2); }
.prose h3 { margin-top: 1.6em; font-size: 21px; }
.prose p { margin: 0 0 1.1em; }
.prose ul { padding-left: 22px; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }

/* ---------- Galeri ---------- */
.album-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.album-tile { display: block; border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 4/3; box-shadow: var(--shadow); background: var(--ink); }
.album-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-tile:hover img { transform: scale(1.07); }
.album-tile .at-cap { position: absolute; inset: auto 0 0 0; padding: 26px 18px 16px; background: linear-gradient(transparent, rgba(15,23,42,.85)); color: #fff; }
.album-tile .at-cap strong { font-size: 17px; display: block; }
.album-tile .at-cap span { font-size: 13px; opacity: .85; }
.photo-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.photo-tile { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.photo-tile:hover img { transform: scale(1.08); }

/* ---------- Mesai Çizelgesi ---------- */
.mesai-list { display: flex; flex-direction: column; gap: 34px; margin: 0 auto; }
.mesai-item { margin: 0; }
.mesai-cap { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 17px; color: #fff; margin: 12px 0 0; display: flex; align-items: center; gap: 10px; }
.mesai-cap i { color: var(--brand); }
.mesai-item a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s; }
.mesai-item a:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.mesai-item img { width: 100%; height: auto; }

/* ---------- Eğitim Materyalleri ---------- */
.edu-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.edu-item {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--ink-2); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.edu-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: transparent; }
.edu-ic {
    width: 52px; height: 52px; flex: 0 0 auto; border-radius: 13px; display: grid; place-items: center;
    font-size: 24px; color: var(--fc, var(--brand-d));
    background: color-mix(in srgb, var(--fc, var(--brand)) 12%, #fff);
}
.edu-body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.edu-body strong { font-size: 16px; color: var(--ink); line-height: 1.35; }
.edu-meta { font-size: 13px; color: var(--muted); margin-top: 3px; letter-spacing: .3px; }
.edu-dl { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--brand-d); transition: background .2s, color .2s; }
.edu-item:hover .edu-dl { background: var(--brand); color: #fff; }

/* ---------- Persentil Hesaplayıcı ---------- */
.pp-wrap { max-width: 720px; margin: 0 auto; }
.pp-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; }
.pp-gender { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.pp-gender-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; border: 2px solid var(--line); border-radius: var(--radius-sm); cursor: pointer; transition: all .18s ease; color: var(--muted); }
.pp-gender-opt i { font-size: 30px; }
.pp-gender-opt span { font-weight: 600; font-size: 15px; }
.pp-gender-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pp-gender-opt:hover { border-color: var(--brand); }
.pp-erkek:has(input:checked) { border-color: #2563eb; color: #2563eb; background: rgba(37,99,235,.06); }
.pp-kiz:has(input:checked) { border-color: #db2777; color: #db2777; background: rgba(219,39,119,.06); }
.pp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pp-field { margin-bottom: 16px; }
.pp-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.pp-hint { color: var(--muted); font-weight: 400; }
.pp-field input { width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.pp-field input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(var(--brand-rgb),.13); }
.pp-submit { width: 100%; justify-content: center; margin-top: 6px; }
.pp-sonuc { margin-top: 24px; }
.pp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.pp-card { border: 1px solid var(--line); border-left-width: 5px; border-radius: var(--radius-sm); padding: 20px 22px; background: var(--soft-2); }
.pp-head { font-weight: 600; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.pp-head i { color: var(--brand-d); }
.pp-val { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 40px; color: var(--ink); line-height: 1.1; margin: 8px 0 4px; }
.pp-val small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 4px; }
.pp-meta { font-size: 13px; color: var(--muted); }
.pp-band { margin-top: 12px; font-weight: 600; font-size: 14px; display: inline-block; padding: 5px 12px; border-radius: 999px; }
.pp-normal { border-left-color: #16a34a; } .pp-normal .pp-band { background: rgba(22,163,74,.12); color: #16a34a; }
.pp-dusuk, .pp-cok-dusuk { border-left-color: #d97706; } .pp-dusuk .pp-band, .pp-cok-dusuk .pp-band { background: rgba(217,119,6,.12); color: #b45309; }
.pp-yuksek, .pp-cok-yuksek { border-left-color: #dc2626; } .pp-yuksek .pp-band, .pp-cok-yuksek .pp-band { background: rgba(220,38,38,.1); color: #dc2626; }
.pp-uyari { background: rgba(217,119,6,.1); color: #b45309; border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 500; }
.pp-disclaimer { margin-top: 20px; font-size: 13.5px; color: var(--muted); line-height: 1.6; background: var(--soft); border-radius: var(--radius-sm); padding: 14px 18px; }
.pp-disclaimer i { color: var(--brand-d); margin-right: 4px; }
@media (max-width: 520px) { .pp-row { grid-template-columns: 1fr; } .pp-form { padding: 20px; } }

/* ---------- Footer ---------- */
.site-footer {
    color: #94a3b8; padding-top: 64px;
    background:
        radial-gradient(90% 90% at 100% 0%, rgba(var(--brand-rgb), .30), transparent 55%),
        radial-gradient(85% 85% at 0% 100%, rgba(var(--brand-rgb), .14), transparent 52%),
        linear-gradient(160deg, var(--ink), #080c16);
}
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.4fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand strong { color: #fff; font-family: 'Poppins'; font-size: 18px; }
.footer-about p { font-size: 14.5px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #cbd5e1; display: grid; place-items: center; transition: all .2s; }
.footer-social a:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul a { color: #94a3b8; font-size: 14.5px; transition: color .15s, padding .15s; }
.footer-col ul a:hover { color: var(--brand); padding-left: 4px; }
.footer-contact li { display: flex; gap: 11px; font-size: 14.5px; }
.footer-contact i { color: var(--brand); margin-top: 4px; }
.footer-contact a { color: #94a3b8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; }
.footer-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 13.5px; }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: #94a3b8; }
.footer-legal a:hover { color: var(--brand); }

/* ---------- Tam genişlik harita ---------- */
.map-full { line-height: 0; }
.map-full iframe { width: 100%; height: 440px; border: 0; display: block; }

/* ---------- Sabit WhatsApp butonu ---------- */
.wa-float {
    position: fixed; left: 22px; bottom: 22px; z-index: 95;
    width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
    display: grid; place-items: center; font-size: 28px;
    box-shadow: 0 8px 22px rgba(37,211,102,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Galeri Lightbox ---------- */
.lightbox[hidden] { display: none; }
.lightbox {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(8, 12, 22, .93); backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center; padding: 40px;
    animation: lbFade .2s ease;
}
@keyframes lbFade { from { opacity: 0 } to { opacity: 1 } }
body.lb-open { overflow: hidden; }
.lb-stage { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; max-height: 100%; cursor: zoom-out; }
.lb-img { max-width: min(1100px, 92vw); max-height: 82vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.6); cursor: default; animation: lbZoom .22s ease; }
@keyframes lbZoom { from { transform: scale(.95); opacity: .6 } to { transform: scale(1); opacity: 1 } }
.lb-count { color: rgba(255,255,255,.75); font-size: 14px; letter-spacing: .3px; }
.lb-close, .lb-nav {
    position: fixed; z-index: 2; border: none; cursor: pointer; color: #fff;
    background: rgba(255,255,255,.12); backdrop-filter: blur(4px);
    width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 20px;
    transition: background .2s;
}
.lb-close:hover, .lb-nav:hover { background: var(--brand); }
.lb-close { top: 22px; right: 22px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
@media (max-width: 620px) {
    .lightbox { padding: 16px; }
    .lb-nav { width: 44px; height: 44px; font-size: 17px; }
    .lb-prev { left: 10px; } .lb-next { right: 10px; }
    .lb-close { top: 12px; right: 12px; }
}

/* ---------- Çerez & yukarı çık ---------- */
.cookie-bar[hidden] { display: none; }
.cookie-bar {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 760px; margin: 0 auto;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); border-radius: 14px;
    padding: 16px 20px; display: flex; align-items: center; gap: 16px; font-size: 14px; color: var(--ink-2);
}
.btn-cookie { background: var(--brand); color: #fff; border: none; padding: 10px 22px; border-radius: 999px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-cookie:hover { background: var(--brand-d); }
.to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 90;
    width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff;
    display: grid; place-items: center; box-shadow: 0 8px 20px rgba(var(--brand-rgb),.4);
    opacity: 0; visibility: hidden; transition: all .25s; transform: translateY(10px);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-d); }

/* ---------- Boş durum ---------- */
.empty-box { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty-box i { font-size: 48px; color: var(--line); margin-bottom: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .quickbar-grid { grid-template-columns: repeat(2, 1fr); }
    .quickbar { margin-top: -30px; }
}
@media (max-width: 860px) {
    .main-nav {
        position: fixed; inset: 0; width: 100%; max-width: none; height: 100vh;
        background: #ffffff; flex-direction: column; align-items: stretch; justify-content: flex-start;
        padding: 18px 22px 24px; gap: 4px; transform: translateX(100%); transition: transform .28s ease; z-index: 200;
        overflow-y: auto;
    }
    body.nav-open .main-nav { transform: translateX(0); }
    body.nav-open .nav-overlay { display: block; }
    .nav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
    .nav-extra { display: block; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
    .main-nav > a { padding: 13px 14px; font-size: 16px; border-radius: 10px; }
    .nav-group { width: 100%; }
    .nav-group-btn { width: 100%; justify-content: space-between; padding: 13px 14px; font-size: 16px; border-radius: 10px; }
    .nav-dropdown {
        position: static; opacity: 1; visibility: visible; transform: none;
        display: none; box-shadow: none; border: none; min-width: 0;
        background: var(--soft-2); border-radius: 10px; padding: 4px 4px 4px 10px; margin: 2px 0 4px;
    }
    .nav-group.open .nav-dropdown { display: flex; }
    .nav-dropdown a { font-size: 15px; padding: 11px 12px; }
    .nav-close { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; }
    .nav-close:hover { background: var(--soft); }
    .nav-toggle { display: grid; place-items: center; }
    .topbar-left .d-md, .topbar-right .d-md { display: none; }
}
@media (max-width: 620px) {
    .form-row { grid-template-columns: 1fr; }
    .quickbar-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .section { padding: 60px 0; }
    .hero-arrow { display: none; }
}
