/* ═══════════════════════════════════════════════════════════
   KAPADOKYA PRO — Tasarım Sistemi (Redox teması esinli)
   Font: DM Sans (gövde) · Instrument Sans (başlık) · Bebas Neue (display)
   Renk: Teal #16A6A0 (marka) · Antrasit #14232B · Koyu #111
   ═══════════════════════════════════════════════════════════ */

:root {
    /* Marka */
    --brand: #16A6A0;
    --brand-600: #0E8D84;
    --brand-700: #0A6F6A;
    --brand-100: #D3EFEC;
    --brand-050: #E9F7F5;

    /* Nötr */
    --ink: #14232B;
    --dark: #111111;
    --muted: #5B6B72;
    --paper: #FFFFFF;
    --paper-alt: #F6F8F8;
    --line: #E7ECEC;

    /* Hero yumuşak zemin */
    --hero-bg: #E9F7F5;

    /* Fontlar */
    --font-body: 'DM Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    --font-head: 'Instrument Sans', 'DM Sans', sans-serif;
    --font-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;

    /* Ölçüler */
    --container: 1240px;
    --header-h: 88px;
    --radius: 16px;
    --radius-lg: 28px;
    --radius-pill: 100px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --transition: 0.45s var(--ease);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.js.smoother-active { scroll-behavior: auto; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--ink); }
em { font-style: normal; color: var(--brand); }
::selection { background: var(--brand); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; }

/* ScrollSmoother sarmalayıcı */
#smooth-wrapper { overflow: hidden; }

/* ── Skip link ── */
.skip-to-content {
    position: fixed; top: -60px; left: 16px; z-index: 2000;
    background: var(--dark); color: #fff; padding: 10px 18px; border-radius: 8px;
    transition: top .3s;
}
.skip-to-content:focus { top: 16px; }

/* ── Loading Screen ── */
.loading-screen {
    position: fixed; inset: 0; z-index: 3000;
    background: var(--paper); display: grid; place-items: center;
    transition: opacity .4s ease, visibility .4s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; }
.loading-spinner {
    width: 46px; height: 46px; border-radius: 50%;
    border: 3px solid var(--brand-100); border-top-color: var(--brand);
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════ BUTTONS ═══════════ */
.btn {
    --btn-bg: var(--dark); --btn-fg: #fff;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    background: var(--btn-bg); color: var(--btn-fg);
    font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1;
    padding: 15px 26px; border-radius: var(--radius-pill);
    transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
    overflow: hidden; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-dark { --btn-bg: var(--dark); --btn-fg: #fff; }
.btn-dark:hover { background: var(--brand); box-shadow: 0 12px 30px -8px var(--brand); }
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--ink); border: 1.5px solid rgba(20,35,43,.18); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: transparent; transform: translateY(-2px); }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-light:hover { background: var(--brand); color: #fff; }
.btn-lg { padding: 18px 34px; font-size: 16px; }
.btn-sm { padding: 11px 18px; font-size: 13.5px; }
.btn-block { width: 100%; }

/* Text-flip hover (Redox tarzı) */
.btn-flip .btn-flip-inner {
    position: relative; display: inline-block; transition: transform .45s var(--ease);
}
.btn-flip .btn-flip-inner::after {
    content: attr(data-text); position: absolute; left: 0; top: 100%; width: 100%;
}
.btn-flip:hover .btn-flip-inner { transform: translateY(-100%); }

/* ═══════════ HEADER ═══════════ */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900;
    height: var(--header-h); display: flex; align-items: center;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header .header-inner {
    width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand img { height: 40px; width: auto; transition: height .4s var(--ease); }
.header-actions { display: flex; align-items: center; gap: 14px; }

/* Scrolled state — katılaşır */
.site-header.scrolled {
    background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 1px 0 var(--line), 0 8px 30px -18px rgba(20,35,43,.3); height: 72px;
}
.site-header.scrolled .brand img { height: 34px; }

/* Hamburger */
.hamburger {
    width: 46px; height: 46px; border-radius: 50%; background: var(--dark);
    display: grid; place-items: center; gap: 4px; transition: background .35s var(--ease), transform .35s var(--ease);
}
.hamburger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .25s; }
.hamburger:hover { background: var(--brand); transform: translateY(-2px); }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ═══════════ OFFCANVAS ═══════════ */
.offcanvas {
    position: fixed; top: 0; right: 0; z-index: 1100;
    width: min(440px, 90vw); height: 100dvh; background: var(--dark); color: #fff;
    padding: 34px; display: flex; flex-direction: column;
    transform: translateX(105%); transition: transform .55s var(--ease);
    overflow-y: auto;
}
.offcanvas.open { transform: translateX(0); }
.offcanvas-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 42px; }
.offcanvas-head .brand img { height: 40px; }
.offcanvas-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); color: #fff; display: grid; place-items: center; transition: background .3s, transform .3s; }
.offcanvas-close:hover { background: var(--brand); transform: rotate(90deg); }
.offcanvas-close svg { width: 22px; height: 22px; }

.offcanvas-nav { display: flex; flex-direction: column; }
.oc-link {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; font-family: var(--font-head); font-size: clamp(26px, 5vw, 38px); font-weight: 700;
    color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); letter-spacing: -0.02em;
    transition: color .3s, padding-left .35s var(--ease);
}
.oc-link svg { width: 22px; height: 22px; opacity: 0; transform: translate(-8px,8px); transition: all .35s var(--ease); color: var(--brand); }
.oc-link:hover { color: var(--brand); padding-left: 14px; }
.oc-link:hover svg { opacity: 1; transform: translate(0,0); }
.oc-link.active { color: var(--brand); }

.offcanvas-contact { margin-top: auto; padding-top: 34px; display: flex; flex-direction: column; gap: 12px; }
.oc-label { text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: var(--brand); font-weight: 600; margin-bottom: 6px; }
.offcanvas-contact a { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.8); font-size: 15px; transition: color .3s; }
.offcanvas-contact a:hover { color: #fff; }
.offcanvas-contact svg { width: 18px; height: 18px; color: var(--brand); }

.offcanvas-overlay {
    position: fixed; inset: 0; z-index: 1050; background: rgba(10,18,22,.55);
    backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .45s, visibility .45s;
}
.offcanvas-overlay.open { opacity: 1; visibility: visible; }
body.nav-open { overflow: hidden; }

/* ═══════════ HERO ═══════════ */
.hero {
    position: relative; padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px;
    background: linear-gradient(180deg, var(--hero-bg) 0%, #F2FAF9 60%, var(--paper) 100%);
    overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; }
.hero-badge-circle { position: relative; width: 130px; height: 130px; margin-bottom: 26px; }
.badge-ring { width: 100%; height: 100%; animation: badge-spin 18s linear infinite; }
.badge-ring text { font-family: var(--font-body); font-size: 12.5px; font-weight: 600; letter-spacing: 1px; fill: var(--ink); text-transform: uppercase; }
.badge-center {
    position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; border-radius: 50%;
    background: var(--brand); color: #fff; display: grid; place-items: center;
}
.badge-center svg { width: 26px; height: 26px; }
@keyframes badge-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .badge-ring { animation: none; } }

.hero-title {
    font-size: clamp(44px, 8.5vw, 118px); line-height: 0.98; letter-spacing: -0.03em;
    font-weight: 700; max-width: 14ch; margin-bottom: 40px;
}
.title-line { display: block; overflow: hidden; padding-bottom: .04em; }
.title-line-in { display: inline-block; will-change: transform; }

.hero-meta { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: end; max-width: 1000px; }
.hero-stats { display: flex; gap: 44px; }
.hero-stat .stat-num { font-family: var(--font-display); font-size: clamp(40px, 6vw, 64px); line-height: 1; color: var(--ink); display: block; }
.hero-stat p { font-size: 14px; color: var(--muted); margin-top: 6px; max-width: 22ch; }
.hero-intro { font-size: clamp(16px, 2vw, 20px); color: var(--ink); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 44px; }

.hero-display {
    margin-top: clamp(40px, 8vw, 90px); text-align: center; line-height: .8; pointer-events: none;
}
.hero-display span {
    font-family: var(--font-display); font-size: clamp(80px, 22vw, 340px); letter-spacing: .01em;
    color: transparent; -webkit-text-stroke: 1.5px rgba(20,35,43,.16); background: none;
}

/* ═══════════ KEYWORD MARQUEE ═══════════ */
.keyword-marquee { background: var(--dark); padding: 26px 0; overflow: hidden; }
.marquee-track { display: flex; width: max-content; }
.keyword-marquee .marquee-track { animation: marquee 32s linear infinite; }
.marquee-group { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.kw-item { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 3vw, 34px); color: #fff; letter-spacing: -0.01em; white-space: nowrap; }
.kw-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--brand); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track:hover { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .keyword-marquee .marquee-track, .cta-marquee .marquee-track { animation: none; } }


/* ═══════════ SECTION HEADERS ═══════════ */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; max-width: none; flex-wrap: wrap; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 2.5px; color: var(--brand-600); margin-bottom: 18px;
}
.eyebrow svg { width: 16px; height: 16px; }
.eyebrow-light { color: var(--brand); }
.section-title { font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -0.025em; }
.section-desc { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin-top: 18px; }

/* ═══════════ ABOUT SUMMARY ═══════════ */
.about-summary { text-align: center; }
.about-summary .eyebrow { justify-content: center; }
.about-display {
    font-family: var(--font-display); font-size: clamp(56px, 13vw, 180px); line-height: .9;
    color: var(--ink); letter-spacing: .01em; margin-bottom: 24px;
}
.about-text { max-width: 760px; margin: 0 auto 32px; font-size: clamp(18px, 2.2vw, 26px); line-height: 1.5; color: var(--ink); font-family: var(--font-head); font-weight: 500; }

/* ═══════════ SERVICES GRID ═══════════ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
    --card-accent: var(--brand);
    position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
    padding: 34px 30px 30px; overflow: hidden; transition: transform .5s var(--ease), border-color .5s, box-shadow .5s;
    isolation: isolate;
}
.service-card::before {
    content: ''; position: absolute; inset: 0; background: var(--card-accent); z-index: -1;
    transform: translateY(101%); transition: transform .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(20,35,43,.35); }
.service-card:hover::before { transform: translateY(0); }
.service-card:hover h3, .service-card:hover p, .service-card:hover .service-num { color: #fff; }
.service-card:hover .service-icon { background: rgba(255,255,255,.16); color: #fff; }
.service-card:hover .service-arrow { background: #fff; color: var(--card-accent); transform: rotate(0) scale(1); opacity: 1; }
.service-num { font-family: var(--font-display); font-size: 22px; color: var(--muted); letter-spacing: 1px; transition: color .4s; }
.service-arrow {
    position: absolute; top: 28px; right: 28px; width: 40px; height: 40px; border-radius: 50%;
    background: var(--brand-050); color: var(--brand); display: grid; place-items: center;
    opacity: 0; transform: rotate(-30deg) scale(.7); transition: all .5s var(--ease);
}
.service-arrow svg { width: 20px; height: 20px; }
.service-card:hover .service-arrow { opacity: 1; }
.service-icon {
    width: 62px; height: 62px; border-radius: 18px; background: var(--brand-050); color: var(--card-accent);
    display: grid; place-items: center; margin: 20px 0 22px; transition: background .4s, color .4s;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 23px; margin-bottom: 12px; transition: color .4s; }
.service-card p { color: var(--muted); font-size: 15.5px; transition: color .4s; }

/* ═══════════ STATS (DARK) ═══════════ */
.stats-dark { background: var(--dark); color: #fff; padding: clamp(70px, 10vw, 140px) 0; }
.stats-dark .section-title { color: #fff; }
.stats-head { max-width: 760px; margin-bottom: 60px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-block { border-top: 1px solid rgba(255,255,255,.14); padding-top: 26px; }
.stat-block .stat-num { font-family: var(--font-display); font-size: clamp(56px, 8vw, 96px); line-height: .9; color: var(--brand); display: block; }
.stat-block p { color: rgba(255,255,255,.66); font-size: 15px; margin-top: 10px; max-width: 20ch; }
.stats-note { color: rgba(255,255,255,.4); font-size: 13px; margin-top: 40px; }

/* ═══════════ CASES ═══════════ */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-alt); transition: transform .5s var(--ease); }
.case-card:hover { transform: translateY(-8px); }
.case-thumb {
    position: relative; aspect-ratio: 16/11; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
    overflow: hidden;
}
.case-thumb::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,20,24,.12) 0%, rgba(10,20,24,.35) 55%, rgba(10,20,24,.82) 100%); }
.case-card:nth-child(3n+2) .case-thumb { background: linear-gradient(135deg, #1E88A8, #0A6F6A); }
.case-card:nth-child(3n) .case-thumb { background: linear-gradient(135deg, #14232B, var(--brand-700)); }
.case-metric { position: relative; z-index: 1; font-family: var(--font-display); font-size: clamp(30px, 4vw, 46px); color: #fff; text-align: center; padding: 0 18px; line-height: 1; }
.case-arrow { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; display: grid; place-items: center; z-index: 1; transition: background .4s, transform .4s; }
.case-arrow svg { width: 20px; height: 20px; }
.case-card:hover .case-arrow { background: #fff; color: var(--ink); transform: translate(3px,-3px); }
.case-body { padding: 22px 24px 26px; }
.case-cat { font-size: 13px; font-weight: 600; letter-spacing: .3px; color: var(--brand-600); text-transform: uppercase; }
.case-body h3 { font-size: 21px; margin-top: 8px; }

/* ═══════════ CLIENTS ═══════════ */
.clients-section { background: var(--paper-alt); }
.clients-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.clients-head h2 { font-size: clamp(24px, 3vw, 40px); }
.clients-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px 48px; }
.client-logo { font-family: var(--font-head); font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); color: #9fb0b3; letter-spacing: -0.01em; transition: color .35s, transform .35s; }
.client-logo:hover { color: var(--brand); transform: translateY(-3px); }

/* ═══════════ CLOSING ═══════════ */
.closing-section { text-align: center; }
.closing-text { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 5vw, 68px); line-height: 1.12; letter-spacing: -0.03em; max-width: 16ch; margin: 0 auto; }

/* ═══════════ CTA MARQUEE (footer üstü) ═══════════ */
.cta-marquee { background: var(--paper); border-top: 1px solid var(--line); padding: 30px 0; overflow: hidden; }
.cta-marquee .marquee-track { animation: marquee 26s linear infinite; }
.cta-marquee .marquee-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.marquee-item { font-family: var(--font-display); font-size: clamp(40px, 7vw, 92px); line-height: .9; color: var(--ink); letter-spacing: .01em; transition: color .3s; }
.marquee-item:hover { color: var(--brand); }
.marquee-item-outline { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee-item-outline:hover { -webkit-text-stroke-color: var(--brand); color: transparent; }
.marquee-dot { color: var(--brand); display: grid; place-items: center; }
.marquee-dot svg { width: 30px; height: 30px; }

/* ═══════════ FOOTER ═══════════ */
.site-footer { background: var(--dark); color: rgba(255,255,255,.7); padding: 80px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-logo img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 15px; max-width: 34ch; margin-bottom: 22px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; color: #fff; transition: background .3s, transform .3s, border-color .3s; }
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 20px; }
.footer-col a, .footer-addr { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.66); font-size: 15px; padding: 7px 0; transition: color .3s, padding-left .3s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }
.footer-col svg { width: 17px; height: 17px; color: var(--brand); flex: none; }
.footer-contact .footer-addr { align-items: flex-start; }
.footer-bottom { padding-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13.5px; color: rgba(255,255,255,.45); }

/* ═══════════ PAGE HERO (iç sayfalar) ═══════════ */
.page-hero {
    padding: calc(var(--header-h) + 60px) 0 60px;
    background: linear-gradient(180deg, var(--hero-bg), var(--paper));
}
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--brand-600); font-weight: 600; }
.breadcrumb em { color: var(--ink); font-weight: 600; }
.page-title { font-size: clamp(40px, 7vw, 92px); letter-spacing: -0.03em; max-width: 16ch; }
.page-lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); max-width: 60ch; margin-top: 22px; }

/* ═══════════ APPROACH (hakkımızda) ═══════════ */
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.approach-card { background: var(--paper-alt); border-radius: var(--radius-lg); padding: 40px 32px; border: 1px solid var(--line); transition: transform .5s var(--ease); }
.approach-card:hover { transform: translateY(-6px); }
.approach-num { font-family: var(--font-display); font-size: 60px; color: var(--brand); line-height: 1; }
.approach-card h3 { font-size: 24px; margin: 14px 0 12px; }
.approach-card p { color: var(--muted); font-size: 15.5px; }

/* ═══════════ VALUES ═══════════ */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card { padding: 32px 26px; border-radius: var(--radius); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .5s; }
.value-card:hover { transform: translateY(-6px); border-color: var(--brand); }
.value-icon { width: 56px; height: 56px; border-radius: 15px; background: var(--brand-050); color: var(--brand); display: grid; place-items: center; margin-bottom: 20px; }
.value-icon svg { width: 28px; height: 28px; }
.value-card h3 { font-size: 20px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 15px; }

/* ═══════════ SERVICE DETAIL (hizmetler) ═══════════ */
.service-detail { --card-accent: var(--brand); display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 46px 0; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.services-detail-section .service-detail:first-child { border-top: none; }
.sd-left { display: flex; flex-direction: column; gap: 20px; }
.sd-left .service-num { font-size: 40px; color: var(--card-accent); }
.sd-left .service-icon { margin: 0; width: 76px; height: 76px; background: var(--card-accent); color: #fff; }
.sd-left .service-icon svg { width: 36px; height: 36px; }
.sd-body h2 { font-size: clamp(26px, 3.4vw, 40px); margin-bottom: 16px; }
.sd-body > p { color: var(--muted); font-size: 17px; max-width: 62ch; margin-bottom: 24px; }
.sd-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.sd-points li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; }
.sd-points svg { width: 20px; height: 20px; color: var(--card-accent); flex: none; }

.services-cta { padding-top: 0; }
.services-cta-box { background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 76px); text-align: center; }
.services-cta-box h2 { color: #fff; font-size: clamp(26px, 3.6vw, 46px); max-width: 20ch; margin: 0 auto 16px; }
.services-cta-box p { color: rgba(255,255,255,.7); max-width: 52ch; margin: 0 auto 30px; }

/* ═══════════ CONTACT ═══════════ */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 30px; }
.contact-list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 30px; }
.contact-list li { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.ci-ico { width: 50px; height: 50px; border-radius: 14px; background: var(--brand-050); color: var(--brand); display: grid; place-items: center; flex: none; }
.ci-ico svg { width: 22px; height: 22px; }
.contact-list em { display: block; font-size: 12.5px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 3px; }
.contact-list span > a, .contact-list span { color: var(--ink); font-weight: 600; font-size: 16px; }
.contact-social { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-form { background: var(--paper-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
    font-family: inherit; font-size: 15px; color: var(--ink); background: var(--paper);
    border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .3s, box-shadow .3s;
    width: 100%;
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-050); }
.form-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: 16px; }
.form-note svg { width: 16px; height: 16px; color: var(--brand); }

/* ═══════════ 404 ═══════════ */
.error-section { padding-top: calc(var(--header-h) + 80px); text-align: center; }
.error-inner { max-width: 640px; margin: 0 auto; }
.error-code { font-family: var(--font-display); font-size: clamp(120px, 28vw, 300px); line-height: .85; color: transparent; -webkit-text-stroke: 2px var(--brand); }
.error-section h1 { font-size: clamp(28px, 4vw, 48px); margin: 10px 0 16px; }
.error-section p { color: var(--muted); font-size: 17px; margin-bottom: 30px; }
.error-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ═══════════ SCROLL TOP ═══════════ */
.scroll-top {
    position: fixed; bottom: 26px; right: 26px; z-index: 800; width: 52px; height: 52px; border-radius: 50%;
    background: var(--dark); color: #fff; display: grid; place-items: center;
    opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .4s var(--ease);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--brand); }
.scroll-top svg { width: 22px; height: 22px; }

/* ═══════════ TOAST ═══════════ */
.toast-container { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2000; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
    background: var(--dark); color: #fff; padding: 14px 22px; border-radius: 12px; font-size: 15px; font-weight: 500;
    display: flex; align-items: center; gap: 10px; box-shadow: 0 18px 40px -14px rgba(0,0,0,.5);
    opacity: 0; transform: translateY(20px); transition: opacity .35s, transform .35s;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast svg { width: 20px; height: 20px; color: var(--brand); }

/* ═══════════ HERO TITLE (CSS satır-reveal) ═══════════ */
.js .title-line-in { transform: translateY(115%); animation: lineUp .95s var(--ease) forwards; }
.js .hero-title .title-line:nth-child(1) .title-line-in { animation-delay: .35s; }
.js .hero-title .title-line:nth-child(2) .title-line-in { animation-delay: .5s; }
.js .page-title .title-line-in { animation-delay: .3s; }
@keyframes lineUp { to { transform: translateY(0); } }

/* ═══════════ SCROLL REVEAL ═══════════ */
.js .fade-anim { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.fade-anim.is-visible { opacity: 1; transform: none; }
.js .reveal-title { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-title.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .js .fade-anim, .js .reveal-title { opacity: 1; transform: none; transition: none; }
    .js .title-line-in { animation: none; transform: none; }
    html { scroll-behavior: auto; }
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 992px) {
    .hero-meta { grid-template-columns: 1fr; gap: 30px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cases-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
    .contact-grid { grid-template-columns: 1fr; gap: 36px; }
    .service-detail { grid-template-columns: 1fr; gap: 22px; }
    .sd-left { flex-direction: row; align-items: center; }
}
@media (max-width: 640px) {
    body { font-size: 16px; }
    .services-grid, .cases-grid, .values-grid, .approach-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 22px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
    .sd-points { grid-template-columns: 1fr; }
    .btn-lg { padding: 16px 26px; }
    .header-actions .btn { display: none; }
    .offcanvas { padding: 26px 22px; }
}
@media (max-width: 400px) {
    .stats-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════════
   REVİZYON — Redox geçişleri + Pexels görselleri
   ═══════════════════════════════════════════════ */

/* ── GSAP aktifken hero CSS satır-animasyonunu kapat (SplitText devralır) ── */
.gsap-ready .title-line-in { animation: none !important; transform: none !important; }
.gsap-ready .hero-title, .gsap-ready .page-title { opacity: 1; }

/* ── Özel Fare İmleci (magic cursor) ── */
.cursor-dot, .cursor-ring {
    position: fixed; top: 0; left: 0; z-index: 4000; pointer-events: none;
    border-radius: 50%; will-change: transform;
}
.cursor-dot { width: 7px; height: 7px; background: var(--brand); }
.cursor-ring {
    width: 40px; height: 40px; border: 1.5px solid var(--brand);
    transition: width .3s var(--ease), height .3s var(--ease), background-color .3s, border-color .3s, opacity .3s;
}
.cursor-ring.is-hover { width: 66px; height: 66px; background: rgba(22,166,160,.12); }
.cursor-ring.is-down { width: 30px; height: 30px; }
html.has-cursor, html.has-cursor * { cursor: none !important; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }

/* ── Hero görseli (Redox hero image bandı) ── */
.hero-figure {
    position: relative; margin-top: clamp(30px, 5vw, 64px);
    border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: 0 44px 90px -46px rgba(20,35,43,.55);
}
.hero-figure img { width: 100%; height: clamp(320px, 46vw, 620px); object-fit: cover; display: block; }
.hero-figure-badge {
    position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 12px 18px;
    border-radius: var(--radius-pill); font-size: 14px; font-weight: 600; color: var(--ink);
}
.hff-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(22,166,160,.25); }

/* ── Servis kartı: hover'da görsel reveal ── */
.service-photo {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.1); transition: opacity .55s var(--ease), transform .7s var(--ease); z-index: -2;
}
.service-card::after {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
    background: linear-gradient(180deg, rgba(12,26,30,.25), rgba(12,26,30,.9));
    transition: opacity .55s var(--ease);
}
.service-card:has(.service-photo)::before { content: none; } /* görsel varsa düz accent dolguyu kapat */
.service-card:has(.service-photo):hover { border-color: transparent; }
.service-card:has(.service-photo):hover .service-photo { opacity: 1; transform: scale(1); }
.service-card:has(.service-photo):hover::after { opacity: 1; }
.service-card:has(.service-photo):hover .service-icon { background: rgba(255,255,255,.18); color: #fff; }

/* ── Başarı kartı görselleri ── */
.case-thumb img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
    transition: transform .8s var(--ease);
}
.case-thumb .case-metric, .case-thumb .case-arrow { z-index: 2; }
.case-card:hover .case-thumb img { transform: scale(1.08); }

/* ── Hakkımızda görsel bandı ── */
.about-figure-section { padding-top: 0; }
.about-figure { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 40px 80px -46px rgba(20,35,43,.5); }
.about-figure img { width: 100%; height: clamp(300px, 42vw, 560px); object-fit: cover; display: block; }
.about-figure figcaption {
    position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 9px;
    background: rgba(255,255,255,.92); backdrop-filter: blur(8px); padding: 10px 16px;
    border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 600; color: var(--ink);
}

/* ── Footer kredi ── */
.footer-credit a { color: rgba(255,255,255,.6); text-decoration: underline; text-underline-offset: 3px; }
.footer-credit a:hover { color: #fff; }

/* ── Odometer (koyu bölüm sayaç) — Bebas rakamlar ── */
.stats-dark .odometer, .stats-dark .odo-suf { font-family: var(--font-display); }
.stat-num .odo-suf { margin-left: 2px; }
.odometer.odometer-auto-theme, .odometer.odometer-theme-minimal { line-height: 1; }
