/* ============================================================
   Kartu Turizm - site.css
   Marka (logo ile uyumlu): #055242 (yeşil), #E68C1E (turuncu), #FEFBF8 (krem)
   Mobil öncelikli, framework'süz.
   ============================================================ */

:root {
    --brand: #055242;
    --brand-dark: #033628;
    --brand-lt: #0B6E58;
    --brand-wash: #EAF2EF;
    --ink: #1C2B26;
    --accent: #E68C1E;
    --accent-dark: #C97710;
    --accent-wash: #FDF1DF;
    --bg: #FFFFFF;
    --bg-alt: #EAF2EF;
    --border: #E8E2DA;
    --muted: #5E6E68;
    --success: #1E8E5A;
    --warning-bg: #FDF1DF;
    --warning-border: #E68C1E;
    --error: #C0392B;
    --error-bg: #FDEDEB;
    --radius: 16px;
    --shadow: 0 2px 16px rgba(5, 82, 66, 0.07);
    --shadow-lift: 0 14px 34px rgba(5, 82, 66, 0.10);
    --page-bg: #FEFBF8;
}

* {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--ink);
    background: var(--page-bg);
    line-height: 1.62;
}

img {
    max-width: 100%;
}

a {
    color: var(--brand);
}

h1, h2, h3, h4 {
    font-family: "Outfit", "Source Sans 3", sans-serif;
    line-height: 1.2;
    color: var(--brand-dark);
    font-weight: 600;
    letter-spacing: -0.015em;
}

/* Bölüm başlıklarının üstündeki küçük turuncu etiket */
.eyebrow {
    display: inline-block;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.eyebrow--on-dark {
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-muted {
    color: var(--muted);
    font-size: 0.9rem;
}

/* ---------- Butonlar ---------- */

.btn {
    display: inline-block;
    padding: 0.65rem 1.6rem;
    border-radius: 999px;
    border: 2px solid transparent;
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
                transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(230, 140, 30, 0.30);
}

.btn--primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(230, 140, 30, 0.38);
}

.btn--primary:disabled {
    background: #EFC894;
    cursor: not-allowed;
}

.btn--outline {
    background: transparent;
    color: var(--brand);
    border-color: var(--brand);
}

.btn--outline:hover {
    background: var(--brand);
    color: #fff;
}

.btn--danger {
    background: transparent;
    color: var(--error);
    border-color: var(--error);
}

.btn--danger:hover {
    background: var(--error);
    color: #fff;
}

.btn--success {
    background: var(--success);
    color: #fff;
}

.btn--success:hover {
    filter: brightness(0.9);
}

.btn--small {
    padding: 0.35rem 0.8rem;
    font-size: 0.875rem;
}

.btn--large {
    padding: 0.85rem 1.75rem;
    font-size: 1.1rem;
}

.btn--full {
    display: block;
    width: 100%;
}

/* ---------- Header / Nav ---------- */

.site-header {
    background: rgba(254, 251, 248, 0.93);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}

.site-logo {
    font-family: "Outfit", sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--brand);
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.site-logo span {
    color: var(--accent);
}

.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--ink);
    border-radius: 2px;
}

.site-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
}

.site-nav--open {
    display: flex;
}

.site-nav a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

.site-nav a:hover {
    color: var(--brand);
}

@media (min-width: 860px) {
    .nav-toggle {
        display: none;
    }

    .site-nav {
        display: flex;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
        border: none;
        padding: 0;
        background: transparent;
    }
}

/* ---------- Hero Slider ---------- */

.hero-slider {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    background: var(--brand-dark);
}

.hero-slider__track {
    position: relative;
    height: 100%;
}

.hero-slider__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end; /* içerik slaytın alt kısmında durur */
    min-height: 420px;
    padding: 3rem 0 4.25rem;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 55%, var(--brand-lt) 100%);
    background-size: cover;
    background-position: center;
    color: #fff;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 0;
}

.hero-slider__slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slider__slide--image::before {
    content: "";
    position: absolute;
    inset: 0;
    /* İçerik ortalanıp aşağı alındığı için karartma alttan yukarı doğru */
    background: linear-gradient(0deg, rgba(3, 54, 40, 0.82) 0%, rgba(3, 54, 40, 0.42) 45%, rgba(3, 54, 40, 0.08) 100%);
}

.hero-slider__slide--image .hero-slider__content h1,
.hero-slider__slide--image .hero-slider__title,
.hero-slider__slide--image .hero-slider__content p {
    text-shadow: 0 2px 12px rgba(31, 36, 48, 0.45);
}

.hero-slider__content {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.hero-slider__content h1,
.hero-slider__title {
    color: #fff;
    font-size: clamp(1.4rem, 2.8vw, 2rem);
    line-height: 1.25;
    margin: 0 0 0.6rem;
}

.hero-slider__content p {
    font-size: 0.98rem;
    color: #CFE3DB;
    margin: 0 0 1rem;
}

.hero-slider__content .btn {
    padding: 0.55rem 1.4rem;
    font-size: 0.95rem;
}

.hero-slider__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    backdrop-filter: blur(4px);
}

.hero-slider__arrow:hover {
    background: var(--accent);
}

.hero-slider__arrow--prev {
    left: 0.75rem;
}

.hero-slider__arrow--next {
    right: 0.75rem;
}

.hero-slider__dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.hero-slider__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider__dot.is-active {
    background: var(--accent);
    transform: scale(1.25);
}

@media (min-width: 860px) {
    .hero-slider,
    .hero-slider__slide {
        min-height: 520px;
    }

    .hero-slider__content h1,
    .hero-slider__title {
        font-size: 2rem;
    }

    .hero-slider__content p {
        font-size: 1.02rem;
    }
}

/* ---------- İstatistik Bandı ---------- */

.stats-band {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
}

.stats-band__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    text-align: center;
}

.stat__value {
    display: block;
    font-family: "Outfit", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--brand);
}

/* Değerin altındaki kısa turuncu çizgi */
.stat__value::after {
    content: "";
    display: block;
    width: 34px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
    margin: 0.75rem auto 0.6rem;
}

.stat__label {
    display: block;
    font-size: 0.92rem;
    color: var(--muted);
}

@media (min-width: 860px) {
    .stats-band__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .stat__value {
        font-size: 2.2rem;
    }
}

/* ---------- Neden Biz / Adımlar / CTA ---------- */

.section__subtitle {
    color: var(--muted);
    max-width: 620px;
    margin: -0.5rem 0 2rem;
}

.why-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .why-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.why-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-wash);
    color: var(--accent-dark);
    margin-bottom: 0.9rem;
}

.why-card__icon svg {
    width: 26px;
    height: 26px;
}

.why-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.why-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.steps-row {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 860px) {
    .steps-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.step-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand);
    color: #fff;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Son adımın numarası turuncu (v3 deseni) */
.step-card:last-child .step-card__number {
    background: var(--accent);
}

.step-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.school-card {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.school-card h3 {
    margin: 0 0 0.2rem;
    font-size: 1rem;
}

.school-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.school-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    flex-shrink: 0;
}

.school-card__icon svg {
    width: 22px;
    height: 22px;
}

/* Okullar bölümü: koyu yeşil zemin (v3 deseni) */
.section--schools {
    background: var(--brand);
}

.section--schools .section__title,
.section--schools .school-card h3 {
    color: #fff;
}

.section--schools .section__subtitle,
.section--schools .school-card p {
    color: #A9CCC1;
}

.section--schools .card {
    background: rgba(255, 255, 255, 0.06);
    border-color: #1C5546;
    box-shadow: none;
}

.section--schools .empty-state {
    background: rgba(255, 255, 255, 0.06);
    border-color: #1C5546;
    color: #A9CCC1;
}

.section--schools__after {
    margin: 1.75rem 0 0;
    color: #A9CCC1;
    font-size: 0.96rem;
}

.section--schools__after a {
    color: var(--accent);
}

.cta-band {
    background: var(--accent-wash);
    padding: 3.5rem 0;
}

.cta-band__inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.cta-band h2 {
    color: var(--brand-dark);
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
}

.cta-band p {
    margin: 0;
    color: var(--muted);
}

.btn--light {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 14px rgba(230, 140, 30, 0.30);
}

.btn--light:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
}

@media (min-width: 860px) {
    .cta-band__inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .cta-band h2 {
        font-size: 1.9rem;
    }
}

/* ---------- Admin slayt görselleri ---------- */

.admin-slide-thumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 54px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, var(--ink), #37405a);
    color: #fff;
    font-size: 0.7rem;
}

.admin-slide-preview {
    margin-bottom: 0.75rem;
}

.admin-slide-preview img {
    max-width: 320px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid var(--border);
}

/* ---------- Bölümler ---------- */

.section {
    padding: 4rem 0;
}

.section--alt {
    background: var(--bg-alt);
}

.section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
}

.section__cta {
    margin-top: 2rem;
    text-align: center;
}

.page-header {
    background: var(--bg-alt);
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    margin: 0 0 0.5rem;
    font-size: 1.9rem;
}

.page-header p {
    margin: 0;
    color: var(--muted);
}

.prose {
    max-width: 760px;
}

.prose h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
}

/* ---------- Kartlar ---------- */

.card-grid,
.feature-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .card-grid,
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 960px) {
    .card-grid,
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card,
.feature {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.card h3,
.feature h3 {
    margin-top: 0;
    font-size: 1.1rem;
}

.card p,
.feature p {
    margin-bottom: 0;
    color: var(--muted);
}

.empty-state {
    color: var(--muted);
    background: var(--bg-alt);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}

/* ---------- Formlar ---------- */

.form-page {
    max-width: 560px;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.form-control {
    width: 100%;
    padding: 0.7rem 0.9rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1.5px solid var(--border);
    border-radius: calc(var(--radius) - 4px);
    background: #fff;
    color: var(--ink);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px rgba(5, 82, 66, 0.12);
}

/* Sayı alanlarındaki tarayıcı artırma/azaltma oklarını gizle */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.form-control--inline {
    width: auto;
    max-width: 140px;
    display: inline-block;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1 1 200px;
}

.form-group--small {
    flex: 0 1 120px;
}

.form-group--checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
}

.form-error {
    display: block;
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-hint {
    display: block;
    color: var(--muted);
    font-size: 0.825rem;
    margin-top: 0.25rem;
}

/* ---------- Uyarılar ---------- */

.alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
    border: 1px solid transparent;
}

.alert:empty {
    display: none;
}

.alert--success {
    background: #E8F6EF;
    border-color: var(--success);
    color: #14603D;
}

.alert--error {
    background: var(--error-bg);
    border-color: var(--error);
    color: var(--brand-dark);
}

.alert--error ul {
    margin: 0;
    padding-left: 1.25rem;
}

.alert--warning {
    background: var(--warning-bg);
    border-color: var(--warning-border);
    color: #7a5c00;
}

/* ---------- Kayıt Sihirbazı ---------- */

.wizard-steps {
    list-style: none;
    display: flex;
    padding: 0;
    margin: 0 0 2.25rem;
}

.wizard-steps__item {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

/* Adımlar arası bağlantı çizgisi */
.wizard-steps__item:not(:first-child)::before {
    content: "";
    position: absolute;
    top: 19px;
    right: 50%;
    width: 100%;
    height: 3px;
    background: var(--border);
    z-index: 1;
    transition: background 0.3s ease;
}

.wizard-steps__item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--border);
    color: var(--muted);
    font-weight: 800;
    position: relative;
    z-index: 2;
    transition: all 0.25s ease;
}

.wizard-steps__item.is-active {
    color: var(--ink);
}

.wizard-steps__item.is-active span {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    box-shadow: 0 0 0 6px rgba(5, 82, 66, 0.14);
}

.wizard-steps__item.is-done span {
    background: var(--success);
    border-color: var(--success);
    color: #fff;
    font-size: 0;
}

.wizard-steps__item.is-done span::after {
    content: "✓";
    font-size: 1.05rem;
}

.wizard-steps__item.is-done::before,
.wizard-steps__item.is-active::before {
    background: var(--success);
}

@media (min-width: 640px) {
    .wizard-steps__item {
        font-size: 0.925rem;
    }
}

.wizard-panel {
    display: none;
}

.wizard-panel.is-active {
    display: block;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    animation: panel-in 0.35s ease;
}

@media (min-width: 860px) {
    .wizard-panel.is-active {
        padding: 2.25rem;
    }
}

@keyframes panel-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.wizard-panel h2 {
    margin-top: 0;
}

.address-autocomplete gmp-place-autocomplete {
    display: block;
    width: 100%;
}

.distance-summary.is-loading {
    opacity: 0.6;
}

/* Adres belirleme modu düğmeleri */
.mode-toggle {
    display: flex;
    gap: 0.5rem;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.35rem;
}

.mode-toggle__btn {
    flex: 1;
    padding: 0.65rem 0.75rem;
    border: none;
    border-radius: calc(var(--radius) - 3px);
    background: transparent;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.mode-toggle__btn:hover {
    color: var(--ink);
}

/* Seçili mod dolu yeşil + beyaz yazı: hangisinin aktif olduğu net görünür */
.mode-toggle__btn.is-active {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 3px 10px rgba(5, 82, 66, 0.30);
}

.mode-toggle__btn.is-active:hover {
    color: #fff;
}

.map-pick-hint {
    background: #EAF1FB;
    border: 1px solid #B9CDEB;
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    font-size: 0.925rem;
    color: #2456A6;
}

/* Harita altı rota göstergesi */
.map-legend {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    padding: 0.6rem 1rem;
    background: #fff;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--muted);
    flex-wrap: wrap;
}

.map-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.map-legend__line {
    display: inline-block;
    width: 28px;
    height: 0;
}

.map-legend__line--go {
    border-top: 4px solid #E68C1E;
    border-radius: 2px;
}

.map-legend__line--return {
    border-top: 4px dashed #2456A6;
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}

.map-banner {
    background: linear-gradient(135deg, #17808a 0%, #1f9aa5 100%);
    color: #fff;
    padding: 0.85rem 1rem;
    text-align: center;
}

.map-banner__title {
    font-weight: 700;
    font-size: 1.05rem;
}

.map-banner__instruction {
    font-size: 0.875rem;
    opacity: 0.95;
    margin-top: 0.15rem;
}

.address-summary {
    background: #F0F9F4;
    border: 1px solid #BFE3CE;
    border-left: 4px solid var(--success);
    border-radius: var(--radius);
    padding: 0.85rem 1.1rem;
    margin-bottom: 1.25rem;
    font-size: 0.925rem;
}

.address-summary p {
    margin: 0.2rem 0;
}

.address-summary__head {
    font-weight: 700;
    color: var(--success);
    margin-bottom: 0.35rem;
}

.address-summary__address {
    font-weight: 600;
    color: var(--ink);
}

.address-summary__meta {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    color: var(--muted);
}

.address-summary__coords {
    font-size: 0.8rem;
    opacity: 0.8;
}

.required-mark {
    color: var(--error);
}

.wizard-map {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 0;
    background: var(--bg-alt);
    margin-bottom: 0;
}

@media (min-width: 860px) {
    .wizard-map {
        height: 540px;
    }
}

.distance-summary {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.wizard-actions .btn:only-child {
    margin-left: auto;
}

/* Mobilde aksiyon butonları ekranın altına yapışır */
@media (max-width: 859px) {
    .wizard-actions {
        position: sticky;
        bottom: 0;
        z-index: 40;
        margin: 1rem -1.5rem -1.5rem;
        padding: 0.85rem 1.5rem 1rem;
        background: linear-gradient(to top, #fff 75%, rgba(255, 255, 255, 0));
        border-radius: 0 0 var(--radius) var(--radius);
    }

    .wizard-actions .btn {
        flex: 1;
    }
}

.loading {
    text-align: center;
    padding: 2rem;
    color: var(--muted);
}

/* Fiyat kartı */

.price-card {
    position: relative;
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, var(--brand), var(--accent)) border-box;
    border: 3px solid transparent;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lift);
    animation: price-in 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes price-in {
    from {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.price-card__label {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.price-card__amount {
    font-size: 3.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--brand);
    line-height: 1.05;
    font-variant-numeric: tabular-nums;
}

.price-card__km {
    margin-top: 0.85rem;
    color: var(--muted);
}

.price-card__note {
    display: inline-block;
    margin-top: 1.1rem;
    padding: 0.35rem 0.9rem;
    background: #F0F9F4;
    color: var(--success);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Bilgi kartları (kapalı / ön kayıt / özel teklif) */

.status-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
}

.status-card h3 {
    margin-top: 0;
}

.status-card .form-group {
    text-align: left;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    background: var(--bg-alt);
    border-radius: 999px;
    height: 14px;
    overflow: hidden;
    margin: 1rem auto;
    max-width: 360px;
    border: 1px solid var(--border);
}

.progress-bar__fill {
    height: 100%;
    background: var(--accent);
    border-radius: 999px;
    transition: width 0.4s ease;
}

/* Veli satırları */

.parent-row {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    margin-bottom: 1rem;
    background: #fff;
}

.parent-row__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.parent-row__head strong {
    font-size: 0.95rem;
}

.parent-row .form-row .form-group {
    margin-bottom: 0.5rem;
}

/* Özet */

.summary-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}

.summary-card table {
    width: 100%;
    border-collapse: collapse;
}

.summary-card th,
.summary-card td {
    text-align: left;
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.summary-card th {
    width: 40%;
    color: var(--muted);
    font-weight: 600;
}

.summary-card .summary-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand);
}

/* Başarı sayfası */

.success-card {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow);
}

.success-card__keep {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    margin: 1.25rem 0 0;
    font-size: 1.05rem;
    color: var(--ink);
}

.success-card__keep strong {
    color: var(--brand);
}

.success-card__number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand);
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 0.75rem;
    margin: 1.5rem 0;
    letter-spacing: 1px;
}

.success-card__details {
    text-align: left;
    margin: 0 0 1.5rem;
}

.success-card__details dt {
    font-weight: 600;
    color: var(--muted);
    margin-top: 0.75rem;
}

.success-card__details dd {
    margin: 0;
}

.success-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .success-card__actions {
        flex-direction: row;
        justify-content: center;
    }
}

/* ---------- Footer ---------- */

.site-footer {
    background: var(--brand-dark);
    color: #9DB8AE;
    padding: 3.5rem 0 1.5rem;
    margin-top: 3rem;
}

.site-footer__inner {
    display: grid;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #114536;
}

.site-logo--footer {
    color: #fff;
    font-size: 1.2rem;
}

.site-logo--footer span {
    color: var(--accent);
}

.site-footer__about {
    margin: 0.75rem 0 0;
    max-width: 32ch;
    line-height: 1.7;
}

.site-footer h4 {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 1rem;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.site-footer__links a {
    color: #9DB8AE;
    text-decoration: none;
}

.site-footer__links a:hover {
    color: #fff;
}

.site-footer__copy {
    padding-top: 1.25rem;
    font-size: 0.86rem;
    color: #7FA79A;
}

@media (min-width: 860px) {
    .site-footer__inner {
        grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
        gap: 2rem;
    }
}

/* ============================================================
   Admin Paneli
   ============================================================ */

.admin-body {
    background: var(--bg-alt);
}

.admin-shell {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

.admin-sidebar {
    background: var(--ink);
    color: #fff;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.admin-sidebar__brand {
    font-size: 1.2rem;
    font-weight: 800;
}

.admin-sidebar__brand span {
    color: var(--accent);
}

.admin-sidebar__brand small {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #9aa1b1;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.admin-nav a {
    color: #cfd2da;
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-weight: 600;
}

.admin-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.admin-nav a.is-active {
    background: var(--brand);
    color: #fff;
}

.admin-sidebar__logout {
    margin-top: auto;
}

.admin-sidebar__logout .btn--outline {
    color: #cfd2da;
    border-color: #4a5164;
}

.admin-sidebar__logout .btn--outline:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.admin-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-topbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 1.5rem;
    color: var(--muted);
    font-size: 0.925rem;
}

.admin-main {
    padding: 1.5rem;
}

@media (min-width: 960px) {
    .admin-shell {
        flex-direction: row;
    }

    .admin-sidebar {
        width: 240px;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        height: 100vh;
    }
}

.admin-page-title {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
}

.admin-page-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.admin-page-head .admin-page-title {
    margin: 0;
}

.admin-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.admin-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.admin-panel--narrow {
    max-width: 620px;
}

.admin-panel h2 {
    margin-top: 0;
    font-size: 1.15rem;
}

.admin-panel h2 small {
    color: var(--muted);
    font-weight: 400;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.925rem;
}

.admin-table th,
.admin-table td {
    text-align: left;
    padding: 0.6rem 0.5rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.admin-table th {
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}

.admin-table__actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

@media (max-width: 720px) {
    .admin-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }
}

.inline-form {
    display: inline-block;
}

.tier-row-form {
    display: inline-flex;
    align-items: flex-end;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tiers-table input.form-control {
    max-width: 140px;
}

.tiers-table td {
    vertical-align: middle;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-form .form-group {
    margin-bottom: 0;
    min-width: 160px;
}

.button-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.detail-list {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.5rem;
    margin: 0;
}

.detail-list dt {
    font-weight: 600;
    color: var(--muted);
}

.detail-list dd {
    margin: 0;
}

/* Rozetler */

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.badge--pending {
    background: var(--warning-bg);
    color: #7a5c00;
}

.badge--approved,
.badge--active {
    background: #E8F6EF;
    color: var(--success);
}

.badge--cancelled,
.badge--closed {
    background: var(--error-bg);
    color: var(--error);
}

.badge--preregistration {
    background: #EAF1FB;
    color: #2456A6;
}

.text-ready {
    color: var(--success);
    font-weight: 700;
}

/* İstatistik kartları */

.stat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.1rem;
    border-left: 4px solid var(--brand);
}

.stat-card--warning {
    border-left-color: var(--accent);
}

.stat-card--success {
    border-left-color: var(--success);
}

.stat-card--muted {
    border-left-color: var(--muted);
}

.stat-card__value {
    font-size: 1.9rem;
    font-weight: 800;
}

.stat-card__label {
    color: var(--muted);
    font-size: 0.875rem;
}

/* Admin giriş sayfası */

.admin-login-body {
    background: var(--ink);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    margin: 0;
}

.admin-login-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    width: 100%;
    max-width: 380px;
    box-shadow: var(--shadow);
}

.admin-login-card__brand {
    font-size: 1.4rem;
    font-weight: 800;
    text-align: center;
}

.admin-login-card__brand span {
    color: var(--brand);
}

.admin-login-card h1 {
    font-size: 1.15rem;
    text-align: center;
    color: var(--muted);
    font-weight: 600;
}

/* ---------- Logo görseli ---------- */

.site-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.site-logo img {
    display: block;
    height: 48px;
    width: auto;
}

/* ---------- Buton ikonları ---------- */

.btn__icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
    margin-right: 0.35rem;
}

/* ---------- Sözleşme PDF önizleme ---------- */

.pdf-preview {
    max-width: 860px;
    margin: 2.5rem auto 0;
}

.pdf-preview__title {
    font-size: 1.35rem;
    margin-bottom: 0.35rem;
}

.pdf-preview__hint {
    color: var(--muted);
    margin-bottom: 1rem;
}

.pdf-preview__frame {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.pdf-preview__frame iframe {
    display: block;
    width: 100%;
    height: min(78vh, 900px);
    border: 0;
}

.pdf-preview__download {
    display: inline-block;
    margin-top: 1rem;
}

/* Mobil tarayıcılar gömülü PDF'i çoğu zaman göstermez; önizleme yerine indirme butonu öne çıkar */
@media (max-width: 640px) {
    .pdf-preview__frame {
        display: none;
    }
}

/* Başarı kartından sözleşme önizlemesine yönlendiren not */
.success-card__contract-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--brand-wash);
    color: var(--brand);
    border-radius: var(--radius);
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-decoration: none;
}

.success-card__contract-note svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.success-card__contract-note:hover {
    text-decoration: underline;
}

/* Kayıt sorgulama sayfası */
.status-query-card {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
}

.status-query-card h1 {
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
    text-align: center;
}

.status-query-card__hint {
    color: var(--muted);
    text-align: center;
    margin: 0 0 1.5rem;
}

.status-query__result {
    margin-top: 1.25rem;
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    text-align: center;
}

.status-query__result--error {
    background: var(--error-bg);
    border: 1px solid var(--error);
    color: var(--error);
}

.status-query__result--pending {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    color: var(--ink);
    font-weight: 600;
}

.status-query__result--approved {
    background: #EAF7F0;
    border: 1px solid var(--success);
    color: var(--ink);
}

.status-query__result-title {
    margin: 0 0 0.75rem;
    font-weight: 700;
    color: var(--success);
}

.status-query__details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.35rem 1rem;
    margin: 0;
    text-align: left;
    max-width: 340px;
    margin-inline: auto;
}

.status-query__details dt {
    font-weight: 600;
    color: var(--muted);
}

.status-query__details dd {
    margin: 0;
}

/* Okul -> servis mahalleleri seçim ızgarası */
.nbhd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.35rem 1rem;
    margin-top: 1rem;
}

.nbhd-grid__item {
    font-size: 0.95rem;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ---------- Bölge uyarı modalı ---------- */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(3, 54, 40, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    padding: 1rem;
}

.modal-backdrop[hidden] {
    display: none;
}

.modal {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lift);
    max-width: 440px;
    width: 100%;
    padding: 1.75rem 1.5rem;
    max-height: 90vh;
    overflow-y: auto;
}

.modal h3 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
}

.modal p {
    margin: 0 0 1rem;
    color: var(--muted);
}

.modal__actions {
    margin-top: 1rem;
}

/* ---------- Dashboard grafikleri ---------- */

.stat-card__sub {
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 0.2rem;
}

.chart-row {
    display: grid;
    gap: 1.5rem;
    align-items: start;
}

@media (min-width: 900px) {
    .chart-row {
        grid-template-columns: minmax(260px, 1fr) 1.4fr;
    }
}

.donut-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.donut-legend {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.92rem;
}

.donut-legend__swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 3px;
    margin-right: 0.5rem;
    vertical-align: -1px;
}

.donut-legend__count {
    color: var(--muted);
}

.grade-bars {
    display: grid;
    gap: 0.45rem;
}

.grade-bars__row {
    display: grid;
    grid-template-columns: 64px 1fr 34px;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.grade-bars__track {
    background: var(--bg-alt);
    border-radius: 4px;
    height: 18px;
    overflow: hidden;
}

.grade-bars__fill {
    background: #12896B;
    border-radius: 4px 4px 4px 4px;
    height: 100%;
}

.grade-bars__count {
    text-align: right;
    color: var(--muted);
}

.chart-title {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 0.75rem;
}

.nbhd-district-title {
    margin: 1.25rem 0 0.25rem;
    font-size: 1rem;
    color: var(--brand);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.35rem;
}

/* Sözleşme / KVKK onay modalları */
.link-button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--brand);
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.modal--wide {
    max-width: 620px;
}

.modal__scroll {
    max-height: 55vh;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    font-size: 0.93rem;
}

.modal__scroll h4 {
    margin: 1rem 0 0.25rem;
    font-size: 0.98rem;
}

.modal__scroll h4:first-child {
    margin-top: 0;
}

.modal__scroll p {
    margin: 0 0 0.6rem;
    color: var(--ink);
}

.modal__terms {
    margin: 0.5rem 0;
    padding-left: 1.25rem;
    display: grid;
    gap: 0.45rem;
}

.modal__actions {
    display: grid;
    gap: 0.5rem;
}

.cta-band__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn__icon {
    width: 18px;
    height: 18px;
    vertical-align: -3px;
}

.site-footer__address svg {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    color: var(--accent);
}

/* ---------- İletişim sayfası ---------- */

.contact-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.contact-grid__title {
    font-size: 1.25rem;
    margin: 0 0 1rem;
}

.contact-channels {
    display: grid;
    gap: 0.6rem;
}

.contact-channel {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.8rem 1rem;
    text-decoration: none;
    color: var(--ink);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.contact-channel:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.contact-channel svg {
    width: 22px;
    height: 22px;
    color: var(--accent-dark);
    flex-shrink: 0;
}

.contact-channel--wa svg {
    color: #1E8E5A;
}

.contact-channel span {
    display: grid;
    line-height: 1.35;
}

.contact-channel small {
    color: var(--muted);
}

.contact-map {
    margin-top: 1.25rem;
}

.contact-map iframe {
    width: 100%;
    height: 260px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-map p {
    margin: 0.5rem 0 0;
}

/* Ana sayfa konum haritası: geniş ve yüksek */
.home-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
}

@media (min-width: 860px) {
    .home-map iframe {
        height: 440px;
    }
}

/* Admin liste sayfalaması */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.pagination__info {
    color: var(--muted);
    font-size: 0.9rem;
}
