:root {
    --home-bg: #06070f;
    --home-surface: #10121f;
    --home-border: rgba(255, 255, 255, 0.1);
    --home-text: #f3f4fb;
    --home-text-muted: #9a9db8;
    --home-accent: #004aad;
    --home-accent-2: #0062d6;
    --home-accent-glow: rgba(0, 74, 173, 0.35);
    --home-accent-3: #2d8fff;
    --home-gold: #2d8fff;
    --home-font-body: 'Open Sans', 'Segoe UI', Arial, sans-serif;
    --home-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --home-font-accent: 'Dancing Script', cursive;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

body.home-body {
    background: var(--home-bg);
    color: var(--home-text);
    font-family: var(--home-font-body);
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--home-font-heading);
}

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

.home-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 40;
    padding: 22px 0;
    transform: translateY(0);
    transition: background 0.25s ease, padding 0.25s ease, backdrop-filter 0.25s ease, transform 0.3s ease;
}

.home-header.scrolled {
    background: rgba(6, 7, 15, 0.82);
    backdrop-filter: blur(14px);
    padding: 14px 0;
    border-bottom: 1px solid var(--home-border);
}

.home-header.header-hidden {
    transform: translateY(-110%);
}

.home-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.home-logo {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.home-header-pill-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--home-border);
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.home-header-pill-nav a {
    position: relative;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--home-text-muted);
    transition: color 0.15s ease, background 0.15s ease;
}

.home-header-pill-nav a:hover {
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.06);
}

.home-header-pill-nav a:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.14);
}

.home-header-pill-cta {
    color: #fff !important;
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
}

.home-header-pill-cta:hover {
    opacity: 0.92;
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
}

.home-logo img {
    height: 58px;
    display: block;
}

.home-logo-text {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.home-logo-text strong {
    font-weight: 800;
    color: var(--home-accent);
}

.home-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

.home-icon-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    color: var(--home-text);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.home-icon-btn:hover {
    border-color: var(--home-accent);
    background: rgba(0, 74, 173, 0.08);
}

.home-lang {
    position: relative;
}

.home-lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    padding: 8px;
    min-width: 140px;
    display: none;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.home-lang.open .home-lang-menu {
    display: flex;
}

.home-lang-option {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--home-text-muted);
    cursor: pointer;
}

.home-lang-option:hover {
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.05);
}

.home-lang-option.active {
    color: var(--home-text);
    background: rgba(0, 74, 173, 0.14);
}

/* ---------- Google Translate widget (hidden, driven by .home-lang UI) ---------- */

.home-google-translate {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

body {
    top: 0 !important;
}

iframe.skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

.home-hamburger {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.home-hamburger:hover {
    border-color: var(--home-accent);
    background: rgba(0, 74, 173, 0.08);
}

.home-hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--home-text);
    border-radius: 2px;
}

/* ---------- Drawer ---------- */

.home-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 49;
}

.home-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.home-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(380px, 88vw);
    background: linear-gradient(165deg, #12142380 0%, var(--home-surface) 40%);
    background-color: var(--home-surface);
    border-right: 1px solid var(--home-border);
    z-index: 50;
    padding: 32px 36px;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 40px 0 80px rgba(0, 0, 0, 0.45);
}

.home-drawer.open {
    transform: translateX(0);
}

.home-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 56px;
}

.home-drawer-logo {
    display: flex;
    align-items: center;
}

.home-drawer-logo img {
    height: 52px;
    display: block;
}

.home-drawer-brand {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--home-text-muted);
    text-transform: uppercase;
}

.home-drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid var(--home-border);
    background: transparent;
    color: var(--home-text);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.home-drawer-close:hover {
    border-color: var(--home-accent);
    transform: rotate(90deg);
}

.home-drawer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.home-drawer-nav a {
    display: flex;
    align-items: baseline;
    font-size: 19px;
    font-weight: 800;
    color: var(--home-text);
    padding: 12px 0;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.home-drawer-nav a:hover {
    color: var(--home-accent);
    padding-left: 8px;
}

.home-drawer-nav a.home-drawer-nav-active {
    color: var(--home-accent);
    padding-left: 8px;
}

.home-drawer-footer {
    margin-top: auto;
    padding-top: 28px;
    border-top: 1px solid var(--home-border);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.home-drawer-footer-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--home-text-muted);
}

.home-drawer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-drawer-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--home-text);
    text-decoration: none;
    transition: color 0.15s ease;
}

.home-drawer-phone svg {
    color: var(--home-accent);
    flex-shrink: 0;
}

.home-drawer-phone:hover {
    color: var(--home-accent);
}

/* ---------- Loader ---------- */

.home-loader {
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    overflow: hidden;
    /* Every duration below is derived from these, so `?intro=slow` can stretch the
       whole choreography by overriding four values instead of every rule. */
    --letter-dur: 0.8s;
    --letter-step: 55ms;
    --slat-dur: 0.85s;
    --slat-step: 0.07s;
    --slat-lead: 0.22s;
}

.home-loader-slow {
    --letter-dur: 2.2s;
    --letter-step: 150ms;
    --slat-dur: 2.4s;
    --slat-step: 0.22s;
    --slat-lead: 0.6s;
}

/* Returning visitors skip the intro entirely (set by an inline script in the head). */
.home-loader-off {
    display: none !important;
}

/* The curtain: six columns that lift away one after another on exit. */
.home-loader-slats {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
}

.home-loader-slats span {
    position: relative;
    flex: 1 1 0;
    /* Hairline negative margin stops seams from flickering mid-travel. */
    margin-right: -1px;
    background: var(--home-bg, #06070f);
    transform: translateY(0);
    transition: transform var(--slat-dur) cubic-bezier(0.76, 0, 0.24, 1);
    will-change: transform;
}

/* The curtain matches the page background, so without a lit leading edge the
   columns would travel invisibly. This is what actually reads as the reveal. */
.home-loader-slats span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--home-accent-3) 50%, transparent);
    box-shadow: 0 0 20px rgba(45, 143, 255, 0.9);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.home-loader-beam {
    position: absolute;
    inset: -25% -45%;
    z-index: 2;
    background: linear-gradient(105deg, transparent 42%, rgba(45, 143, 255, 0.18) 50%, transparent 58%);
    transform: translateX(-45%);
    animation: home-loader-beam 2.6s ease-in-out infinite;
    pointer-events: none;
}

.home-loader-core {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.6vw, 18px);
}

.home-loader-word {
    display: flex;
    font-family: var(--home-font-body);
    font-weight: 800;
    font-size: clamp(38px, 11vw, 116px);
    line-height: 1;
    letter-spacing: -0.035em;
    color: var(--home-text);
}

.home-loader-word-sub {
    font-size: clamp(11px, 2.6vw, 20px);
    font-weight: 700;
    letter-spacing: 0.52em;
    /* Tracking adds a trailing gap after the last glyph; pull it back so the
       word still reads as optically centred under the mark above it. */
    margin-left: 0.52em;
    color: var(--home-accent-3);
}

/* Each glyph gets its own clipping box so it can climb out from behind a line. */
.home-loader-letter {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.home-loader-letter i {
    display: inline-block;
    font-style: normal;
    animation: home-loader-letter var(--letter-dur) cubic-bezier(0.16, 0.8, 0.28, 1) backwards;
    animation-delay: calc(var(--i) * var(--letter-step) + 0.15s);
}

.home-loader-line {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.home-loader-fill {
    display: block;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--home-accent) 0%, var(--home-accent-3) 100%);
    box-shadow: 0 0 18px rgba(45, 143, 255, 0.85);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Exit ---- */

.home-loader-hidden .home-loader-beam,
.home-loader-hidden .home-loader-line {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Letters drop back behind their masks in the same order they arrived. */
.home-loader-hidden .home-loader-letter i {
    animation: none;
    transform: translateY(105%);
    transition: transform calc(var(--letter-dur) * 0.55) cubic-bezier(0.76, 0, 0.24, 1);
    transition-delay: calc(var(--i) * calc(var(--letter-step) * 0.6));
}

.home-loader-hidden .home-loader-slats span::after {
    opacity: 1;
}

.home-loader-hidden .home-loader-slats span {
    transform: translateY(-100%);
    transition-delay: calc(var(--i) * var(--slat-step) + var(--slat-lead));
}

@keyframes home-loader-letter {
    from {
        transform: translateY(105%);
    }
}

@keyframes home-loader-beam {
    0% {
        transform: translateX(-45%);
    }

    55%, 100% {
        transform: translateX(45%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-loader-beam {
        animation: none;
    }

    .home-loader-letter i {
        animation: none;
    }

    .home-loader-hidden .home-loader-letter i {
        transition: none;
        transform: none;
    }

    .home-loader-slats span {
        transition-duration: 0.35s;
    }

    .home-loader-hidden .home-loader-slats span {
        transition-delay: 0s;
    }
}

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

.home-hero {
    position: relative;
    height: 100vh;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-hero-canvas {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

.home-hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.home-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.home-hero-video.is-ready {
    opacity: 1;
}


.home-hero-glow {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(600px 500px at 12% 30%, var(--home-accent-glow), transparent 60%),
        radial-gradient(700px 600px at 88% 75%, rgba(0, 98, 214, 0.25), transparent 60%);
    pointer-events: none;
}

.home-hero-flash {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #fff;
    opacity: 0;
    pointer-events: none;
}

.home-hero-cta {
    position: absolute;
    right: clamp(20px, 6vw, 64px);
    bottom: clamp(48px, 9vh, 96px);
    z-index: 3;
    padding: 12px 26px;
    font-size: 13px;
}

@media (max-width: 640px) {
    .home-hero-cta {
        left: 50%;
        right: auto;
        bottom: 56px;
        transform: translateX(-50%);
        padding: 10px 20px;
        font-size: 11.5px;
        white-space: nowrap;
    }
}

/* ---------- Ticker (Başlık 1: scroll-linked converging statement lines) ---------- */

.home-ticker {
    position: relative;
    background: var(--home-bg);
    overflow: hidden;
    padding: clamp(6px, 1.1vw, 16px) 0;
}

.home-ticker-row {
    overflow: visible;
    display: flex;
    justify-content: center;
    white-space: nowrap;
    padding: 0.12em 0;
}

.home-ticker-row + .home-ticker-row {
    margin-top: clamp(4px, 0.8vw, 12px);
}

.home-ticker-item {
    display: inline-block;
    padding: 0 0.35em;
    font-family: var(--home-font-body);
    font-weight: 800;
    font-size: clamp(24px, 5.5vw, 92px);
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--home-text);
    will-change: transform;
}

@media (max-width: 640px) {
    .home-ticker:not(.home-services-ticker) {
        padding-top: clamp(28px, 9vw, 48px);
    }

    .home-ticker:not(.home-services-ticker) .home-ticker-item {
        font-size: clamp(34px, 10vw, 92px);
    }
}

.home-ticker-row-outline .home-ticker-item {
    color: transparent;
    -webkit-text-stroke: 2px var(--home-text);
    text-stroke: 2px var(--home-text);
}

/* ---------- Collage (Neler Yapıyoruz: heading+videos / paragraph scroll reveal) ---------- */

.home-collage {
    position: relative;
    background: var(--home-bg);
    overflow: hidden;
    padding: clamp(12px, 2vw, 28px) 24px clamp(48px, 8vw, 100px);
}

.home-collage-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 48px;
    align-items: start;
}

.home-collage-left {
    min-width: 0;
    will-change: transform;
}

.home-collage-heading {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: clamp(4px, 1vw, 10px);
}

.home-collage-line {
    font-family: var(--home-font-body);
    font-weight: 800;
    text-transform: uppercase;
    font-size: clamp(36px, 4.2vw, 72px);
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--home-text);
    overflow-wrap: break-word;
    word-break: break-word;
}

.home-collage-video {
    display: inline-flex;
    vertical-align: middle;
    height: 1.1em;
    margin: 0 0.06em;
    border-radius: 0.1em;
    overflow: hidden;
    background: var(--home-surface);
}

.home-collage-video-0 {
    width: 2em;
}

.home-collage-video-1 {
    width: 2.9em;
}

.home-collage-video-2 {
    width: 2.35em;
}

.home-collage-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-collage-right {
    min-width: 0;
    will-change: transform, opacity;
}

.home-collage-text {
    color: #fff;
    font-family: var(--home-font-body);
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.7;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.home-collage-text p {
    margin: 0 0 16px;
}

.home-collage-text p:last-child {
    margin-bottom: 0;
}

.home-collage-text pre,
.home-collage-text font,
.home-collage-text span {
    display: inline;
    white-space: normal;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
}

.home-collage-cta {
    margin-top: 28px;
}

@media (max-width: 900px) {
    .home-collage-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-collage-left,
    .home-collage-right {
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ---------- Counter (Ajans Olarak Son Bir Yılda Neler Yaptık?) ---------- */

.home-counter {
    position: relative;
    background: var(--home-bg);
    padding: clamp(36px, 6vw, 64px) 24px;
}

.home-counter-title {
    max-width: 1280px;
    margin: 0 auto clamp(24px, 4vw, 40px);
    text-align: center;
    font-family: var(--home-font-body);
    font-size: clamp(20px, 2.4vw, 30px);
    font-weight: 800;
    color: var(--home-text);
}

.home-counter-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.home-counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--home-border);
    border-radius: 18px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.home-counter-item:hover {
    border-color: var(--home-accent);
    background: rgba(0, 74, 173, 0.1);
    transform: translateY(-2px);
}

.home-counter-value {
    font-family: var(--home-font-body);
    font-weight: 800;
    font-size: clamp(28px, 3.6vw, 52px);
    color: var(--home-accent);
    line-height: 1.1;
    white-space: nowrap;
}

.home-counter-label {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--home-text-muted);
    line-height: 1.3;
}

@media (max-width: 900px) {
    .home-counter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-counter-grid.is-quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
    .home-counter-grid.is-quad {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .home-counter-grid.is-quad {
        grid-template-columns: 1fr;
    }
}

.home-counter-item[data-reveal="left"] {
    transform: translateX(-60px) scale(0.95);
}

.home-counter-item[data-reveal="right"] {
    transform: translateX(60px) scale(0.95);
}

.home-counter-item[data-reveal].is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.home-counter-item[data-reveal].is-visible:hover {
    transform: translateY(-2px);
}

.home-btn-primary,
.home-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.15s ease, background 0.15s ease;
}

.home-btn-primary {
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
    color: #fff;
    border: none;
}

.home-btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.home-btn-outline {
    background: transparent;
    border: 1px solid var(--home-border);
    color: var(--home-text);
}

.home-btn-outline:hover {
    border-color: var(--home-accent);
    color: var(--home-accent);
}

/* ---------- Bottom row: slider / social ---------- */

.home-references-section {
    position: relative;
    background: var(--home-bg);
    display: flex;
    justify-content: center;
    padding: 0 16px 72px;
}

.home-references {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    min-width: 0;
}

.home-references > .home-references-wall {
    align-self: stretch;
    width: 100%;
}

.home-slider-wrap {
    align-self: stretch;
    overflow: hidden;
}

.home-slider-track {
    display: flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    animation: home-slide 20s linear infinite;
}

.home-slider-wrap:hover .home-slider-track {
    animation-play-state: paused;
}

.home-slider-track.reverse {
    animation-direction: reverse;
}

.home-references-wall {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.home-references-wall .home-slider-wrap {
    width: 100%;
}

.home-references-wall .home-slider-track {
    gap: 20px;
}

.home-references-wall .home-slider-chip {
    height: 80px;
}

.home-references-wall .home-slider-track img {
    height: 46px;
    max-width: 168px;
}

.home-slider-chip {
    position: relative;
    background: transparent;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.home-slider-chip:hover {
    transform: scale(1.1);
    z-index: 1;
}

.home-slider-track img {
    height: 35px;
    max-width: 100px;
    object-fit: contain;
    display: block;
}

@keyframes home-slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ---------- Portfolio (Portföyümüz: heading+paragraph / vertical image reels) ---------- */

.home-portfolio {
    position: relative;
    background: var(--home-bg);
    overflow: hidden;
    padding: clamp(48px, 8vw, 100px) 24px clamp(16px, 3vw, 32px);
    opacity: 0;
    transform: translateY(48px) scale(0.98);
    transition: opacity 0.9s cubic-bezier(.16, .8, .28, 1), transform 0.9s cubic-bezier(.16, .8, .28, 1);
}

.home-portfolio.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.home-portfolio-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
}

.home-portfolio-left {
    min-width: 0;
}

.home-portfolio-heading {
    margin: 0 0 20px;
    padding-right: 0.08em;
    font-family: var(--home-font-body);
    font-weight: 900;
    text-transform: uppercase;
    font-size: clamp(34px, 4.6vw, 64px);
    line-height: 1.15;
    letter-spacing: -0.01em;
    color: var(--home-text);
    overflow-wrap: break-word;
    word-break: break-word;
}

.home-portfolio-accent {
    margin-left: 0.18em;
}

.home-portfolio-text {
    color: var(--home-text-muted);
    font-family: var(--home-font-body);
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.7;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.home-portfolio-text p {
    margin: 0 0 16px;
}

.home-portfolio-text p:last-child {
    margin-bottom: 0;
}

.home-portfolio-text pre,
.home-portfolio-text font,
.home-portfolio-text span {
    display: inline;
    white-space: normal;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background: none;
}

.home-portfolio-cta {
    margin-top: 28px;
}

.home-portfolio-right {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 420px;
    margin-left: auto;
    height: clamp(460px, 42vw, 640px);
}

.home-portfolio-col {
    overflow: hidden;
    border-radius: 18px;
    height: 100%;
}

.home-portfolio-col:nth-child(2) {
    transform: translateY(-36px);
}

.home-portfolio-track {
    display: flex;
    flex-direction: column;
    gap: 14px;
    animation: home-portfolio-scroll 26s linear infinite;
}

.home-portfolio-col:nth-child(1) .home-portfolio-track {
    animation-duration: 24s;
}

.home-portfolio-col:nth-child(2) .home-portfolio-track {
    animation-duration: 30s;
}

.home-portfolio-col:nth-child(3) .home-portfolio-track {
    animation-duration: 27s;
}

.home-portfolio-track.reverse {
    animation-direction: reverse;
}

.home-portfolio-right:hover .home-portfolio-track {
    animation-play-state: paused;
}

.home-portfolio-chip {
    border-radius: 16px;
    overflow: hidden;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    flex-shrink: 0;
    aspect-ratio: 3 / 4;
}

.home-portfolio-chip img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes home-portfolio-scroll {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-50%);
    }
}

@media (max-width: 900px) {
    .home-portfolio-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-portfolio-right {
        height: 420px;
    }

    .home-portfolio-col:nth-child(2) {
        transform: none;
    }
}

/* ---------- Partners (Partnerlerimiz: scroll-linked arc/curve card belt) ---------- */

.home-partners {
    position: relative;
    background: var(--home-bg);
}

.home-partners-last {
    padding-bottom: 20px;
}

.home-partners-scroll {
    position: relative;
    height: calc(340px + var(--partner-count, 4) * 16px);
    min-height: 400px;
}

.home-partners-sticky {
    position: sticky;
    top: 8px;
    height: calc(100vh - 16px);
    max-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-partners-arc {
    position: relative;
    width: 100%;
    height: 100%;
}

.home-partners-backdrop {
    position: absolute;
    left: 50%;
    top: 20%;
    width: 160%;
    height: 160%;
    transform: translate(-50%, 0);
    background: radial-gradient(120% 100% at 50% 0%, rgba(0, 74, 173, 0.22), var(--home-surface) 55%);
    border-radius: 50%;
    z-index: 0;
}

.home-partners-track {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.home-partners-card {
    position: absolute;
    left: 50%;
    top: 36%;
    width: clamp(170px, 15vw, 230px);
    padding: 22px 18px;
    border-radius: 18px;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    will-change: transform, opacity;
    transition: transform 0.12s ease-out, opacity 0.15s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-partners-card.is-active {
    border-color: var(--home-accent);
    box-shadow: 0 0 0 1px var(--home-accent-glow), 0 28px 56px rgba(0, 74, 173, 0.4);
}

.home-partners-card-logo {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.home-partners-card-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.home-partners-card-name {
    font-family: var(--home-font-body);
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--home-text);
    margin-bottom: 8px;
}

.home-partners-card-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--home-text-muted);
}

.home-partners-card.is-active .home-partners-card-name {
    color: var(--home-accent-3);
}

/* ---------- Partners mobile marquee (tek satır, otomatik kayan) ---------- */

.home-partners-marquee {
    display: none;
}

.home-partners-marquee-track {
    gap: 16px;
}

.home-partners-marquee-card {
    flex: 0 0 auto;
    width: 190px;
    padding: 20px 16px;
    border-radius: 18px;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.home-partners-marquee-card-logo {
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.home-partners-marquee-card-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.home-partners-marquee-card-name {
    font-family: var(--home-font-body);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--home-text);
}

@media (max-width: 760px) {
    .home-partners-scroll {
        display: none;
    }

    .home-partners-marquee {
        display: block;
        padding: 48px 0;
    }
}

.home-social-row {
    display: flex;
    gap: 10px;
}

.home-social-icon {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.home-social-icon:hover {
    transform: scale(1.15);
    border-color: var(--home-accent);
    color: var(--home-accent);
}

/* ---------- Footer (slim, single row) ---------- */

.home-footer {
    background: var(--home-surface);
    border-top: 1px solid var(--home-border);
    padding: 18px 32px;
}

.home-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.home-footer-copy {
    font-size: 13px;
    color: var(--home-text-muted);
    white-space: nowrap;
}

.home-footer-social {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.home-footer-phone {
    margin-left: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--home-text);
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s ease;
}

.home-footer-phone:hover {
    color: var(--home-accent);
}

.home-footer-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.home-footer-email {
    font-size: 13px;
    font-weight: 600;
    color: var(--home-text-muted);
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.15s ease;
}

.home-footer-email:hover {
    color: var(--home-accent);
}

.home-footer-contact-btn {
    white-space: nowrap;
    padding: 9px 20px;
    font-size: 12.5px;
}

@media (max-width: 760px) {
    .home-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .home-footer-contact {
        width: 100%;
        justify-content: center;
    }
}

.home-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--home-text-muted);
    cursor: pointer;
}

.home-consent input {
    margin-top: 2px;
    accent-color: var(--home-accent);
}

.home-kvkk-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    color: var(--home-accent);
    text-decoration: underline;
    cursor: pointer;
}

.home-newsletter-status {
    font-size: 13px;
    min-height: 16px;
}

.home-newsletter-status.success {
    color: #4ade80;
}

.home-newsletter-status.error {
    color: #f87171;
}

/* ---------- KVKK / Aydınlatma Metni modal ---------- */

.home-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 90;
}

.home-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.home-modal {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    max-width: 560px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    transform: translateY(10px);
    transition: transform 0.2s ease;
}

.home-modal-overlay.open .home-modal {
    transform: translateY(0);
}

.home-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    border-bottom: 1px solid var(--home-border);
}

.home-modal-header h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
}

.home-modal-close {
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: var(--home-text-muted);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.home-modal-close:hover {
    color: var(--home-text);
}

.home-modal-body {
    padding: 22px 26px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.7;
    color: var(--home-text-muted);
}

.home-modal-body h3 {
    color: var(--home-text);
    font-size: 14px;
    margin: 18px 0 6px;
}

.home-modal-body p:first-child {
    margin-top: 0;
}

.home-modal-footer {
    padding: 18px 26px;
    border-top: 1px solid var(--home-border);
    display: flex;
    justify-content: flex-end;
}

/* ---------- Newsletter OTP modal (boxed code entry) ---------- */

.home-otp-modal {
    position: relative;
    max-width: 420px;
    max-height: 88vh;
    padding: 40px 32px 32px;
    align-items: center;
    text-align: center;
    gap: 0;
    overflow-y: auto;
}

.home-otp-modal .home-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
}

.home-otp-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, var(--home-accent-glow), transparent 70%);
    color: var(--home-accent-3);
    margin: 0 auto 14px;
}

.home-otp-modal-icon svg {
    width: 26px;
    height: 26px;
}

.home-otp-modal h2 {
    margin: 0 0 6px;
    font-size: 19px;
    font-weight: 800;
    color: var(--home-text);
}

.home-otp-modal-subtitle {
    margin: 0 0 22px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--home-text-muted);
}

.home-otp-modal-subtitle strong {
    color: var(--home-text);
    font-weight: 700;
}

.home-otp-boxes {
    display: flex;
    gap: 9px;
    justify-content: center;
    margin-bottom: 14px;
}

.home-otp-box {
    width: 44px;
    height: 52px;
    text-align: center;
    font-size: 21px;
    font-weight: 800;
    font-family: inherit;
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.home-otp-box:focus {
    border-color: var(--home-accent);
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.home-otp-box.filled {
    border-color: var(--home-accent-3);
}

.home-otp-boxes.error .home-otp-box {
    border-color: #f87171;
    animation: home-otp-shake 0.4s ease;
}

@keyframes home-otp-shake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

.home-otp-confirm-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

.home-otp-spinner {
    display: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    animation: home-otp-spin 0.7s linear infinite;
}

.home-otp-confirm-btn.loading .home-otp-spinner {
    display: inline-block;
}

.home-otp-confirm-btn.loading .home-otp-confirm-label {
    opacity: 0.85;
}

.home-otp-confirm-btn.success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

@keyframes home-otp-spin {
    to { transform: rotate(360deg); }
}

.home-otp-resend {
    margin-top: 14px;
    background: none;
    border: none;
    font: inherit;
    font-size: 13px;
    color: var(--home-text-muted);
    cursor: pointer;
    text-decoration: underline;
}

.home-otp-resend:disabled {
    opacity: 0.5;
    cursor: default;
    text-decoration: none;
}

.home-otp-consent {
    margin: 18px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--home-text-muted);
}

.home-otp-kvkk-panel {
    width: 100%;
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
    text-align: left;
}

.home-otp-kvkk-panel.open {
    grid-template-rows: 1fr;
}

.home-otp-kvkk-panel-inner {
    overflow: hidden;
    min-height: 0;
}

.home-otp-kvkk-panel-content {
    padding-top: 16px;
    margin-top: 10px;
    border-top: 1px solid var(--home-border);
    max-height: 220px;
    overflow-y: auto;
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--home-text-muted);
}

.home-otp-kvkk-panel-content h3 {
    color: var(--home-text);
    font-size: 13px;
    margin: 14px 0 4px;
}

.home-otp-kvkk-panel-content h3:first-child,
.home-otp-kvkk-panel-content p:first-child {
    margin-top: 0;
}

@media (max-width: 420px) {
    .home-otp-modal {
        padding: 36px 20px 24px;
    }

    .home-otp-boxes {
        gap: 6px;
    }

    .home-otp-box {
        width: 36px;
        height: 46px;
        font-size: 18px;
    }
}

/* ---------- Premium interaction utilities ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(.16, .8, .28, 1), transform 0.8s cubic-bezier(.16, .8, .28, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-tilt] {
    transition: transform 0.35s cubic-bezier(.16, .8, .28, 1), border-color 0.2s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.home-cursor-tag {
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%) scale(0.55);
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-3) 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 15px 26px;
    border-radius: 999px;
    pointer-events: none;
    z-index: 200;
    opacity: 0;
    white-space: nowrap;
    box-shadow: 0 4px 16px var(--home-accent-glow), 0 24px 60px rgba(0, 74, 173, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    transition: opacity 0.25s ease, transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
}

.home-cursor-tag.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    animation: home-cursor-tag-pulse 1.6s ease-in-out infinite;
}

@keyframes home-cursor-tag-pulse {
    0%, 100% { box-shadow: 0 4px 16px var(--home-accent-glow), 0 24px 60px rgba(0, 74, 173, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset; }
    50% { box-shadow: 0 4px 20px var(--home-accent-glow), 0 28px 74px rgba(0, 74, 173, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.22) inset; }
}

@media (hover: none) {
    .home-cursor-tag {
        display: none;
    }
}

.home-grain {
    position: relative;
}

.home-grain::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.06;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.home-eyebrow-line {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--home-accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-eyebrow-line::before {
    content: "";
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--home-accent), var(--home-accent-2));
    border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
    [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-slider-track {
        animation: none;
    }

    .home-project-gallery-item {
        opacity: 1;
        clip-path: none;
        transform: none;
        transition: none;
    }

    .home-text-gradient {
        animation: none;
        transform: none;
    }

    .home-service-card,
    .home-service-card::before,
    .home-service-card .home-service-card-media img {
        animation: none;
    }

    .home-service-card[data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .home-services-pin-sticky {
        position: relative;
        top: auto;
        transform: none;
        filter: none;
    }

    .home-services-pin-stack {
        height: auto;
    }

    .home-service-card-media {
        clip-path: none;
        transition: none;
    }
}

/* ---------- Generic inner pages (Portfolio / References / Contact) ---------- */

.home-page-header {
    padding: 128px 24px 32px;
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}

.home-page-header h1 {
    font-size: clamp(30px, 5vw, 48px);
    font-weight: 800;
    margin: 0 0 12px;
}

.home-page-header p {
    color: var(--home-text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.home-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px 100px;
    scroll-margin-top: 96px;
}

.home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 28px;
}

.home-card {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 18px;
    overflow: hidden;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.home-card:hover {
    border-color: var(--home-accent);
    transform: translateY(-3px);
}

.home-card-media {
    aspect-ratio: 4 / 3;
    background: #0c0e1a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-card-media img,
.home-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-card-body {
    padding: 20px;
}

.home-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 6px;
}

.home-card-meta {
    font-size: 13px;
    color: var(--home-text-muted);
}

.home-empty-state {
    text-align: center;
    color: var(--home-text-muted);
    padding: 60px 20px;
    font-size: 15px;
}

/* ---------- Contact page ---------- */

.home-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(0, 74, 173, 0.12);
    border: 1px solid rgba(0, 74, 173, 0.3);
    color: var(--home-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-contact-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 32px;
    align-items: start;
}

.home-contact-form-card,
.home-contact-faq-card,
.home-contact-social-card {
    position: relative;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 24px;
    padding: 44px;
    overflow: hidden;
}

.home-contact-form-card::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--home-accent-glow), transparent 65%);
    pointer-events: none;
}

.home-contact-form-card h2,
.home-contact-faq-card h2,
.home-contact-social-card h3 {
    position: relative;
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 800;
}

.home-contact-social-card h3 {
    font-size: 18px;
    margin-bottom: 18px;
}

.home-contact-form-intro {
    position: relative;
    margin: 0 0 32px;
    color: var(--home-text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.home-contact-form-card form {
    position: relative;
}

.home-contact-otp-trigger {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 8px;
}

.home-contact-side {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.home-faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-faq-item {
    position: relative;
    border: 1px solid var(--home-border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.2s ease;
}

.home-faq-item:hover {
    border-color: rgba(0, 74, 173, 0.4);
}

.home-faq-item.open {
    border-color: var(--home-accent);
}

.home-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 700;
    color: var(--home-text);
    cursor: pointer;
}

.home-faq-icon {
    flex-shrink: 0;
    color: var(--home-accent);
    transition: transform 0.25s ease;
}

.home-faq-item.open .home-faq-icon {
    transform: rotate(135deg);
}

.home-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.home-faq-answer-inner {
    padding: 0 20px 20px;
    color: var(--home-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.home-contact-social-row {
    margin-bottom: 20px;
}

.home-contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.home-contact-email-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--home-text);
    font-size: 15px;
    font-weight: 700;
    transition: color 0.15s ease;
}

.home-contact-email-link:hover {
    color: var(--home-accent);
}

/* ---------- Forms (Career, etc.) ---------- */

.home-form-card {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 20px;
    padding: 36px;
    max-width: 760px;
    margin: 0 auto;
}

.home-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.home-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 4px;
}

.home-field-wide {
    grid-column: 1 / -1;
}

.home-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--home-text);
}

.home-input {
    border: 1px solid var(--home-border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.04);
    color: var(--home-text);
    width: 100%;
}

.home-input::placeholder {
    color: var(--home-text-muted);
}

.home-input:focus {
    outline: none;
    border-color: var(--home-accent);
    background: rgba(255, 255, 255, 0.07);
}

.home-field-error {
    color: #f87171;
    font-size: 12px;
}

.home-field-optional-hint {
    font-weight: 400;
    color: var(--home-text-muted);
}

[data-service-select] {
    position: relative;
}

.home-service-select-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    cursor: pointer;
}

.home-service-select-btn span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-service-select-btn svg {
    flex-shrink: 0;
    color: var(--home-text-muted);
    transition: transform 0.2s ease;
}

[data-service-select].open .home-service-select-btn svg {
    transform: rotate(180deg);
}

.home-service-select-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: 240px;
    overflow-y: auto;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

[data-service-select].open .home-service-select-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.home-service-select-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--home-text);
    cursor: pointer;
    transition: background 0.15s ease;
}

.home-service-select-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.home-service-select-option input[type="checkbox"] {
    accent-color: var(--home-accent);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.home-alert-error.validation-summary-errors,
.home-alert-error:not([data-valmsg-summary]):not(:empty) {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #f87171;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 14px;
}

.home-alert-error ul {
    margin: 0;
    padding-left: 18px;
}

.home-otp-status {
    font-size: 13px;
    margin-top: 8px;
    min-height: 18px;
}

.home-otp-status.success {
    color: #4ade80;
}

.home-otp-status.error {
    color: #f87171;
}

.home-dropzone {
    border: 2px dashed var(--home-border);
    border-radius: 10px;
    padding: 28px;
    text-align: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.home-dropzone:hover,
.home-dropzone.active {
    border-color: var(--home-accent);
    background: rgba(0, 74, 173, 0.06);
}

.home-dropzone input[type="file"] {
    display: none;
}

.home-dropzone-label {
    font-size: 14px;
    color: var(--home-text-muted);
}

.home-dropzone-filename {
    font-size: 14px;
    font-weight: 600;
    color: var(--home-accent);
    margin-top: 8px;
}

.home-form-actions {
    margin-top: 28px;
    display: flex;
    justify-content: flex-end;
}

/* ---------- Career page (form + right-aligned stacked title) ---------- */

.home-career-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.home-career-form-col .home-form-card {
    margin: 0;
    max-width: none;
}

.home-career-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.home-career-stack-word {
    display: block;
    font-family: var(--home-font-body);
    font-weight: 900;
    font-size: clamp(38px, 7.4vw, 104px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-align: right;
    background: linear-gradient(to right top, var(--home-accent-3) 0%, var(--home-accent-3) 35%, var(--home-accent) 65%, var(--home-bg) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.home-career-form-col[data-reveal="left"] {
    transform: translateX(-60px);
}

.home-career-stack-word[data-reveal="right"] {
    transform: translateX(60px);
}

.home-career-form-col[data-reveal].is-visible,
.home-career-stack-word[data-reveal].is-visible {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 900px) {
    .home-career-layout {
        grid-template-columns: 1fr;
    }

    .home-career-stack {
        align-items: center;
        margin-top: 32px;
        order: 2;
    }

    .home-career-stack-word {
        text-align: center;
        font-size: clamp(30px, 12vw, 52px);
    }
}

/* ---------- OTP success (dönen yeşil tikli onay animasyonu) ---------- */

.home-otp-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    padding: 8px 0 4px;
}

.home-otp-success-check {
    width: 76px;
    height: 76px;
    margin-bottom: 8px;
}

.home-otp-success-check svg {
    width: 100%;
    height: 100%;
}

.home-otp-success-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 3;
    stroke: #22c55e;
    stroke-miterlimit: 10;
    animation: home-otp-success-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.home-otp-success-tick {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3;
    stroke: #22c55e;
    stroke-linecap: round;
    stroke-linejoin: round;
    animation: home-otp-success-tick 0.35s 0.55s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

@keyframes home-otp-success-circle {
    to { stroke-dashoffset: 0; }
}

@keyframes home-otp-success-tick {
    to { stroke-dashoffset: 0; }
}

.home-otp-success h2 {
    margin: 4px 0 0;
    font-size: 19px;
    font-weight: 800;
    color: var(--home-text);
}

.home-otp-success p {
    margin: 0 0 10px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--home-text-muted);
    max-width: 320px;
}

.home-otp-success .home-btn-primary {
    width: 100%;
    justify-content: center;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

/* ---------- Blog ---------- */

.home-blog-filter-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 32px;
}

.home-blog-filter-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--home-text);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--home-border);
    cursor: pointer;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.home-blog-filter-toggle:hover {
    border-color: var(--home-accent);
    transform: translateY(-2px);
}

.home-blog-filter-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--home-accent);
}

.home-blog-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 11, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 95;
}

.home-blog-filter-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.home-blog-filter-modal {
    position: relative;
    width: min(640px, 100%);
    max-height: 86dvh;
    overflow-y: auto;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--home-surface), var(--home-surface)) padding-box,
        linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-3) 50%, var(--home-accent-2) 100%) border-box;
    border-radius: 24px;
    padding: 36px 28px 28px;
    transform: scale(0.94) translateY(24px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(.16, .8, .28, 1), opacity 0.3s ease;
}

.home-blog-filter-overlay.open .home-blog-filter-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.home-blog-filter-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(6, 7, 15, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.home-blog-filter-close:hover {
    border-color: var(--home-accent);
    color: var(--home-accent);
    transform: rotate(90deg);
}

.home-blog-filter-modal .home-blog-toolbar {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.home-blog-toolbar {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 44px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--home-border);
}

.home-blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.home-blog-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--home-text-muted);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border: 1px solid var(--home-border);
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(.16, .8, .28, 1), box-shadow 0.25s ease;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.home-blog-cat-pill:hover {
    border-color: var(--home-accent);
    color: var(--home-text);
    transform: translateY(-2px) scale(1.03);
}

.home-blog-cat-pill.active {
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 32px rgba(0, 74, 173, 0.35);
}

.home-blog-cat-pill.active:hover {
    transform: translateY(-2px);
}

.home-blog-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.home-blog-search-box,
.home-blog-select-box {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    padding: 0 16px;
    color: var(--home-text-muted);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.home-blog-search-box:hover,
.home-blog-select-box:hover {
    border-color: rgba(0, 74, 173, 0.5);
}

.home-blog-search-box:focus-within,
.home-blog-select-box:focus-within {
    border-color: var(--home-accent);
    background: rgba(255, 255, 255, 0.05);
}

.home-blog-search-box {
    flex: 1;
    min-width: 200px;
}

.home-blog-search-box input {
    flex: 1;
    min-width: 0;
    background: transparent;
    border: none;
    outline: none;
    color: var(--home-text);
    font-family: inherit;
    font-size: 14px;
}

.home-blog-search-box input::placeholder {
    color: var(--home-text-muted);
}

.home-blog-select-box {
    position: relative;
    min-width: 190px;
    padding: 0;
    cursor: pointer;
}

.home-blog-select-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--home-text-muted);
    pointer-events: none;
}

.home-blog-select-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--home-text-muted);
    pointer-events: none;
}

.home-blog-select-box select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0 38px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--home-text);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    appearance: none;
}

.home-blog-select-box select option {
    background: var(--home-surface);
    color: var(--home-text);
}

.home-blog-search-btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.home-blog-search-btn:hover {
    opacity: 0.9;
}

.home-blog-clear-btn {
    font-size: 13px;
    font-weight: 700;
    color: var(--home-text-muted);
    text-decoration: underline;
    white-space: nowrap;
}

.home-blog-clear-btn:hover {
    color: var(--home-accent);
}

.home-blog-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
    color: #fff;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    width: fit-content;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* ---------- Blog mosaic (asimetrik kapak grid'i, neonshake.pl referanslı) ---------- */

.home-blog-mosaic {
    max-width: 1440px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: clamp(160px, 19vw, 240px);
    gap: 16px;
}

.home-blog-mosaic-tile {
    position: relative;
    display: block;
    grid-column: span 1;
    grid-row: span 1;
    border-radius: 18px;
    overflow: hidden;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    cursor: pointer;
    text-decoration: none;
}

.home-blog-mosaic-tile.is-tall {
    grid-row: span 2;
}

.home-blog-mosaic-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.16, .8, .28, 1);
}

.home-blog-mosaic-tile:hover .home-blog-mosaic-media {
    transform: scale(1.08);
}

.home-blog-mosaic-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 26px;
    background: linear-gradient(135deg, rgba(0, 74, 173, 0.92) 0%, rgba(45, 143, 255, 0.92) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-blog-mosaic-tile:hover .home-blog-mosaic-overlay {
    opacity: 1;
}

.home-blog-mosaic-cat {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.home-blog-mosaic-title {
    margin: 0;
    font-size: clamp(16px, 1.6vw, 22px);
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
}

.home-blog-mosaic-desc {
    margin: 0;
    max-width: 42ch;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.85);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-mosaic-tile[data-reveal] {
    opacity: 0;
    transform: translateY(36px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(.16, .8, .28, 1), transform 0.8s cubic-bezier(.16, .8, .28, 1);
}

.home-blog-mosaic-tile[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 900px) {
    .home-blog-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-blog-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .home-blog-mosaic-tile.is-tall {
        grid-row: span 1;
    }
}

.home-blog-grid .home-blog-card {
    display: flex;
    flex-direction: column;
}

.home-blog-card-media {
    position: relative;
    overflow: hidden;
}

.home-blog-card-media img {
    transition: transform 0.4s ease;
}

.home-blog-card:hover .home-blog-card-media img {
    transform: scale(1.06);
}

.home-blog-card-media .home-blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
}

.home-blog-card-excerpt {
    font-size: 13px;
    color: var(--home-text-muted);
    margin: 0 0 10px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--home-text-muted);
}

.home-blog-meta-sm {
    font-size: 12px;
    margin-bottom: 10px;
}

.home-blog-meta-lg {
    font-size: 14px;
    margin-top: 6px;
}

.home-blog-stats {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}

.home-blog-stats-sm {
    gap: 0;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--home-border);
}

.home-blog-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--home-text-muted);
}

.home-blog-rating {
    position: relative;
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    letter-spacing: 2px;
}

.home-blog-rating-track {
    color: rgba(255, 255, 255, 0.15);
}

.home-blog-rating-fill {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: #fbbf24;
    white-space: nowrap;
}

.home-blog-rating-sm {
    font-size: 12px;
}

.home-blog-rating-lg {
    font-size: 22px;
    letter-spacing: 3px;
}

.home-blog-rating-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--home-text-muted);
    margin-left: 10px;
}

.home-blog-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 48px;
}

.home-blog-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    border-radius: 10px;
    border: 1px solid var(--home-border);
    color: var(--home-text-muted);
    font-size: 14px;
    font-weight: 600;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.home-blog-page-link:hover {
    border-color: var(--home-accent);
    color: var(--home-text);
}

.home-blog-page-link.active {
    background: var(--home-accent);
    border-color: var(--home-accent);
    color: #fff;
}

/* ---------- Blog article (detail) ---------- */

.home-blog-article-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 160px 24px 100px;
}

.home-blog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--home-text-muted);
    margin-bottom: 28px;
}

.home-blog-breadcrumb a:hover {
    color: var(--home-accent);
}

.home-blog-breadcrumb-current {
    color: var(--home-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 320px;
}

.home-blog-article-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 32px;
}

.home-blog-article-header h1 {
    font-size: clamp(28px, 4.5vw, 44px);
    font-weight: 800;
    margin: 0;
    line-height: 1.2;
}

.home-blog-article-excerpt {
    font-size: 17px;
    color: var(--home-text-muted);
    line-height: 1.6;
    margin: 0;
}

.home-blog-article-media {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
    background: #0c0e1a;
}

.home-blog-article-media img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.home-blog-article-media iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    display: block;
}

.home-blog-article-media video {
    width: 100%;
    max-height: 480px;
    display: block;
}

.home-blog-article-content {
    font-size: 16px;
    line-height: 1.85;
    color: var(--home-text);
}

.home-blog-article-content p {
    margin: 0 0 22px;
}

.home-blog-article-content h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 40px 0 16px;
}

.home-blog-article-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 32px 0 14px;
}

.home-blog-article-content img {
    max-width: 100%;
    border-radius: 14px;
    margin: 24px 0;
}

.home-blog-article-content ul,
.home-blog-article-content ol {
    margin: 0 0 22px;
    padding-left: 22px;
}

.home-blog-article-content li {
    margin-bottom: 8px;
}

.home-blog-article-content blockquote {
    margin: 28px 0;
    padding: 18px 24px;
    border-left: 3px solid var(--home-accent);
    background: rgba(0, 74, 173, 0.06);
    border-radius: 0 12px 12px 0;
    color: var(--home-text-muted);
    font-style: italic;
}

.home-blog-article-content a {
    color: var(--home-accent);
    text-decoration: underline;
}

.home-blog-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0;
}

.home-blog-tag-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    color: var(--home-text-muted);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
}

.home-blog-engage {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 30px;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 18px;
    margin-bottom: 48px;
}

.home-blog-engage-rating {
    display: flex;
    align-items: center;
}

.home-blog-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    color: var(--home-text);
    border-radius: 999px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.home-blog-like-btn:hover {
    border-color: var(--home-accent);
}

.home-blog-like-btn.liked {
    background: rgba(0, 74, 173, 0.16);
    border-color: var(--home-accent);
    color: var(--home-accent);
}

.home-blog-like-btn.liked svg {
    fill: var(--home-accent);
}

.home-blog-like-btn:active {
    transform: scale(0.96);
}

.home-blog-share {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.home-blog-share-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--home-text-muted);
    margin-right: 4px;
}

.home-blog-share-btn {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--home-border);
    color: var(--home-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.home-blog-share-btn:hover {
    border-color: var(--home-accent);
    color: var(--home-accent);
    transform: translateY(-2px);
}

.home-blog-share-status {
    font-size: 12px;
    color: #4ade80;
    margin-left: 4px;
}

.home-blog-related {
    margin-bottom: 48px;
}

.home-blog-related h2 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 24px;
}

.home-blog-back {
    text-align: center;
}

/* ---------- Portfolio detail (Portföyümüz) ---------- */

.home-pd-hero {
    position: relative;
    height: 78vh;
    min-height: 560px;
    max-height: 840px;
    overflow: hidden;
}

.home-pd-hero-media {
    position: absolute;
    inset: 0;
}

.home-pd-hero-media img,
.home-pd-hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-pd-hero-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6, 7, 15, 0.8) 0%, rgba(6, 7, 15, 0.1) 30%, rgba(6, 7, 15, 0.08) 55%, rgba(6, 7, 15, 0.97) 100%);
}

.home-pd-hero-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 144px 40px 0;
}

.home-pd-breadcrumb {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
}

.home-pd-hero-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.home-pd-hero-content h1 {
    font-size: clamp(32px, 5.6vw, 66px);
    font-weight: 900;
    line-height: 1.08;
    max-width: 920px;
    margin: 16px 0 14px;
}

.home-pd-scroll-cue {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.75);
}

.home-pd-scroll-dot {
    animation: home-pd-scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes home-pd-scroll-bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.4; }
}

.home-pd-body {
    max-width: 1180px;
    margin: 0 auto;
    padding: 68px 32px 10px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 64px;
    align-items: start;
}

.home-pd-sidebar {
    position: sticky;
    top: 116px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.home-pd-cta {
    width: 100%;
    text-align: center;
}

.home-pd-meta-label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--home-text-muted);
    margin-bottom: 10px;
}

.home-pd-content {
    min-width: 0;
}

.home-pd-description {
    font-size: 16px;
}

.home-pd-description > p:first-of-type::first-letter {
    float: left;
    font-size: 62px;
    line-height: 0.8;
    font-weight: 900;
    padding: 6px 10px 0 0;
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-pd-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 18px;
    margin: 44px 0;
}

.home-pd-metric-card {
    position: relative;
    padding: 28px 20px;
    border-radius: 20px;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    text-align: center;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.3s cubic-bezier(.16, .8, .28, 1);
}

.home-pd-metric-card:hover {
    border-color: var(--home-accent);
    transform: translateY(-3px);
}

.home-pd-metric-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 15%, var(--home-accent-glow), transparent 65%);
    opacity: 0.7;
    pointer-events: none;
}

.home-pd-metric-value {
    position: relative;
    display: block;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-pd-metric-label {
    position: relative;
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--home-text-muted);
}

.home-project-gallery {
    margin: 56px 0 48px;
}

.home-project-gallery h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 10px 0 24px;
}

.home-project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    gap: 14px;
    perspective: 1400px;
}

.home-project-gallery-item:nth-child(3n+1) {
    grid-column: span 2;
    grid-row: span 2;
}

.home-project-gallery-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #0c0e1a;
    border: 1px solid var(--home-border);
    padding: 0;
    cursor: pointer;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(40px) rotateX(10deg) scale(0.95);
    transform-origin: center bottom;
    transition: clip-path 0.9s cubic-bezier(.22, .7, .2, 1), opacity 0.8s cubic-bezier(.16, .8, .28, 1),
        transform 0.8s cubic-bezier(.16, .8, .28, 1), border-color 0.25s ease;
}

/* Driven by the gallery section's own (independently confirmed working)
   reveal state rather than each item's own IntersectionObserver entry —
   observing many small grid items individually was unreliable in testing. */
.home-project-gallery.is-visible .home-project-gallery-item {
    opacity: 1;
    clip-path: inset(0 0 0% 0);
    transform: translateY(0) rotateX(0deg) scale(1);
}

.home-project-gallery-item:nth-child(1) { transition-delay: 0ms; }
.home-project-gallery-item:nth-child(2) { transition-delay: 80ms; }
.home-project-gallery-item:nth-child(3) { transition-delay: 160ms; }
.home-project-gallery-item:nth-child(4) { transition-delay: 240ms; }
.home-project-gallery-item:nth-child(5) { transition-delay: 320ms; }
.home-project-gallery-item:nth-child(6) { transition-delay: 400ms; }

.home-project-gallery-item:hover {
    border-color: var(--home-accent);
}

.home-project-gallery-item img,
.home-project-gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(.16, .8, .28, 1);
}

.home-project-gallery-item:hover img,
.home-project-gallery-item:hover video {
    transform: scale(1.06);
}

.home-project-gallery-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.home-project-gallery-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    text-align: left;
}

.home-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6, 6, 12, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 120;
}

.home-lightbox-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.home-lightbox-stage {
    position: relative;
    max-width: min(90vw, 1100px);
    max-height: 84vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-lightbox-stage img,
.home-lightbox-stage video {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 14px;
    display: block;
}

.home-lightbox-caption {
    margin-top: 14px;
    font-size: 14px;
    color: var(--home-text-muted);
    text-align: center;
}

.home-lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.home-lightbox-nav {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 999px;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease, background 0.15s ease;
    flex-shrink: 0;
}

.home-lightbox-nav:hover {
    border-color: var(--home-accent);
    background: rgba(0, 74, 173, 0.16);
}

.home-pd-next {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    max-width: 1180px;
    margin: 70px auto 40px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--home-border);
}

.home-pd-next-media {
    position: absolute;
    inset: 0;
}

.home-pd-next-media img,
.home-pd-next-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.85) brightness(0.55);
    transition: transform 0.6s cubic-bezier(.16, .8, .28, 1), filter 0.4s ease;
}

.home-pd-next:hover .home-pd-next-media img,
.home-pd-next:hover .home-pd-next-media video {
    transform: scale(1.06);
    filter: saturate(1) brightness(0.4);
}

.home-pd-next::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 7, 15, 0) 15%, rgba(6, 7, 15, 0.92) 100%);
}

.home-pd-next-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    padding: 44px 48px;
}

.home-pd-next-content h2 {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 900;
    margin: 10px 0 0;
    line-height: 1.15;
}

.home-pd-next-arrow {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.35s cubic-bezier(.16, .8, .28, 1), background 0.3s ease;
}

.home-pd-next:hover .home-pd-next-arrow {
    transform: scale(1.1) rotate(45deg);
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
}

/* ---------- Public error page (404 / 500) ---------- */

.home-error-page {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 24px 100px;
    overflow: hidden;
}

.home-error-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(500px 400px at 50% 20%, var(--home-accent-glow), transparent 65%);
    pointer-events: none;
}

.home-error-code {
    position: relative;
    font-size: clamp(90px, 18vw, 200px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.home-error-title {
    position: relative;
    font-size: clamp(24px, 3.4vw, 34px);
    font-weight: 800;
    margin: 8px 0 14px;
}

.home-error-text {
    position: relative;
    max-width: 480px;
    color: var(--home-text-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 32px;
}

.home-error-actions {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ---------- Portfolio (Portföyümüz) ---------- */

.home-portfolio-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 132px 48px 8px;
}

.home-portfolio-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.home-hero-heading-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: center center;
    will-change: transform, opacity;
}

.home-hero-line {
    margin: 0;
    font-family: var(--home-font-body);
    font-weight: 900;
    font-size: clamp(30px, 5.2vw, 74px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--home-text);
}

.home-hero-line + .home-hero-line {
    margin-top: 2px;
}

.home-hero-word-mask {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    padding-top: 0.12em;
    margin-top: -0.12em;
    padding-bottom: 0.1em;
    margin-bottom: -0.1em;
}

.home-hero-word {
    display: inline-block;
    transform: translateY(115%);
    transition: transform 0.9s cubic-bezier(.19, 1, .22, 1);
    will-change: transform;
}

.home-hero-word.is-accent {
    color: var(--home-accent-3);
}

.home-hero-line.is-visible .home-hero-word {
    transform: translateY(0);
}

@media (max-width: 760px) {
    .home-hero-line {
        font-size: clamp(26px, 8vw, 40px);
    }
}

/* ---------- Portfolio masonry (asimetrik proje grid'i) ---------- */

.home-portfolio-masonry {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(160px, 19vw, 240px);
    gap: 16px;
}

.home-portfolio-tile {
    position: relative;
    display: block;
    grid-column: span 1;
    grid-row: span 1;
    border-radius: 18px;
    overflow: hidden;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    transition: transform 0.4s cubic-bezier(.16, .8, .28, 1), box-shadow 0.4s ease;
}

.home-portfolio-tile.is-large {
    grid-column: span 2;
    grid-row: span 2;
}

.home-portfolio-tile:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--home-accent-glow);
}

.home-portfolio-tile-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(.16, .8, .28, 1);
}

.home-portfolio-tile:hover .home-portfolio-tile-media {
    transform: scale(1.08);
}

.home-portfolio-tile-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 20px;
    background: linear-gradient(180deg, rgba(6, 7, 15, 0) 35%, rgba(6, 7, 15, 0.92) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.home-portfolio-tile:hover .home-portfolio-tile-overlay {
    opacity: 1;
}

.home-portfolio-tile-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
}

.home-portfolio-tile.is-large .home-portfolio-tile-title {
    font-size: 22px;
}

.home-portfolio-tile-desc {
    margin: 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-portfolio-tile[data-reveal] {
    opacity: 0;
    transform: translateY(36px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(.16, .8, .28, 1), transform 0.8s cubic-bezier(.16, .8, .28, 1);
}

.home-portfolio-tile[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ---------- Portfolio modal extras (reuses .home-service-modal-* base) ---------- */

.home-portfolio-modal-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.home-portfolio-modal-metric {
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--home-border);
}

.home-portfolio-modal-metric-value {
    font-size: 18px;
    font-weight: 800;
    color: var(--home-accent);
}

.home-portfolio-modal-metric-label {
    font-size: 11px;
    color: var(--home-text-muted);
    margin-top: 2px;
}

.home-portfolio-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.home-portfolio-modal-tag {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--home-text-muted);
    border: 1px solid var(--home-border);
    border-radius: 999px;
    padding: 6px 14px;
}

.home-portfolio-modal-link {
    text-decoration: none;
}

@media (max-width: 900px) {
    .home-portfolio-masonry {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-portfolio-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .home-portfolio-tile.is-large {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ---------- Portfolio stats (admin-defined renkli rakam kartları) ---------- */

.home-portfolio-stats {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px 64px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.home-portfolio-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 320px;
    padding: 32px 28px;
    border-radius: 24px;
    transition: transform 0.4s cubic-bezier(.16, .8, .28, 1), box-shadow 0.4s ease;
}

.home-portfolio-stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.3);
}

.home-portfolio-stat-value {
    font-size: clamp(38px, 4.2vw, 62px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.01em;
}

.home-portfolio-stat-desc {
    margin: 24px 0 0;
    padding-top: 18px;
    border-top: 1px solid;
    font-size: 15px;
    line-height: 1.5;
    opacity: 0.92;
}

.home-portfolio-stat-card[data-reveal] {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(.16, .8, .28, 1), transform 0.8s cubic-bezier(.16, .8, .28, 1);
}

.home-portfolio-stat-card[data-reveal="left"] {
    transform: translateX(-70px);
}

.home-portfolio-stat-card[data-reveal="right"] {
    transform: translateX(70px);
}

.home-portfolio-stat-card[data-reveal].is-visible {
    opacity: 1;
    transform: translateX(0);
}

.home-portfolio-stat-card[data-reveal].is-visible:hover {
    transform: translateY(-8px);
}

@media (max-width: 900px) {
    .home-portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .home-portfolio-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 16px 40px;
    }

    .home-portfolio-stat-card {
        min-height: 170px;
        padding: 18px 16px;
        border-radius: 16px;
    }

    .home-portfolio-stat-value {
        font-size: clamp(24px, 8vw, 34px);
    }

    .home-portfolio-stat-desc {
        margin-top: 12px;
        padding-top: 10px;
        font-size: 12px;
        line-height: 1.4;
    }
}

/* ---------- References (Referanslarımız) ---------- */

.home-references-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 132px 48px 8px;
}

.home-references-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}

.home-references-hero-subtitle {
    margin: 18px auto 0;
    max-width: 620px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--home-text-muted);
}

.home-references-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    max-width: 1080px;
    margin: 36px auto 0;
    padding: 0 24px;
}

.home-references-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--home-text-muted);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(6px);
    border: 1px solid var(--home-border);
    white-space: nowrap;
    text-decoration: none;
    transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.home-references-filter-pill:hover {
    border-color: var(--home-accent);
    color: var(--home-text);
    transform: translateY(-2px) scale(1.03);
}

.home-references-filter-pill.active {
    background: linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-2) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 32px rgba(0, 74, 173, 0.35);
}

.home-references-filter-pill.active:hover {
    transform: translateY(-2px);
}

.home-references-filter-pill svg {
    flex-shrink: 0;
    width: 15px;
    height: 15px;
}

.home-references-grid {
    max-width: 1440px;
    margin: 44px auto 0;
    padding: 0 24px 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.home-reference-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 32px 24px;
    border-radius: 18px;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.home-reference-card:hover {
    border-color: var(--home-accent-glow);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--home-accent-glow);
}

.home-reference-card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 64px;
    width: 100%;
}

.home-reference-card-logo img {
    max-height: 64px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(0.5) opacity(0.85);
    transition: filter 0.3s ease;
}

.home-reference-card:hover .home-reference-card-logo img {
    filter: grayscale(0) opacity(1);
}

.home-reference-card-name {
    font-size: 15px;
    font-weight: 800;
    color: var(--home-accent-3);
    letter-spacing: -0.01em;
}

.home-reference-card[data-reveal="left"] {
    transform: translateX(-80px) scale(0.95);
}

.home-reference-card[data-reveal="right"] {
    transform: translateX(80px) scale(0.95);
}

.home-reference-card[data-reveal].is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

@media (max-width: 900px) {
    .home-references-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .home-references-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 16px 36px;
    }

    .home-reference-card {
        gap: 8px;
        padding: 18px 12px;
        border-radius: 14px;
    }

    .home-reference-card-logo {
        height: 44px;
    }

    .home-reference-card-logo img {
        max-height: 44px;
    }

    .home-reference-card-name {
        font-size: 12px;
    }

    .home-references-hero {
        padding: 108px 24px 4px;
    }
}

/* ---------- Services (Neler Yapıyoruz) ---------- */

.home-services-hero {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 132px 48px 36px;
}

.home-services-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.home-services-hero h1 {
    font-size: clamp(28px, 4.8vw, 52px);
    font-weight: 900;
    line-height: 1.15;
    margin: 20px 0 20px;
    letter-spacing: -0.01em;
}

.home-services-hero p {
    font-size: 16px;
    color: var(--home-text-muted);
    line-height: 1.7;
    margin: 0 auto;
}

.home-services-ticker {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 8px 0 0;
}

.home-services-ticker .home-ticker-item {
    font-size: clamp(28px, 5.2vw, 72px);
}

/* ---------- Work-with-us cards (öne çıkan hizmetler: video/foto hover reveal) ---------- */

.home-work-cards {
    max-width: 1280px;
    margin: 0 auto 24px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-work-card {
    position: relative;
    aspect-ratio: 9 / 15;
    border-radius: 24px;
    overflow: hidden;
    background: var(--home-surface);
    border: none;
    padding: 0;
    cursor: pointer;
    font: inherit;
    color: inherit;
    text-align: left;
    scroll-margin-top: 112px;
}

.home-work-card:nth-child(1) {
    --work-tint: #cfe3ff;
}

.home-work-card:nth-child(2) {
    --work-tint: #9dc9ff;
}

.home-work-card:nth-child(3) {
    --work-tint: #e1edff;
}

.home-work-card-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-work-card-box {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: transparent;
    pointer-events: none;
    transition: background 0.45s cubic-bezier(.16, .8, .28, 1);
}

.home-work-card:hover .home-work-card-box,
.home-work-card:focus-visible .home-work-card-box {
    background: var(--work-tint, #cfe3ff);
}

.home-work-card-name {
    font-size: 21px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
    transition: opacity 0.25s ease;
}

.home-work-card:hover .home-work-card-name,
.home-work-card:focus-visible .home-work-card-name {
    opacity: 0;
}

.home-work-card-hidden {
    position: absolute;
    inset: 24px 26px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s ease 0.05s, transform 0.45s cubic-bezier(.16, .8, .28, 1) 0.05s;
}

.home-work-card:hover .home-work-card-hidden,
.home-work-card:focus-visible .home-work-card-hidden {
    opacity: 1;
    transform: translateY(0);
}

.home-work-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    object-fit: cover;
    margin: 0 auto 14px;
}

.home-work-card-hidden-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: #0b0d16;
    text-align: center;
    letter-spacing: -0.01em;
}

.home-work-card-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #1c2333;
    text-align: center;
}

.home-work-card[data-reveal] {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(.16, .8, .28, 1), transform 0.9s cubic-bezier(.16, .8, .28, 1);
}

.home-work-card[data-reveal="left"] {
    transform: translateX(-90px) rotate(-3deg) scale(0.95);
}

.home-work-card[data-reveal="right"] {
    transform: translateX(90px) rotate(3deg) scale(0.95);
}

.home-work-card[data-reveal].is-visible {
    opacity: 1;
    transform: translateX(0) rotate(0deg) scale(1);
}

@media (max-width: 900px) {
    .home-work-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0;
    }

    .home-work-card {
        aspect-ratio: 4 / 5;
    }
}

/* ---------- Diğer Hizmetlerimiz (öne çıkanların altında, kart grid + kaydırma animasyonu) ---------- */

.home-more-services {
    position: relative;
    background: var(--home-bg);
    padding: clamp(64px, 9vw, 112px) 24px clamp(56px, 8vw, 96px);
}

.home-more-services-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.home-more-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 28px 28px 32px;
    border-radius: 22px;
    font: inherit;
    color: #0b0d16;
    cursor: pointer;
    border: 1px solid rgba(11, 13, 22, 0.06);
    background: #d8e8ff;
    transition: background 0.4s ease, transform 0.4s cubic-bezier(.16, .8, .28, 1), box-shadow 0.4s ease, opacity 0.9s cubic-bezier(.16, .8, .28, 1);
}

.home-more-card:nth-child(3n+2) {
    background: #b9d6ff;
}

.home-more-card:nth-child(3n+3) {
    background: #eaf3ff;
}

.home-more-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 74, 173, 0.3);
    z-index: 2;
}

.home-more-card-title {
    margin: 0 0 16px;
    font-size: 21px;
    font-weight: 800;
    color: #0b0d16;
    letter-spacing: -0.01em;
}

.home-more-card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 18px;
    background: rgba(11, 13, 22, 0.08);
}

.home-more-card-media img,
.home-more-card-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(.16, .8, .28, 1);
}

.home-more-card:hover .home-more-card-media img,
.home-more-card:hover .home-more-card-media video {
    transform: scale(1.06);
}

.home-more-card-desc {
    margin: 0 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #29334a;
}

.home-more-card-cta {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--home-accent);
}

.home-more-card-cta svg {
    transition: transform 0.3s ease;
}

.home-more-card:hover .home-more-card-cta svg {
    transform: translateX(6px);
}

.home-more-card[data-reveal] {
    opacity: 0;
}

.home-more-card[data-reveal="left"] {
    transform: translateX(-80px) scale(0.95);
}

.home-more-card[data-reveal="right"] {
    transform: translateX(80px) scale(0.95);
}

.home-more-card[data-reveal].is-visible {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.home-more-card[data-reveal].is-visible:hover {
    transform: translateY(-10px);
}

@media (max-width: 900px) {
    .home-more-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

.home-text-gradient {
    display: inline-block;
    max-width: 100%;
    padding-right: 0.06em;
    overflow-wrap: break-word;
    word-break: break-word;
    background: linear-gradient(90deg,
        var(--home-accent) 0%, var(--home-accent-3) 20%, var(--home-accent-2) 40%,
        var(--home-accent) 60%, var(--home-accent-3) 80%, var(--home-accent-2) 100%);
    background-size: 250% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation:
        home-gradient-shape 1.2s cubic-bezier(.22, .7, .2, 1) 0.3s both,
        home-gradient-shine 6s linear 1.5s infinite;
}

@keyframes home-gradient-shape {
    0% {
        transform: scale(0.92);
    }

    70% {
        transform: scale(1.06);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes home-gradient-shine {
    to {
        background-position: -250% center;
    }
}

/* ---------- Service detail modal ---------- */

.home-service-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 11, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 95;
}

.home-service-modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.home-service-modal {
    position: relative;
    border: 1px solid transparent;
    background:
        linear-gradient(var(--home-surface), var(--home-surface)) padding-box,
        linear-gradient(135deg, var(--home-accent) 0%, var(--home-accent-3) 50%, var(--home-accent-2) 100%) border-box;
    border-radius: 28px;
    width: min(1160px, 96vw);
    height: min(840px, 90vh);
    display: grid;
    grid-template-columns: 46% 54%;
    overflow: hidden;
    box-shadow: 0 70px 160px rgba(0, 0, 0, 0.65), 0 0 90px rgba(0, 74, 173, 0.3);
    transform: scale(0.94) translateY(24px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(.16, .8, .28, 1), opacity 0.35s ease;
}

.home-service-modal-overlay.open .home-service-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.home-service-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 6;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(6, 7, 15, 0.55);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.home-service-modal-close:hover {
    border-color: var(--home-accent);
    color: var(--home-accent);
    transform: rotate(90deg);
}

.home-service-modal-gallery {
    position: relative;
    height: 100%;
    background: #0c0e1a;
    overflow: hidden;
}

.home-service-gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(.16, .8, .28, 1);
}

.home-service-slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
}

.home-service-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6, 7, 15, 0.35) 0%, transparent 30%);
}

.home-service-slide img,
.home-service-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-service-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(6, 7, 15, 0.55);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.home-service-gallery-nav:hover {
    border-color: var(--home-accent);
    background: rgba(0, 74, 173, 0.3);
}

.home-service-gallery-nav.prev {
    left: 16px;
}

.home-service-gallery-nav.next {
    right: 16px;
}

.home-service-gallery-dots {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.home-service-gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, width 0.2s ease;
}

.home-service-gallery-dot.active {
    background: #fff;
    width: 22px;
}

.home-service-modal-body {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.home-service-modal-body::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -80px;
    width: 440px;
    height: 440px;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle, var(--home-accent-glow), transparent 68%),
        radial-gradient(rgba(255, 255, 255, 0.18) 1.4px, transparent 1.4px);
    background-size: 100% 100%, 24px 24px;
    -webkit-mask-image: radial-gradient(circle, #000 40%, transparent 72%);
    mask-image: radial-gradient(circle, #000 40%, transparent 72%);
}

.home-service-modal-scroll {
    position: relative;
    z-index: 1;
    height: 100%;
    overflow-y: auto;
    padding: 58px 48px 48px;
}

.home-service-modal-body h2 {
    margin: 12px 0 14px;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.15;
}

.home-service-modal-short {
    font-size: 16px;
    color: var(--home-text-muted);
    line-height: 1.6;
    margin: 0 0 22px;
}

.home-service-modal-detail {
    font-size: 15px;
    line-height: 1.8;
    color: var(--home-text);
    margin-bottom: 28px;
}

.home-service-modal-detail p {
    margin: 0 0 18px;
}

.home-service-modal-social {
    display: flex;
    gap: 10px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--home-border);
}

.home-service-modal-projects h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 16px;
}

.home-service-projects-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    max-width: 100%;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.home-service-projects-row::-webkit-scrollbar {
    display: none;
}

.home-service-projects-row.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.home-service-project-card {
    display: block;
    flex: 0 0 170px;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--home-border);
    background: #0c0e1a;
    transition: border-color 0.15s ease, transform 0.15s ease;
    -webkit-user-drag: none;
    user-select: none;
}

.home-service-project-card:hover {
    border-color: var(--home-accent);
    transform: translateY(-3px);
}

.home-service-project-media {
    aspect-ratio: 4 / 3;
}

.home-service-project-media img,
.home-service-project-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-service-project-title {
    display: block;
    padding: 10px 12px;
    font-size: 12px;
    font-weight: 700;
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
    .home-header {
        padding: 10px 0;
    }

    .home-header-inner {
        padding: 0 20px;
        gap: 16px;
    }

    .home-header-pill-nav {
        display: none;
    }

    .home-logo img {
        height: 28px;
    }

    .home-logo-text {
        font-size: 15px;
    }

    .home-references-section {
        text-align: center;
        padding: 8px 12px 56px;
    }

    .home-references {
        display: flex;
        flex-direction: column;
    }

    .home-slider-wrap {
        order: 1;
    }

    .home-references-wall {
        gap: 10px;
    }

    .home-references-wall .home-slider-chip {
        height: 46px;
        padding: 0 8px;
    }

    .home-references-wall .home-slider-track img {
        height: 26px;
        max-width: 100px;
    }

    .home-slider-chip {
        height: 38px;
        padding: 0 8px;
    }

    .home-slider-track img {
        height: 25px;
        max-width: 75px;
    }

    .home-slider-track {
        gap: 6px;
    }

    .home-contact-split {
        grid-template-columns: 1fr;
    }

    .home-contact-form-card,
    .home-contact-faq-card,
    .home-contact-social-card {
        padding: 28px;
    }

    .home-form-grid {
        grid-template-columns: 1fr;
    }

    .home-form-card {
        padding: 24px;
    }

    .home-blog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .home-blog-search-box,
    .home-blog-select-box,
    .home-blog-search-btn {
        width: 100%;
    }

    .home-blog-clear-btn {
        text-align: center;
    }

    .home-blog-article-wrap {
        padding: 130px 20px 60px;
    }

    .home-blog-engage {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-pd-hero {
        height: 62vh;
        min-height: 440px;
    }

    .home-pd-hero-top {
        padding: 160px 22px 0;
    }

    .home-pd-hero-content {
        padding: 0 22px 40px;
    }

    .home-pd-body {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 44px 22px 10px;
    }

    .home-pd-sidebar {
        position: static;
    }

    .home-project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-pd-next {
        min-height: 260px;
        margin: 50px 22px 30px;
    }

    .home-pd-next-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
    }

    .home-pd-next-arrow {
        align-self: flex-end;
    }

    .home-page-header {
        padding: 104px 20px 24px;
    }

    .home-blog-categories {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        margin: 0 -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .home-blog-categories::-webkit-scrollbar {
        display: none;
    }

    .home-blog-cat-pill {
        padding: 9px 16px;
        font-size: 12px;
    }

    .home-portfolio-hero {
        padding: 108px 24px 4px;
    }

    .home-services-hero {
        padding: 108px 24px 28px;
    }

    .home-services-pin-stack {
        height: auto;
    }

    .home-services-pin-sticky {
        position: relative;
        top: auto;
        transform: none;
        filter: none;
    }

    .home-services-grid-wrap {
        border-radius: 0;
        box-shadow: none;
    }

    .home-services-featured-row {
        grid-template-columns: 1fr;
    }

    .home-services-featured-row .home-service-card {
        height: 320px;
    }

    .home-services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
    }

    .home-service-modal-overlay {
        padding: 12px;
    }

    .home-service-modal {
        grid-template-columns: 1fr;
        grid-template-rows: 34vh 1fr;
        width: 100%;
        height: 90dvh;
        max-height: calc(100dvh - 24px);
        border-radius: 22px;
    }

    .home-service-modal-scroll {
        padding: 28px 22px 32px;
    }

    .home-service-modal-body h2 {
        font-size: 23px;
    }

    .home-service-gallery-nav {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 640px) {
    .home-project-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .home-project-gallery-item:nth-child(3n+1) {
        grid-column: span 1;
        grid-row: span 1;
    }
}

