:root {
    --brand: #ff3045;
    --brand-2: #ff6576;
    --brand-soft: #ff7a88;
    --accent-blue: #7bbdff;
    --accent-warm: #ffe6a8;
    --ink: #101828;
    --ink-soft: #536179;
    --muted: #7c879a;
    --line: rgba(17, 24, 39, .08);
    --glass: rgba(255, 255, 255, .70);
    --glass-soft: rgba(255, 255, 255, .42);
    --shadow: 0 24px 58px rgba(47, 66, 104, .08);
    --shadow-soft: 0 14px 30px rgba(47, 66, 104, .06);
    --radius-xl: 36px;
    --radius-lg: 28px;
    --radius-md: 20px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --font-main: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    --site-max: 1152px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: #fbfdff;
}

body {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--ink);
    font-family: var(--font-main);
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
    background: transparent;
}

.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
    background: #fff;
    pointer-events: none;
}

.bg-blob {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(100px);
    opacity: .36;
    pointer-events: none;
}

.blob-1 {
    top: -10%;
    left: -6%;
    width: 460px;
    height: 460px;
    background: var(--brand);
}

.blob-2 {
    top: 30%;
    right: -10%;
    width: 560px;
    height: 560px;
    background: var(--accent-blue);
    opacity: .25;
}

.blob-3 {
    bottom: -12%;
    left: 15%;
    width: 430px;
    height: 430px;
    background: var(--accent-warm);
    opacity: .28;
}

body.modal-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

section {
    position: relative;
    scroll-margin-top: 110px;
}

.floating-pill-nav {
    position: fixed;
    top: 20px;
    left: 50%;
    z-index: 7000;
    width: min(var(--site-max), calc(100vw - 48px));
    height: 66px;
    padding: 0 22px;
    display: grid;
    grid-template-columns: 158px minmax(0, 1fr) 158px;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, .70);
    border-radius: 999px;
    background: rgba(255, 255, 255, .78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76), 0 18px 42px rgba(52, 73, 110, .07);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    transform: translateX(-50%);
}

.brand-link {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.menu-logo {
    width: 126px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 5px 12px rgba(17, 24, 39, .08));
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
}

.nav-links li a,
.nav-links li button {
    position: relative;
    min-height: 40px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    color: rgba(17, 24, 39, .78);
    background: transparent;
    font-size: .94rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease;
}

.nav-links li a i {
    color: rgba(17, 24, 39, .56);
    font-size: .95rem;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 3px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--brand);
    box-shadow: 0 6px 16px rgba(255, 48, 69, .24);
    opacity: 0;
    transform: translateX(-50%);
    transition: width .2s ease, opacity .2s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--ink);
}

.nav-links li a.active {
    background: rgba(255, 255, 255, .50);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 10px 24px rgba(47, 66, 104, .06);
}

.nav-links li a:hover::after {
    width: 18px;
    opacity: .55;
}

.nav-links li a.active::after {
    width: 26px;
    opacity: 1;
}

.mobile-dock-action,
.mobile-dock-popover {
    display: none;
}

.floating-apply-btn,
.hero-primary,
.submit-btn,
.modal-submit,
.vision-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 16px 34px rgba(255, 48, 69, .24);
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.floating-apply-btn:hover,
.hero-primary:hover,
.submit-btn:hover,
.modal-submit:hover,
.vision-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(255, 48, 69, .30);
}

.floating-apply-btn {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 6900;
    min-height: 52px;
    padding: 6px 18px 6px 6px;
    font-size: .92rem;
    white-space: nowrap;
    overflow: hidden;
}

.icon-circle {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .24);
}

.floating-apply-btn .icon-circle {
    flex: 0 0 40px;
    color: #fff;
}

.floating-apply-label,
.floating-apply-short {
    color: #fff;
}

.floating-apply-short {
    display: none;
}

.hero-secondary,
.section-kicker,
.assistant-mini,
.event-badge,
.card-chip,
.box-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    width: fit-content;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 999px;
    color: var(--brand);
    background: rgba(255, 255, 255, .46);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .68), 0 10px 28px rgba(47, 66, 104, .06);
    font-size: .86rem;
    font-weight: 900;
    text-decoration: none;
}

.slider-section {
    width: 100%;
    padding: 120px 0 54px;
    overflow: hidden;
    position: relative;
}

/* İlk paint flash önleme: CMS gelene kadar statik/eski slide GÖRÜNMEZ, yerine skeleton. */
.slider-section.slider-loading .swiper { visibility: hidden; }
.slider-skeleton { display: none; }
.slider-section.slider-loading .slider-skeleton {
    display: block;
    position: absolute;
    inset: 120px 6% 54px;
    border-radius: 28px;
    background: linear-gradient(100deg, rgba(148,163,184,.10) 30%, rgba(148,163,184,.20) 50%, rgba(148,163,184,.10) 70%);
    background-size: 200% 100%;
    animation: ooSliderSkeleton 1.4s ease-in-out infinite;
}
.slider-skeleton-inner {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    box-shadow: inset 0 0 0 1px rgba(148,163,184,.14);
}
@keyframes ooSliderSkeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .slider-section.slider-loading .slider-skeleton { animation: none; } }

.mySwiper {
    width: 100%;
    overflow: visible;
}

.mySwiper .swiper-slide {
    width: min(1320px, calc(100vw - 86px));
    opacity: .34;
    transition: opacity .35s ease, transform .35s ease;
}

.mySwiper .swiper-slide-active {
    opacity: 1;
}

.slide-content {
    min-height: 578px;
    display: grid;
    grid-template-columns: minmax(360px, .72fr) minmax(620px, 1.28fr);
    align-items: center;
    gap: clamp(38px, 5vw, 72px);
    padding: clamp(38px, 4.5vw, 58px);
    border: 1px solid rgba(255, 255, 255, .68);
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .58), rgba(255, 255, 255, .22));
    box-shadow: 0 24px 58px rgba(47, 66, 104, .08);
}

.text-zone h1 {
    margin: 22px 0 20px;
    color: var(--ink);
    font-size: clamp(3.25rem, 5.2vw, 5.25rem);
    line-height: .98;
    letter-spacing: 0;
    font-weight: 900;
}

.text-zone p {
    max-width: 560px;
    color: var(--ink-soft);
    font-size: 1.1rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.vision-box {
    width: min(450px, 100%);
    margin-top: 26px;
    padding: 20px 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .56);
    box-shadow: var(--shadow-soft);
}

.vision-box .box-title {
    min-height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--muted);
    font-size: .78rem;
}

.countdown {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.countdown div {
    min-height: 62px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, .56);
}

.countdown .num {
    color: var(--ink);
    font-size: 1.8rem;
    font-weight: 950;
}

.countdown .label {
    color: var(--muted);
    font-size: .68rem;
    font-weight: 900;
}

.countdown-completed {
    display: block;
    min-height: 62px;
    margin-top: 18px;
    padding: 18px;
    border-radius: 16px;
    color: #15803d;
    background: rgba(220, 252, 231, .72);
    text-align: center;
}

.countdown-completed[hidden] { display: none; }

[data-public-ai-entry][hidden] { display: none !important; }

.vision-box.is-complete .countdown { display: none; }
.event-badge { max-width: 100%; }
.event-badge i { flex: 0 0 auto; font-size: 1rem; }
.event-badge span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

@media (max-width: 560px) {
    .vision-box { width: 100%; padding: 16px; border-radius: 20px; }
    .countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
    .countdown div { min-width: 0; min-height: 56px; border-radius: 12px; }
    .countdown .num { font-size: clamp(1.15rem, 6vw, 1.5rem); }
    .countdown .label { font-size: clamp(.48rem, 2.2vw, .6rem); }
}

.glass-card {
    position: relative;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 34px;
    background: rgba(255, 255, 255, .56);
    box-shadow: 0 22px 56px rgba(47, 66, 104, .12);
}

.glass-card img {
    width: 100%;
    aspect-ratio: 1.42 / 1;
    border-radius: 24px;
    object-fit: cover;
    background: rgba(255, 255, 255, .52);
}

.card-chip {
    position: absolute;
    z-index: 2;
    color: var(--brand);
    background: rgba(255, 255, 255, .88);
    border-color: rgba(255, 255, 255, .86);
    box-shadow: 0 12px 28px rgba(47, 66, 104, .12);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
}

.card-chip-top {
    top: 0;
    left: 36px;
}

.card-chip-bottom {
    right: 26px;
    bottom: 36px;
}

.glass-arrow {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    color: var(--ink) !important;
    background: rgba(255, 255, 255, .68);
    box-shadow: var(--shadow-soft);
}

.glass-arrow::after {
    font-size: 1.05rem !important;
}

.swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 22px;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(17, 24, 39, .18) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    width: 26px;
    border-radius: 999px;
    background: var(--brand) !important;
}

.assistant-section,
.features-section,
.speakers-section,
.stats-section,
.testimonials-section,
.volunteer-section,
.vision-footer-section {
    padding: clamp(58px, 6vw, 92px) 20px;
    scroll-margin-top: 110px;
}

.assistant-wrapper,
.features-container,
.speakers-container,
.stats-container,
.testimonials-container,
.volunteer-container,
.vision-footer-glass {
    width: min(var(--site-max), 100%);
    margin: 0 auto;
}

.assistant-wrapper.ai-engine-shell {
    display: grid;
    grid-template-columns: minmax(0, .94fr) minmax(500px, .88fr);
    align-items: center;
    gap: clamp(38px, 5vw, 64px);
    padding: clamp(40px, 4.2vw, 56px);
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 36px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .54), rgba(255, 255, 255, .20));
    box-shadow: 0 22px 54px rgba(47, 66, 104, .075);
}

.ai-copy h2 {
    max-width: 670px;
    margin: 24px 0 20px;
    color: var(--ink);
    font-size: clamp(3rem, 3.6vw, 4.15rem);
    line-height: 1.08;
    letter-spacing: 0;
    font-weight: 900;
}

.ai-copy h2 span {
    color: var(--brand);
}

.ai-copy p {
    max-width: 650px;
    color: var(--ink-soft);
    font-size: 1.06rem;
    line-height: 1.72;
}

.ai-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.assistant-features {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-box,
.ai-mini-card {
    min-height: 132px;
    padding: 20px 18px;
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 24px;
    background: rgba(255, 255, 255, .50);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62), 0 12px 28px rgba(47, 66, 104, .055);
}

.feature-box i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--brand);
    background: rgba(255, 255, 255, .46);
    font-size: 1.18rem;
}

.feature-box span {
    display: block;
    margin-top: 14px;
    color: var(--ink);
    font-weight: 950;
    line-height: 1.3;
}

.feature-box small {
    display: block;
    margin-top: 8px;
    color: var(--ink-soft);
    font-weight: 750;
    line-height: 1.45;
}

.assistant-panel {
    width: min(560px, 100%);
    justify-self: end;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 30px;
    background: rgba(255, 255, 255, .64);
    box-shadow: 0 22px 50px rgba(47, 66, 104, .08);
}

.assistant-topbar {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid var(--line);
}

.assistant-mark,
.chat-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 14px 28px rgba(255, 48, 69, .20);
}

.assistant-topbar h3 {
    margin-bottom: 4px;
    font-size: 1.16rem;
}

.assistant-topbar small {
    color: var(--muted);
    font-weight: 800;
}

.assistant-thread {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 22px 24px;
}

.bubble,
.chat-bubble {
    width: fit-content;
    max-width: 88%;
    padding: 15px 17px;
    border-radius: 20px;
    color: var(--ink);
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .84);
    box-shadow: 0 12px 28px rgba(47, 66, 104, .08);
    font-weight: 850;
    line-height: 1.55;
}

.bubble-soft,
.chat-bubble.bot {
    background: rgba(255, 255, 255, .86);
}

.bubble-brand,
.chat-bubble.user {
    align-self: flex-end;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.choice-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choice-row button {
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid rgba(255, 255, 255, .60);
    border-radius: 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 22px rgba(47, 66, 104, .06);
    font-weight: 900;
    cursor: pointer;
    transition: transform .18s ease, background .18s ease, color .18s ease;
}

.choice-row button:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    transform: translateY(-1px);
}

.assistant-composer,
.chat-input {
    display: flex;
    gap: 10px;
    padding: 0 24px 24px;
}

.assistant-composer input,
.chat-input input {
    flex: 1;
    min-width: 0;
    height: 52px;
    border: 0;
    outline: 0;
    border-radius: 17px;
    color: var(--ink);
    background: rgba(245, 247, 252, .92);
    padding: 0 16px;
    font-weight: 800;
}

.send-dot {
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 17px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    cursor: pointer;
}

.features-container {
    display: grid;
    gap: 24px;
}

.feature-glass-panel {
    display: grid;
    grid-template-columns: minmax(280px, .76fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: center;
    padding: clamp(24px, 3.2vw, 38px);
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 28px;
    background: rgba(255, 255, 255, .50);
    box-shadow: var(--shadow-soft);
}

.feature-image-wrapper img {
    width: 100%;
    aspect-ratio: 1.55 / 1;
    border-radius: 22px;
    object-fit: cover;
}

.feature-text h2,
.volunteer-content h2 {
    margin-bottom: 18px;
    color: var(--ink);
    font-size: clamp(2.1rem, 3vw, 3.1rem);
    line-height: 1.1;
    font-weight: 950;
}

.feature-text p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.68;
}

.feature-text p + p {
    margin-top: 18px;
}

.speakers-header,
.testimonials-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.speakers-header h2,
.testimonials-header h2 {
    max-width: 760px;
    color: var(--ink);
    font-size: clamp(2.1rem, 3.6vw, 3.4rem);
    line-height: 1.08;
    font-weight: 950;
}

.year-tabs {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 999px;
    background: rgba(255, 255, 255, .44);
    box-shadow: var(--shadow-soft);
}

.year-tab-btn {
    min-width: 82px;
    min-height: 38px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(17, 24, 39, .62);
    background: transparent;
    font-weight: 950;
    cursor: pointer;
}

.year-tab-btn.active,
.year-tab-btn[aria-pressed="true"] {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 12px 26px rgba(255, 48, 69, .20);
}

.speaker-grid {
    display: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.speaker-grid.active {
    display: grid;
}

.speaker-grid:not(.expanded) .speaker-card:nth-child(n+9) {
    display: none;
}

.speaker-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 24px;
    background: rgba(255, 255, 255, .66);
    box-shadow: var(--shadow-soft);
    transition: transform .2s ease, box-shadow .2s ease;
}

.speaker-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(47, 66, 104, .12);
}

.speaker-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.speaker-photo-placeholder {
    display: grid;
    place-items: center;
    color: var(--brand);
    background: linear-gradient(145deg, rgba(255, 48, 69, .12), rgba(255, 255, 255, .78));
    font-size: 2rem;
    font-weight: 950;
}

.speaker-empty {
    grid-column: 1 / -1;
    padding: 28px;
    color: var(--ink-soft);
    text-align: center;
}

.speaker-info {
    min-height: 104px;
    padding: 16px;
}

.speaker-name {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 950;
}

.speaker-title {
    color: var(--ink-soft);
    font-size: .9rem;
    line-height: 1.45;
}

.speakers-more-btn {
    min-height: 48px;
    margin: 26px auto 0;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 999px;
    color: var(--ink);
    background: rgba(255, 255, 255, .54);
    box-shadow: var(--shadow-soft);
    font-weight: 900;
    cursor: pointer;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.stat-glass-card {
    min-height: 280px;
    padding: 28px 26px;
    display: grid;
    justify-items: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 30px;
    background: rgba(255, 255, 255, .56);
    box-shadow: var(--shadow-soft);
}

.stat-icon {
    color: rgba(17, 24, 39, .76);
    font-size: 2.1rem;
}

.stat-glass-card h3 {
    margin-top: 16px;
    font-size: 1.15rem;
    font-weight: 950;
}

.stat-glass-card p {
    color: var(--muted);
}

.stat-main-num {
    margin: 16px 0;
    color: var(--ink);
    font-size: clamp(3rem, 4.2vw, 4.25rem);
    font-weight: 950;
}

.stat-sub-grid {
    width: 100%;
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    border-top: 1px solid var(--line);
}

.sub-num {
    display: block;
    color: var(--ink);
    font-size: 1.45rem;
    font-weight: 950;
}

.sub-label {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.testi-nav {
    display: flex;
    gap: 12px;
}

.testi-arrow {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255, 255, 255, .52);
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.testi-arrow:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    transform: translateY(-2px);
}

.testimonials-swiper {
    overflow: hidden;
    padding: 6px 2px 16px;
}

.testimonials-swiper .swiper-slide {
    opacity: 1;
    transition: none;
}

.testi-card {
    min-height: 218px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 28px;
    background: rgba(255, 255, 255, .56);
    box-shadow: 0 16px 36px rgba(47, 66, 104, .07);
}

.testi-user {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testi-avatar {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 48, 69, .08);
}

.testi-name {
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 950;
}

.testi-divider {
    height: 1px;
    margin: 22px 0;
    background: var(--line);
}

.testi-text {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.72;
}

.volunteer-container {
    min-height: 420px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
    gap: 42px;
    align-items: center;
    padding: clamp(32px, 5vw, 56px);
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 32px;
    background: rgba(255, 255, 255, .50);
    box-shadow: 0 22px 52px rgba(47, 66, 104, .075);
}

.volunteer-stack-wrapper {
    position: relative;
    min-height: 310px;
}

.stack-card {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(360px, 76%);
    border: 10px solid rgba(255, 255, 255, .74);
    border-radius: 26px;
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform .28s ease, opacity .28s ease;
}

.stack-card img {
    width: 100%;
    aspect-ratio: 1 / 1.08;
    object-fit: cover;
}

.card-pos-1 { z-index: 3; opacity: 1; transform: translate(-50%, -50%) rotate(-3deg); }
.card-pos-2 { z-index: 2; opacity: .82; transform: translate(-38%, -48%) rotate(6deg) scale(.94); }
.card-pos-3 { z-index: 1; opacity: .62; transform: translate(-26%, -46%) rotate(13deg) scale(.88); }

.vision-footer-section {
    padding-bottom: 30px;
}

.vision-footer-glass {
    padding: clamp(30px, 4vw, 44px);
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 30px;
    background: rgba(255, 255, 255, .50);
    box-shadow: var(--shadow-soft);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) 180px 220px;
    justify-content: space-between;
    gap: clamp(34px, 7vw, 110px);
    align-items: start;
    margin-bottom: 30px;
}

.footer-col {
    display: grid;
    align-content: start;
    justify-items: start;
}

.footer-logo-glass {
    width: 128px;
    margin-bottom: 18px;
}

.footer-desc {
    max-width: 390px;
    color: var(--ink-soft);
    line-height: 1.65;
}

.footer-socials {
    margin-top: 18px;
    display: flex;
    gap: 12px;
}

.social-pill {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .54);
    text-decoration: none;
}

.footer-title {
    margin-bottom: 14px;
    font-size: 1rem;
    font-weight: 950;
}

.vision-links {
    display: grid;
    gap: 9px;
    list-style: none;
}

.vision-links a {
    min-height: 38px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: var(--ink-soft);
    background: rgba(255, 255, 255, .42);
    font-weight: 750;
    text-decoration: none;
}

.vision-footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--line);
    text-align: center;
    color: var(--muted);
    font-size: .9rem;
}

.about-section,
.contact-section,
.error-section {
    width: min(1180px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 128px 0 60px;
}

.about-hero-panel,
.contact-glass,
.error-glass {
    padding: clamp(30px, 5vw, 56px);
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 34px;
    background: rgba(255, 255, 255, .56);
    box-shadow: 0 22px 54px rgba(47, 66, 104, .075);
}

.about-hero-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
    gap: 42px;
    align-items: center;
}

.about-hero-copy h1,
.contact-header h1,
.error-glass h1 {
    margin: 20px 0 18px;
    color: var(--ink);
    font-size: clamp(2.6rem, 4vw, 4.8rem);
    line-height: 1.05;
    font-weight: 950;
}

.about-hero-copy p,
.contact-header p,
.error-glass p {
    max-width: 680px;
    color: var(--ink-soft);
    font-size: 1.08rem;
    line-height: 1.75;
}

.about-hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.about-hero-media img {
    width: 100%;
    border-radius: 26px;
    object-fit: cover;
}

.about-story-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.about-story-card {
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 26px;
    background: rgba(255, 255, 255, .50);
    box-shadow: var(--shadow-soft);
}

.about-story-card i {
    color: var(--brand);
    font-size: 1.7rem;
}

.about-story-card h2 {
    margin: 16px 0 12px;
    font-size: 1.28rem;
}

.about-story-card p {
    color: var(--ink-soft);
    line-height: 1.65;
}

.action-link {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand);
    font-weight: 900;
    text-decoration: none;
}

.contact-section {
    display: grid;
    place-items: center;
}

.contact-glass {
    width: min(980px, 100%);
}

.contact-header {
    display: grid;
    gap: 14px;
}

.email-box {
    margin-top: 20px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .52);
    color: var(--ink);
    font-weight: 850;
    text-decoration: none;
}

.contact-quick-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.contact-quick-card {
    min-height: 120px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .62);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .54), rgba(255, 255, 255, .24));
    box-shadow: 0 14px 30px rgba(47, 66, 104, .06);
}

.contact-quick-card i {
    color: var(--brand);
    font-size: 1.25rem;
}

.contact-quick-card strong,
.contact-quick-card span {
    display: block;
}

.contact-quick-card strong {
    margin-top: 12px;
    color: var(--ink);
    font-size: 1.02rem;
}

.contact-quick-card span {
    margin-top: 6px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.custom-form {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.custom-form .input-group:nth-child(4) {
    grid-column: 1 / -1;
}

.custom-form .submit-btn {
    justify-self: start;
    min-width: 220px;
}

.input-group {
    display: grid;
    gap: 8px;
}

.input-group label,
.apply-form label {
    color: var(--ink);
    font-weight: 900;
}

.liquid-input,
.custom-form textarea,
.apply-form input,
.apply-form select,
.apply-form textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    min-height: 52px;
    /* Mobil odakta iOS zoom'unu ve taşmayı önlemek için 16px taban font. */
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 16px;
    outline: 0;
    color: var(--ink);
    background: rgba(255, 255, 255, .58);
    padding: 0 16px;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.apply-form input:hover,
.apply-form select:hover,
.apply-form textarea:hover {
    background: rgba(255, 255, 255, .72);
    border-color: rgba(255, 255, 255, .84);
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
    background: rgba(255, 255, 255, .88);
    border-color: rgba(255, 48, 69, .35);
    box-shadow: 0 0 0 4px rgba(255, 48, 69, .10);
}

.custom-form textarea {
    /* Item 6: dengeli iç boşluk; placeholder ve metin aynı noktadan başlar, üst/sol kenara yapışmaz. */
    min-height: 140px;
    padding: 16px 20px;
    line-height: 1.5;
    resize: vertical;
}

.error-message {
    display: none;
    color: var(--brand);
    font-size: .84rem;
    font-weight: 800;
}

#successMessage {
    display: none;
    margin-top: 22px;
    padding: 18px;
    border-radius: 18px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    text-align: center;
    font-weight: 900;
}

.apply-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .24s var(--ease);
}

.apply-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.apply-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(244, 248, 255, .58);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    opacity: 0;
    transition: opacity .24s var(--ease);
}

.apply-modal.active .apply-modal-backdrop {
    opacity: 1;
}

.apply-dialog {
    position: relative;
    z-index: 1;
    width: min(600px, calc(100vw - 28px));
    max-height: min(720px, calc(100dvh - 34px));
    overflow: auto;
    padding: clamp(26px, 4vw, 40px);
    border: 1px solid rgba(255, 255, 255, .74);
    border-radius: 32px;
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(18px) scale(.96);
    transition: opacity .28s var(--ease), transform .28s var(--ease);
}

.apply-modal.active .apply-dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: rgba(255, 255, 255, .58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 12px 26px rgba(47, 66, 104, .08);
    cursor: pointer;
    overflow: hidden;
    transition: transform .22s var(--ease), color .22s ease, background .22s ease, box-shadow .22s ease;
}

.modal-close::before {
    display: none;
}

.modal-close i {
    display: none;
}

.modal-close::after {
    content: "\00D7";
    position: relative;
    z-index: 1;
    font-family: Arial, sans-serif;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1;
    transition: transform .22s var(--ease);
}

.modal-close:hover,
.modal-close:focus-visible {
    color: var(--brand);
    background: rgba(255, 255, 255, .88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 16px 32px rgba(47, 66, 104, .12);
    transform: translateY(-1px);
    outline: 0;
}

.modal-close:hover::before,
.modal-close:focus-visible::before {
    opacity: 0;
    transform: none;
}

.modal-close:hover::after,
.modal-close:focus-visible::after {
    transform: none;
}

.apply-dialog h2 {
    margin: 20px 0 10px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    font-weight: 950;
}

.apply-dialog p {
    color: var(--ink-soft);
    line-height: 1.65;
}

.apply-form {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.apply-form label {
    display: grid;
    gap: 8px;
}

.native-select-proxy {
    position: absolute;
    width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    opacity: 0;
    pointer-events: none;
}

.custom-select {
    position: relative;
}

/* Açık menü, sonraki koşullu alanın (transform → stacking context) üstünde kalsın. */
.custom-select.is-open {
    z-index: 80;
}

/* Koşullu kart içindeki bir select açıkken: kırpmayı kaldır + kartı üste taşı. */
.conditional-field.cs-host-open {
    overflow: visible !important;
    position: relative;
    z-index: 90;
}

.custom-select-trigger {
    width: 100%;
    min-height: 52px;
    padding: 0 14px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 16px;
    color: rgba(83, 97, 121, .78);
    background: linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .38));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 10px 24px rgba(47, 66, 104, .04);
    text-align: left;
    font-weight: 850;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.custom-select.has-value .custom-select-trigger {
    color: var(--ink);
}

.custom-select-trigger i {
    color: var(--brand);
    transition: transform .2s ease;
}

.custom-select.is-open .custom-select-trigger {
    border-color: rgba(255, 48, 69, .35);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 0 0 4px rgba(255, 48, 69, .08), 0 18px 36px rgba(47, 66, 104, .10);
}

.custom-select.is-open .custom-select-trigger i {
    transform: rotate(180deg);
}

.custom-select.is-invalid .custom-select-trigger {
    border-color: rgba(255, 48, 69, .46);
}

.custom-select-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 20;
    max-height: 238px;
    overflow-y: auto;
    display: grid;
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78));
    box-shadow: 0 24px 56px rgba(47, 66, 104, .17);
    backdrop-filter: blur(20px) saturate(165%);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(.98);
    transform-origin: top;
    transition: opacity .18s ease, transform .18s ease;
}

.custom-select.is-open .custom-select-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.custom-select-option {
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 13px;
    color: var(--ink);
    background: transparent;
    text-align: left;
    font-weight: 850;
    cursor: pointer;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.custom-select-option:hover,
.custom-select-option:focus,
.custom-select-option.is-selected {
    color: var(--brand);
    background: linear-gradient(135deg, rgba(255, 48, 69, .09), rgba(255, 255, 255, .64));
    outline: 0;
}

.custom-select-option:active {
    transform: scale(.985);
}

.custom-select-option.is-placeholder {
    color: var(--muted);
}

.onboarding-dialog {
    width: min(840px, calc(100vw - 28px));
    padding: 0;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .90), rgba(255, 255, 255, .72));
    backdrop-filter: blur(24px) saturate(150%);
    -webkit-backdrop-filter: blur(24px) saturate(150%);
}

.onboarding-head {
    padding: clamp(24px, 3.2vw, 34px) clamp(22px, 4vw, 42px) clamp(16px, 2.4vw, 22px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .36);
}

.onboarding-head h2 {
    max-width: 650px;
    margin: 18px 0 12px;
    font-size: clamp(2.25rem, 4.4vw, 3.45rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.onboarding-form {
    max-height: min(58vh, 540px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px clamp(18px, 4vw, 34px) 0;
}

.form-section {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, .56), rgba(255, 255, 255, .30));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .74), 0 14px 32px rgba(47, 66, 104, .04);
}

.section-line {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-weight: 950;
}

.section-line span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    font-size: .82rem;
}

.span-2 {
    grid-column: 1 / -1;
}

.section-help,
.micro-note {
    color: var(--ink-soft);
    line-height: 1.55;
}

.conditional-field {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-8px);
    transition: grid-template-rows .26s var(--ease), opacity .22s ease, transform .22s ease;
}

.conditional-field.is-visible {
    grid-template-rows: 1fr;
    opacity: 1;
    transform: translateY(0);
}

.conditional-field > * {
    min-height: 0;
}

.conditional-grid,
.preference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.preference-grid {
    display: grid;
    margin-top: 12px;
}

.permission-card {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 20px;
    background: rgba(255, 255, 255, .58);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76);
}

.check-line {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 10px !important;
    color: var(--ink-soft);
    font-weight: 750 !important;
    line-height: 1.45;
}

.check-line input {
    width: 20px;
    min-height: 20px;
    margin-top: 1px;
    accent-color: var(--brand);
}

.kvkk-link {
    color: var(--brand);
    font-weight: 950;
}

.modal-submit-shell {
    position: sticky;
    bottom: 0;
    z-index: 2;
    padding: 14px 0 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .94) 34%);
}

.motivation-section textarea,
.conditional-field textarea {
    min-height: 118px;
    padding-top: 14px;
    resize: none;
}

.motivation-meter {
    display: grid;
    gap: 8px;
}

.meter-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(17, 24, 39, .08);
}

.meter-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    transition: width .2s ease;
}

.meter-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--ink-soft);
    font-size: .88rem;
}

.moderation-feedback {
    min-height: 18px;
    color: var(--brand);
    font-weight: 850;
}

.kvkk-dialog {
    width: min(640px, calc(100vw - 28px));
}

.kvkk-content {
    max-height: min(52vh, 420px);
    overflow-y: auto;
    display: grid;
    gap: 14px;
    margin-top: 18px;
    color: var(--ink-soft);
    line-height: 1.7;
}

.onboarding-success {
    margin: 28px clamp(18px, 4vw, 40px) clamp(22px, 4vw, 40px);
    padding: 28px;
    text-align: center;
    justify-items: center;
}

.onboarding-success i {
    font-size: 2rem;
}

.success-close {
    min-height: 44px;
    margin-top: 12px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    color: var(--brand);
    background: rgba(255, 255, 255, .88);
    font-weight: 950;
    cursor: pointer;
}

.apply-form .submit-btn,
.apply-form .modal-submit {
    grid-column: 1 / -1;
    width: 100%;
}

.apply-success {
    display: none;
    gap: 8px;
    margin-top: 22px;
    padding: 18px;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

.volunteer-modal .apply-dialog {
    width: min(900px, calc(100vw - 28px));
}

.volunteer-dialog .onboarding-head h2 {
    max-width: 660px;
    font-size: clamp(2.15rem, 4vw, 3.25rem);
}

.volunteer-dialog .onboarding-head p {
    max-width: 680px;
    font-size: .98rem;
}

.volunteer-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px clamp(18px, 4vw, 34px);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .34);
}

.volunteer-benefit {
    min-height: 86px;
    padding: 14px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .64);
    border-radius: 18px;
    background: rgba(255, 255, 255, .48);
    color: var(--ink-soft);
    font-weight: 800;
    line-height: 1.35;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .70), 0 12px 28px rgba(47, 66, 104, .04);
    transition: transform .2s var(--ease), box-shadow .2s ease, background .2s ease;
}

.volunteer-benefit i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--brand);
    background: rgba(255, 48, 69, .08);
    font-size: 1.12rem;
}

.volunteer-benefit strong {
    display: block;
    color: var(--ink);
    font-size: .92rem;
    line-height: 1.25;
}

.volunteer-benefit span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 750;
}

.volunteer-benefit:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, .62);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 18px 34px rgba(47, 66, 104, .08);
}

.error-section {
    display: grid;
    place-items: center;
}

.error-glass {
    max-width: 720px;
    text-align: center;
}

.error-glass h1 {
    color: var(--brand);
    font-size: clamp(5rem, 10vw, 9rem);
}

.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .slide-content,
    .assistant-wrapper.ai-engine-shell,
    .feature-glass-panel,
    .volunteer-container,
    .about-hero-panel {
        grid-template-columns: 1fr;
    }

    .assistant-panel {
        justify-self: stretch;
        width: 100%;
    }

    .speaker-grid,
    .stats-container,
    .about-story-grid,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 761px) and (max-height: 820px) {
    .floating-apply-btn {
        min-height: 50px;
        padding: 6px 16px 6px 6px;
        gap: 9px;
        color: #fff;
    }

    .floating-apply-label {
        display: none;
    }

    .floating-apply-short {
        display: inline;
    }

    .floating-apply-btn:hover,
    .floating-apply-btn:focus-visible {
        width: auto;
        color: #fff;
    }
}

@media (max-width: 820px) {
    body {
        padding-bottom: calc(86px + env(safe-area-inset-bottom));
    }

    section {
        scroll-margin-top: 24px;
    }

    .floating-pill-nav {
        inset: 10px 0 auto;
        width: 100%;
        height: auto;
        padding: 0;
        display: flex;
        justify-content: center;
        transform: none;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .brand-link {
        position: fixed;
        top: calc(10px + env(safe-area-inset-top));
        left: 14px;
        z-index: 7100;
        width: 126px;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 999px;
        background: rgba(255, 255, 255, .58);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 16px 34px rgba(47, 66, 104, .12);
        backdrop-filter: blur(22px) saturate(170%);
        -webkit-backdrop-filter: blur(22px) saturate(170%);
    }

    .menu-logo {
        width: 94px;
        height: auto;
    }

    .nav-links {
        position: fixed;
        left: 50%;
        bottom: max(8px, env(safe-area-inset-bottom));
        z-index: 7000;
        width: auto;
        max-width: min(348px, calc(100vw - 24px));
        height: 72px;
        /* Item 5: sabit 5 kolon yerine dinamik flex — yalnız görünür öğeler alanı eşit paylaşır (boş slot kalmaz). */
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 8px 12px;
        border: 1px solid rgba(255, 255, 255, .72);
        border-radius: 999px;
        background: rgba(255, 255, 255, .66);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, .88),
            inset 0 -18px 32px rgba(255, 255, 255, .24),
            0 18px 44px rgba(50, 72, 112, .18);
        backdrop-filter: blur(28px) saturate(185%);
        -webkit-backdrop-filter: blur(28px) saturate(185%);
        transform: translateX(-50%);
        overflow: hidden;
    }

    .nav-links::before {
        content: "";
        position: absolute;
        inset: 1px;
        border-radius: inherit;
        pointer-events: none;
        background: linear-gradient(180deg, rgba(255, 255, 255, .58), transparent 48%);
        opacity: .68;
    }

    .nav-links li {
        width: 50px;
        min-width: 0;
        height: 58px;
        display: grid;
        place-items: center;
        line-height: 0;
        overflow: hidden;
    }

    .nav-links li.mobile-dock-secondary {
        display: none;
    }

    /* Item 5: gizli (AI kapalıyken Asistan) öğe dock'ta gerçekten kaldırılır; boş slot bırakmaz. */
    .nav-links li[hidden] {
        display: none !important;
    }

    .mobile-dock-action {
        display: grid;
    }

    .nav-links li a,
    .nav-links li button {
        width: 44px;
        min-width: 44px;
        max-width: 44px;
        flex: 0 0 44px;
        height: 44px;
        min-height: 44px;
        max-height: 44px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        border: 1px solid transparent;
        border-radius: 17px;
        background: transparent;
        box-shadow: none;
        font-size: 0;
        line-height: 0;
        white-space: nowrap;
        overflow: hidden;
        transform: translateZ(0);
    }

    .nav-links li a i,
    .nav-links li button i {
        display: block;
        flex: 0 0 auto;
        color: rgba(17, 24, 39, .76);
        font-size: 1.05rem;
        line-height: 1;
        transform: translateY(0);
    }

    .nav-links li a {
        text-indent: -999px;
    }

    .nav-links li a i {
        text-indent: 0;
    }

    .nav-links li a::after {
        display: none;
    }

    .nav-links li a.active,
    .nav-links li .mobile-dock-plus[aria-expanded="true"] {
        width: 42px;
        min-width: 42px;
        max-width: 42px;
        height: 42px;
        min-height: 42px;
        max-height: 42px;
        padding: 0;
        border-radius: 16px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, .64), rgba(255, 255, 255, .24));
        border-color: rgba(255, 255, 255, .48);
        box-shadow: none;
    }

    .nav-links li .mobile-dock-plus {
        width: 50px;
        min-width: 50px;
        max-width: 50px;
        flex-basis: 50px;
        height: 50px;
        min-height: 50px;
        max-height: 50px;
        border-radius: 19px;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
        transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s var(--ease);
    }

    .nav-links li .mobile-dock-plus i {
        color: rgba(17, 24, 39, .74);
        font-size: 1.36rem;
    }

    .nav-links li .mobile-dock-plus[aria-expanded="true"] {
        width: 50px;
        min-width: 50px;
        max-width: 50px;
        height: 50px;
        min-height: 50px;
        max-height: 50px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, .52), rgba(255, 255, 255, .18));
        border-color: rgba(255, 255, 255, .36);
        box-shadow: none;
        transform: none;
    }

    .mobile-dock-popover {
        position: fixed;
        left: 50%;
        bottom: calc(94px + env(safe-area-inset-bottom));
        z-index: 7010;
        width: min(268px, calc(100vw - 36px));
        display: grid;
        gap: 8px;
        padding: 10px;
        border: 1px solid rgba(255, 255, 255, .62);
        border-radius: 22px;
        background: rgba(255, 255, 255, .82);
        box-shadow: none;
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        opacity: 0;
        pointer-events: none;
        transform: translate(-50%, 10px) scale(.96);
        transform-origin: bottom center;
        transition: opacity .2s ease, transform .2s var(--ease);
    }

    .mobile-dock-popover.active {
        opacity: 1;
        pointer-events: auto;
        transform: translate(-50%, 0) scale(1);
    }

    .mobile-dock-popover::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -7px;
        width: 14px;
        height: 14px;
        background: rgba(255, 255, 255, .90);
        transform: translateX(-50%) rotate(45deg);
    }

    .dock-popover-item {
        min-height: 48px;
        padding: 0 14px;
        display: flex;
        align-items: center;
        gap: 10px;
        border: 0;
        border-radius: 16px;
        color: var(--ink);
        background: rgba(255, 255, 255, .36);
        font-weight: 900;
        text-decoration: none;
        cursor: pointer;
        transition: transform .18s var(--ease), background .18s ease, color .18s ease;
    }

    .dock-popover-item i {
        color: var(--brand);
    }

    .dock-popover-item:hover,
    .dock-popover-item:focus-visible {
        color: var(--brand);
        background: rgba(255, 255, 255, .58);
        transform: none;
        outline: 0;
    }

    .floating-apply-btn {
        display: none;
    }

    .slider-section {
        padding: 22px 0 30px;
    }

    .mySwiper .swiper-slide {
        width: min(430px, calc(100vw - 22px));
    }

    .slide-content {
        min-height: 0;
        display: flex;
        flex-direction: column-reverse;
        gap: 24px;
        padding: 22px;
        border-radius: 28px;
        text-align: center;
    }

    .event-badge,
    .section-kicker,
    .assistant-mini {
        margin-left: auto;
        margin-right: auto;
    }

    .text-zone h1 {
        font-size: clamp(2.4rem, 11vw, 3.35rem);
    }

    .text-zone p {
        font-size: 1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .glass-card {
        width: 100%;
        padding: 9px;
        border-radius: 24px;
    }

    .glass-card img {
        border-radius: 18px;
    }

    .card-chip-top {
        left: 16px;
    }

    .card-chip-bottom {
        right: 16px;
        bottom: 18px;
    }

    .glass-arrow {
        display: none !important;
    }

    .assistant-section,
    .features-section,
    .speakers-section,
    .stats-section,
    .testimonials-section,
    .volunteer-section,
    .vision-footer-section {
        padding: 42px 12px;
    }

    .assistant-wrapper.ai-engine-shell {
        padding: 24px 18px;
        border-radius: 28px;
        gap: 26px;
    }

    .ai-copy h2 {
        font-size: clamp(2.05rem, 8.2vw, 2.65rem);
    }

    .ai-action-row {
        display: none;
    }

    .assistant-features,
    .stats-container,
    .speaker-grid,
    .about-story-grid,
    .contact-quick-grid,
    .custom-form,
    .footer-grid,
    .apply-form {
        grid-template-columns: 1fr;
    }

    .custom-form .submit-btn {
        width: 100%;
        justify-self: stretch;
    }

    .assistant-thread {
        min-height: 290px;
        padding: 18px;
    }

    .assistant-composer {
        padding: 0 18px 18px;
    }

    .feature-glass-panel,
    .volunteer-container {
        padding: 22px;
        border-radius: 28px;
    }

    .speakers-header,
    .testimonials-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .year-tabs {
        width: 100%;
    }

    .year-tab-btn {
        flex: 1;
        min-width: 0;
        padding-inline: 10px;
        font-size: .82rem;
        line-height: 1.2;
    }

    .speaker-grid:not(.expanded) .speaker-card:nth-child(n+4) {
        display: none;
    }

    .speaker-img {
        height: 230px;
    }

    .stat-glass-card {
        min-height: 260px;
    }

    .volunteer-stack-wrapper {
        min-height: 270px;
    }

    .vision-footer-section {
        padding-bottom: calc(84px + env(safe-area-inset-bottom));
    }

    .footer-grid {
        gap: 22px;
    }

    .vision-footer-glass {
        padding: 22px 18px;
    }

    .footer-col {
        justify-items: center;
        text-align: center;
    }

    .footer-desc {
        margin: 0 auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .volunteer-benefits {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        gap: 10px;
        padding: 12px 18px;
        scrollbar-width: none;
    }

    .volunteer-benefits::-webkit-scrollbar {
        display: none;
    }

    .volunteer-benefit {
        min-width: 220px;
    }

    .apply-modal {
        padding: 14px;
        align-items: center;
    }

    .apply-dialog {
        max-height: calc(100dvh - 28px);
        border-radius: 26px;
    }

    .onboarding-form {
        max-height: calc(100dvh - 278px);
        padding: 18px 14px 0;
    }

    .onboarding-head {
        padding: 22px 18px 16px;
    }

    .onboarding-head h2,
    .volunteer-dialog .onboarding-head h2 {
        font-size: clamp(2rem, 9vw, 2.65rem);
        line-height: 1.06;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .form-section,
    .conditional-grid,
    .preference-grid {
        grid-template-columns: 1fr;
    }

    .modal-submit-shell {
        padding-bottom: 16px;
    }

    .about-section,
    .contact-section,
    .error-section {
        width: calc(100% - 24px);
        padding: 84px 0 42px;
    }
}

/* =========================
   Popup + AI Final Polish
========================= */

html,
body {
    overflow-x: hidden;
}

.assistant-wrapper.ai-engine-shell {
    position: relative;
    overflow: hidden;
    grid-template-columns: minmax(0, .96fr) minmax(460px, .86fr);
    gap: clamp(36px, 4.8vw, 64px);
    padding: clamp(38px, 4.4vw, 58px);
    background: rgba(255, 255, 255, .48);
}

.assistant-wrapper.ai-engine-shell::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(255, 255, 255, .08));
    pointer-events: none;
}

.ai-copy,
.assistant-panel {
    position: relative;
    z-index: 1;
}

.ai-copy h2 {
    max-width: 640px;
    font-size: clamp(2.72rem, 4.1vw, 4.05rem);
    line-height: 1.06;
}

.ai-copy p {
    max-width: 650px;
    font-size: 1.06rem;
}

.assistant-features.ai-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ai-mini-card {
    min-height: 122px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-content: start;
    column-gap: 14px;
    row-gap: 5px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .54);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 12px 26px rgba(47, 66, 104, .045);
    transition: transform .24s var(--ease), background .24s ease, box-shadow .24s ease;
}

.ai-mini-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .70);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84), 0 18px 34px rgba(47, 66, 104, .075);
}

.ai-mini-card i {
    grid-row: 1 / span 2;
    margin: 0;
}

.ai-mini-card span,
.ai-mini-card small {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ai-mini-card span {
    margin-top: 0;
    font-size: .98rem;
}

.ai-mini-card small {
    margin-top: 0;
    font-size: .82rem;
}

.assistant-panel {
    width: min(540px, 100%);
    height: clamp(500px, 45vw, 620px);
    max-height: 620px;
    display: flex;
    flex-direction: column;
    border-radius: 34px;
    background: rgba(255, 255, 255, .52);
    box-shadow: 0 26px 62px rgba(47, 66, 104, .11);
    transition: transform .28s var(--ease), box-shadow .28s ease;
}

.assistant-panel:hover {
    transform: translateY(-4px);
    box-shadow: 0 34px 72px rgba(47, 66, 104, .13);
}

.assistant-topbar {
    flex: 0 0 auto;
}

.assistant-thread {
    flex: 1 1 auto;
    min-height: 0;
    max-height: 420px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 18px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 48, 69, .30) transparent;
}

.assistant-thread::-webkit-scrollbar {
    width: 5px;
}

.assistant-thread::-webkit-scrollbar-track {
    background: transparent;
}

.assistant-thread::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 48, 69, .28);
}

.assistant-thread::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 48, 69, .45);
}

.bubble,
.chat-bubble {
    max-width: min(88%, 410px);
    overflow-wrap: anywhere;
    background: rgba(255, 255, 255, .88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 10px 26px rgba(47, 66, 104, .06);
}

.bubble-brand,
.chat-bubble.user {
    align-self: flex-end;
}

.assistant-sources {
    width: 100%;
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.assistant-source-card {
    display: block;
    padding: 11px 12px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--ink);
    background: rgba(255, 255, 255, .68);
    border: 1px solid rgba(255, 255, 255, .76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76), 0 10px 24px rgba(47, 66, 104, .06);
    transition: transform .22s var(--ease), border-color .22s ease, background .22s ease;
}

.assistant-source-card:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 48, 69, .22);
    background: rgba(255, 255, 255, .84);
}

.assistant-source-card small,
.assistant-source-card strong {
    display: block;
}

.assistant-source-card small {
    margin-bottom: 3px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 900;
}

.assistant-source-card strong {
    color: var(--ink);
    font-size: .82rem;
    line-height: 1.35;
}

.choice-row {
    align-items: flex-start;
}

.choice-row button {
    min-height: 42px;
    border-radius: 999px;
    white-space: normal;
}

.assistant-composer,
.chat-input {
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    margin-top: auto;
    padding-top: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .88) 28%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.assistant-composer input,
.chat-input input {
    height: 58px;
    border: 1px solid rgba(255, 255, 255, .72);
    background: rgba(255, 255, 255, .78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .84);
}

.send-dot {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    box-shadow: 0 14px 30px rgba(255, 48, 69, .20);
}

.apply-modal {
    overflow: hidden;
    padding: 14px;
}

.onboarding-dialog {
    width: min(900px, calc(100vw - 28px));
    max-height: min(760px, calc(100dvh - 28px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 34px;
    border: 1px solid rgba(255, 255, 255, .74);
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 28px 80px rgba(28, 39, 62, .16);
    backdrop-filter: blur(26px) saturate(155%);
    -webkit-backdrop-filter: blur(26px) saturate(155%);
}

.onboarding-head {
    position: relative;
    flex: 0 0 auto;
    display: grid;
    gap: 12px;
    padding: clamp(28px, 3.6vw, 40px) clamp(24px, 4.4vw, 46px) 16px;
    border-bottom: 0;
    background: transparent;
}

.onboarding-progress {
    position: static;
    display: flex;
    gap: 9px;
    order: -1;
    transform: none;
}

.onboarding-progress span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--muted);
    background: rgba(245, 247, 252, .86);
    font-size: .76rem;
    font-weight: 950;
}

.onboarding-progress span.active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    box-shadow: 0 10px 22px rgba(255, 48, 69, .18);
}

.onboarding-head h2,
.volunteer-dialog .onboarding-head h2 {
    max-width: 700px;
    margin: 4px 0 0;
    font-size: clamp(2.1rem, 3.7vw, 3.25rem);
    line-height: 1.06;
}

.onboarding-head p,
.volunteer-dialog .onboarding-head p {
    max-width: 720px;
    color: var(--ink-soft);
    font-size: .98rem;
    font-weight: 750;
}

.volunteer-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 clamp(24px, 4.4vw, 46px);
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(17, 24, 39, .07);
    background: transparent;
}

.volunteer-benefit {
    min-height: 74px;
    padding: 12px;
    background: rgba(255, 255, 255, .42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .70);
}

.onboarding-form {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    margin: 0;
    padding: 18px clamp(24px, 4.4vw, 46px) 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 48, 69, .34) transparent;
}

.onboarding-form::-webkit-scrollbar,
.kvkk-content::-webkit-scrollbar {
    width: 6px;
}

.onboarding-form::-webkit-scrollbar-track,
.kvkk-content::-webkit-scrollbar-track {
    background: transparent;
}

.onboarding-form::-webkit-scrollbar-thumb,
.kvkk-content::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(255, 48, 69, .28);
}

.form-section {
    padding: 0 0 18px;
    border: 0;
    border-bottom: 1px solid rgba(17, 24, 39, .07);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.section-line {
    margin-bottom: 4px;
}

.liquid-input,
.custom-form textarea,
.apply-form input,
.apply-form select,
.apply-form textarea,
.custom-select-trigger {
    min-height: 62px;
    border: 1px solid rgba(16, 24, 40, .08);
    border-radius: 20px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 8px 24px rgba(16, 24, 40, .05);
    padding: 0 20px;
    font-size: 15px;
    font-weight: 850;
}

.apply-form textarea {
    padding-top: 16px;
}

.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus,
.custom-select.is-open .custom-select-trigger {
    border-color: rgba(241, 37, 49, .42);
    box-shadow: 0 0 0 4px rgba(241, 37, 49, .10);
}

.custom-select-menu {
    max-width: 100%;
    border-radius: 20px;
    border-color: rgba(16, 24, 40, .08);
    /* Opak arka plan: açılınca alttaki tercih alanlarıyla görsel çakışmayı önler. */
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 60;
    box-shadow: 0 24px 56px rgba(16, 24, 40, .22);
}

.conditional-field {
    grid-template-rows: none;
    max-height: 0;
    opacity: 0;
    padding: 0;
    overflow: hidden;
    transform: translateY(-6px);
    transition: max-height .30s var(--ease), opacity .22s ease, padding .30s var(--ease), transform .22s ease;
}

.conditional-field.is-visible {
    max-height: 900px;
    opacity: 1;
    padding: 14px 0 4px;
    transform: translateY(0);
    animation: none;
}

.conditional-grid,
.preference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.conditional-card {
    gap: 14px;
    border: 1px solid rgba(255, 48, 69, .12);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 247, 249, .72));
    box-shadow: 0 18px 44px rgba(16, 24, 40, .06);
}

.conditional-field.conditional-card {
    padding: 0;
}

.conditional-field.conditional-card.is-visible {
    max-height: 1100px;
    padding: 18px;
}

.conditional-card-head {
    display: grid;
    gap: 4px;
}

.conditional-card-head strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 950;
}

.conditional-card-head small {
    color: var(--ink-soft);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.permission-card {
    padding: 16px 0 0;
    border: 0;
    border-top: 1px solid rgba(17, 24, 39, .07);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.modal-submit-shell {
    padding: 14px 0 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .94) 34%);
}

.modal-submit {
    min-height: 60px;
    box-shadow: 0 16px 34px rgba(255, 48, 69, .22);
}

.onboarding-success {
    border-radius: 28px;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
}

@media (max-width: 820px) {
    .nav-links {
        /* Item 5: dinamik genişlik — görünür öğe sayısına göre daralır, ortalanır (sabit 5-kolon yok). */
        width: auto;
        max-width: min(370px, calc(100vw - 18px));
        height: 76px;
        gap: 8px;
        padding: 8px 10px;
        background: rgba(255, 255, 255, .66);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 18px 44px rgba(50, 72, 112, .16);
        overflow: hidden;
    }

    .nav-links li {
        overflow: hidden;
    }

    .nav-links li a,
    .nav-links li button {
        position: relative;
        width: 60px;
        height: 58px;
        min-width: 60px;
        max-width: 60px;
        min-height: 58px;
        max-height: 58px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        flex-direction: column;
        gap: 3px;
        border-radius: 21px;
        text-indent: 0;
        overflow: visible;
        transition: transform .22s var(--ease), background .22s ease, color .22s ease;
    }

    .nav-links li a i,
    .nav-links li button i {
        margin-top: 9px;
        font-size: 1.05rem;
        line-height: 1;
        text-indent: 0;
    }

    .nav-links li .mobile-dock-plus i {
        margin-top: 8px;
        font-size: 1.24rem;
    }

    .nav-links li a::after,
    .nav-links li button::after {
        content: attr(data-dock-label);
        position: absolute;
        left: 50%;
        bottom: 7px;
        width: auto;
        max-width: 58px;
        height: auto;
        min-height: 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        border-radius: 0;
        color: rgba(17, 24, 39, .58);
        background: transparent;
        box-shadow: none;
        opacity: 1;
        transform: translateX(-50%);
        font-size: .55rem;
        font-weight: 950;
        line-height: 1;
        letter-spacing: 0;
        text-indent: 0;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-links li a:active,
    .nav-links li button:active {
        transform: scale(.94);
    }

    .nav-links li a.active {
        color: var(--brand);
        background: linear-gradient(135deg, rgba(255, 48, 69, .14), rgba(255, 255, 255, .38));
        border-color: rgba(255, 48, 69, .08);
        box-shadow: none;
    }

    .nav-links li a.active i,
    .nav-links li a.active::after,
    .nav-links li a[data-mobile-href="#akilli-tercih"]::after,
    .nav-links li .mobile-dock-plus::after {
        color: var(--brand);
    }

    .nav-links li a[data-mobile-href="#akilli-tercih"] {
        position: relative;
        overflow: visible;
    }

    .nav-links li a[data-mobile-href="#akilli-tercih"]::before {
        display: none;
    }

    .nav-links li a[data-badge]::before {
        content: attr(data-badge);
    }

    .nav-links li .mobile-dock-plus {
        overflow: visible;
    }

    .nav-links li .mobile-dock-plus[aria-expanded="true"] {
        background: linear-gradient(135deg, rgba(255, 48, 69, .14), rgba(255, 255, 255, .36));
        border-color: rgba(255, 48, 69, .10);
        box-shadow: 0 0 24px rgba(255, 48, 69, .16);
        transform: scale(1.08);
    }

    .mobile-dock-popover {
        bottom: calc(100px + env(safe-area-inset-bottom));
        width: min(292px, calc(100vw - 36px));
        padding: 12px;
        gap: 10px;
        border-radius: 26px;
        background: rgba(255, 255, 255, .82);
        box-shadow: 0 18px 42px rgba(47, 66, 104, .13);
        backdrop-filter: blur(24px) saturate(170%);
        -webkit-backdrop-filter: blur(24px) saturate(170%);
        transform: translate(-50%, 14px) scale(.92);
        transition: opacity .28s ease, transform .28s var(--ease);
    }

    .mobile-dock-popover.active {
        transform: translate(-50%, 0) scale(1);
    }

    .dock-popover-item {
        min-height: 54px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .52);
    }

    .dock-popover-item:hover,
    .dock-popover-item:focus-visible {
        background: rgba(255, 255, 255, .70);
    }

    .assistant-wrapper.ai-engine-shell {
        display: flex;
        flex-direction: column;
        padding: 28px 20px;
        gap: 22px;
    }

    .ai-copy {
        display: contents;
    }

    .ai-copy > .assistant-mini {
        order: 1;
        align-self: flex-start;
    }

    .ai-copy > h2 {
        order: 2;
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.08;
        letter-spacing: 0;
        margin: 0;
    }

    .ai-copy > p {
        order: 3;
        font-size: .98rem;
    }

    .ai-action-row {
        order: 4;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        width: 100%;
        margin-top: 0;
    }

    .ai-action-row .hero-primary,
    .ai-action-row .hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .assistant-panel {
        order: 5;
        width: 100%;
        height: min(70dvh, 560px);
        max-height: 70dvh;
        min-height: 430px;
        border-radius: 28px;
    }

    .assistant-thread {
        min-height: 0;
        max-height: calc(70dvh - 154px);
        padding: 18px 16px;
    }

    .assistant-composer {
        padding: 12px 16px 16px;
    }

    .choice-row button {
        flex: 1 1 calc(50% - 8px);
        padding: 0 12px;
    }

    .assistant-features.ai-feature-grid {
        order: 6;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-top: 0;
    }

    .ai-mini-card {
        min-height: 118px;
        grid-template-columns: 1fr;
        gap: 7px;
        padding: 16px;
    }

    .ai-mini-card i {
        grid-row: auto;
    }

    .apply-modal {
        padding: 10px;
    }

    .onboarding-dialog {
        width: calc(100vw - 20px);
        height: calc(100dvh - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 28px;
    }

    .onboarding-head {
        padding: 22px 18px 12px;
        gap: 10px;
    }

    .onboarding-progress {
        gap: 7px;
    }

    .onboarding-progress span {
        width: 25px;
        height: 25px;
        font-size: .7rem;
    }

    .onboarding-head h2,
    .volunteer-dialog .onboarding-head h2 {
        font-size: clamp(30px, 8vw, 42px);
        line-height: 1.08;
        letter-spacing: 0;
    }

    .onboarding-head p,
    .volunteer-dialog .onboarding-head p {
        font-size: .92rem;
        line-height: 1.55;
    }

    .volunteer-benefits {
        display: none;
    }

    .onboarding-form {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 12px 14px 0;
    }

    .form-section,
    .conditional-grid,
    .preference-grid {
        grid-template-columns: 1fr;
    }

    .liquid-input,
    .custom-form textarea,
    .apply-form input,
    .apply-form select,
    .apply-form textarea,
    .custom-select-trigger {
        min-height: 58px;
        font-size: 15px;
    }

    .modal-submit-shell {
        padding-bottom: 14px;
    }
}

/* =========================
   Final Consolidated UX Pass
========================= */

html,
body {
    overflow-x: hidden;
}

html {
    background: #fff;
}

body {
    background: transparent;
}

.assistant-thread .bubble-brand,
.assistant-thread .chat-bubble.user {
    align-self: flex-end;
    color: #fff;
    background: linear-gradient(135deg, var(--brand), var(--brand-2));
    border-color: rgba(255, 255, 255, .44);
    box-shadow: 0 14px 28px rgba(255, 48, 69, .18);
}

.assistant-thread .bubble-soft,
.assistant-thread .chat-bubble.bot {
    color: var(--ink);
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .66);
}

.assistant-composer input::placeholder,
.apply-form input::placeholder,
.apply-form textarea::placeholder {
    color: rgba(83, 97, 121, .72);
}

.apply-form input.is-invalid-input,
.apply-form textarea.is-invalid-input,
.custom-select.is-invalid .custom-select-trigger {
    border-color: rgba(255, 48, 69, .52) !important;
    box-shadow: 0 0 0 4px rgba(255, 48, 69, .10), 0 12px 28px rgba(255, 48, 69, .08) !important;
}

.apply-modal.active {
    align-items: center;
    padding: 24px;
}

.onboarding-dialog {
    width: min(1080px, calc(100vw - 48px));
    max-height: calc(100dvh - 48px);
    border-radius: 34px;
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 30px 86px rgba(28, 39, 62, .15);
}

.volunteer-modal .onboarding-dialog {
    width: min(1080px, calc(100vw - 48px));
}

.onboarding-head {
    padding: 34px 54px 18px;
    border-bottom: 1px solid rgba(17, 24, 39, .075);
}

.onboarding-head h2,
.volunteer-dialog .onboarding-head h2 {
    max-width: 780px;
    font-size: clamp(2.35rem, 3.4vw, 3.45rem);
}

.onboarding-head p,
.volunteer-dialog .onboarding-head p {
    max-width: 790px;
}

.modal-close {
    top: 22px;
    right: 22px;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    color: rgba(17, 24, 39, .78);
    background: rgba(255, 255, 255, .72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .86), 0 12px 28px rgba(47, 66, 104, .08);
    transition: transform .22s var(--ease), background .22s ease, color .22s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
    color: var(--brand);
    background: rgba(255, 255, 255, .92);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 16px 32px rgba(47, 66, 104, .12);
    transform: translateY(-1px);
    outline: 0;
}

.volunteer-benefits {
    margin: 0 54px;
    padding: 16px 0 18px;
}

.volunteer-benefit {
    border: 1px solid rgba(255, 255, 255, .62);
    background: rgba(255, 255, 255, .48);
}

.onboarding-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
    padding: 22px 54px 0;
}

.form-section {
    gap: 16px 20px;
    padding: 0 0 20px;
    border-bottom: 1px solid rgba(17, 24, 39, .075);
}

.section-line {
    margin-bottom: 2px;
}

.liquid-input,
.custom-form textarea,
.apply-form input,
.apply-form select,
.apply-form textarea,
.custom-select-trigger {
    min-height: 62px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .82);
}

.custom-select-menu {
    z-index: 120;
    max-height: 260px;
    border: 1px solid rgba(255, 255, 255, .74);
    background: rgba(255, 255, 255, .92);
}

.permission-card {
    gap: 10px;
    padding: 6px 0 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.check-line {
    min-height: 34px;
    align-items: center;
}

.modal-submit-shell {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding: 14px 0 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .96) 34%);
}

.stat-glass-card {
    position: relative;
    overflow: hidden;
    min-height: 270px;
}

.stat-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: var(--brand);
    background: rgba(255, 48, 69, .10);
    font-size: 1.8rem;
}

.testimonials-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.testi-card {
    width: 100%;
    height: 100%;
    min-height: 232px;
    display: flex;
    flex-direction: column;
}

.testi-text {
    flex: 1;
}

@media (max-width: 820px) {
    body {
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }

    .brand-link {
        top: calc(9px + env(safe-area-inset-top));
        left: 12px;
        width: 118px;
        height: 48px;
        background: rgba(255, 255, 255, .64);
    }

    .menu-logo {
        width: 88px;
    }

    .nav-links {
        bottom: max(4px, env(safe-area-inset-bottom));
        width: min(390px, calc(100vw - 18px));
        height: 76px;
        grid-template-columns: repeat(5, 58px);
        gap: 9px;
        padding: 9px 14px;
        overflow: visible;
        background: rgba(255, 255, 255, .66);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 12px 30px rgba(47, 66, 104, .12);
    }

    .nav-links li {
        width: 58px;
        height: 58px;
        overflow: visible;
    }

    .nav-links li a,
    .nav-links li button,
    .nav-links li .mobile-dock-plus,
    .nav-links li .mobile-dock-plus[aria-expanded="true"] {
        width: 50px;
        min-width: 50px;
        max-width: 50px;
        height: 50px;
        min-height: 50px;
        max-height: 50px;
        justify-content: center;
        border-radius: 20px;
        overflow: visible;
        background: transparent;
        border-color: transparent;
        box-shadow: none;
        transform: none;
        isolation: isolate;
    }

    .nav-links li a i,
    .nav-links li button i,
    .nav-links li .mobile-dock-plus i {
        margin: 0;
        color: rgba(17, 24, 39, .72);
        font-size: 1.08rem;
    }

    .nav-links li .mobile-dock-plus i {
        font-size: 1.35rem;
    }

    .nav-links li a::after,
    .nav-links li button::after {
        display: none;
    }

    .nav-links li a.active {
        color: var(--brand);
        background: transparent;
        border-color: transparent;
        box-shadow: none;
    }

    .nav-links li a.active::before {
        content: "";
        position: absolute;
        inset: -4px -11px;
        z-index: -1;
        border-radius: 999px;
        background: linear-gradient(90deg, rgba(255, 48, 69, .16), rgba(255, 255, 255, .20));
        box-shadow: none;
    }

    .nav-links li a.active i {
        color: var(--brand);
    }

    .nav-links li a[data-dock-label]::after,
    .nav-links li button[data-dock-label]::after {
        content: attr(data-dock-label);
        position: absolute;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: linear-gradient(135deg, var(--brand), var(--brand-2));
        box-shadow: none;
        transform: none;
        text-indent: 0;
        letter-spacing: 0;
        line-height: 1;
        white-space: nowrap;
    }

    .nav-links li a[data-dock-label="AI"]::after {
        right: 0;
        bottom: 5px;
        width: 20px;
        min-width: 20px;
        height: 20px;
        padding: 0;
        border-radius: 50%;
        font-size: .55rem;
        font-weight: 950;
    }

    .nav-links li .mobile-dock-plus[aria-expanded="true"] {
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .mobile-dock-popover {
        bottom: calc(84px + env(safe-area-inset-bottom));
        box-shadow: none;
    }

    .apply-modal.active {
        padding: 10px;
    }

    .onboarding-dialog {
        width: calc(100vw - 20px);
        height: calc(100dvh - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 28px;
    }

    .onboarding-head {
        padding: 22px 18px 14px;
    }

    .onboarding-form {
        grid-template-columns: 1fr;
        padding: 14px 16px 0;
    }

    .form-section,
    .conditional-grid,
    .preference-grid {
        grid-template-columns: 1fr;
    }

    .conditional-field.conditional-card.is-visible {
        padding: 14px;
    }

    .volunteer-benefits {
        display: none;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
    }

    .stats-container {
        gap: 16px;
    }

    .stat-glass-card {
        min-height: 232px;
    }

    .testi-card {
        min-height: 220px;
    }
}

.stat-glass-card,
.testi-card,
.ai-mini-card,
.feature-box,
.volunteer-benefit {
    background: rgba(255, 255, 255, .36);
    border-color: rgba(255, 255, 255, .64);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76), 0 16px 36px rgba(47, 66, 104, .055);
    backdrop-filter: blur(18px) saturate(155%);
    -webkit-backdrop-filter: blur(18px) saturate(155%);
}

.stat-icon {
    color: rgba(17, 24, 39, .76);
    background: transparent;
}

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

/* ===== Başvuru/gönüllü popup — adım adım sihirbaz ===== */
.ob-step { display: none; }
.ob-step.active { display: flex; flex-direction: column; gap: 18px; animation: obStepIn .25s ease; }
@keyframes obStepIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.ob-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(15, 23, 42, 0.08); }
.ob-nav .ob-error { flex: 1; text-align: center; color: #dc2626; font-size: 13px; font-weight: 600; }
.ob-back, .ob-next { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; border-radius: 14px; padding: 14px 22px; cursor: pointer; transition: all .2s ease; border: none; }
.ob-back { background: rgba(15, 23, 42, 0.05); color: #334155; }
.ob-back:hover { background: rgba(15, 23, 42, 0.1); }
.ob-next { background: var(--brand, #ff3045); color: #fff; box-shadow: 0 10px 24px rgba(255, 48, 69, 0.28); }
.ob-next:hover { filter: brightness(1.05); transform: translateY(-1px); }
.ob-next.is-busy { opacity: .7; pointer-events: none; }
.ob-next:disabled { opacity: .6; cursor: default; }
@media (max-width: 560px) {
    .ob-back, .ob-next { padding: 12px 16px; font-size: 14px; }
    .ob-nav .ob-error { font-size: 12px; }
}

/* ===== Popup düzeltmeleri: tek modal kaydırma bağlamı, dropdown ve footer hizası ===== */
.onboarding-dialog { overflow: hidden; max-height: calc(100dvh - 48px); }
.onboarding-form {
    max-height: none;
    overflow-x: clip;
    overflow-y: auto;
    align-content: start;
    padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.apply-modal { overflow: hidden; }
.apply-modal.active { align-items: center; }
.ob-step,
.ob-nav { grid-column: 1 / -1; min-width: 0; width: 100%; }
.ob-step.active { align-self: start; }
/* Koşullu kart içindeki açılır menü kırpılmasın */
.conditional-field.is-visible { overflow: visible; }
/* Alttaki ikinci çizgiyi kaldır (tek ayraç kalsın) */
.ob-nav { position: static; border-top: none; margin-top: 16px; padding-top: 4px; }
/* Checkbox'lar .apply-form input stilinden arındırılır (kocaman border/animasyon gider) */
.apply-form .check-line input[type="checkbox"] {
    width: 20px; height: 20px; min-height: 20px; flex: 0 0 auto;
    padding: 0; border: 0; border-radius: 4px; box-shadow: none; background: none;
    accent-color: var(--brand);
}
.apply-form .check-line input[type="checkbox"]:hover,
.apply-form .check-line input[type="checkbox"]:focus { box-shadow: none; background: none; }
/* Odak halkasını biraz inceltelim */
.apply-form input:focus, .apply-form select:focus, .apply-form textarea:focus { box-shadow: 0 0 0 3px rgba(255, 48, 69, .10); }
/* X butonu üstte ve tıklanabilir kalsın */
.modal-close { z-index: 5; }
/* Tercih ekle stepper: 2. ve 3. tercih gizli, buton ile açılır */
.preference-grid .pref-step-2, .preference-grid .pref-step-3 { display: none; }
.preference-grid .pref-step-2.is-shown, .preference-grid .pref-step-3.is-shown { display: grid; }
.pref-add-btn { grid-column: 1 / -1; justify-self: start; margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13px; color: var(--brand, #ff3045); background: rgba(255, 48, 69, .08); border: 1px dashed rgba(255, 48, 69, .35); border-radius: 12px; padding: 9px 14px; cursor: pointer; transition: all .18s ease; }
.pref-add-btn:hover { background: rgba(255, 48, 69, .14); }
.previous-preferences .pref-add-btn { display: inline-flex; }

/* Bakım modu ekranı */
.maintenance-overlay { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; background: linear-gradient(135deg, #ff3045, #ff7a59); padding: 24px; }
.maintenance-card { background: #fff; border-radius: 24px; padding: 48px 40px; text-align: center; max-width: 460px; width: 100%; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.maintenance-emoji { font-size: 64px; line-height: 1; }
.maintenance-card h1 { font-size: 28px; margin: 16px 0 8px; color: #1a1a2e; }
.maintenance-card p { color: #555; font-size: 16px; line-height: 1.6; margin: 0; }
.maintenance-foot { display: block; margin-top: 24px; font-weight: 800; color: #ff3045; letter-spacing: .04em; }
body.maintenance-on { overflow: hidden; }
.maintenance-banner { position: sticky; top: 0; z-index: 9999; background: #1a1a2e; color: #fff; font-size: 13px; font-weight: 600; text-align: center; padding: 8px 14px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.maintenance-banner i { color: #ffb020; }

/* Public bilgi şeridi (örn. açık program yok) */
.public-notice { position: fixed; top: 22px; left: 50%; transform: translateX(-50%) translateY(-20px); z-index: 100000; background: #1a1a2e; color: #fff; font-size: 14px; font-weight: 600; padding: 12px 20px; border-radius: 14px; box-shadow: 0 18px 44px rgba(0, 0, 0, .25); display: inline-flex; align-items: center; gap: 9px; opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; max-width: 90vw; }
.public-notice.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.public-notice i { color: #ff7a59; font-size: 17px; }


/* ============ AI sohbet: okunabilirlik + yazıyor göstergesi + akan yazı (2026-06-30) ============ */
/* Paragraf kırılmaları görünür + asistan metni daha okunaklı (eski 850 ağırlık çok kalındı) */
.assistant-thread .bubble .msg-text { display: block; white-space: pre-wrap; }
.assistant-thread .bubble-soft { font-weight: 500; line-height: 1.65; letter-spacing: .1px; }
.assistant-thread .bubble-soft .msg-text { font-weight: 500; }
.assistant-thread .bubble-brand { font-weight: 600; line-height: 1.5; }
.assistant-thread .bubble { padding: 14px 18px; }
.assistant-thread .bubble + .bubble { margin-top: 2px; }

/* Yazıyor göstergesi — üç yanıp sönen nokta */
.assistant-thread .bubble.typing { padding: 16px 18px; }
.typing-dots { display: inline-flex; gap: 6px; align-items: center; }
.typing-dots > span {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(255, 48, 69, .55);
    animation: aiTypingBlink 1.2s infinite ease-in-out;
}
.typing-dots > span:nth-child(2) { animation-delay: .18s; }
.typing-dots > span:nth-child(3) { animation-delay: .36s; }
@keyframes aiTypingBlink {
    0%, 80%, 100% { opacity: .25; transform: translateY(0); }
    40% { opacity: 1; transform: translateY(-3px); }
}

/* Akarken yanıp sönen imleç */
.assistant-thread .bubble.streaming .msg-text::after {
    content: '▍';
    margin-left: 1px;
    color: var(--accent, #ff3045);
    animation: aiCaretBlink .9s steps(1) infinite;
}
@keyframes aiCaretBlink { 50% { opacity: 0; } }

/* "Yeni sohbet" reset butonu */
.assistant-topbar { display: flex; align-items: center; gap: 12px; }
.assistant-reset {
    margin-left: auto;
    flex: 0 0 auto;
    border: none;
    width: 34px; height: 34px;
    border-radius: 12px;
    background: rgba(47, 66, 104, .07);
    color: #64748b;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: background .2s ease, color .2s ease, transform .35s var(--ease, ease);
}
.assistant-reset:hover {
    background: rgba(255, 48, 69, .12);
    color: var(--accent, #ff3045);
    transform: rotate(-180deg);
}

/* --- Aranabilir combobox (il / üniversite / bölüm) — 2026-07 başvuru formu --- */
.searchable-select { position: relative; }
.searchable-select.is-open { z-index: 80; }
.ss-trigger {
    width: 100%;
    min-height: 52px;
    padding: 0 14px 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 16px;
    color: rgba(83, 97, 121, .78);
    background: linear-gradient(135deg, rgba(255, 255, 255, .74), rgba(255, 255, 255, .38));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78), 0 10px 24px rgba(47, 66, 104, .04);
    text-align: left;
    font-weight: 850;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.searchable-select.has-value .ss-trigger { color: var(--ink); }
.searchable-select .ss-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-trigger i { color: var(--brand); transition: transform .2s ease; }
.searchable-select.is-open .ss-trigger {
    border-color: rgba(255, 48, 69, .35);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 0 0 4px rgba(255, 48, 69, .08), 0 18px 36px rgba(47, 66, 104, .10);
}
.searchable-select.is-open .ss-trigger i { transform: rotate(180deg); }
.searchable-select.is-invalid .ss-trigger { border-color: rgba(255, 48, 69, .46); }
.searchable-select.is-disabled .ss-trigger,
.ss-trigger:disabled {
    cursor: not-allowed;
    color: rgba(83, 97, 121, .52);
    background: rgba(241, 245, 249, .78);
    box-shadow: none;
}
.ss-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    z-index: 20;
    display: none;
    grid-template-rows: auto 1fr;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .82));
    box-shadow: 0 24px 56px rgba(47, 66, 104, .17);
    backdrop-filter: blur(20px) saturate(165%);
    -webkit-backdrop-filter: blur(20px) saturate(165%);
}
.searchable-select.is-open .ss-menu { display: grid; }
.ss-search {
    width: 100%;
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid rgba(47, 66, 104, .16);
    border-radius: 13px;
    font-weight: 700;
    background: #fff;
    color: var(--ink);
}
.ss-search:focus { outline: 0; border-color: rgba(255, 48, 69, .4); box-shadow: 0 0 0 3px rgba(255, 48, 69, .08); }
.ss-options { max-height: 210px; overflow-y: auto; display: grid; gap: 4px; }
.ss-option {
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 13px;
    color: var(--ink);
    background: transparent;
    text-align: left;
    font-weight: 800;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}
.ss-option:hover, .ss-option:focus {
    color: var(--brand);
    background: linear-gradient(135deg, rgba(255, 48, 69, .09), rgba(255, 255, 255, .64));
    outline: 0;
}
.ss-empty { padding: 12px; color: var(--muted); font-weight: 700; text-align: center; }

/* Kontrol adımı özeti */
.summary-card .summary-list { display: grid; gap: 8px; margin-top: 6px; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 12px; border-radius: 12px; background: rgba(47, 66, 104, .04); }
.summary-row span { color: var(--muted); font-weight: 700; }
.summary-row strong { color: var(--ink); text-align: right; }

/* Gönüllü ekip açıklaması */
.team-desc .team-desc-text {
    margin: 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 48, 69, .05);
    border: 1px solid rgba(255, 48, 69, .12);
    color: var(--ink);
    font-weight: 600;
    line-height: 1.5;
}

/* ===================== 2026-07 Item 1/3/7 — form + hedef çiftleri + CTA mobil ===================== */

/* Item 1: hedef üniversite + bölüm çiftleri (masaüstünde 2 kolon, mobilde alt alta) */
.target-pairs { grid-column: 1 / -1; display: grid; gap: 14px; }
.target-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.target-pair > label { min-width: 0; }
.target-pair[hidden] { display: none; }
.target-add, .target-remove {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px; border-radius: 14px; font-weight: 800; cursor: pointer;
    border: 1px dashed rgba(255, 48, 69, .40); background: rgba(255, 48, 69, .06); color: var(--brand);
}
.target-add { justify-self: start; }
.target-add[hidden] { display: none; }
.target-remove {
    grid-column: 1 / -1; justify-self: end; padding: 8px 14px;
    border-style: solid; border-color: rgba(120, 130, 150, .30);
    background: rgba(120, 130, 150, .08); color: var(--muted);
}

/* Item 3/6: onboarding textarea iç boşluk (placeholder üst/sol kenara yapışmaz) */
.apply-form textarea { padding: 14px 16px; line-height: 1.5; min-height: 92px; resize: vertical; }

@media (max-width: 760px) {
    /* Item 3: form kartı modal genişliğini aşmaz; çok kolonlu alanlar tek kolona iner; yatay taşma olmaz */
    .apply-dialog { width: min(100vw - 16px, 640px); }
    .onboarding-form { padding: 16px 12px 0; }
    .form-section { grid-template-columns: 1fr; padding: 14px; }
    .target-pair { grid-template-columns: 1fr; }
    .apply-form input, .apply-form select, .apply-form textarea, .liquid-input { font-size: 16px; }
    /* Back/Next görünür kalsın + güvenli alan boşluğu */
    .ob-nav { padding-bottom: max(6px, env(safe-area-inset-bottom)); }

    /* Item 7: gönüllü CTA kartı kenara yapışmaz, taşmaz; başlık/CTA dengeli */
    .volunteer-container { overflow: hidden; }
    .volunteer-content h2 { word-break: normal; overflow-wrap: anywhere; }
    .volunteer-stack-wrapper { max-width: 100%; overflow: hidden; }
    .volunteer-content .hero-primary,
    .volunteer-content .apply-trigger { display: inline-flex; align-items: center; justify-content: center; }
}

/* Item 3: 320px'e kadar yatay taşma engeli (global güvenlik) */
@media (max-width: 380px) {
    .apply-dialog { width: calc(100vw - 12px); }
    .form-section { padding: 12px; }
}

/* Portaled Turkish date picker: the modal scroll container never clips the calendar. */
.tr-date-field {
    position: relative;
    min-width: 0;
}
.tr-date-field > input[data-datepicker-display] {
    width: 100%;
    padding-right: 52px;
    cursor: pointer;
}
.tr-date-open {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 12px;
    color: var(--brand);
    background: rgba(255, 48, 69, .08);
    cursor: pointer;
    transform: translateY(-50%);
}
.tr-date-open:focus-visible {
    outline: 3px solid rgba(255, 48, 69, .18);
    outline-offset: 2px;
}
.tr-date-picker[hidden] { display: none !important; }
.tr-date-picker {
    position: fixed;
    z-index: 12000;
    overflow: auto;
    padding: 14px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 20px;
    color: var(--ink);
    background: #fff;
    box-shadow: 0 22px 54px rgba(15, 23, 42, .18);
}
.tr-date-toolbar {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 82px 36px;
    gap: 7px;
    align-items: center;
}
.tr-date-toolbar select,
.tr-date-nav {
    min-width: 0;
    height: 38px;
    border: 1px solid rgba(15, 23, 42, .10);
    border-radius: 11px;
    color: var(--ink);
    background: #f8fafc;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
}
.tr-date-toolbar select { padding: 0 7px; }
.tr-date-nav { display: grid; place-items: center; cursor: pointer; }
.tr-date-nav:disabled { opacity: .38; cursor: default; }
.tr-date-toolbar select:focus-visible,
.tr-date-nav:focus-visible,
.tr-date-day:focus-visible,
.tr-date-actions button:focus-visible {
    outline: 3px solid rgba(255, 48, 69, .16);
    outline-offset: 1px;
}
.tr-date-week,
.tr-date-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}
.tr-date-week { margin: 13px 0 6px; }
.tr-date-week span {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    text-align: center;
}
.tr-date-empty,
.tr-date-day { aspect-ratio: 1; }
.tr-date-day {
    min-width: 0;
    border: 0;
    border-radius: 10px;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}
.tr-date-day:hover { color: var(--brand); background: rgba(255, 48, 69, .08); }
.tr-date-day.is-today { box-shadow: inset 0 0 0 1px rgba(255, 48, 69, .35); }
.tr-date-day.is-selected { color: #fff; background: var(--brand); box-shadow: 0 8px 16px rgba(255, 48, 69, .20); }
.tr-date-day:disabled { color: #cbd5e1; background: transparent; cursor: default; }
.tr-date-actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(15, 23, 42, .08);
}
.tr-date-actions button {
    min-height: 36px;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    color: var(--brand);
    background: rgba(255, 48, 69, .08);
    font: inherit;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

@media (max-width: 760px) {
    .apply-modal.active { padding: 6px; }
    .onboarding-dialog,
    .volunteer-modal .onboarding-dialog {
        width: calc(100vw - 12px);
        height: auto;
        max-height: calc(100dvh - 12px);
        border-radius: 24px;
    }
    .onboarding-head { padding: 20px 16px 12px; }
    .onboarding-form {
        flex: 1 1 auto;
        min-height: 0;
        max-width: 100%;
        padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
        scroll-padding-bottom: calc(18px + env(safe-area-inset-bottom));
    }
    .form-section { width: 100%; min-width: 0; padding: 0 0 12px; }
    .ob-step.active { gap: 12px; }
    .ob-nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
        margin-top: 8px;
        padding: 12px 0 0;
        background: #fff;
    }
    .ob-nav .ob-error { grid-column: 1 / -1; grid-row: 1; min-width: 0; }
    .ob-back,
    .ob-next { width: 100%; min-width: 0; justify-content: center; padding: 12px 10px; }
    .ss-menu {
        max-height: min(270px, calc(100dvh - 150px));
        background: #fff;
        box-shadow: 0 14px 32px rgba(15, 23, 42, .13);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .searchable-select.is-open .ss-trigger {
        box-shadow: 0 0 0 3px rgba(255, 48, 69, .08), 0 8px 20px rgba(15, 23, 42, .08);
    }
}

@media (max-width: 340px) {
    .onboarding-form { padding-right: 12px; padding-left: 12px; }
    .tr-date-picker { padding: 11px; border-radius: 16px; }
    .tr-date-toolbar { grid-template-columns: 34px minmax(0, 1fr) 76px 34px; gap: 5px; }
}

/* Public 404 */
.not-found-page {
    min-height: 100dvh;
    margin: 0;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: #f7f9fc;
    color: #101828;
}
.not-found-header {
    min-height: 76px;
    padding: 16px clamp(20px, 6vw, 72px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e5eaf2;
    background: #fff;
}
.not-found-brand img { display: block; width: 142px; height: auto; }
.not-found-contact { color: #475467; font-size: 14px; font-weight: 700; text-decoration: none; }
.not-found-contact:hover { color: #f43f5e; }
.not-found-main {
    width: min(860px, calc(100% - 32px));
    margin: auto;
    padding: 64px 0;
    text-align: center;
}
.not-found-code { color: #f43f5e; font-size: clamp(88px, 19vw, 190px); font-weight: 900; line-height: .82; opacity: .12; animation: not-found-arrive .7s ease-out both, not-found-breathe 4s ease-in-out .7s infinite; }
.not-found-kicker { margin: -12px 0 18px; color: #f43f5e; font-weight: 800; }
.not-found-kicker i { margin-right: 6px; display: inline-block; animation: not-found-compass 3.2s ease-in-out infinite; }
.not-found-main h1 { margin: 0; font-size: clamp(34px, 6vw, 62px); line-height: 1.08; letter-spacing: 0; animation: not-found-rise .6s ease-out .12s both; }
.not-found-main > p:not(.not-found-kicker) { max-width: 590px; margin: 20px auto 0; color: #667085; font-size: 17px; line-height: 1.65; }
.not-found-actions { margin-top: 34px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; animation: not-found-rise .6s ease-out .24s both; }
.not-found-actions .hero-primary,
.not-found-actions .hero-secondary { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; font: inherit; }
.not-found-footer { padding: 18px; text-align: center; color: #98a2b3; font-size: 13px; }
@keyframes not-found-arrive { from { opacity: 0; transform: scale(.88); } to { opacity: .12; transform: scale(1); } }
@keyframes not-found-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes not-found-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes not-found-compass { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(12deg); } }
@media (prefers-reduced-motion: reduce) {
    .not-found-code,
    .not-found-kicker i,
    .not-found-main h1,
    .not-found-actions { animation: none; }
}
@media (max-width: 430px) {
    .not-found-header { min-height: 64px; padding: 12px 16px; }
    .not-found-brand img { width: 120px; }
    .not-found-main { width: min(100% - 28px, 860px); padding: 40px 0; }
    .not-found-code { font-size: 96px; }
    .not-found-kicker { margin-top: -5px; font-size: 13px; }
    .not-found-main h1 { font-size: 36px; }
    .not-found-main > p:not(.not-found-kicker) { font-size: 15px; }
    .not-found-actions { display: grid; grid-template-columns: 1fr; }
    .not-found-actions .hero-primary,
    .not-found-actions .hero-secondary { width: 100%; }
}

/* ---------------------------------------------------------------
   Online Tercih Rehberliği menü girişleri
   Ayrı bir public sayfa YOKTUR: bu maddeler ortak wizard/modal'ı açar.
   Desktop: ana menünün en sağındaki bağımsız madde.
   Mobil: dock'ta gizlenir (mobile-dock-secondary), "+" menüsünden açılır.
   --------------------------------------------------------------- */
.online-guidance-nav[hidden],
.dock-guidance-link[hidden] { display: none !important; }

/* ===========================================================================
   FORM AÇILIR MENÜLERİ — FLOATING (PORTAL) KATMANI
   Menü açılırken <body> altına taşınır; böylece
     .onboarding-form (overflow-y:auto) ve
     .onboarding-dialog (overflow:hidden + backdrop-filter → fixed için containing block)
   kaplarının KIRPMASINDAN kurtulur. Konum JS'te viewport'a göre hesaplanır (aşağı/yukarı flip).
   =========================================================================== */
.ss-menu.is-floating,
.custom-select-menu.is-floating {
    position: fixed;
    right: auto;
    /*
     * KRİTİK: menü <body>'ye taşındığı için .apply-modal (z-index: 9000) ile KARDEŞ olur.
     * Daha düşük bir değerde menü render edilir fakat modalın ARKASINDA boyanır ve
     * "dropdown açılıyor ama seçenekler görünmüyor" hatasına yol açar.
     * Projede aynı ihtiyaç için kullanılan tarih seçici katmanıyla (12000) hizalıdır.
    */
    z-index: 12000;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Portal sonrası ata seçicileri (.is-open .menu) eşleşmediği için görünürlük burada verilir. */
.ss-menu.is-floating {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}
.custom-select-menu.is-floating {
    display: grid;
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

/* Yukarı açıldığında büyüme yönü de yukarıdan olsun. */
.ss-menu.is-floating.is-flipped,
.custom-select-menu.is-floating.is-flipped { transform-origin: bottom; }

/* Arama kutusu uzun listede görünür kalsın. */
.ss-menu.is-floating .ss-search {
    position: sticky;
    top: 0;
    z-index: 1;
}
/* Aranabilir menüde tek scroll sahibi seçenek listesidir; arama alanı sabit kalır. */
.ss-menu.is-floating .ss-options {
    min-height: 0;
    max-height: calc(var(--floating-menu-max-height, 320px) - 72px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}
.custom-select-menu.is-floating {
    touch-action: pan-y;
}
.onboarding-form.dropdown-scroll-locked {
    overflow: hidden !important;
    overscroll-behavior: none;
    touch-action: none;
}

/* ===========================================================================
   FORM DOĞRULAMA GERİ BİLDİRİMİ — inline hata + toast
   =========================================================================== */
.field-error {
    grid-column: 1 / -1;
    margin: 6px 2px 0;
    color: #d81028;
    font-size: .82rem;
    font-weight: 700;
    line-height: 1.35;
    display: flex;
    gap: 6px;
    align-items: flex-start;
}
.field-error::before {
    content: "\F33A"; /* bootstrap-icons: exclamation-circle-fill */
    font-family: "bootstrap-icons";
    font-weight: 400;
    font-size: .9em;
    line-height: 1.45;
}
input.is-invalid-input,
textarea.is-invalid-input,
select.is-invalid-input {
    border-color: rgba(216, 16, 40, .55) !important;
    background: rgba(255, 241, 242, .55);
}

/* Toast yığını — viewport'a sabit, mobilde taşmaz, İleri butonunu tamamen kapatmaz. */
.pub-toast-stack {
    position: fixed;
    left: 50%;
    top: 16px;
    transform: translateX(-50%);
    /* Modal (9000) ve açılır menülerin (12000) ÜSTÜNDE olmalı; aksi halde toast
       modalın arkasında kalır ve kullanıcı validation uyarısını hiç göremez. */
    z-index: 12500;
    width: min(440px, calc(100vw - 24px));
    display: grid;
    gap: 8px;
    pointer-events: none;
}
.pub-toast {
    pointer-events: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: start;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(216, 16, 40, .22);
    background: #fff;
    box-shadow: 0 16px 40px rgba(47, 66, 104, .18);
    animation: pubToastIn .2s ease;
}
.pub-toast > i { color: #d81028; font-size: 1.1rem; line-height: 1.3; }
.pub-toast-text { min-width: 0; display: grid; gap: 2px; }
.pub-toast-text strong { font-size: .92rem; font-weight: 850; color: #1f2937; }
.pub-toast-text span { font-size: .84rem; color: #566179; line-height: 1.4; overflow-wrap: anywhere; }
.pub-toast-close {
    border: 0;
    background: transparent;
    color: #94a3b8;
    font-size: 1rem;
    line-height: 1;
    padding: 2px;
    cursor: pointer;
    border-radius: 8px;
}
.pub-toast-close:hover { color: #d81028; }
@keyframes pubToastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
    .pub-toast-stack { top: 10px; width: calc(100vw - 20px); }
    .pub-toast { padding: 10px 12px; border-radius: 14px; }
    .pub-toast-text strong { font-size: .88rem; }
    .pub-toast-text span { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
    .pub-toast { animation: none; }
}

/* ---------------------------------------------------------------------------
   Sticky footer sadeleştirme: ana hata iletişimi TOAST + inline mesajlardır.
   Footer ortasındaki metin yalnız çok kısa bir özet olarak kalır ve
   [Geri] ... [İleri →] hizasını bozmaz.
   --------------------------------------------------------------------------- */
.ob-nav .ob-error {
    flex: 0 1 auto;
    max-width: 46%;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #d81028;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 560px) {
    .ob-nav .ob-error { max-width: 100%; font-size: 11.5px; }
}

/* Toast tekrar tetiklendiğinde dikkat çekmesi için kısa vurgu (yeni toast eklenmez). */
.pub-toast.is-pulse { animation: pubToastPulse .32s ease; }
@keyframes pubToastPulse {
    0% { transform: translateY(-6px) scale(.99); }
    60% { transform: translateY(0) scale(1.015); }
    100% { transform: none; }
}
/* Footer artık validation metni taşımıyor: Geri | İleri hizası sade kalsın. */
.ob-nav { justify-content: space-between; }

/* ==========================================================================
   RESPONSIVE GÖRSEL YERLEŞİM DÜZELTMESİ

   KÖK NEDEN: <img> öğelerine CLS için eklenen intrinsic width/height NİTELİKLERİ
   tarayıcıda "presentational hint" olarak height: <px> üretir. İlgili bileşenlerde
   CSS yalnız width (+ bazılarında aspect-ratio) tanımlıyor, height tanımlamıyordu.
   aspect-ratio YALNIZ boyutlardan biri auto iken devreye girdiği için, nitelikten
   gelen sabit yükseklik kazandı ve görseller kaynak yüksekliği kadar (1500px,
   1824px, 5304px) uzayıp dar/uzun şeritlere dönüştü.

   ÇÖZÜM: bu bileşenlerde yüksekliği tekrar auto yaparak kontrolü CSS'e (aspect-ratio
   veya doğal orana) geri veriyoruz. Ölçüler, kırpma ve object-fit davranışı
   optimizasyon öncesiyle AYNI kalır; intrinsic nitelikler CLS için korunur.

   Ayrıca <picture> varsayılan olarak inline'dır; yerleşim rolünü sarmalayıcıdan
   devraldığı yerlerde block yapılır (fazladan satır-içi boşluk oluşmasın). */

.feature-image-wrapper picture,
.stack-card picture,
.about-hero-media picture {
    display: block;
}

.feature-image-wrapper img,
.stack-card img,
.about-hero-media img,
.menu-logo,
.footer-logo-glass {
    height: auto;
}

/* ==========================================================================
   HERO YÜKLENİRKEN ALAN REZERVASYONU  (desktop CLS kök nedeni)

   ÖLÇÜM: .swiper-wrapper ilk HTML'de BOŞ gelir; slaytlar CMS yanıtından sonra
   JS ile eklenir. .slider-skeleton `position: absolute` olduğu için akışta yer
   KAPLAMAZ ve .slider-section'ın min-height'ı yoktur. Sonuç: hero yalnız kendi
   padding'i kadar yer tutar, slaytlar gelince birden büyür ve altındaki TÜM sayfa
   aşağı kayar.

     1440px viewport : 174px → 1005px  (+831px)
     1280px viewport : 174px → 1002px  (+828px)
      768px viewport :  52px →  915px  (+863px)
      390px viewport :  52px →  864px  (+812px)

   Mobilde CLS'in 0 görünmesinin sebebi, ilk boyamanın (FCP 2.6 s) slaytlar
   yerleştikten SONRA gerçekleşmesidir; masaüstünde ilk boyama 0.3 s'de, veri
   gelmeden olur ve kayma ölçülür.

   ÇÖZÜM: yalnız YÜKLENME sırasında ölçülen yerleşik yüksekliğe eşit alan ayrılır.
   .slider-loading JS tarafından kaldırıldığı için yerleşmiş tasarım DEĞİŞMEZ;
   yükseklik, aspect-ratio, padding ve slayt ölçüleri aynı kalır. */
.slider-section.slider-loading { min-height: 864px; }
@media (min-width: 769px)  { .slider-section.slider-loading { min-height: 915px; } }
@media (min-width: 1101px) { .slider-section.slider-loading { min-height: 1002px; } }

/* ---------------------------------------------------------------------------
   SLIDER/HERO — "Gönüllü Ol" ikinci CTA'sı.

   KAPSAM: yalnız .hero-actions içindeki .volunteer-cta. Global .btn / .submit-btn /
   .modal-submit / .hero-primary / .vision-pill-btn ve admin panel butonları
   ETKİLENMEZ; "Programa Başvur" kırmızı ana CTA aynen kalır.

   Renk: koyu lacivert DOLU (gradient yok, kırmızı/pembe/gri değil), beyaz metin.
   Yükseklik, yatay padding, radius ve tipografi .hero-primary ile birebir aynı. */
.hero-actions .volunteer-cta {
    --volunteer-cta-navy: #152C63;
    --volunteer-cta-navy-hover: #0F2050;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--volunteer-cta-navy);
    box-shadow: 0 16px 34px rgba(21, 44, 99, .24);
    font-family: inherit;
    font-weight: 900;
    font-size: 1rem;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.hero-actions .volunteer-cta:hover,
.hero-actions .volunteer-cta:focus-visible {
    background: var(--volunteer-cta-navy-hover);
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(21, 44, 99, .30);
}

.hero-actions .volunteer-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* Dar ekran: sığdığı sürece yan yana; sığmazsa .hero-actions'ın mevcut
   flex-wrap'i ile kontrollü alt alta geçer. Yatay taşma ve metin kırılması yok. */
@media (max-width: 420px) {
    .hero-actions .hero-primary,
    .hero-actions .volunteer-cta {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-actions .volunteer-cta,
    .hero-actions .volunteer-cta:hover,
    .hero-actions .volunteer-cta:focus-visible {
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   GROUP C — KONTRAST (WCAG AA)

   Lighthouse'un işaretlediği düşük kontrastlı metinler tek bir kaynaktan
   geliyordu: --muted (#7c879a). Açık cam kartların efektif arka planı (~#F7F8FA)
   üzerinde oran 3.41:1 → AA (4.5:1) altında.

   Global --muted token'ı DEĞİŞTİRİLMEDİ (tüm siteye yayılmasın diye); yalnız
   raporlanan yüzeylerde AA'yı geçen tonu kullanan dar bir override tanımlandı.
   Marka ailesi korunur (aynı soğuk gri-mavi), yalnız gerektiği kadar koyulaştı.
   Font size / weight / arka plan / görünür metin DEĞİŞMEDİ.

   GERİ ALMA: yalnız bu blok silinir; GROUP A (a11y) ve GROUP B (motion) etkilenmez. */
:root {
    --muted-aa: #626E80;      /* #F7F8FA üzerinde 4.87:1 — beyaz üzerinde 5.17:1 */
    --brand-ink-aa: #D6102A;  /* beyaz üzerinde 5.29:1 — #FF3045 ile aynı hue ailesi */

    /* Beyaz metin taşıyan CTA / seçili-durum dolguları için AA gradyanı.
       Global --brand (#ff3045) ve --brand-2 (#ff6576) DEĞİŞMEDİ: dekoratif
       kullanımlar (bölüm çizgisi, ölçüm çubuğu, dock göstergesi, sohbet
       balonları, ikon rozetleri) eski canlı tonda kalır. */
    --brand-cta-aa: #D9102B;    /* beyaz üzerinde 5.17:1 */
    --brand-cta-2-aa: #DC2340;  /* beyaz üzerinde 4.82:1 — gradyanın en açık ucu */
}

/* --- 1) Gri metinler: ölçülen 3.63:1 → 5.17:1 ------------------------------- */
.stat-glass-card p,             /* "Sene" ve kart alt açıklamaları */
.sub-label,                     /* ŞEHİR / PROGRAM / DANIŞMAN / AKADEMİSYEN / ... */
.vision-box .box-title,         /* "Program Başlangıcına Kalan" */
.vision-box .countdown .label,  /* GÜN / SAAT / DAKİKA / SANİYE */
.vision-footer-bottom p,        /* telif satırı */
.volunteer-benefit span,        /* gönüllü fayda maddeleri */
.custom-select-option.is-placeholder {   /* "Seçiniz" */
    color: var(--muted-aa);
}

/* --- 2) Açık zeminde KÜÇÜK marka kırmızısı metin: 3.65:1 → 5.29:1 -----------
   Yalnız METİN rengi koyulaşır. Butonların dolgu gradyanı, ikon renkleri,
   çerçeveler ve --brand token'ı DEĞİŞMEZ. */
.event-badge span,              /* "İSTANBUL / 3-4 AĞUSTOS" */
.card-chip,                     /* slider cam kartındaki tarih/şehir çipleri */
.section-kicker,                /* modal başlık üstü etiketleri */
.kvkk-link,                     /* KVKK aydınlatma metni bağlantısı */
.nav-links li a.active,         /* aktif üst menü bağlantısı (yalnız masaüstünde görünür) */
.nav-links li button.active {
    color: var(--brand-ink-aa);
}

/* --- 3) BEYAZ metin taşıyan gradyan CTA / seçili durum: 3.64 → 4.82 ---------
   ÖLÇÜM: #FFFFFF, #ff3045 üzerinde 3.64:1, #ff6576 üzerinde 2.83:1 idi.
   Gradyanın üç kanalı da başlangıçtan bitişe ARTAR, dolayısıyla parlaklık
   monoton yükselir: en kötü durum daima bitiş ucudur (4.82:1).

   KAPSAM yalnız beyaz metin/ikon taşıyan dolgulardır. .submit-btn ve
   .modal-submit aynı CSS kuralının parçasıdır ve aynı kusuru taşır; dışarıda
   bırakmak bilinen bir AA hatasını yerinde bırakmak olurdu.

   DEĞİŞMEYEN: href, click handler, modal açılışı, başvuru/gönüllü akışı,
   aria-selected semantiği, klavye davranışı, yerleşim, yazı tipi, gölge. */
.floating-apply-btn,            /* "Tercih Destek Programı'na Başvur" */
.hero-primary,                  /* "Programa Başvur" */
.vision-pill-btn,               /* "Hemen Gönüllü Ol" */
.submit-btn,                    /* form gönder (aynı kural, aynı kusur) */
.modal-submit,                  /* modal gönder (aynı kural, aynı kusur) */
.year-tab-btn.active,           /* aktif konuşmacı yılı sekmesi */
.year-tab-btn[aria-pressed="true"] {
    background: linear-gradient(135deg, var(--brand-cta-aa), var(--brand-cta-2-aa));
}
