/* ═══════════════════════════════════════════════════════════
   Okul Fiyatları — okul.com.tr inspired · light & orange
   ═══════════════════════════════════════════════════════════ */

:root {
    --of-orange: #f97316;
    --of-orange-dark: #ea580c;
    --of-orange-light: #fff7ed;
    --of-amber: #f59e0b;
    --of-cream: #fffbf5;
    --of-white: #ffffff;
    --of-surface: #f8fafc;
    --of-border: #e2e8f0;
    --of-text: #1e293b;
    --of-muted: #64748b;
    --of-heading: #0f172a;
    --of-teal: #14b8a6;
    --of-blue: #3b82f6;
    --of-green: #22c55e;
    --of-purple: #8b5cf6;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow: 0 4px 20px rgba(15, 23, 42, .06);
    --shadow-lg: 0 14px 40px rgba(15, 23, 42, .1);
    --transition: .25s cubic-bezier(.4, 0, .2, 1);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: var(--font);
    color: var(--of-text);
    background: var(--of-cream);
    -webkit-font-smoothing: antialiased;
}
.page-home .page-wrapper { background: var(--of-cream); }
.page-inner .page-wrapper { background: var(--of-surface); }
.page-auth { background: var(--of-cream); }
.page-auth .page-wrapper { background: var(--of-cream); min-height: 100vh; }
.auth-header { background: var(--of-white); border-bottom: 1px solid var(--of-border); }
.auth-card { border: 1px solid var(--of-border); border-radius: var(--radius-lg); overflow: hidden; }
.auth-card .card-header { border-bottom: 1px solid var(--of-border); }
.text-orange { color: var(--of-orange) !important; }

/* ── Rainbow bar ── */
.site-rainbow {
    height: 4px;
    background: linear-gradient(90deg, #f97316, #f59e0b, #22c55e, #3b82f6, #8b5cf6);
}

/* ── Logo ── */
.site-logo { display: inline-flex; align-items: center; text-decoration: none; }
.site-logo-img {
    --logo-width: 200px;
    --logo-height: 67px;
    width: var(--logo-width);
    height: var(--logo-height);
    object-fit: contain;
    display: block;
}
.site-logo-img--sm { --logo-width: 150px; --logo-height: 50px; }
.site-logo-img--lg { --logo-width: 260px; --logo-height: 87px; }
.site-logo-img--footer { --logo-width: 180px; --logo-height: 60px; }

/* ── Header ── */
.site-topbar {
    background: var(--of-white);
    border-bottom: 1px solid var(--of-border);
    padding: .8rem 0;
}
.site-topbar .btn-login {
    border: 1px solid var(--of-border);
    border-radius: var(--radius-pill);
    padding: .5rem 1.1rem;
    font-weight: 600;
    font-size: .875rem;
    color: var(--of-text);
    background: var(--of-white);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    transition: var(--transition);
}
.site-topbar .btn-login:hover {
    border-color: var(--of-orange);
    color: var(--of-orange);
    background: var(--of-orange-light);
}

#site-header {
    overflow: visible !important;
}
.site-catnav {
    background: var(--of-white);
    border-bottom: 1px solid var(--of-border);
    position: relative;
    overflow: visible;
}
.site-catnav-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.site-catnav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    min-height: 50px;
    white-space: nowrap;
    width: 100%;
}
.catnav-links-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
}
.site-catnav a {
    color: var(--of-text);
    font-weight: 600;
    font-size: .92rem;
    padding: .8rem 1rem;
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}
.site-catnav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--of-orange);
    border-radius: 2px;
    transition: width var(--transition), left var(--transition);
}
.site-catnav a:hover,
.site-catnav a.active {
    color: var(--of-orange);
}
.site-catnav a:hover::after,
.site-catnav a.active::after {
    width: 60%;
    left: 20%;
}
.site-catnav .sep {
    color: var(--of-border);
    user-select: none;
    font-weight: 300;
}

/* Category dropdown mega menu */
.catnav-dropdown {
    position: static;
}
.catnav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: var(--of-text);
    font-weight: 600;
    font-size: .92rem;
    padding: .8rem 1rem;
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
    white-space: nowrap;
}
.catnav-dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2.5px;
    background: var(--of-orange);
    border-radius: 2px;
    transition: width var(--transition), left var(--transition);
}
.catnav-dropdown-trigger:hover,
.catnav-dropdown-trigger.active,
.catnav-dropdown.is-open .catnav-dropdown-trigger {
    color: var(--of-orange);
}
.catnav-dropdown-trigger:hover::after,
.catnav-dropdown-trigger.active::after,
.catnav-dropdown.is-open .catnav-dropdown-trigger::after {
    width: 60%;
    left: 20%;
}
.catnav-chevron {
    font-size: .75rem;
    transition: transform var(--transition);
}
.catnav-dropdown.is-open .catnav-chevron {
    transform: rotate(180deg);
}
#site-catnav .catnav-dropdown-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--of-white);
    border: 1px solid var(--of-border);
    border-top: 2px solid var(--of-orange);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
    z-index: 1050;
}
#site-catnav .catnav-dropdown-panel::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
#site-catnav .catnav-dropdown-panel.is-visible {
    display: block;
}
.catnav-dropdown-body {
    display: flex;
    gap: 1.5rem;
    padding: 1.25rem 1.5rem;
    max-width: 1140px;
    margin: 0 auto;
}
.catnav-dropdown-cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem 2rem;
    flex: 1;
}
.catnav-dropdown-col {
    list-style: none;
    margin: 0;
    padding: 0;
}
.catnav-dropdown-col li {
    margin: 0;
}
.catnav-city-link {
    display: block;
    padding: .45rem .5rem;
    color: var(--of-text);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}
.catnav-city-link:hover,
.catnav-city-link.is-hovered {
    background: var(--of-orange-light);
    color: var(--of-orange-dark);
}
.catnav-dropdown-preview {
    width: 280px;
    flex-shrink: 0;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catnav-preview-img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 320px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .1);
    transition: opacity .25s ease;
}
.catnav-preview-img.is-fading {
    opacity: .4;
}

/* ── Buttons ── */
.btn-of {
    background: var(--of-orange);
    border-color: var(--of-orange);
    color: #fff;
    font-weight: 700;
    border-radius: var(--radius);
    padding: .75rem 1.75rem;
    transition: var(--transition);
}
.btn-of:hover, .btn-of:focus {
    background: var(--of-orange-dark);
    border-color: var(--of-orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, .35);
}
.btn-of-outline {
    border: 2px solid var(--of-orange);
    color: var(--of-orange);
    background: transparent;
    font-weight: 700;
    border-radius: var(--radius);
    transition: var(--transition);
}
.btn-of-outline:hover {
    background: var(--of-orange);
    color: #fff;
}
.btn-of-soft {
    background: var(--of-orange-light);
    border-color: var(--of-orange-light);
    color: var(--of-orange-dark);
    font-weight: 700;
    border-radius: var(--radius);
    transition: var(--transition);
}
.btn-of-soft:hover { background: #ffedd5; color: var(--of-orange-dark); }

/* ── Hero ── */
.of-hero {
    background:
        radial-gradient(circle at 85% 30%, rgba(249,115,22,.12) 0%, transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(59,130,246,.08) 0%, transparent 40%),
        var(--of-cream);
    position: relative;
    overflow: hidden;
    padding: 4rem 0 5rem;
}
.of-hero::before {
    content: '';
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 340px;
    height: 340px;
    background: rgba(249, 115, 22, .08);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}
.of-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--of-heading);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.of-hero-title .highlight {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 45%, #fb923c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    position: relative;
}
.of-hero-title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: .05em;
    height: .18em;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(249,115,22,.35), rgba(251,146,60,.15));
    z-index: -1;
}
.hero-word-rotate {
    display: inline-block;
    position: relative;
    vertical-align: bottom;
    overflow: hidden;
    height: 1.25em;
    line-height: 1.25;
    perspective: 600px;
}
.hero-word-rotate-inner {
    display: inline-block;
    will-change: transform, opacity, filter;
}
.hero-word-rotate-inner.is-leaving {
    animation: heroWordLeave .55s cubic-bezier(.55, .085, .68, .53) forwards;
}
.hero-word-rotate-inner.is-entering {
    animation: heroWordEnter .65s cubic-bezier(.22, 1, .36, 1) forwards;
}
@keyframes heroWordLeave {
    0%   { opacity: 1; transform: translateY(0) rotateX(0deg) scale(1); filter: blur(0); }
    100% { opacity: 0; transform: translateY(-110%) rotateX(-35deg) scale(.92); filter: blur(8px); }
}
@keyframes heroWordEnter {
    0%   { opacity: 0; transform: translateY(110%) rotateX(35deg) scale(1.06); filter: blur(8px); }
    60%  { opacity: 1; filter: blur(0); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg) scale(1); filter: blur(0); }
}
.of-hero-lead {
    color: var(--of-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin-bottom: 2rem;
}
.of-hero-search {
    max-width: 560px;
    background: var(--of-white);
    border: 1px solid var(--of-border);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
}
.of-hero-search .input-group {
    background: var(--of-surface);
    border-radius: var(--radius);
    padding: .25rem;
    border: 1px solid var(--of-border);
}
.of-hero-search .form-control {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: .8rem 1rem;
    font-size: 1rem;
}
.of-hero-search .form-control:focus { box-shadow: none; background: transparent; }
.of-hero-search .input-group-text {
    background: transparent;
    border: 0;
    color: var(--of-muted);
    font-size: 1.25rem;
    padding-left: .75rem;
}
.of-hero-search .form-select {
    border: 1px solid var(--of-border);
    border-radius: var(--radius);
    font-size: .9rem;
    padding: .7rem .8rem;
}
.of-hero-search .btn-of {
    border-radius: var(--radius);
    width: 100%;
}

.of-hero-illus {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.of-hero-scene {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    margin: 0 auto;
}
.of-hero-scene-glow {
    position: absolute;
    inset: 10%;
    background: radial-gradient(circle, rgba(249,115,22,.22) 0%, rgba(59,130,246,.08) 50%, transparent 70%);
    border-radius: 50%;
    animation: heroGlowPulse 4s ease-in-out infinite;
    pointer-events: none;
}
.of-hero-scene-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(249,115,22,.15);
    pointer-events: none;
}
.of-hero-scene-ring--1 {
    inset: 2%;
    animation: heroRingSpin 20s linear infinite;
}
.of-hero-scene-ring--2 {
    inset: 8%;
    border-color: rgba(59,130,246,.12);
    animation: heroRingSpin 28s linear infinite reverse;
}
@keyframes heroGlowPulse {
    0%, 100% { transform: scale(1); opacity: .8; }
    50%      { transform: scale(1.08); opacity: 1; }
}
@keyframes heroRingSpin {
    to { transform: rotate(360deg); }
}
.of-hero-scene-card {
    position: absolute;
    inset: 12%;
    border-radius: 1.5rem;
    background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
    border: 1px solid rgba(226,232,240,.9);
    box-shadow:
        0 25px 60px rgba(15,23,42,.12),
        0 0 0 1px rgba(255,255,255,.8) inset;
    overflow: hidden;
    animation: heroCardFloat 5s ease-in-out infinite;
}
@keyframes heroCardFloat {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-12px) rotate(1deg); }
}
.of-hero-classroom {
    position: relative;
    height: 100%;
    padding: 1.25rem 1rem 0;
    display: flex;
    flex-direction: column;
}
.of-hero-window {
    position: relative;
    height: 38%;
    margin: 0 auto;
    width: 72%;
    background: linear-gradient(180deg, #7dd3fc 0%, #bae6fd 55%, #e0f2fe 100%);
    border-radius: .75rem .75rem 0 0;
    border: 3px solid #cbd5e1;
    border-bottom: none;
    overflow: hidden;
}
.of-hero-sun {
    position: absolute;
    top: 18%;
    right: 22%;
    width: 2.2rem;
    height: 2.2rem;
    background: #fbbf24;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(251,191,36,.6);
    animation: heroSunPulse 3s ease-in-out infinite;
}
@keyframes heroSunPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(251,191,36,.6); }
    50%      { transform: scale(1.12); box-shadow: 0 0 32px rgba(251,191,36,.85); }
}
.of-hero-cloud {
    position: absolute;
    background: #fff;
    border-radius: 999px;
    opacity: .9;
    animation: heroCloudDrift 8s ease-in-out infinite;
}
.of-hero-cloud--1 { width: 2.5rem; height: .85rem; top: 28%; left: 12%; animation-delay: 0s; }
.of-hero-cloud--2 { width: 1.8rem; height: .65rem; top: 42%; left: 35%; animation-delay: -3s; }
@keyframes heroCloudDrift {
    0%, 100% { transform: translateX(0); }
    50%      { transform: translateX(12px); }
}
.of-hero-board {
    margin-top: .75rem;
    height: 28%;
    background: linear-gradient(180deg, #1e3a5f 0%, #0f2744 100%);
    border-radius: .5rem;
    padding: .65rem .75rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    box-shadow: inset 0 2px 8px rgba(0,0,0,.3);
}
.of-hero-board-line {
    height: .22rem;
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    animation: heroBoardWrite 4s ease-in-out infinite;
}
.of-hero-board-line:nth-child(2) { width: 85%; animation-delay: .4s; }
.of-hero-board-line:nth-child(3) { width: 55%; animation-delay: .8s; }
.of-hero-board-line.short { width: 55%; }
@keyframes heroBoardWrite {
    0%, 100% { opacity: .4; transform: scaleX(.3); transform-origin: left; }
    50%      { opacity: 1; transform: scaleX(1); }
}
.of-hero-desks {
    display: flex;
    justify-content: center;
    gap: .5rem;
    margin-top: auto;
    padding-bottom: .5rem;
    position: relative;
    z-index: 2;
}
.of-hero-desk {
    width: 22%;
    height: 2.2rem;
    background: linear-gradient(180deg, #d97706 0%, #b45309 100%);
    border-radius: .25rem .25rem 0 0;
    position: relative;
    animation: heroDeskBounce 3s ease-in-out infinite;
}
.of-hero-desk:nth-child(2) { animation-delay: .3s; }
.of-hero-desk:nth-child(3) { animation-delay: .6s; }
.of-hero-chair {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: .75rem;
    background: #64748b;
    border-radius: .2rem;
}
@keyframes heroDeskBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}
.of-hero-floor {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 18%;
    background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 0 0 1.4rem 1.4rem;
}
.of-hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15,23,42,.12);
    animation: heroFloat 4s ease-in-out infinite;
    z-index: 5;
}
.of-hero-float i { font-size: 1.35rem; }
.of-hero-float--book {
    top: 8%; left: 0;
    width: 3rem; height: 3rem;
    color: #3b82f6;
    animation-delay: 0s;
}
.of-hero-float--pencil {
    top: 42%; right: -2%;
    width: 2.75rem; height: 2.75rem;
    color: #f97316;
    animation-delay: -1s;
    border-radius: 50%;
}
.of-hero-float--school {
    bottom: 18%; left: -4%;
    width: 3.25rem; height: 3.25rem;
    color: #22c55e;
    animation-delay: -2s;
}
.of-hero-float--star {
    top: 22%; right: 8%;
    width: 2.25rem; height: 2.25rem;
    color: #fbbf24;
    animation-delay: -1.5s;
    border-radius: 50%;
    font-size: .9rem;
}
@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33%      { transform: translateY(-10px) rotate(3deg); }
    66%      { transform: translateY(-5px) rotate(-2deg); }
}
.of-hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    background: #fff;
    border-radius: .85rem;
    box-shadow: 0 10px 28px rgba(15,23,42,.1);
    border: 1px solid rgba(226,232,240,.8);
    z-index: 6;
    animation: heroBadgePop 5s ease-in-out infinite;
}
.of-hero-badge i {
    font-size: 1.25rem;
    color: var(--of-orange);
}
.of-hero-badge strong {
    display: block;
    font-size: .85rem;
    line-height: 1.1;
    color: var(--of-heading);
}
.of-hero-badge span {
    font-size: .7rem;
    color: var(--of-muted);
}
.of-hero-badge--schools {
    bottom: 6%;
    right: -6%;
    animation-delay: 0s;
}
.of-hero-badge--reviews {
    top: 4%;
    right: -2%;
    animation-delay: -2.5s;
}
@keyframes heroBadgePop {
    0%, 100% { transform: translateY(0) scale(1); }
    50%      { transform: translateY(-6px) scale(1.03); }
}

/* ── Sections ── */
.of-section {
    padding: 4rem 0;
}
.of-section-alt { background: var(--of-white); }
.of-section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--of-heading);
    margin-bottom: .35rem;
}
.of-section-sub {
    color: var(--of-muted);
    margin-bottom: 2rem;
}

/* ── Category cards ── */
.of-cat-card {
    border: 1px solid var(--of-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--of-white);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}
.of-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    color: inherit;
}
.of-cat-card-visual {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: var(--of-surface);
}
.of-cat-card-body { padding: 1.25rem; }
.of-cat-card h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: .4rem;
    color: var(--of-heading);
}
.of-cat-card p {
    color: var(--of-muted);
    font-size: .85rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}
.of-cat-card .btn-inspect {
    width: 100%;
    border: 2px solid var(--of-heading);
    border-radius: var(--radius);
    padding: .55rem;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    background: var(--of-white);
    color: var(--of-heading);
    transition: var(--transition);
}
.of-cat-card:hover .btn-inspect {
    background: var(--of-heading);
    color: #fff;
}

/* ── Consultant ── */
.of-consultant {
    background: linear-gradient(135deg, var(--of-orange-light) 0%, var(--of-white) 50%, #eff6ff 100%);
    border: 1px solid var(--of-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}
.of-consultant h3 { font-weight: 800; font-size: 1.4rem; color: var(--of-heading); }
.of-consultant .form-control,
.of-consultant .form-select {
    border-radius: var(--radius);
    border-color: var(--of-border);
    padding: .7rem 1rem;
}

/* ── School cards ── */
.of-school-card {
    border: 1px solid var(--of-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--of-white);
    transition: var(--transition);
    height: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.of-school-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    color: inherit;
}
.of-school-card-img {
    height: 150px;
    background: linear-gradient(135deg, #fff7ed, #eff6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--of-orange);
    font-size: 2.5rem;
    position: relative;
}
.of-school-card-img img { width: 100%; height: 100%; object-fit: cover; }
.school-type-badge--card {
    position: absolute;
    top: .65rem;
    right: .65rem;
    z-index: 2;
    font-size: .68rem;
    padding: .32rem .6rem;
    box-shadow: 0 2px 10px rgba(15, 23, 42, .14);
}
.of-school-card-body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.of-school-card h3 {
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: .35rem;
    color: var(--of-heading);
}
.of-school-card .location {
    font-size: .78rem;
    color: var(--of-muted);
    margin-bottom: .8rem;
}
.of-school-card .btn-view {
    margin-top: auto;
    width: 100%;
    border-radius: var(--radius);
    font-size: .78rem;
    font-weight: 700;
    padding: .55rem;
}

/* ── City cards ── */
.of-city-card {
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    display: block;
    position: relative;
    min-height: 140px;
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(15, 23, 42, .08);
}
.of-city-card:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .14);
}
.of-city-card-media {
    position: absolute;
    inset: 0;
}
.of-city-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}
.of-city-card:hover .of-city-card-media img {
    transform: scale(1.05);
}
.of-city-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .08) 0%, rgba(15, 23, 42, .45) 55%, rgba(15, 23, 42, .82) 100%);
}
.of-city-card-overlay.orange { background: linear-gradient(180deg, rgba(249, 115, 22, .12) 0%, rgba(15, 23, 42, .45) 55%, rgba(124, 45, 18, .88) 100%); }
.of-city-card-overlay.blue { background: linear-gradient(180deg, rgba(59, 130, 246, .12) 0%, rgba(15, 23, 42, .45) 55%, rgba(29, 78, 216, .88) 100%); }
.of-city-card-overlay.teal { background: linear-gradient(180deg, rgba(20, 184, 166, .12) 0%, rgba(15, 23, 42, .45) 55%, rgba(15, 118, 110, .88) 100%); }
.of-city-card-overlay.green { background: linear-gradient(180deg, rgba(34, 197, 94, .12) 0%, rgba(15, 23, 42, .45) 55%, rgba(21, 128, 61, .88) 100%); }
.of-city-card-overlay.purple { background: linear-gradient(180deg, rgba(139, 92, 246, .12) 0%, rgba(15, 23, 42, .45) 55%, rgba(109, 40, 217, .88) 100%); }
.of-city-card .card-body {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    min-height: 140px;
    padding: 1rem;
}
.of-city-card .card-body h3 {
    font-size: 1.05rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .35);
}
.of-city-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .45rem .9rem;
    border-radius: var(--radius-pill);
    background: var(--of-white);
    border: 1px solid var(--of-border);
    color: var(--of-text);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.of-city-pill:hover {
    border-color: var(--of-orange);
    color: var(--of-orange);
    background: var(--of-orange-light);
}

/* ── Article cards ── */
.of-article-card {
    border: 1px solid var(--of-border);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--of-white);
    height: 100%;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}
.of-article-card:hover { box-shadow: var(--shadow); color: inherit; }
.of-article-card-img {
    height: 130px;
    background: linear-gradient(135deg, #dbeafe, #ffedd5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--of-orange);
    font-size: 2.25rem;
}

/* ── Footer ── */
.site-footer {
    background: var(--of-heading);
    color: rgba(255,255,255,.75);
    margin-top: 0;
}
.site-footer .footer-title {
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.site-footer a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .85rem;
    transition: color var(--transition);
}
.site-footer a:hover { color: var(--of-orange); }
.site-footer .footer-links li { margin-bottom: .45rem; }
.site-footer .footer-desc { font-size: .85rem; line-height: 1.6; color: rgba(255,255,255,.55); }
.site-footer .footer-cities {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .75rem;
}
.site-footer .footer-cities a { font-size: .8rem; }
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.45);
    font-size: .8rem;
}

/* ── Inner pages ── */
.page-hero-inner {
    background: var(--of-white);
    border: 1px solid var(--of-border);
    border-radius: var(--radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.5rem;
}
.page-hero-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.page-hero-heading-main { min-width: 0; flex: 1 1 auto; }
.page-hero-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: var(--of-heading);
}
.page-hero-subtitle { margin-top: .35rem; color: var(--of-muted); }
.school-type-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: .5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: .85rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.school-type-badge--devlet {
    background: #e7f5ff;
    color: #206bc4;
    border: 1px solid #c8e1ff;
}
.school-type-badge--ozel {
    background: var(--of-orange-light);
    color: var(--of-orange);
    border: 1px solid #ffd6a8;
}
.breadcrumb-dots .breadcrumb-item + .breadcrumb-item::before { content: "·"; color: var(--of-muted); }

.location-chip {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .4rem .9rem;
    border-radius: var(--radius-pill);
    background: var(--of-white);
    border: 1px solid var(--of-border);
    color: var(--of-text);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.location-chip:hover {
    border-color: var(--of-orange);
    color: var(--of-orange);
    background: var(--of-orange-light);
}

/* ── School detail ── */
.school-hero {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.school-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff;
}
.school-hero-overlay .school-empty-value { color: rgba(255,255,255,.75); }
.school-info-card {
    border: 1px solid var(--of-border);
    border-radius: var(--radius);
    background: var(--of-white);
}
.school-info-card .card-status-top { height: 4px; background: var(--of-orange); }
.school-empty-value {
    color: #94a3b8;
    font-style: italic;
    font-weight: 400;
}
.school-empty-box {
    padding: 1.25rem;
    border: 1px dashed #e2e8f0;
    border-radius: var(--radius);
    background: #f8fafc;
    color: #94a3b8;
    font-style: italic;
    text-align: center;
}
.school-placeholder-img {
    width: 100%;
    object-fit: cover;
    background: #fff7ed;
    opacity: .85;
}
.school-map-frame {
    border: 0;
    width: 100%;
    min-height: 280px;
    border-radius: var(--radius);
}

/* ── Animations ── */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .5s ease, transform .5s ease;
}
.animate-on-scroll.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll { opacity: 1; transform: none; }
}
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }

/* ── Tabs ── */
.home-tabs .nav-link {
    font-weight: 600;
    color: var(--of-muted);
    border: 0;
    border-radius: var(--radius-pill);
    padding: .5rem 1rem;
    margin-right: .25rem;
}
.home-tabs .nav-link.active {
    background: var(--of-orange);
    color: #fff;
}

/* ── Listing infinite scroll ── */
.listing-infinite-status {
    min-height: 3rem;
}

/* ── Empty state ── */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background: var(--of-white);
    border: 1px solid var(--of-border);
    border-radius: var(--radius);
}
.empty-state-icon { font-size: 3rem; color: var(--of-muted); margin-bottom: 1rem; }

/* ── Responsive ── */
@media (max-width: 991px) {
    .site-logo-img { --logo-width: 140px; --logo-height: 42px; }
    .of-hero { padding: 2.5rem 0 3rem; }
    .of-hero-illus { display: none; }
    .hero-word-rotate { height: 1.2em; }
    .of-section { padding: 2.5rem 0; }
}
@media (max-width: 767px) {
    .site-catnav a:not(.catnav-city-link) { padding: .65rem .75rem; font-size: .82rem; }
    .catnav-dropdown-trigger { padding: .65rem .75rem; font-size: .82rem; }
    #site-catnav .catnav-dropdown-panel.is-visible { position: fixed; left: .75rem; right: .75rem; top: 7rem; max-height: 70vh; overflow-y: auto; }
    .catnav-dropdown-body { flex-direction: column; padding: 1rem; }
    .catnav-dropdown-cols { grid-template-columns: 1fr; gap: 0; }
    .catnav-dropdown-preview { width: 100%; order: -1; margin-bottom: .75rem; }
    .catnav-preview-img { min-height: 160px; max-height: 200px; }
    .of-consultant { padding: 1.5rem; }
    .of-hero-search { padding: 1rem; }
}
