/* =========================================================
   IŞILTI — Kongre şablonu (çok sayfalı)
   Bootstrap 5.3
   Tema: TR.Master içindeki <html data-theme="light"> / "dark"
   Renkleri değiştirmek için :root (açık) ve [data-theme="dark"] bloklarını düzenleyin.
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,400..800&family=Cinzel:wght@500;600;700&display=swap');

:root {
    /* ---- Değişmeyenler (iki temada da aynı) ---- */
    --accent: #c79a55; /* ana vurgu */
    --accent-2: #e8cd98; /* gradyanın ikinci rengi */
    --on-accent: #1b1308; /* vurgulu buton üzerindeki yazı */
    --r-xl: 34px;
    --r-lg: 28px;
    --r-md: 18px;
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --wrap: 1180px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    /* ---- AÇIK TEMA (varsayılan) ---- */
    --bg: #eef1f8; /* sayfa zemini */
    --ink: #0d1530; /* başlık */
    --ink-2: #47506b; /* metin */
    --soft: #8a92a8; /* ikincil metin */
    --hover-ink: #0d1530;
    --accent-text: var(--accent);
    --line: rgba(13, 21, 48, .08);
    --aura-1: #c9d6ff; /* arka plandaki ışık lekeleri */
    --aura-2: #cdf3ff;
    --aura-opacity: .6;
    --panel-a: rgba(255, 255, 255, .9);
    --panel-b: rgba(255, 255, 255, .7);
    --panel-border: rgba(255, 255, 255, .95);
    --panel-shadow: 0 1px 2px rgba(13, 21, 48, .04), 0 14px 34px rgba(13, 21, 48, .06);
    --panel-glow: color-mix(in srgb, var(--accent) 10%, transparent);
    --glass: rgba(255, 255, 255, .78);
    --glass-strong: rgba(255, 255, 255, .9);
    --glass-border: #ffffff;
    --nav-shadow: 0 10px 30px rgba(20, 32, 80, .08);
    --nav-shadow-stuck: 0 16px 40px rgba(20, 32, 80, .14);
    --ind-bg: #0d1530; /* menüde aktif sayfa vurgusu */
    --ind-ink: #ffffff;
    --banner-glow: .65;
    --banner-shadow: 0 30px 60px rgba(13, 21, 48, .18);
    --menu-overlay: rgba(238, 241, 248, .94);
    color-scheme: light;
}

/* ---- KOYU TEMA: <html data-theme="dark"> ---- */
[data-theme="dark"] {
    --bg: #04121a;
    --ink: #f3ede4;
    --ink-2: #b4bdbb;
    --soft: #7d8a8a;
    --hover-ink: #ffffff;
    --accent-text: #dcb97c;
    --line: rgba(243, 237, 228, .09);
    --aura-1: #0e3a45;
    --aura-2: #3a2810;
    --aura-opacity: .5;
    --panel-a: rgba(255, 255, 255, .05);
    --panel-b: rgba(255, 255, 255, .015);
    --panel-border: rgba(220, 185, 124, .14);
    --panel-shadow: 0 30px 60px rgba(0, 0, 0, .25);
    --panel-glow: color-mix(in srgb, var(--accent) 16%, transparent);
    --glass: rgba(7, 26, 34, .72);
    --glass-strong: rgba(7, 26, 34, .9);
    --glass-border: rgba(243, 237, 228, .12);
    --nav-shadow: 0 16px 40px rgba(0, 0, 0, .35);
    --nav-shadow-stuck: 0 20px 50px rgba(0, 0, 0, .55);
    --ind-bg: #dcb97c;
    --ind-ink: #1b1308;
    --banner-glow: .45;
    --banner-shadow: 0 30px 70px rgba(0, 0, 0, .55);
    --menu-overlay: rgba(4, 18, 26, .94);
    color-scheme: dark;
}

/* ---------- Temel ---------- */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

html, body {
    overflow-x: clip;
}

body {
    font-family: var(--font);
    font-optical-sizing: auto;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    line-height: 1.7;
    transition: background-color .4s, color .4s;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--ink);
    letter-spacing: -.025em;
    font-variation-settings: 'opsz' 32;
}

a {
    color: var(--accent-text);
    text-decoration: none;
    transition: color .2s;
}

    a:hover {
        color: var(--hover-ink);
    }

.wrap {
    width: min(var(--wrap), calc(100% - 32px));
    margin-inline: auto;
}

:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent);
    outline-offset: 3px;
    border-radius: 8px;
}

.aura {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

    .aura::before, .aura::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(120px);
        opacity: var(--aura-opacity);
        transition: background .4s;
    }

    .aura::before {
        width: 720px;
        height: 720px;
        background: var(--aura-1);
        top: -260px;
        left: -180px;
    }

    .aura::after {
        width: 640px;
        height: 640px;
        background: var(--aura-2);
        top: 120px;
        right: -220px;
    }

/* Butonlar */
.btn-glow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 15px;
    border: 0;
    color: var(--on-accent);
    font-weight: 650;
    font-size: .92rem;
    background: linear-gradient(140deg, var(--accent), color-mix(in srgb, var(--accent) 70%, #fff));
    box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 35%, transparent);
    transition: transform .25s var(--ease), box-shadow .25s;
}

    .btn-glow:hover {
        color: var(--on-accent);
        transform: translateY(-2px);
        box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 45%, transparent);
    }

.btn-soft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 15px;
    font-weight: 650;
    font-size: .92rem;
    color: var(--ink);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    transition: background .2s, transform .25s var(--ease);
}

    .btn-soft:hover {
        color: var(--hover-ink);
        background: var(--glass-strong);
        transform: translateY(-2px);
    }

/* =========================================================
   ÜST MENÜ — ortada yüzen cam kapsül
   Aktif sayfanın vurgusu fareyle gezilen sayfaya kayar.
   ========================================================= */
.topnav {
    position: sticky;
    top: 14px;
    z-index: 1040;
    display: flex;
    justify-content: center;
    padding: 0 12px;
    margin-top: 18px;
    pointer-events: none;
}

.tn-track {
    pointer-events: auto;
    position: relative;
    display: flex;
    gap: 2px;
    padding: 6px;
    border-radius: 22px;
    max-width: 100%;
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid var(--glass-border);
    box-shadow: var(--nav-shadow);
    transition: box-shadow .3s, background .3s;
}

.topnav.is-stuck .tn-track {
    background: var(--glass-strong);
    box-shadow: var(--nav-shadow-stuck);
}

.tn-track a {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    padding: 11px 17px;
    border-radius: 16px;
    white-space: nowrap;
    color: var(--ink-2);
    font-size: .92rem;
    font-weight: 550;
    transition: color .3s;
}

    .tn-track a:hover {
        color: var(--hover-ink);
    }

    .tn-track a.lit, .tn-track a.lit:hover {
        color: var(--ind-ink);
    }

    .tn-track a.tn-reg {
        color: var(--accent-text);
        font-weight: 650;
    }

        .tn-track a.tn-reg.lit {
            color: var(--on-accent);
        }

.tn-ind { /* kayan vurgu: script.js konumunu ayarlar */
    position: absolute;
    z-index: 0;
    top: 6px;
    bottom: 6px;
    left: 0;
    width: 0;
    border-radius: 16px;
    background: var(--ind-bg);
    opacity: 0;
    transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s, background .3s;
}

    .tn-ind.on {
        opacity: 1;
    }

    .tn-ind.reg {
        background: linear-gradient(140deg, var(--accent), var(--accent-2));
    }

/* Mobil menü düğmesi ve açılır menü (masaüstünde gizli) */
.tn-toggle {
    display: none;
}

.mnav {
    display: none;
}

/* =========================================================
   BANNER — kendi renkleriyle parlar, fareyle hafif eğilir
   ========================================================= */
.stage {
    width: calc(100% - 2 * var(--inset, 24px));
    max-width: 1680px;
    margin: 30px auto 0;
    position: relative;
}

.banner {
    position: relative;
    isolation: isolate;
}

.banner-glow {
    position: absolute;
    inset: 6% 4% -8%;
    z-index: -1;
    border-radius: 60px;
    background-position: center;
    background-size: cover;
    filter: blur(60px) saturate(1.6);
    opacity: var(--banner-glow);
    transform: translateY(24px);
}

.banner-frame {
    position: relative;
    border-radius: var(--rad, var(--r-xl));
    overflow: hidden;
    background: var(--ink);
    box-shadow: var(--banner-shadow);
    transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform .5s var(--ease);
}

    .banner-frame img {
        width: 100%;
        height: auto;
        display: block;
    }

    .banner-frame::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(115deg, rgba(255, 255, 255, .2), transparent 38%);
    }

    .banner-frame.no-img {
        aspect-ratio: 3 / 1;
        display: grid;
        place-items: center;
        color: rgba(255, 255, 255, .7);
        font-weight: 600;
        text-align: center;
        padding: 20px;
        background: linear-gradient(140deg, #0d1530, var(--accent));
    }

        .banner-frame.no-img::before {
            content: "Banner görseli: assets/images/banner.jpg (önerilen 1920 × 640)";
        }

/* Banner altı cam kapsül: geri sayım + tarih/yer */
.dock {
    position: relative;
    z-index: 3;
    margin: -44px auto 0;
    width: max-content;
    max-width: calc(100% - 24px);
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 12px 12px 12px 26px;
    border-radius: 26px;
    background: var(--glass-strong);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid var(--glass-border);
    box-shadow: var(--nav-shadow-stuck);
}

.count {
    display: flex;
    gap: 18px;
}

    .count > div {
        text-align: center;
        min-width: 48px;
    }

    .count .num {
        display: block;
        overflow: hidden;
        height: 1em;
        line-height: 1;
        font-size: 2.1rem;
    }

    .count b {
        display: block;
        font-size: inherit;
        font-weight: 750;
        letter-spacing: -.035em;
        line-height: 1;
        font-variant-numeric: tabular-nums;
        font-variation-settings: 'opsz' 32;
        color: var(--ink);
    }

        .count b.tick {
            animation: digit .5s var(--ease);
        }

@keyframes digit {
    from {
        transform: translateY(-60%);
        opacity: 0;
    }

    to {
        transform: none;
        opacity: 1;
    }
}

.count small {
    font-size: .75rem;
    color: var(--soft);
    font-weight: 550;
}

.dock-sep {
    width: 1px;
    height: 42px;
    background: var(--line);
}

.dock-where b {
    display: block;
    font-weight: 650;
    font-size: .95rem;
}

.dock-where span {
    color: var(--ink-2);
    font-size: .88rem;
}

.dock .btn-glow {
    padding: 16px 22px;
    border-radius: 18px;
}

/* =========================================================
   SAYFA PANELİ — her sayfanın içeriği kendi çerçevesinde
   ========================================================= */
.page {
    padding: 32px 0 40px;
}

.panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    scroll-margin-top: 100px;
    border-radius: var(--r-xl);
    padding: clamp(28px, 5vw, 60px);
    background: linear-gradient(165deg, var(--panel-a), var(--panel-b) 60%);
    border: 1px solid var(--panel-border);
    box-shadow: var(--panel-shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

    .panel + .panel {
        margin-top: 24px;
    }

    .panel::after { /* fareyi takip eden yumuşak ışık */
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        pointer-events: none;
        opacity: 0;
        transition: opacity .4s;
        background: radial-gradient(520px circle at var(--mx, 50%) var(--my, 0%), var(--panel-glow), transparent 60%);
    }

    .panel:hover::after {
        opacity: 1;
    }

.panel-head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 16px 32px;
    padding-bottom: 28px;
    margin-bottom: 36px;
}

    .panel-head::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 55%, transparent), var(--line) 40%, transparent);
    }

    .panel-head h1 {
        margin: 0;
        font-weight: 750;
        font-size: clamp(2rem, 4.6vw, 3.3rem);
        line-height: 1.02;
        letter-spacing: -.04em;
    }

/* Davet */
.invite-text {
    max-width: 74ch;
}

    .invite-text p {
        color: var(--ink-2);
        font-size: 1.08rem;
        line-height: 1.9;
        margin: 0 0 18px;
    }

        .invite-text p:first-child {
            color: var(--ink);
            font-weight: 650;
            font-size: 1.25rem;
        }

        .invite-text p:last-child {
            margin-bottom: 0;
        }

/* Yapım aşamasında */
.soon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 28px 0 12px;
    text-align: center;
}

.soon-ring {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--accent), var(--accent-2), transparent 70%);
    animation: spin 1.6s linear infinite;
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
}

.soon p {
    margin: 0;
    color: var(--ink-2);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ---------- Footer ---------- */
.foot {
    padding: 20px 0 40px;
}

.foot-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 26px;
    border-radius: 22px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--soft);
    font-size: .86rem;
}

/* Yukarı çık */
.to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1020;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    border: 0;
    background: var(--ind-bg);
    color: var(--ind-ink);
    display: grid;
    place-items: center;
    box-shadow: var(--nav-shadow-stuck);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s, transform .25s, visibility .25s;
}

    .to-top.show {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .to-top svg {
        width: 20px;
        height: 20px;
    }

/* =========================================================
   HAREKET
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
    .banner {
        animation: rise .9s var(--ease) both;
    }

    .dock {
        animation: rise .9s .15s var(--ease) both;
    }

    .tn-track, .tn-toggle {
        animation: drop .8s .05s var(--ease) both;
    }

    .reveal {
        opacity: 0;
        transform: translateY(46px) scale(.985);
        transition: opacity 1s var(--ease), transform 1s var(--ease);
        transition-delay: calc(var(--i, 0) * 90ms);
    }

        .reveal.in {
            opacity: 1;
            transform: none;
        }

    @keyframes rise {
        from {
            opacity: 0;
            transform: translateY(18px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }

    @keyframes drop {
        from {
            opacity: 0;
            transform: translateY(-14px);
        }

        to {
            opacity: 1;
            transform: none;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .banner-frame, .tn-ind {
        transition: none;
    }

    .soon-ring {
        animation: none;
    }
}

/* =========================================================
   DUYARLI
   ========================================================= */
@media (max-width: 1099.98px) {
    .tn-track {
        display: none;
    }

    .tn-toggle {
        pointer-events: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: min(560px, 100%);
        padding: 8px 8px 8px 20px;
        border-radius: 20px;
        color: var(--ink);
        font: 600 .95rem var(--font);
        background: var(--glass);
        backdrop-filter: blur(20px) saturate(1.5);
        -webkit-backdrop-filter: blur(20px) saturate(1.5);
        border: 1px solid var(--glass-border);
        box-shadow: var(--nav-shadow);
    }

    .topnav.is-stuck .tn-toggle {
        background: var(--glass-strong);
        box-shadow: var(--nav-shadow-stuck);
    }

    .tn-current {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tn-burger {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        background: var(--ind-bg);
        position: relative;
        flex-shrink: 0;
    }

        .tn-burger i {
            position: absolute;
            left: 13px;
            right: 13px;
            height: 2px;
            border-radius: 2px;
            background: var(--ind-ink);
            transition: transform .4s var(--ease), top .4s var(--ease);
        }

            .tn-burger i:first-child {
                top: 17px;
            }

            .tn-burger i:last-child {
                top: 25px;
            }

    .menu-open .tn-burger i:first-child {
        top: 21px;
        transform: rotate(45deg);
    }

    .menu-open .tn-burger i:last-child {
        top: 21px;
        transform: rotate(-45deg);
    }

    .mnav {
        display: flex;
        position: fixed;
        inset: 0;
        z-index: 1035;
        align-items: center;
        justify-content: center;
        padding: 100px 28px 40px;
        background: var(--menu-overlay);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s var(--ease), visibility .35s;
    }

    .menu-open .mnav {
        opacity: 1;
        visibility: visible;
    }

    .mnav-links {
        display: flex;
        flex-direction: column;
        width: min(560px, 100%);
    }

        .mnav-links a {
            display: block;
            padding: 12px 4px;
            font-weight: 650;
            font-size: 1.75rem;
            letter-spacing: -.03em;
            color: var(--ink-2);
            border-bottom: 1px solid var(--line);
            opacity: 0;
            transform: translateY(16px);
            transition: opacity .45s var(--ease), transform .45s var(--ease), color .2s;
        }

    .menu-open .mnav-links a {
        opacity: 1;
        transform: none;
        transition-delay: calc(var(--i, 0) * 45ms + 80ms);
    }

    .mnav-links a.active {
        color: var(--ink);
    }

    .mnav-links a.tn-reg {
        color: var(--accent-text);
    }
}

@media (max-width: 767.98px) {
    .topnav {
        top: 10px;
        margin-top: 12px;
        padding: 0 10px;
    }

    .stage {
        margin-top: 18px;
    }

    .stage {
        --inset: 12px !important;
    }

    .banner-frame {
        --rad: 22px;
    }

    .dock {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 16px;
        margin-top: 14px;
        border-radius: 22px;
        width: 100%;
        max-width: 100%;
    }

    .dock-sep {
        display: none;
    }

    .dock-where {
        text-align: center;
    }

    .dock .btn-glow {
        width: 100%;
    }

    .count .num {
        font-size: 1.8rem;
    }

    .page {
        padding-top: 40px;
    }

    .panel {
        border-radius: 24px;
    }

    .panel-head {
        padding-bottom: 22px;
        margin-bottom: 26px;
    }
}

/* Koyu temada footer logosu beyaza döner */
[data-theme="dark"] .foot-in img {
    filter: brightness(0) invert(1);
    opacity: .75;
}

/* =========================================================
   ANA SAYFA: DAVET + ÖNEMLİ TARİHLER (3B kart destesi)
   Tarihler <ol class="deck-list"> içinde data-date ile yazılır;
   deste, durum etiketleri ve otomatik dönüş script.js ile gelir.
   ========================================================= */
.home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 24px;
    align-items: stretch;
}

    .home-grid > .panel {
        margin: 0;
    }

.deck {
    --dk-bg: #0a1130;
    --dk-ink: #eef2ff;
    --dk-soft: rgba(238, 242, 255, .58);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 22px;
    border-radius: var(--r-xl);
    padding: 30px 28px 26px;
    color: var(--dk-ink);
    background: var(--dk-bg);
    box-shadow: 0 30px 60px rgba(10, 17, 48, .28);
}

    .deck::before {
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: radial-gradient(420px 260px at 0% 0%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%), radial-gradient(380px 240px at 100% 100%, color-mix(in srgb, var(--accent-2) 35%, transparent), transparent 70%);
    }

.deck-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

    .deck-head h2 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 750;
        letter-spacing: -.025em;
        color: var(--dk-ink);
    }

.deck-ctrl {
    display: flex;
    align-items: center;
    gap: 6px;
}

    .deck-ctrl button {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, .16);
        background: rgba(255, 255, 255, .06);
        color: #fff;
        display: grid;
        place-items: center;
        transition: background .2s, transform .2s;
    }

        .deck-ctrl button:hover {
            background: rgba(255, 255, 255, .16);
            transform: scale(1.06);
        }

    .deck-ctrl svg {
        width: 18px;
        height: 18px;
    }

.deck-count {
    font-size: .82rem;
    font-weight: 650;
    color: var(--dk-soft);
    min-width: 42px;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

/* Deste sahnesi */
.deck-stage {
    position: relative;
    flex: 1;
    min-height: 250px;
    perspective: 1200px;
    margin-top: 18px;
}

.dcard {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 232px;
    border-radius: 24px;
    padding: 22px;
    cursor: pointer;
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 20px;
    align-items: stretch;
    background: linear-gradient(160deg, #ffffff, #eef2ff);
    color: #0d1530;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35);
    transform-origin: 50% 0%;
    transform: translateY(calc(var(--pos, 0) * -16px)) scale(calc(1 - var(--pos, 0) * .06)) rotateX(calc(var(--pos, 0) * 4deg));
    opacity: calc(1 - var(--pos, 0) * .28);
    z-index: calc(10 - var(--pos, 0));
    filter: brightness(calc(1 - var(--pos, 0) * .12));
    transition: transform .7s var(--ease), opacity .7s var(--ease), filter .7s var(--ease);
}

    .dcard[data-pos="hidden"] {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-60px) scale(.8);
    }

    .dcard.leaving {
        transform: translateY(40px) rotateX(-12deg) scale(1.02);
        opacity: 0;
        z-index: 11;
    }

.dcard-date {
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(160deg, var(--accent), var(--accent-2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}

    .dcard-date b {
        font-size: 3.2rem;
        font-weight: 800;
        letter-spacing: -.05em;
        line-height: .9;
    }

    .dcard-date span {
        font-size: .82rem;
        font-weight: 650;
        margin-top: 6px;
        opacity: .9;
    }

    .dcard-date small {
        font-size: .72rem;
        opacity: .75;
    }

.dcard-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 4px 0;
}

    .dcard-body h3 {
        margin: 0;
        font-size: 1.3rem;
        font-weight: 750;
        letter-spacing: -.025em;
        line-height: 1.2;
        color: #0d1530;
    }

.dcard-chip {
    align-self: flex-start;
    font-size: .76rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: 50px;
    background: #e7ecf8;
    color: #47506b;
}

.dcard-left {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

    .dcard-left b {
        font-size: 2rem;
        font-weight: 800;
        letter-spacing: -.04em;
        color: var(--accent);
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

    .dcard-left span {
        font-size: .86rem;
        color: #6b7390;
        font-weight: 600;
    }

.dcard.is-past .dcard-date {
    background: linear-gradient(160deg, #8a92a8, #b5bccd);
}

.dcard.is-past .dcard-left b {
    color: #8a92a8;
}

.dcard.is-next .dcard-chip {
    background: color-mix(in srgb, var(--accent) 14%, #fff);
    color: var(--accent);
}

    .dcard.is-next .dcard-chip::before {
        content: "";
        display: inline-block;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        margin-right: 6px;
        background: var(--accent);
        animation: blink 1.6s infinite;
    }

@keyframes blink {
    50% {
        opacity: .2;
    }
}

/* Alttaki ay düğmeleri: dolan çizgiyle birlikte */
.deck-steps {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 6px;
    padding-top: 14px;
}

    .deck-steps::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 3px;
        border-radius: 3px;
        background: rgba(255, 255, 255, .1);
    }

    .deck-steps::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        height: 3px;
        border-radius: 3px;
        width: calc(var(--cur, 0) * 100%);
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
        transition: width .7s var(--ease);
    }

    .deck-steps button {
        flex: 1;
        min-width: 0;
        border: 0;
        background: transparent;
        color: var(--dk-soft);
        font: 600 .78rem var(--font);
        padding: 6px 2px;
        border-radius: 10px;
        transition: color .2s, background .2s;
        white-space: nowrap;
    }

        .deck-steps button:hover {
            color: #fff;
            background: rgba(255, 255, 255, .06);
        }

        .deck-steps button.on {
            color: #fff;
            background: rgba(255, 255, 255, .1);
        }

        .deck-steps button.past {
            opacity: .5;
        }

.deck-list {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    margin: 0;
    padding: 0;
}

@media (max-width: 1199.98px) {
    .dcard {
        grid-template-columns: 88px 1fr;
        gap: 16px;
    }

    .dcard-date b {
        font-size: 2.6rem;
    }
}

@media (max-width: 991.98px) {
    .home-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .deck {
        padding: 24px 18px 20px;
        border-radius: 26px;
    }

    .dcard {
        height: 210px;
        padding: 16px;
        grid-template-columns: 78px 1fr;
        gap: 14px;
    }

    .dcard-date b {
        font-size: 2.3rem;
    }

    .dcard-body h3 {
        font-size: 1.12rem;
    }

    .deck-stage {
        min-height: 228px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dcard, .deck-steps::after {
        transition: none;
    }

        .dcard.is-next .dcard-chip::before {
            animation: none;
        }
}

/* =========================================================
   ANA SAYFA: HIZLI ERİŞİM — üç kutu aynı düzende
   ========================================================= */
.quick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.q {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    min-height: 250px;
    padding: 30px;
    border-radius: var(--r-lg);
    color: #fff;
    background: var(--q-bg);
    box-shadow: 0 18px 40px var(--q-shadow, rgba(13, 21, 48, .16));
    transition: transform .4s var(--ease), box-shadow .4s;
}

    .q::before { /* banner'daki halkalara benzeyen süs */
        content: "";
        position: absolute;
        z-index: -1;
        right: -90px;
        top: -90px;
        width: 280px;
        height: 280px;
        border-radius: 50%;
        background: repeating-radial-gradient(circle, transparent 0 22px, rgba(255, 255, 255, .09) 22px 23px);
        transition: transform .8s var(--ease);
    }

    .q::after { /* üstten süzülen ışık */
        content: "";
        position: absolute;
        z-index: -1;
        inset: 0;
        background: linear-gradient(130deg, rgba(255, 255, 255, .16), transparent 45%);
    }

    .q:hover {
        color: #fff;
        transform: translateY(-6px);
        box-shadow: 0 26px 50px var(--q-shadow, rgba(13, 21, 48, .22));
    }

        .q:hover::before {
            transform: scale(1.18) rotate(20deg);
        }

.q-1 {
    --q-bg: linear-gradient(155deg, #0d1530, #1d2f7a);
    --q-shadow: rgba(13, 21, 48, .28);
}

.q-2 {
    --q-bg: linear-gradient(150deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #fff));
    --q-shadow: color-mix(in srgb, var(--accent) 35%, transparent);
}

.q-3 {
    --q-bg: linear-gradient(150deg, #0a7ea4, var(--accent-2));
    --q-shadow: color-mix(in srgb, var(--accent-2) 35%, transparent);
}

.q-kicker {
    font-size: .85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .72);
}

.q h3 {
    margin: 6px 0 0;
    font-size: 1.7rem;
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.1;
    color: #fff;
}

.q-foot {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.q-meta b {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    letter-spacing: -.045em;
    line-height: 1;
}

.q-meta small {
    display: block;
    margin-top: 6px;
    font-size: .84rem;
    color: rgba(255, 255, 255, .75);
}

.q-go {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #0d1530;
    transition: transform .4s var(--ease);
}

    .q-go svg {
        width: 20px;
        height: 20px;
    }

.q:hover .q-go {
    transform: rotate(45deg) scale(1.06);
}

@media (max-width: 991.98px) {
    .quick {
        grid-template-columns: 1fr 1fr;
    }

        .quick .q:last-child {
            grid-column: span 2;
            min-height: 200px;
        }
}

@media (max-width: 767.98px) {
    .date-row {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 16px;
        padding: 4px 16px 22px;
        margin: 0 -16px;
        scrollbar-width: none;
    }

        .date-row::-webkit-scrollbar {
            display: none;
        }

    .date-card {
        flex: 0 0 72%;
        scroll-snap-align: start;
    }

    .quick {
        grid-template-columns: 1fr;
    }

        .quick .q:last-child {
            grid-column: auto;
        }

    .q {
        min-height: 210px;
        gap: 28px;
    }
}

/* Destede arkadaki kartların içeriği gizli, sadece katman görünür */
.dcard > * {
    transition: opacity .5s var(--ease);
}

.dcard:not([data-pos="0"]) > * {
    opacity: 0;
}

:root {
    --serif: 'Cinzel', 'Times New Roman', serif;
}

body {
    background: radial-gradient(1200px 600px at 85% -10%, rgba(199, 154, 85, .08), transparent 60%), radial-gradient(900px 600px at 0% 30%, rgba(14, 58, 69, .35), transparent 65%), var(--bg);
    background-attachment: fixed;
}

.panel-head h1 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: .01em;
}

.panel-head::after {
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 30%, transparent) 35%, transparent);
}

.sub-h {
    margin: 0 0 18px;
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    letter-spacing: .04em;
    color: var(--accent-text);
}

:where(i[class*="ic-"]) {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    font-style: normal;
}

    :where(i[class*="ic-"])::before {
        content: "";
        width: var(--s, 22px);
        height: var(--s, 22px);
        background: currentColor;
        -webkit-mask: var(--ic) center / contain no-repeat;
        mask: var(--ic) center / contain no-repeat;
    }

.info-ico {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    color: var(--on-accent);
    background: linear-gradient(140deg, var(--accent), var(--accent-2));
    box-shadow: 0 12px 26px color-mix(in srgb, var(--accent) 28%, transparent);
}

.info-ico {
    --s: 26px;
}

.invite-wide {
    max-width: none;
}

.invite-text p {
    text-align: justify;
    text-align-last: left;
    hyphens: auto;
    -webkit-hyphens: auto;
}

    .invite-text p:first-child {
        font-family: var(--serif);
        font-weight: 600;
        font-size: 1.35rem;
        letter-spacing: .01em;
        color: var(--accent-text);
    }

.invite-text strong {
    color: var(--ink);
    font-weight: 700;
}

.invite-text .sign-off {
    margin-top: 28px;
    color: var(--ink);
    font-style: italic;
}

.people {
    display: grid;
    gap: 22px;
}

.people-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 32px;
}

.people-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.people-1 {
    grid-template-columns: 1fr;
}

.person {
    margin: 0;
    overflow: hidden;
    border-radius: var(--r-lg);
    background: var(--panel-a);
    border: 1px solid var(--panel-border);
    box-shadow: 0 24px 50px rgba(0, 0, 0, .25);
    transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}

    .person:hover {
        transform: translateY(-6px);
        border-color: color-mix(in srgb, var(--accent) 45%, transparent);
        box-shadow: 0 34px 64px rgba(0, 0, 0, .35);
    }

.person-photo {
    position: relative;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #0b1d24;
}

    .person-photo img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 20%;
        transition: transform 1.2s var(--ease);
    }

.person:hover .person-photo img {
    transform: scale(1.05);
}

.person-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(4, 18, 26, .7));
    pointer-events: none;
}

.person figcaption {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 22px 22px;
}

    .person figcaption::before {
        content: "";
        position: absolute;
        left: 22px;
        top: 0;
        width: 40px;
        height: 2px;
        background: linear-gradient(90deg, var(--accent), var(--accent-2));
    }

    .person figcaption b {
        font-weight: 700;
        font-size: 1.08rem;
        line-height: 1.35;
        color: var(--ink);
    }

    .person figcaption span {
        font-family: var(--serif);
        font-size: .9rem;
        font-weight: 600;
        letter-spacing: .04em;
        color: var(--accent-text);
    }

.q-1 {
    --q-bg: linear-gradient(155deg, #0b2a33, #0f4350);
    --q-shadow: rgba(0, 0, 0, .35);
}

.q-2 {
    --q-bg: linear-gradient(150deg, #a97a3c, #d9b67a);
    --q-shadow: color-mix(in srgb, var(--accent) 35%, transparent);
}

.q-3 {
    --q-bg: linear-gradient(150deg, #1c1a14, #3d3120);
    --q-shadow: rgba(0, 0, 0, .35);
}

.q-2, .q-2 h3, .q-2:hover {
    color: #1b1308;
}

    .q-2 .q-meta small {
        color: rgba(27, 19, 8, .7);
    }

    .q-2 .q-go {
        background: #1b1308;
        color: #e8cd98;
    }

.q-1 .q-go, .q-3 .q-go {
    background: var(--accent-2);
    color: #1b1308;
}

.q h3 {
    font-family: var(--serif);
    font-weight: 600;
    letter-spacing: .01em;
}

.q-meta b {
    font-size: 1.5rem;
    letter-spacing: -.02em;
}

.q-3 .q-meta b {
    font-size: 1.3rem;
}

.quick .q {
    min-height: 220px;
}

.board-top {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.board-g2 {
    grid-column: span 2;
}

.board-list {
    margin-top: 44px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--r-lg);
    background: var(--panel-a);
    border: 1px solid var(--panel-border);
}

.board-list-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

    .board-list-head img {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: #fff;
        padding: 3px;
    }

    .board-list-head .sub-h {
        margin: 0;
        font-size: clamp(1.2rem, 2vw, 1.5rem);
    }

.members {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

    .members li {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 20px;
        border-radius: var(--r-md);
        background: rgba(255, 255, 255, .035);
        border: 1px solid var(--line);
        font-weight: 600;
        line-height: 1.45;
        color: var(--ink);
        transition: border-color .3s, background .3s;
    }

        .members li:hover {
            border-color: color-mix(in srgb, var(--accent) 40%, transparent);
            background: rgba(220, 185, 124, .06);
        }

    .members i {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        color: var(--accent-text);
        background: rgba(220, 185, 124, .1);
        --s: 20px;
    }


.topics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .topics li {
        position: relative;
        overflow: hidden;
        display: flex;
        align-items: center;
        gap: clamp(16px, 2.4vw, 24px);
        padding: clamp(18px, 2.2vw, 24px) clamp(20px, 3vw, 34px);
        border-radius: var(--r-md);
        background: var(--panel-a);
        border: 1px solid var(--panel-border);
        font-weight: 700;
        font-size: clamp(1rem, 1.6vw, 1.15rem);
        letter-spacing: .03em;
        line-height: 1.4;
        color: var(--ink);
        transition: transform .45s var(--ease), border-color .45s, background .45s;
    }

        .topics li::before {
            content: "";
            flex-shrink: 0;
            width: 10px;
            height: 10px;
            border-radius: 2px;
            transform: rotate(45deg);
            background: linear-gradient(140deg, var(--accent), var(--accent-2));
            box-shadow: 0 0 0 5px rgba(220, 185, 124, .12), 0 0 14px color-mix(in srgb, var(--accent) 55%, transparent);
        }

        .topics li::after {
            content: "";
            flex: 1;
            min-width: 40px;
            height: 1px;
            margin-left: auto;
            background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--accent) 45%, transparent));
            transform: scaleX(.4);
            transform-origin: right;
            transition: transform .6s var(--ease);
        }

        .topics li:hover {
            transform: translateX(6px);
            border-color: color-mix(in srgb, var(--accent) 45%, transparent);
            background: rgba(220, 185, 124, .06);
        }

            .topics li:hover::after {
                transform: scaleX(1);
            }

.soon-big {
    padding: 48px 0 32px;
}

    .soon-big p {
        font-family: var(--serif);
        font-weight: 600;
        font-size: clamp(1.05rem, 2vw, 1.4rem);
        letter-spacing: .04em;
        color: var(--accent-text);
    }

.info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-row {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: auto minmax(180px, 260px) minmax(0, 1fr);
    align-items: start;
    gap: 18px 32px;
    padding: clamp(22px, 2.6vw, 30px) clamp(22px, 3vw, 36px);
    border-radius: var(--r-lg);
    background: var(--panel-a);
    border: 1px solid var(--panel-border);
    transition: border-color .45s, box-shadow .45s;
}

    .info-row::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 3px;
        background: linear-gradient(180deg, var(--accent), var(--accent-2));
        transform: scaleY(0);
        transform-origin: top;
        transition: transform .5s var(--ease);
    }

    .info-row:hover {
        border-color: color-mix(in srgb, var(--accent) 40%, transparent);
        box-shadow: 0 24px 50px rgba(0, 0, 0, .3);
    }

        .info-row:hover::before {
            transform: scaleY(1);
        }

    .info-row h2 {
        margin: 14px 0 0;
        font-family: var(--serif);
        font-weight: 600;
        font-size: 1.05rem;
        letter-spacing: .05em;
        line-height: 1.4;
        color: var(--accent-text);
    }

.info-body {
    padding-top: 10px;
}

    .info-body p {
        margin: 0 0 12px;
        color: var(--ink-2);
        font-size: 1.02rem;
        line-height: 1.8;
        text-align: justify;
        text-align-last: left;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

        .info-body p:last-child {
            margin-bottom: 0;
        }

    .info-body .lead-line {
        color: var(--ink);
        font-weight: 700;
        letter-spacing: .02em;
    }

.pill-soon {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .04em;
    color: var(--accent-text) !important;
    background: rgba(220, 185, 124, .1);
    border: 1px solid rgba(220, 185, 124, .25);
}

.hours {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.hour {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    align-items: center;
    padding: 14px 18px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--line);
}

    .hour i {
        grid-row: span 2;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        color: var(--accent-text);
        background: rgba(220, 185, 124, .1);
    }

    .hour b {
        color: var(--ink);
        font-weight: 700;
    }

    .hour span {
        color: var(--ink-2);
        font-variant-numeric: tabular-nums;
    }

.info-body a {
    font-weight: 700;
    border-bottom: 1px solid color-mix(in srgb, var(--accent) 45%, transparent);
}

.blocks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.block {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: var(--r-lg);
    background: var(--panel-a);
    border: 1px solid var(--panel-border);
}

#odeme {
    grid-column: 1 / -1;
}

#transfer {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 32px;
    align-items: start;
}

#kurskayit {
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 32px;
    align-items: start;
}

    #transfer .block-head, #kurskayit .block-head {
        grid-column: 1 / -1;
    }

.block-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

    .block-head h2 {
        margin: 0;
        font-family: var(--serif);
        font-weight: 600;
        font-size: clamp(1.1rem, 1.8vw, 1.35rem);
        letter-spacing: .04em;
        color: var(--ink);
    }

.block-lead {
    margin: 0;
    font-weight: 700;
    color: var(--accent-text);
}

.tbl {
    border-radius: var(--r-md);
    overflow: hidden;
    border: 1px solid var(--panel-border);
}

.tbl-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-top: 1px solid var(--line);
}

    .tbl-row:first-child {
        border-top: 0;
    }

    .tbl-row span {
        color: var(--ink);
        font-weight: 600;
    }

    .tbl-row b {
        font-size: 1.35rem;
        font-weight: 800;
        letter-spacing: -.02em;
        color: var(--accent-text);
        white-space: nowrap;
    }

        .tbl-row b.tbl-soft {
            font-size: .95rem;
            font-weight: 600;
            letter-spacing: 0;
            color: var(--ink-2);
            white-space: normal;
            text-align: right;
        }

.tbl-head {
    background: linear-gradient(140deg, var(--accent), var(--accent-2));
}

    .tbl-head span {
        color: #1b1308;
        font-size: .8rem;
        font-weight: 800;
        letter-spacing: .1em;
    }

        .tbl-head span:last-child {
            text-align: right;
        }

.ticks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .ticks li {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        color: var(--ink-2);
        line-height: 1.7;
    }

    .ticks i {
        width: 26px;
        height: 26px;
        margin-top: 1px;
        border-radius: 8px;
        color: var(--accent-text);
        background: rgba(220, 185, 124, .1);
        --s: 16px;
    }

    .ticks li.em {
        color: var(--ink);
        font-weight: 700;
        font-style: italic;
    }

        .ticks li.em i {
            color: #1b1308;
            background: linear-gradient(140deg, var(--accent), var(--accent-2));
        }

.cancel {
    margin-top: auto;
    padding: 18px 20px;
    border-radius: var(--r-md);
    background: rgba(14, 58, 69, .35);
    border: 1px solid rgba(120, 190, 200, .14);
}

    .cancel h3 {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 10px;
        font-size: .95rem;
        font-weight: 700;
        letter-spacing: .02em;
        color: var(--ink);
    }

        .cancel h3 i {
            color: var(--accent-text);
        }

    .cancel ul {
        margin: 0;
        padding-left: 20px;
        color: var(--ink-2);
        font-size: .95rem;
        line-height: 1.7;
    }

    .cancel li + li {
        margin-top: 6px;
    }

.bank {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.bank-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--line);
}

    .bank-row span {
        font-size: .78rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--soft);
    }

    .bank-row b {
        color: var(--ink);
        font-weight: 700;
        font-size: 1.02rem;
    }

.bank-iban {
    position: relative;
    padding-right: 68px;
    border-color: rgba(220, 185, 124, .28);
    background: rgba(220, 185, 124, .06);
}

    .bank-iban b {
        font-variant-numeric: tabular-nums;
        letter-spacing: .03em;
        font-size: 1.08rem;
    }

.copy-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    color: #1b1308;
    background: linear-gradient(140deg, var(--accent), var(--accent-2));
    transition: transform .25s var(--ease), filter .25s;
}

    .copy-btn:hover {
        transform: translateY(-50%) scale(1.06);
    }

    .copy-btn.ok {
        filter: hue-rotate(80deg) saturate(1.4);
    }

    .copy-btn i {
        --s: 20px;
    }

.cp a i {
    --s: 18px;
}

.q-go {
    --s: 20px;
}

.pay-note {
    padding: 18px 22px;
    border-radius: var(--r-md);
    border-left: 3px solid var(--accent);
    background: rgba(220, 185, 124, .06);
}

    .pay-note p {
        margin: 0 0 6px;
        color: var(--ink-2);
    }

        .pay-note p:last-child {
            margin: 0;
        }

    .pay-note strong {
        color: var(--ink);
    }

.contacts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact {
    display: flex;
    flex-direction: column;
    padding: clamp(26px, 3vw, 38px);
    border-radius: var(--r-lg);
    background: var(--panel-a);
    border: 1px solid var(--panel-border);
}

.contact-logo {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}

    .contact-logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.contact-logo-wide {
    width: 240px;
    height: 96px;
    border-radius: 22px;
    padding: 14px 22px;
}

.contact .sub-h {
    margin-bottom: 6px;
    font-size: 1.2rem;
}

.contact-org {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--ink);
}

.contact-line {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 0 0 22px;
    color: var(--ink-2);
    line-height: 1.7;
}

    .contact-line i {
        margin-top: 3px;
        color: var(--accent-text);
    }

.contact-people {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.cp {
    padding: 16px 18px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--line);
}

    .cp b {
        display: block;
        margin-bottom: 6px;
        color: var(--ink);
    }

    .cp a, .cp-link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
        color: var(--accent-text);
        font-weight: 600;
        overflow-wrap: anywhere;
    }

.cp-link {
    padding: 16px 18px;
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--line);
    transition: border-color .3s, background .3s;
}

    .cp-link:hover, .cp:hover {
        border-color: color-mix(in srgb, var(--accent) 40%, transparent);
    }

    .cp-link i {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        --s: 20px;
        color: #1b1308;
        background: linear-gradient(140deg, var(--accent), var(--accent-2));
    }

@media (max-width: 1199.98px) {
    .members {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .board-top {
        grid-template-columns: 1fr;
    }

    .board-g2 {
        grid-column: auto;
    }

    .members {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #transfer, #kurskayit {
        grid-template-columns: 1fr;
    }

    .people-1 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .blocks, .contacts {
        grid-template-columns: 1fr;
    }

    .info-row {
        grid-template-columns: auto minmax(0, 1fr);
    }

        .info-row .info-body {
            grid-column: 1 / -1;
            padding-top: 0;
        }
}

@media (max-width: 767.98px) {
    .people-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

        .people-3 .person:last-child {
            grid-column: 1 / -1;
            max-width: 50%;
            justify-self: center;
            width: 100%;
        }

    .bank, .hours {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .topics li::after {
        display: none;
    }

    .people {
        gap: 12px;
    }

    .people-1 {
        grid-template-columns: minmax(0, calc(50% - 6px));
        justify-content: center;
    }

    .people-3 .person:last-child {
        max-width: calc(50% - 6px);
    }

    .person figcaption {
        padding: 16px 14px 16px;
    }

        .person figcaption::before {
            left: 14px;
        }

        .person figcaption b {
            font-size: .92rem;
        }

        .person figcaption span {
            font-size: .78rem;
        }

    .panel {
        padding: 24px 18px;
    }

    .block, .info-row, .contact, .board-list {
        padding: 20px 16px;
    }

    .info-row {
        gap: 14px 16px;
    }

    .cancel {
        padding: 16px;
    }

    .tbl-head span {
        font-size: .72rem;
        letter-spacing: .06em;
    }

    .cp a {
        font-size: .88rem;
    }

    .invite-text p, .info-body p {
        text-align: left;
    }

    .members {
        grid-template-columns: 1fr;
    }

        .members li {
            flex-direction: row;
            align-items: center;
        }

    .tbl-row {
        padding: 14px 16px;
    }

    .info-ico {
        width: 48px;
        height: 48px;
        border-radius: 15px;
    }
}

.ic-calendar {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2216%22 rx=%223%22/%3E%3Cpath d=%22M3 10h18M8 3v4M16 3v4%22/%3E%3C/svg%3E");
}

.ic-pin {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 21s7-6.2 7-12a7 7 0 1 0-14 0c0 5.8 7 12 7 12Z%22/%3E%3Ccircle cx=%2212%22 cy=%229%22 r=%222.5%22/%3E%3C/svg%3E");
}

.ic-doc {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8l-5-5Z%22/%3E%3Cpath d=%22M14 3v5h5M9 13h6M9 17h6%22/%3E%3C/svg%3E");
}

.ic-badge {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%225%22 y=%223%22 width=%2214%22 height=%2218%22 rx=%223%22/%3E%3Cpath d=%22M10 3v3h4V3%22/%3E%3Ccircle cx=%2212%22 cy=%2211%22 r=%222.5%22/%3E%3Cpath d=%22M8.5 17a3.5 3.5 0 0 1 7 0%22/%3E%3C/svg%3E");
}

.ic-store {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 9h16l-1.5-5h-13L4 9Z%22/%3E%3Cpath d=%22M5 9v11h14V9%22/%3E%3Cpath d=%22M9 20v-6h6v6%22/%3E%3C/svg%3E");
}

.ic-lang {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 5h10M8 3v2M5 9c1.5 3 4 5 7 6M11 5c-1 4-4 8-8 10%22/%3E%3Cpath d=%22m13 21 4-9 4 9M14.5 18h5%22/%3E%3C/svg%3E");
}

.ic-globe {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18%22/%3E%3C/svg%3E");
}

.ic-clock {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 7v5l3 2%22/%3E%3C/svg%3E");
}

.ic-check {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m5 12 4.5 4.5L19 7%22/%3E%3C/svg%3E");
}

.ic-alert {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M12 3 2 20h20L12 3Z%22/%3E%3Cpath d=%22M12 10v4M12 17h.01%22/%3E%3C/svg%3E");
}

.ic-ticket {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 8a2 2 0 0 0 2-2h14a2 2 0 0 0 2 2v2a2 2 0 0 0 0 4v2a2 2 0 0 0-2 2H5a2 2 0 0 0-2-2v-2a2 2 0 0 0 0-4V8Z%22/%3E%3Cpath d=%22M13 6v12%22 stroke-dasharray=%222 2%22/%3E%3C/svg%3E");
}

.ic-bed {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 18V7M3 14h18v4M21 14v-2a3 3 0 0 0-3-3h-7v5%22/%3E%3Ccircle cx=%227%22 cy=%2211%22 r=%222%22/%3E%3C/svg%3E");
}

.ic-plane {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M10.5 13.5 3 11l1.5-1.5 8 1 4-4.5a2 2 0 0 1 3 3l-4.5 4 1 8L14.5 22 12 14.5%22/%3E%3C/svg%3E");
}

.ic-bank {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M3 10 12 4l9 6%22/%3E%3Cpath d=%22M5 10v8M9.5 10v8M14.5 10v8M19 10v8M3 20h18%22/%3E%3C/svg%3E");
}

.ic-copy {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%229%22 y=%229%22 width=%2212%22 height=%2212%22 rx=%222.5%22/%3E%3Cpath d=%22M5 15H4a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v1%22/%3E%3C/svg%3E");
}

.ic-mail {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Crect x=%223%22 y=%225%22 width=%2218%22 height=%2214%22 rx=%223%22/%3E%3Cpath d=%22m4 7 8 6 8-6%22/%3E%3C/svg%3E");
}

.ic-phone {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z%22/%3E%3C/svg%3E");
}

.ic-user {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%228%22 r=%224%22/%3E%3Cpath d=%22M4 21a8 8 0 0 1 16 0%22/%3E%3C/svg%3E");
}

.ic-arrow {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M7 17 17 7M8 7h9v9%22/%3E%3C/svg%3E");
}

.ic-note {
    --ic: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22black%22 stroke-width=%221.8%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%229%22/%3E%3Cpath d=%22M12 11v5M12 8h.01%22/%3E%3C/svg%3E");
}
