/* ==========================================================================
   Er Yapı Gayrimenkul — Corporate design language
   Editorial serif · refined grotesk · architectural geometry
   Deep navy · warm bronze accent · disciplined hairlines
   ========================================================================== */

:root {
    /* Ink scale — near-black architectural navy, refined tonal steps */
    --ink:         #0A1622;
    --ink-soft:    #16273A;
    --text:        #2A3848;
    --muted:       #697787;
    --gray:        #4A5867;
    --gray-soft:   #C4CCD5;
    --line:        #E8ECF1;
    --line-dark:   #D3DAE1;
    --line-faint:  #F0F3F7;
    --paper:       #F7F8FA;
    --paper-navy:  #F2F5F9;
    --paper-warm:  #FAF9F6;
    --white:       #FFFFFF;
    --panel:       #0A1622;
    --panel-2:     #16273A;

    /* Brand — deep corporate navy, richer hierarchy */
    --brand:       #0A2342;
    --brand-2:     #143A66;
    --brand-3:     #1E4F8A;
    --brand-ink:   #061A30;

    /* Accent — warm architectural bronze (single intentional accent) */
    --accent:      #B8763E;
    --accent-2:    #C8894E;
    --accent-3:    #A86A36;
    --accent-soft: rgba(184, 118, 62, .10);
    --accent-glow: rgba(184, 118, 62, .28);

    --stroke:      #DCE1E7;
    --watermark:   #EEF1F5;
    --orange:      #B8763E;
    --navy:        #0A2342;

    --header-h:    88px;
    --hairline:    1px;
    --rule:        2px;

    /* Radius — disciplined geometry */
    --radius-xs:   3px;
    --radius-sm:   5px;
    --radius-md:   8px;
    --radius-lg:   12px;
    --radius-xl:   16px;
    --radius-full: 9999px;

    /* Shadows — layered, quiet, architectural depth */
    --shadow-xs:   0 1px 2px rgba(10, 22, 34, .04), 0 1px 3px rgba(10, 22, 34, .05);
    --shadow-sm:   0 1px 3px rgba(10, 22, 34, .06), 0 1px 2px rgba(10, 22, 34, .04);
    --shadow-soft: 0 4px 12px rgba(10, 22, 34, .06), 0 2px 4px rgba(10, 22, 34, .04);
    --shadow-card: 0 8px 24px rgba(10, 22, 34, .08), 0 2px 6px rgba(10, 22, 34, .04);
    --shadow-lift: 0 20px 48px rgba(10, 22, 34, .12), 0 6px 14px rgba(10, 22, 34, .06);
    --shadow-ring: 0 0 0 1px rgba(10, 35, 66, .04), 0 8px 24px rgba(10, 22, 34, .07);

    --grad-brand:  linear-gradient(135deg, #0A2342 0%, #143A66 60%, #1E4F8A 100%);
    --grad-accent: linear-gradient(135deg, #C8894E 0%, #B8763E 100%);
    --grad-panel:  linear-gradient(160deg, #0A1622 0%, #16273A 100%);
    --grad-paper:  linear-gradient(180deg, var(--paper-navy) 0%, var(--white) 100%);

    --ease:        cubic-bezier(.22, 1, .36, 1);
    --ease-out:    cubic-bezier(.16, 1, .3, 1);
    --ease-in:     cubic-bezier(.4, 0, 1, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

    --font-d:      "Playfair Display", Georgia, "Times New Roman", serif;
    --font-b:      "Poppins", "Segoe UI", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    /* Sabit başlık (position:fixed .loca-header) yüksekliği kadar boşluk bırak;
       böylece #engineering gibi çapa bağlantıları başlığın altında kalmaz. */
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-b);
    font-weight: 400;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-size: 16px;
    letter-spacing: .005em;
    font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

h1, h2, h3, h4, h5, h6 { font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1; }

::selection { background: var(--accent); color: #fff; }

/* Decorative letters — solid elegant watermark */
.outline-letter {
    font-family: var(--font-d);
    fill: var(--watermark);
    stroke: none;
    font-weight: 700;
}

body.menu-open { overflow: hidden; }
body.page-home { padding-top: 0; }
body:not(.page-home) {
    padding-top: var(--header-h);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body:not(.page-home) > main { flex: 1 0 auto; }
body:not(.page-home) .site-footer { flex-shrink: 0; margin-top: auto; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
button { cursor: pointer; background: none; border: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    background: #000;
    color: #fff;
    padding: 8px 14px;
    z-index: 9999;
}
.skip-link:focus { top: 12px; }

.relative { position: relative; }

/* --------------------------------------------------------------------------
   Header — white, centered logo, 10vw padding
   -------------------------------------------------------------------------- */
.loca-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    padding: 0;
    transition: box-shadow .4s var(--ease), transform .5s var(--ease), background .4s var(--ease);
    border-bottom: var(--hairline) solid var(--line);
}
.loca-header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    transition: width .6s var(--ease);
}
.loca-header.scrolled::after { width: 100%; }
.loca-header.scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 1px 2px rgba(10, 22, 34, .04), 0 8px 28px rgba(10, 22, 34, .06);
}
.menu-open .loca-header {
    background: transparent;
    box-shadow: none;
}
.loca-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    min-height: var(--header-h);
    position: relative;
}

.loca-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    z-index: 90;
    user-select: none;
    position: relative;
    padding: 6px 0;
}
.loca-hamburger {
    width: 32px;
    height: 44px;
    position: relative;
}
.loca-hamburger span {
    position: absolute;
    left: 0;
    height: 2px;
    background: var(--brand);
    transition: transform .3s var(--ease), top .3s .3s, bottom .3s .3s, width .3s var(--ease), left .3s var(--ease);
}
.loca-hamburger span:nth-child(1) { top: 13px; width: 32px; }
.loca-hamburger span:nth-child(2) { top: 50%; width: 22px; transform: translateY(-50%); }
.loca-hamburger span:nth-child(3) { bottom: 13px; width: 32px; }
.loca-menu-trigger:hover .loca-hamburger span:nth-child(2) { width: 32px; }
.loca-menu-text {
    font-family: var(--font-b);
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand);
    transition: color .3s;
}
.menu-open .loca-hamburger span,
.menu-open .loca-menu-text { color: #fff; }
.menu-open .loca-hamburger span { background: #fff; }
.menu-open .loca-hamburger span:nth-child(1) {
    top: calc(50% - 1px);
    width: 38px;
    transform: rotate(45deg);
    transition: top .3s, transform .3s .3s;
}
.menu-open .loca-hamburger span:nth-child(2) { opacity: 0; width: 0; left: 0; }
.menu-open .loca-hamburger span:nth-child(3) {
    bottom: calc(50% - 1px);
    width: 38px;
    transform: rotate(-45deg);
    transition: bottom .3s, transform .3s .3s;
}

.loca-logo-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.loca-logo-img {
    width: 132px;
    height: auto;
    max-width: 42vw;
    object-fit: contain;
    transition: width .35s var(--ease), opacity .3s ease;
}
.loca-header.scrolled .loca-logo-img { width: 116px; }

.loca-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 90;
}
.loca-search-trigger {
    width: 44px;
    height: 44px;
    font-size: 18px;
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: color .3s var(--ease), background .3s var(--ease);
}
.loca-search-trigger:hover { color: var(--accent); background: var(--accent-soft); }
.menu-open .loca-search-trigger { color: #fff; }
.menu-open .loca-logo-img {
    background: transparent;
    padding: 0;
    filter: brightness(0) invert(1);
}

/* Overlay — 4 gray panels + Playfair nav */
.loca-overlay-menu {
    position: fixed;
    inset: 0;
    z-index: 70;
    visibility: hidden;
    pointer-events: none;
}
.loca-overlay-menu.active {
    visibility: visible;
    pointer-events: auto;
}
.menu-layers {
    position: absolute;
    inset: 0;
    display: flex;
    z-index: 1;
}
.menu-layers span {
    flex: 1;
    height: 100%;
}
.menu-layers span i {
    display: block;
    height: 100%;
    width: 0;
    margin-left: auto;
    background: var(--grad-panel);
    transition: width .7s var(--ease);
}
.loca-overlay-menu.active .menu-layers span i {
    width: calc(100% + 1px);
    margin-left: 0;
}
.loca-overlay-menu.active .menu-layers span:nth-child(1) i { transition-delay: 0s; }
.loca-overlay-menu.active .menu-layers span:nth-child(2) i { transition-delay: .06s; }
.loca-overlay-menu.active .menu-layers span:nth-child(3) i { transition-delay: .12s; }
.loca-overlay-menu.active .menu-layers span:nth-child(4) i { transition-delay: .18s; }
.menu-centers {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(1200px, calc(100% - 80px));
    z-index: 5;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 40px;
    align-items: center;
    color: #fff;
    opacity: 0;
    transition: opacity .4s ease .15s;
}
.loca-overlay-menu.active .menu-centers { opacity: 1; }

.home-menu > li {
    opacity: 0;
    transform: translateX(20px);
    transition: .45s var(--ease);
}
.loca-overlay-menu.actived .home-menu > li {
    opacity: 1;
    transform: none;
}
.home-menu > li:nth-child(1) { transition-delay: .05s; }
.home-menu > li:nth-child(2) { transition-delay: .12s; }
.home-menu > li:nth-child(3) { transition-delay: .19s; }
.home-menu > li:nth-child(4) { transition-delay: .26s; }
.home-menu > li:nth-child(5) { transition-delay: .33s; }
.home-menu > li:nth-child(6) { transition-delay: .4s; }

.home-menu > li > a {
    font-family: var(--font-d);
    font-size: clamp(1.6rem, 4.8vh, 2.6rem);
    font-weight: 500;
    color: #fff;
    display: inline-block;
    padding: 4px 0;
    position: relative;
    transition: color .35s var(--ease), padding-left .35s var(--ease);
}
.home-menu > li > a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
    transform: translateY(-50%);
    transition: width .35s var(--ease);
}
.home-menu > li > a:hover { padding-left: 44px; }
.home-menu > li > a:hover::before { width: 30px; }
.home-menu > li > a:hover,
.home-menu > li > a.active { color: var(--accent); }
.home-menu .sub {
    margin: 6px 0 12px 2px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.home-menu .sub a {
    font-family: var(--font-b);
    font-size: clamp(.92rem, 2vh, 1.05rem);
    font-weight: 400;
    color: rgba(255,255,255,.6);
    letter-spacing: .02em;
    transition: color .3s var(--ease), transform .3s var(--ease);
}
.home-menu .sub a:hover { color: #fff; transform: translateX(8px); display: inline-block; }

.menu-right { text-align: right; }
.menu-right img {
    width: 190px;
    max-width: 100%;
    margin-left: auto;
    margin-bottom: 18px;
    background: transparent;
    padding: 0;
    filter: brightness(0) invert(1);
}
.menu-right .company {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin-bottom: 18px;
    line-height: 1.6;
}
.menu-right p { font-size: .92rem; color: rgba(255,255,255,.75); margin-bottom: 8px; }
.menu-right a:hover { color: #fff; }
.menu-langs { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.lang-btn {
    min-width: 42px;
    padding: 6px 10px;
    border: var(--hairline) solid rgba(255,255,255,.35);
    color: #fff;
    font-size: .72rem;
    font-weight: 500;
    letter-spacing: .1em;
    transition: .25s var(--ease);
}
.lang-btn.active,
.lang-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-lang-selector .lang-btn {
    border-color: var(--line-dark);
    color: var(--brand);
}
.footer-lang-selector .lang-btn.active,
.footer-lang-selector .lang-btn:hover {
    background: var(--brand);
    color: #fff;
    border-color: var(--brand);
}

/* Search overlay */
.loca-fullscreen-search {
    position: fixed;
    inset: 0;
    background: var(--grad-panel);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: .35s var(--ease);
    padding: 24px;
}
.loca-fullscreen-search.active { opacity: 1; visibility: visible; }
.loca-search-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 90px;
    height: 90px;
}
.loca-search-close-btn span {
    position: absolute;
    left: 14px;
    width: 63px;
    height: 1px;
    background: #fff;
    top: 50%;
}
.loca-search-close-btn span:nth-child(1) { transform: rotate(-45deg); }
.loca-search-close-btn span:nth-child(2) { transform: rotate(45deg); }
.loca-search-inner-box { width: min(800px, 100%); color: #fff; }
.loca-search-heading {
    font-family: var(--font-d);
    font-weight: 700;
    font-size: 30px;
    margin-bottom: 8px;
}
.loca-search-bar-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #fff;
}
.loca-search-bar-form input {
    flex: 1;
    background: transparent;
    border: 0;
    outline: 0;
    color: #fff;
    font-size: 20px;
    height: 53px;
    padding-right: 16px;
}
.loca-search-bar-form input::placeholder { color: rgba(255,255,255,.45); }
.loca-search-submit-icon { color: #fff; font-size: 28px; padding: 8px; }

/* --------------------------------------------------------------------------
   Hero slider — Modern Luxury Architecture System
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 640px;
    max-height: 980px;
    overflow: hidden;
    background: #06121E;
}
.hero-slides-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1), visibility 1.1s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}
.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    transition: transform 9s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}
.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(4, 14, 26, 0.92) 0%, rgba(6, 18, 30, 0.65) 46%, rgba(10, 22, 34, 0.32) 100%),
        linear-gradient(180deg, rgba(4, 14, 26, 0.35) 0%, transparent 35%, rgba(4, 14, 26, 0.65) 100%);
    pointer-events: none;
}
.hero-content-wrap {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 5;
    padding: calc(var(--header-h) + 16px) 5vw 70px;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
}
.hero-content {
    width: 100%;
    max-width: 820px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 22px;
    opacity: 0;
    transform: translateY(20px);
}
.hero-eyebrow-badge {
    font-family: var(--font-b);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #E8B478;
    background: rgba(184, 118, 62, 0.16);
    border: 1px solid rgba(200, 137, 78, 0.35);
    padding: 8px 20px;
    border-radius: 9999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}
.hero-eyebrow-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #C8894E;
    box-shadow: 0 0 8px #C8894E;
    display: inline-block;
}
.hero-title {
    font-family: var(--font-d);
    font-weight: 600;
    font-size: clamp(2.4rem, 4.8vw, 4.4rem);
    line-height: 1.14;
    color: #FFFFFF;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
    max-width: 780px;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(24px);
    word-break: normal;
    overflow-wrap: break-word;
}
.hero-sub {
    font-family: var(--font-b);
    font-size: clamp(0.98rem, 1.22vw, 1.14rem);
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin-bottom: 34px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(24px);
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(24px);
}
.hero-slide.active .hero-eyebrow {
    animation: heroSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}
.hero-slide.active .hero-title {
    animation: heroSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}
.hero-slide.active .hero-sub {
    animation: heroSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
}
.hero-slide.active .hero-actions {
    animation: heroSlideUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes heroSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 0 32px;
    font-family: var(--font-b);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: all 0.35s var(--ease);
    text-decoration: none;
    cursor: pointer;
}
.btn-hero.primary {
    background: linear-gradient(135deg, #C8894E 0%, #B8763E 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(184, 118, 62, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-hero.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 34px rgba(184, 118, 62, 0.58);
    background: linear-gradient(135deg, #D4985D 0%, #C8894E 100%);
}
.btn-hero.primary i {
    transition: transform 0.35s var(--ease);
}
.btn-hero.primary:hover i {
    transform: translateX(5px);
}
.btn-hero.ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-hero.ghost:hover {
    background: #ffffff;
    color: var(--brand);
    border-color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

/* Navigation Controls (Arrows) */
.hero-nav-controls {
    position: absolute;
    right: 5vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 10;
}
.hero-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 22, 34, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.35s var(--ease);
    outline: none;
}
.hero-nav-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(184, 118, 62, 0.5);
}

/* Hero Bottom Bar: Indicators & Counter */
.hero-bottom-bar {
    position: absolute;
    left: 5vw;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 22px;
    z-index: 10;
}
.hero-counter {
    font-family: var(--font-d);
    font-size: 1.12rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.05em;
}
.hero-counter-current {
    font-weight: 700;
    color: #E8B478;
}
.hero-counter-sep {
    opacity: 0.4;
    font-size: 0.85rem;
}
.hero-counter-total {
    opacity: 0.6;
    font-size: 0.95rem;
}
.hero-indicators {
    display: flex;
    align-items: center;
    gap: 8px;
}
.hero-indicator {
    background: none;
    border: none;
    padding: 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    outline: none;
}
.hero-ind-bar {
    width: 32px;
    height: 3px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    display: block;
    transition: width 0.4s var(--ease), background 0.4s var(--ease);
}
.hero-ind-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 0%;
    background: #C8894E;
    border-radius: 3px;
    transition: width 0.1s linear;
}
.hero-indicator.active .hero-ind-bar {
    width: 52px;
    background: rgba(255, 255, 255, 0.35);
}
.hero-indicator.active .hero-ind-fill {
    width: 100%;
}

/* Scroll Down Indicator */
.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    opacity: 0.75;
    transition: opacity 0.3s;
}
.hero-scroll:hover {
    opacity: 1;
}
.mouse-icon {
    width: 22px;
    height: 34px;
    border: 1.5px solid rgba(255, 255, 255, 0.75);
    border-radius: 12px;
    position: relative;
}
.mouse-wheel {
    position: absolute;
    left: 50%;
    top: 6px;
    width: 3px;
    height: 7px;
    margin-left: -1.5px;
    background: #E8B478;
    border-radius: 2px;
    animation: mouseWheelAnim 1.8s infinite cubic-bezier(0.65, 0, 0.35, 1);
}
@keyframes mouseWheelAnim {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* --------------------------------------------------------------------------
   About manifesto
   -------------------------------------------------------------------------- */
.about-us {
    padding: clamp(80px, 11vw, 140px) 0 clamp(24px, 3vw, 40px);
    text-align: center;
    position: relative;
    background: linear-gradient(180deg, var(--paper-navy) 0%, var(--white) 100%);
}
.crp-head {
    font-family: var(--font-d);
    font-weight: 600;
    font-size: clamp(2.6rem, 7vw, 6.8rem);
    line-height: 1.04;
    color: var(--brand);
    margin-bottom: 30px;
    letter-spacing: -.025em;
}
.crp-head .first { display: block; }
.crp-head .second {
    display: block;
    font-size: .52em;
    font-weight: 500;
    color: var(--ink-soft);
    font-style: italic;
}
.crp-head .letter {
    display: inline-block;
    opacity: 0;
    animation: letterIn .55s var(--ease-out) forwards;
}
.home-text {
    max-width: 880px;
    margin: 0 auto;
    font-size: 1.08rem;
    font-weight: 300;
    color: var(--text);
    line-height: 1.85;
}
.btn-line {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-b);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
    position: relative;
    padding-right: 68px;
    transition: color .3s var(--ease);
}
.btn-line::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 52px;
    height: var(--rule);
    background: var(--accent);
    transform: translateY(-50%);
    transition: width .35s var(--ease);
}
.btn-line:hover { color: var(--accent); }
.btn-line:hover::after { width: 64px; }

/* --------------------------------------------------------------------------
   Home project pair
   -------------------------------------------------------------------------- */
.project-pair {
    padding: 40px 0 180px;
}
.project-pair-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
    align-items: start;
}
.project-pair-grid .item:nth-child(2) { margin-top: 140px; }
.pair-card { display: block; position: relative; }
.pair-card .img {
    display: block;
    position: relative;
    overflow: hidden;
}
.pair-card .img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 40%, rgba(2, 47, 89, .62) 100%);
    pointer-events: none;
    opacity: .9;
    transition: opacity .4s var(--ease);
}
.pair-card:hover .img::before { opacity: 1; }
.pair-card .img img {
    width: 100%;
    height: clamp(300px, 42vw, 420px);
    object-fit: cover;
    transition: transform .7s var(--ease);
}
.pair-card .text {
    position: relative;
    padding: 26px 60px 0 0;
    min-height: 96px;
}
.pair-card:hover .img img { transform: scale(1.05); }
.pair-card .letter {
    position: absolute;
    right: 8px;
    top: -84px;
    pointer-events: none;
    line-height: 1;
    z-index: 0;
    opacity: .9;
}
.pair-card .letter .outline-letter { font-size: 200px; }
.pair-card .letter svg { width: 170px; height: 200px; display: block; }
.pair-card .head {
    font-family: var(--font-d);
    font-size: clamp(1.5rem, 2.2vw, 2.35rem);
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 10px;
    letter-spacing: -.01em;
    position: relative;
    z-index: 1;
    padding-left: 22px;
}
.pair-card .head::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    bottom: 6px;
    width: var(--rule);
    background: var(--accent);
}
.pair-card .link-arrow {
    position: absolute;
    right: 0;
    top: 30px;
    width: 46px;
    height: 12px;
    opacity: .8;
    transition: transform .35s var(--ease), opacity .35s var(--ease);
    z-index: 1;
}
.pair-card .link-arrow::before,
.pair-card .link-arrow::after {
    content: "";
    position: absolute;
    top: 50%;
    background: var(--accent);
    height: var(--rule);
}
.pair-card .link-arrow::before {
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}
.pair-card .link-arrow::after {
    right: 0;
    width: 9px;
    height: 9px;
    background: transparent;
    border-top: var(--rule) solid var(--accent);
    border-right: var(--rule) solid var(--accent);
    transform: translateY(-50%) rotate(45deg);
}
.pair-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(6px);
}
.pair-card p {
    font-size: .92rem;
    max-width: 320px;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.7;
    padding-left: 22px;
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   Home stats band
   -------------------------------------------------------------------------- */
.stat-item {
    position: relative;
    padding: 8px 16px;
}
.stat-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 52px;
    width: var(--hairline);
    background: var(--line-dark);
}

/* --------------------------------------------------------------------------
   Home featured projects
   -------------------------------------------------------------------------- */
.home-showcase {
    padding: clamp(56px, 7vw, 88px) 0 8px;
}
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .24em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
}
.section-eyebrow::before,
.section-eyebrow::after {
    content: "";
    width: 28px;
    height: var(--rule);
    background: var(--accent);
}
.section-head-center { text-align: center; }
.section-title {
    font-family: var(--font-d);
    font-size: clamp(1.9rem, 3.8vw, 2.85rem);
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 48px;
    letter-spacing: -.025em;
    line-height: 1.15;
}
/* Öne çıkan projeler — kayan vitrin (proje detaydaki slider ile aynı davranış) */
.home-showcase-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;               /* Firefox */
    margin: 0 -4px;                      /* kart gölgesi için taşma payı */
    padding: 4px;
}
.home-showcase-slider::-webkit-scrollbar { display: none; } /* WebKit */
.home-showcase-track {
    display: flex;
    gap: 24px;
}
.home-showcase-track .item-product {
    flex: 0 0 calc((100% - 48px) / 3);   /* masaüstü: satırda 3 */
    scroll-snap-align: start;
}
.home-showcase-nav {
    justify-content: center;
    margin-top: 28px;
}
.home-showcase-actions {
    text-align: center;
    margin-top: 32px;
}

/* --------------------------------------------------------------------------
   Home CTA
   -------------------------------------------------------------------------- */
.home-cta {
    padding: 0 32px clamp(64px, 10vw, 120px);
}
.home-cta-inner {
    max-width: none;
    margin: 0 auto;
    padding: clamp(48px, 7vw, 76px) clamp(28px, 5vw, 60px);
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--grad-brand);
    color: #fff;
}
.home-cta-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: var(--rule);
    background: var(--accent);
    pointer-events: none;
}
.home-cta-inner::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -80px;
    width: 280px;
    height: 280px;
    border: 40px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
    pointer-events: none;
}
.home-cta-title {
    position: relative;
    z-index: 1;
    font-family: var(--font-d);
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -.015em;
    line-height: 1.2;
}
.home-cta-text {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto 32px;
    font-weight: 300;
    color: rgba(255, 255, 255, .82);
    font-size: 1.02rem;
    line-height: 1.8;
}
.home-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 32px;
    background: var(--accent);
    border: var(--rule) solid var(--accent);
    border-radius: var(--radius-sm);
    font-family: var(--font-b);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #fff;
    transition: .3s var(--ease);
}
.btn-outline:hover {
    background: var(--accent-2);
    border-color: var(--accent-2);
    transform: translateY(-2px);
}
.btn-outline.light {
    background: transparent;
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}
.btn-outline.light:hover {
    background: #fff;
    color: var(--brand);
    border-color: #fff;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Inner page head
   -------------------------------------------------------------------------- */
.content-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 32px 100px;
    min-height: 640px;
    overflow-x: hidden;
    box-sizing: border-box;
}
.page-head {
    position: relative;
    margin-bottom: 44px;
    min-height: auto;
    display: flex;
    align-items: center;
}
.page-head svg {
    width: 300px;
    height: 240px;
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
}
.page-head svg text {
    font-family: var(--font-d);
    font-size: 300px;
    font-weight: 700;
    fill: var(--watermark);
    stroke: none;
}
.page-head h1 {
    position: relative;
    z-index: 1;
    font-family: var(--font-d);
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--brand);
    letter-spacing: -.025em;
    line-height: 1.1;
    padding-left: 28px;
}
.page-head h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: var(--rule);
    background: var(--accent);
}
.page-lead {
    font-size: 1.08rem;
    font-weight: 300;
    max-width: 820px;
    margin-bottom: 44px;
    line-height: 1.85;
    color: var(--text);
}

.head2 {
    text-align: center;
    font-family: var(--font-d);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin: 56px 0 32px;
    color: var(--brand);
    letter-spacing: -.015em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 20px;
}
.head2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 56px;
    height: var(--rule);
    background: var(--accent);
}
/* Left-aligned section heading with anchored accent bar */
.sec-head {
    font-family: var(--font-d);
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    font-weight: 600;
    color: var(--brand);
    letter-spacing: -.015em;
    line-height: 1.25;
    position: relative;
    padding-bottom: 16px;
    margin: 8px 0 20px;
}
.sec-head::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: var(--rule);
    background: var(--accent);
}
.sec-head.sm { font-size: 1.5rem; margin-top: 0; }

/* --------------------------------------------------------------------------
   Project listing cards (Loca itemProduct)
   -------------------------------------------------------------------------- */
.projects-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: var(--hairline) solid var(--line);
}
.filter-pills,
.map-filter-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn,
.sf-btn {
    border: var(--hairline) solid var(--line-dark);
    background: var(--white);
    color: var(--brand);
    padding: 11px 22px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    transition: .3s var(--ease);
}
.filter-btn.active,
.filter-btn:hover,
.sf-btn.active,
.sf-btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.search-box { position: relative; width: 280px; max-width: 100%; }
.search-box input {
    width: 100%;
    height: 48px;
    border: var(--hairline) solid var(--line-dark);
    border-radius: var(--radius-sm);
    padding: 0 14px 0 40px;
    outline: 0;
    background: var(--white);
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.search-box input:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(10, 35, 66, .08);
}
.search-box i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 24px;
}
.item-product {
    display: block;
}
/* Kart yükselme efekti yalnızca ızgara listelerinde (bkz. projeler.php) */
.projects-grid .item-product {
    transition: transform .4s var(--ease);
}
.projects-grid .item-product:hover { transform: translateY(-6px); }
.item-product .img {
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
}
.item-product .img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(10, 35, 66, .55) 100%);
    pointer-events: none;
    z-index: 1;
}
.item-product .img img {
    width: 100%;
    height: auto;
    display: block;
}
/* Görsel yakınlaşması yalnızca ızgara listelerinde */
.projects-grid .item-product .img img { transition: transform .8s var(--ease); }
.projects-grid .item-product:hover .img img { transform: scale(1.07); }
.item-product .head {
    position: absolute;
    left: 0;
    bottom: 24px;
    z-index: 2;
    background: #fff;
    padding: 15px 26px 15px 22px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    min-width: 200px;
    text-align: left;
    font-family: var(--font-d);
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--brand);
    letter-spacing: -.015em;
    border-left: var(--rule) solid var(--accent);
    box-shadow: 0 10px 30px rgba(10, 22, 34, .18);
}
.item-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    right: auto;
    z-index: 2;
    background: var(--brand);
    color: #fff;
    font-size: .62rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 7px 13px;
    font-weight: 600;
    border-radius: var(--radius-xs);
}
.item-badge.ongoing { background: var(--accent); }
.item-badge.upcoming { background: var(--brand-3); }
.item-product .desc {
    padding: 16px 6px 0;
    font-size: .88rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.projects-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: var(--muted);
}
.projects-empty h3 {
    font-family: var(--font-d);
    font-size: 1.8rem;
    color: var(--brand);
    margin: 12px 0 8px;
}

/* Legacy aliases used by older JS */
.pcard, .project-card { background: #fff; }
.pcard-img-wrap, .project-img-container { position: relative; overflow: hidden; }
.pcard-name, .project-card-title { font-family: var(--font-d); }

/* --------------------------------------------------------------------------
   Corporate / quality / contact
   -------------------------------------------------------------------------- */
.corp-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.corp-story-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
}
.corp-story-p { font-weight: 300; margin-bottom: 16px; font-size: 1.05rem; line-height: 1.85; color: var(--text); }
.corp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 64px;
}
.corp-card {
    padding: 40px 40px;
    border: var(--hairline) solid var(--line);
    border-top: var(--rule) solid var(--brand);
    position: relative;
    background: var(--white);
    border-radius: var(--radius-md);
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.corp-card::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 60px;
    height: var(--rule);
    background: var(--accent);
    border-radius: 0 0 2px 2px;
}
.corp-card:hover {
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}
.corp-card h3,
.quality-card-title,
.contact-card-box h3 {
    font-family: var(--font-d);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--brand);
    letter-spacing: -.015em;
    line-height: 1.25;
}
.corp-card p,
.quality-card-desc { font-weight: 300; line-height: 1.75; color: var(--text); }

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.quality-card {
    padding: 34px 36px;
    border: var(--hairline) solid var(--line);
    border-left: var(--rule) solid var(--brand);
    background: var(--white);
    border-radius: var(--radius-md);
    transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.quality-card:hover {
    border-left-color: var(--accent);
    box-shadow: var(--shadow-card);
    transform: translateY(-5px);
}
.quality-card-icon {
    font-family: var(--font-d);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 14px;
    letter-spacing: -.02em;
    opacity: .85;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 48px 0 8px;
    text-align: center;
}
.stats-row.bordered {
    padding: 48px 24px;
    border-top: var(--rule) solid var(--brand);
    border-bottom: var(--hairline) solid var(--line);
    background: var(--paper-navy);
    border-radius: var(--radius-md);
}
.stat-item .stat-number {
    font-family: var(--font-d);
    font-size: clamp(2.4rem, 4.4vw, 3.2rem);
    font-weight: 700;
    color: var(--brand);
    line-height: 1;
    letter-spacing: -.025em;
}
.stat-item .stat-suffix { color: var(--accent); font-size: 1.3rem; font-weight: 600; }
.stat-item .stat-label {
    font-size: .68rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 14px;
    font-weight: 600;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
    align-items: start;
}
.contact-info-panel .item { margin-bottom: 28px; }
.contact-info-panel .title {
    display: block;
    font-family: var(--font-d);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--brand);
    letter-spacing: -.01em;
}
.contact-info-panel .dtl {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text);
}
.contact-info-panel a:hover { color: var(--accent); }
.contact-socials { display: flex; gap: 8px; margin-top: 8px; }

.contact-form-box h2 {
    font-family: var(--font-d);
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--brand);
    letter-spacing: -.02em;
    line-height: 1.2;
}
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 7px;
    color: var(--brand);
}
.form-control {
    width: 100%;
    height: 50px;
    border: var(--hairline) solid var(--line-dark);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    outline: 0;
    background: var(--white);
    color: var(--ink);
    box-shadow: none;
    transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.form-control:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(10, 35, 66, .08);
}
textarea.form-control { height: auto; min-height: 110px; resize: vertical; }
.contact-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
    height: 52px;
    min-width: 200px;
    padding: 0 32px;
    border: var(--rule) solid var(--brand);
    border-radius: var(--radius-sm);
    background: var(--brand);
    color: #fff;
    font-family: var(--font-b);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: .3s var(--ease);
}
.btn-submit:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-whatsapp-inquire {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    color: #111;
    font-size: .9rem;
    font-weight: 500;
}
.btn-whatsapp-inquire:hover { color: #128C4A; }
.contact-map-embed {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: var(--radius-md);
    display: block;
    margin-top: 48px;
    filter: grayscale(.3);
    box-shadow: var(--shadow-soft);
}
.contact-info-panel .map-link {
    display: inline-block;
    margin-top: 10px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent);
    border-bottom: var(--rule) solid var(--accent);
    padding-bottom: 2px;
    transition: color .3s var(--ease), opacity .3s var(--ease);
}
.contact-info-panel .map-link:hover { color: var(--brand); opacity: .85; }

/* Detail */
.detail-hero-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    margin-bottom: 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}
.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 48px;
    align-items: start;
}
.detail-grid > div,
.detail-grid > aside {
    min-width: 0;
}
.gallery-main-view {
    display: block;
    position: relative;
    background: var(--brand);
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    width: 100%;
}
.gallery-main-view img {
    width: 100%;
    height: auto;
    display: block;
}
.gallery-zoom-badge {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(255,255,255,.92);
    color: var(--brand);
    padding: 8px 14px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    font-family: var(--font-b);
    border-radius: var(--radius-sm);
    backdrop-filter: blur(4px);
}
.gallery-thumbs-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 32px;
    padding-bottom: 4px;
    min-width: 0;
    max-width: 100%;
    scrollbar-width: thin;
}
.gallery-thumbs-grid::-webkit-scrollbar { height: 6px; }
.gallery-thumbs-grid::-webkit-scrollbar-track { background: transparent; }
.gallery-thumbs-grid::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.thumb-box {
    width: 108px;
    flex-shrink: 0;
    opacity: .55;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: opacity .3s var(--ease), border-color .3s var(--ease);
    background: var(--brand);
}
.thumb-box img { width: 100%; height: auto; display: block; }
.thumb-box.active, .thumb-box:hover { opacity: 1; border-color: var(--accent); }
.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
    margin: 8px 0 36px;
    padding: 26px 30px;
    background: var(--paper-navy);
    border-left: var(--rule) solid var(--brand);
    border-radius: var(--radius-md);
}
.spec-label {
    font-size: .72rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 4px;
}
.spec-value { font-size: 1.05rem; color: var(--brand); font-weight: 600; letter-spacing: -.01em; }
.features-checklist-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.feature-check-item { font-weight: 300; font-size: .95rem; color: var(--text); display: flex; align-items: flex-start; gap: 10px; line-height: 1.6; }
.feature-check-item i { color: var(--accent); margin-top: 4px; flex-shrink: 0; font-size: .8rem; }
.inquiry-sidebar-box {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: 32px 30px 34px;
    border: var(--hairline) solid var(--line);
    border-top: var(--rule) solid var(--brand);
    background: var(--white);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
    min-width: 0;
    word-break: break-word;
}
.inquiry-sidebar-box .form-control,
.inquiry-sidebar-box textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.inquiry-lead { font-weight: 300; margin-bottom: 20px; color: var(--muted); }
.inquiry-sidebar-box .btn-submit { width: 100%; }
.detail-related { margin-top: 72px; padding-top: 40px; border-top: var(--hairline) solid var(--line); }

/* Diğer Projeler — kayan slider */
.related-head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}
.related-head-row .head2 { margin: 0; }
.related-nav,
.slider-nav { display: flex; gap: 10px; flex-shrink: 0; }
.related-arrow,
.slider-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: var(--hairline) solid var(--line);
    background: #fff;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: .95rem;
    transition: background .3s var(--ease), color .3s var(--ease),
                border-color .3s var(--ease), opacity .3s var(--ease);
}
.related-arrow:hover,
.slider-arrow:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.related-arrow:disabled,
.slider-arrow:disabled { opacity: .35; cursor: default; }
.related-arrow:disabled:hover,
.slider-arrow:disabled:hover { background: #fff; color: var(--text); border-color: var(--line); }

/* Fare ile sürükleyerek kaydırma (initCardSlider) */
.card-slider { cursor: grab; }
.card-slider.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.card-slider.is-dragging,
.card-slider.is-dragging * { user-select: none; -webkit-user-select: none; }
.card-slider img { -webkit-user-drag: none; user-select: none; }

.related-slider {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;               /* Firefox */
    margin: 0 -4px;                      /* kart gölgesi için hafif taşma payı */
    padding: 4px;
}
.related-slider::-webkit-scrollbar { display: none; } /* WebKit */

.related-track {
    display: flex;
    gap: 24px;
}
.related-slide {
    flex: 0 0 calc((100% - 48px) / 3);   /* masaüstü: satırda 3 */
    scroll-snap-align: start;
}

@media (max-width: 1100px) {
    .related-slide { flex-basis: calc((100% - 24px) / 2); } /* tablet: satırda 2 */
}
@media (max-width: 768px) {
    .related-head-row { margin-bottom: 20px; }
    .related-track { gap: 16px; }
    .related-slide { flex-basis: 100%; }  /* mobil: satırda 1, tek tek kayar */
}

/* Map */
.map-layout-grid {
    display: grid;
    grid-template-columns: 1.45fr .55fr;
    gap: 24px;
}
.map-container-box { border: var(--hairline) solid var(--line); border-radius: var(--radius-md); overflow: hidden; position: relative; z-index: 0; }
#projectMap { width: 100%; height: 620px; }
.leaflet-pane,
.leaflet-top,
.leaflet-bottom { z-index: 1 !important; }
.map-sidebar-list {
    max-height: 620px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.map-project-item {
    display: flex;
    gap: 12px;
    padding: 12px 10px;
    cursor: pointer;
    border-bottom: var(--hairline) solid var(--line);
    border-left: var(--rule) solid transparent;
    transition: background .25s var(--ease), border-color .25s var(--ease);
}
.map-project-item:hover { background: var(--paper-navy); border-left-color: var(--accent); }
.map-project-thumb { width: 76px; height: 58px; overflow: hidden; flex-shrink: 0; border-radius: var(--radius-sm); }
.map-project-thumb img { width: 100%; height: 100%; object-fit: cover; }
.map-project-info h4 { font-family: var(--font-d); font-size: 1.02rem; color: var(--brand); letter-spacing: -.01em; margin-bottom: 2px; }
.map-project-info p { font-size: .78rem; color: var(--muted); }
.custom-map-marker {
    background: var(--brand);
    color: #fff;
    border: 2px solid #fff;
    border-radius: var(--radius-full);
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(10, 35, 66, .32);
}
.custom-map-marker.ongoing { background: var(--accent); }
.custom-map-marker.upcoming { background: var(--brand-3); }
.leaflet-popup-content-wrapper { border-radius: var(--radius-md); padding: 0; overflow: hidden; box-shadow: var(--shadow-card); }
.leaflet-popup-content { margin: 0; min-width: 220px; }
.map-popup-img { width: 100%; height: 120px; object-fit: cover; }
.map-popup-body { padding: 14px; }
.map-popup-title { font-family: var(--font-d); font-size: 1.08rem; margin-bottom: 4px; color: var(--brand); letter-spacing: -.01em; }
.map-popup-btn {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-family: var(--font-b);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--brand);
    border-bottom: 2px solid var(--accent);
    padding: 6px 0;
    transition: color .3s var(--ease);
}
.map-popup-btn:hover { color: var(--accent); }

/* --------------------------------------------------------------------------
   Footer — hairline interrupted by centered logo
   -------------------------------------------------------------------------- */
.site-footer {
    background: var(--white);
    color: var(--ink);
    margin-top: clamp(20px, 3vw, 36px);
}
.footer-shell {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 0;
}
.footer-brand::before,
.footer-brand::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}
.footer-logo {
    display: block;
    line-height: 0;
    padding: 0 36px;
    background: var(--white);
}
.footer-logo img {
    height: clamp(72px, 7.2vw, 100px);
    width: auto;
    object-fit: contain;
    transition: transform .4s var(--ease), opacity .3s ease;
}
.footer-logo:hover img { transform: scale(1.04); }
.footer-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 28px 0 36px;
}
.site-footer .footer-soc {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: #4A5560;
    border: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: .3s var(--ease);
}
.site-footer .footer-soc:hover {
    background: var(--brand);
    color: #fff;
    transform: translateY(-3px);
}
.site-footer .footer-soc.facebook:hover { background: #3b5998; }
.site-footer .footer-soc.youtube:hover { background: #cd2229; }
.site-footer .footer-soc.whatsapp:hover { background: #128C4A; }
.footer-soc {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    background: var(--paper-navy);
    border: var(--hairline) solid var(--line);
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: .3s var(--ease);
}
.footer-soc:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-3px); }
.footer-soc.facebook:hover { background: #3b5998; border-color: #3b5998; }
.footer-soc.youtube:hover { background: #cd2229; border-color: #cd2229; }
.footer-soc.whatsapp:hover { background: #128C4A; border-color: #128C4A; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px 32px;
    padding: 8px 0 clamp(28px, 4vw, 40px);
}
.footer-copy {
    font-size: .78rem;
    letter-spacing: .01em;
    color: var(--gray);
    line-height: 1.65;
}
.footer-lang-selector {
    margin-top: 0;
    justify-content: flex-end;
}

/* Float */
.whatsapp-float,
.phone-float {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    color: #fff;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(10, 22, 34, .22);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-float:hover,
.phone-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(10, 22, 34, .28); }
.whatsapp-float {
    bottom: max(18px, env(safe-area-inset-bottom));
    background: #128C4A;
    font-size: 1.35rem;
}
.phone-float {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    background: var(--accent);
    font-size: .98rem;
    transition: background-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.phone-float:hover {
    background: var(--accent-2);
}

.toast-msg {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(80px);
    background: var(--brand);
    color: #fff;
    padding: 15px 24px;
    font-size: .9rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lift);
    z-index: 4000;
    opacity: 0;
    pointer-events: none;
    transition: .4s var(--ease);
    max-width: 90%;
}
.toast-msg.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.fancybox__container { z-index: 99999 !important; }

.reveal { opacity: 0; transform: translateY(18px); transition: .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .projects-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stats-row { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 992px) {
    :root { --header-h: 80px; }
    .loca-logo-img { width: 120px; }
    .loca-header-inner { padding: 0 24px; }
    .menu-centers { grid-template-columns: 1fr; width: calc(100% - 40px); }
    .menu-right { text-align: left; }
    .menu-right img { margin-left: 0; filter: brightness(0) invert(1); background: transparent; padding: 0; width: 160px; }
    .menu-langs { justify-content: flex-start; }
    .about-us { padding: 88px 0 56px; }
    .home-showcase-track .item-product { flex-basis: calc((100% - 24px) / 2); } /* tablet: satırda 2 */
    .stat-item:not(:last-child)::after { display: none; }
    .project-pair-grid { grid-template-columns: 1fr; }
    .project-pair-grid .item:nth-child(2) { margin-top: 80px; }
    .corp-story-grid,
    .corp-grid-2,
    .quality-grid,
    .detail-grid,
    .map-layout-grid,
    .contact-page-grid { grid-template-columns: 1fr; gap: 32px; }
    .content-wrap { width: 100%; padding: 40px 24px 72px; }
    .page-head svg text { font-size: 160px; }
    .page-head svg { height: 140px; width: 180px; }
    .inquiry-sidebar-box { position: static; min-width: 0; }
    #projectMap, .map-sidebar-list { height: auto; }
    #projectMap { height: 400px; }
    .pair-card .img img { height: 320px; }
}

@media (max-width: 768px) {
    :root { --header-h: 68px; }
    .container { padding: 0 20px; }
    .loca-header-inner { padding: 0 20px; }
    .loca-logo-img, .loca-header.scrolled .loca-logo-img { width: 96px; }
    /* Menü ikonu: masaüstündeki oranın aynısı (uzun-kısa-uzun), sadece küçültülmüş */
    .loca-menu-trigger { gap: 10px; }
    .loca-menu-text { font-size: 12px; letter-spacing: .14em; }
    .loca-hamburger { width: 26px; height: 38px; }
    .loca-hamburger span:nth-child(1) { top: 11px; width: 26px; }
    .loca-hamburger span:nth-child(2) { width: 18px; }
    .loca-hamburger span:nth-child(3) { bottom: 11px; width: 26px; }
    .loca-menu-trigger:hover .loca-hamburger span:nth-child(2) { width: 26px; }
    .menu-open .loca-hamburger span:nth-child(1),
    .menu-open .loca-hamburger span:nth-child(3) { width: 30px; }
    .loca-search-trigger { font-size: 19px; width: 40px; height: 40px; }
    .loca-search-close-btn { width: 50px; height: 60px; right: 8px; top: 0; }
    .loca-search-close-btn span { width: 36px; left: 8px; }
    .loca-search-heading { font-size: 21px; }
    .mouse { display: block; bottom: 22px; }
    .project-pair { padding-bottom: 80px; }
    .project-pair-grid .item { margin-top: 24px !important; }
    .pair-card .letter svg { display: none; }
    .pair-card .text { padding-left: 0; }
    .pair-card .head { font-size: 1.5rem; }
    .projects-grid { grid-template-columns: 1fr; }
    .home-showcase-track { gap: 16px; }
    .home-showcase-track .item-product { flex-basis: 100%; }  /* mobil: tek tek kayar */
    .projects-toolbar { flex-direction: column; align-items: stretch; }
    .search-box { width: 100%; }
    .features-checklist-grid,
    .specs-grid,
    .contact-row-2 { grid-template-columns: 1fr; }
    .home-menu > li > a { font-size: 1.4rem; }
    .home-why-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .corp-card, .quality-card { padding: 32px 28px; }
    .inquiry-sidebar-box { padding: 28px 24px; }
    .specs-grid { padding: 22px 24px; }
    /* Mobilde overlay menüde sadece navigasyon görünsün, sağ bilgi paneli gizlensin */
    .menu-right { display: none; }
    .menu-centers { grid-template-columns: 1fr; width: calc(100% - 48px); }
    .home-menu { max-height: calc(100svh - 120px); overflow-y: auto; padding: 4px 0; }
}

@media (max-width: 576px) {
    .container { padding: 0 16px; }
    .loca-header-inner { padding: 0 16px; }
    /* Küçük ekranda da "Menu" yazısı görünür kalsın (masaüstü ile aynı görünüm) */
    .loca-menu-trigger { gap: 8px; }
    .loca-menu-text { display: inline-block; font-size: 11px; letter-spacing: .12em; }
    .loca-hamburger { width: 24px; height: 34px; }
    .loca-hamburger span:nth-child(1) { top: 9px; width: 24px; }
    .loca-hamburger span:nth-child(2) { width: 16px; }
    .loca-hamburger span:nth-child(3) { bottom: 9px; width: 24px; }
    .loca-menu-trigger:hover .loca-hamburger span:nth-child(2) { width: 24px; }
    .menu-open .loca-hamburger span:nth-child(1),
    .menu-open .loca-hamburger span:nth-child(3) { width: 27px; }
    .menu-open .loca-hamburger span:nth-child(2) { opacity: 0; width: 0; left: 0; }
    .crp-head { font-size: 2.3rem; }
    .crp-head .second { font-size: .5em; }
    .about-us { padding: 64px 0 40px; }
    .item-product .head { font-size: 1.05rem; padding: 13px 20px 13px 18px; min-width: 0; }
    .corp-story-img { height: 230px; }
    .stats-row { grid-template-columns: 1fr 1fr; }
    .page-head h1 { font-size: 1.85rem; }
    .home-cta-inner { padding: 40px 24px; }
    .filter-btn, .sf-btn { padding: 10px 16px; font-size: .68rem; }
    .form-control { height: 46px; }
    .btn-submit { min-width: 100%; }
    .footer-shell { padding: 0 16px; }
    .why-card { padding: 30px 24px; }
    .detail-hero-img { height: 260px; }
}

/* ==========================================================================
   Enhancement layer — corporate polish, new home sections, refined lines
   ========================================================================== */

/* Contact page socials sit on white — keep them solid brand */
.contact-socials .footer-soc {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}
.contact-socials .footer-soc:hover { background: var(--accent); border-color: var(--accent); }

/* Section eyebrow (left aligned variant) */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-b);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}
.eyebrow::before {
    content: "";
    width: 30px;
    height: var(--rule);
    background: var(--accent);
}
.eyebrow.center { justify-content: center; }

/* About manifesto — add refined eyebrow spacing */
.about-us .eyebrow { margin-bottom: 22px; }

/* Home showcase section header */
.home-showcase-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 6vw, 60px);
}
.home-showcase-head .eyebrow { justify-content: center; }
.home-showcase-head .section-title { margin-bottom: 14px; }
.home-showcase-head p {
    font-weight: 300;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.8;
}

/* Refined project cards */
.projects-grid .item-product .desc { transition: color .3s var(--ease); }
.projects-grid .item-product:hover .desc { color: var(--text); }

/* Breadcrumb eyebrow + project location */
.breadcrumb-eyebrow a { color: inherit; transition: color .3s var(--ease); }
.breadcrumb-eyebrow a:hover { color: var(--accent); }
.breadcrumb-eyebrow .sep { opacity: .45; margin: 0 6px; font-weight: 400; }
#projectLocation { display: flex; align-items: center; gap: 8px; }
#projectLocation i { color: var(--accent); font-size: .9rem; }

/* --------------------------------------------------------------------------
   Home "Why us" feature strip
   -------------------------------------------------------------------------- */
.home-why {
    padding: clamp(56px, 8vw, 92px) 0;
    background: var(--paper);
}
.home-why-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: clamp(38px, 5vw, 56px);
    flex-wrap: wrap;
}
.home-why-head .section-title { margin-bottom: 8px; }
.home-why-head p {
    font-weight: 300;
    color: var(--muted);
    max-width: 440px;
    line-height: 1.8;
    font-size: 1.02rem;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: var(--hairline) solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.why-card {
    background: var(--white);
    padding: 42px 34px 40px;
    position: relative;
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), z-index 0s;
}
.why-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--accent);
    transition: height .4s var(--ease);
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card);
    z-index: 2;
}
.why-card:hover::before { height: var(--rule); }
.why-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: var(--brand);
    background: var(--paper-navy);
    border: var(--hairline) solid var(--line);
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    transition: .4s var(--ease);
}
.why-card:hover .why-icon {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    transform: rotate(-4deg);
}
.why-card h3 {
    font-family: var(--font-d);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--brand);
    margin-bottom: 12px;
    letter-spacing: -.015em;
    line-height: 1.25;
}
.why-card p {
    font-size: .92rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.72;
}

/* --------------------------------------------------------------------------
   Home stats band (now used on home)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   Home CTA band (now used on home)
   -------------------------------------------------------------------------- */
.home-cta { padding: clamp(56px, 8vw, 96px) 0 0; }
.home-cta-inner { border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
.home-cta-inner::after { border-color: rgba(255,255,255,.05); }

/* Page head eyebrow for inner pages */
.page-head-wrap { margin-bottom: clamp(36px, 5vw, 52px); }
.page-head-wrap .eyebrow { margin-bottom: 14px; padding-left: 28px; }
.page-head-wrap .page-head { margin-bottom: 0; }

/* Corporate cards refined */
.corp-card h3 { display: flex; align-items: center; gap: 12px; }
.corp-card-icon { color: var(--accent); font-size: 1.15rem; flex-shrink: 0; }

/* Refined bordered stats on inner pages */
.stats-row.bordered { border-radius: var(--radius-md); }

/* --------------------------------------------------------------------------
   Responsive — enhancement layer
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .home-why-head { flex-direction: column; align-items: flex-start; gap: 12px; }
    .hero-content-wrap { padding: calc(var(--header-h) + 16px) 4vw 70px; }
    .hero-nav-controls { right: 3vw; }
    .hero-nav-btn { width: 44px; height: 44px; font-size: 0.85rem; }
    .hero-bottom-bar { left: 4vw; bottom: 28px; }
    .hero-title { font-size: clamp(2.2rem, 5.2vw, 3.4rem); }
}

@media (max-width: 768px) {
    .hero {
        height: 100svh;
        min-height: 560px;
        max-height: none;
    }
    .hero-content-wrap {
        align-items: center;
        justify-content: center;
        padding: calc(var(--header-h) + 10px) 20px 84px;
    }
    .hero-content {
        align-items: center;
        text-align: center;
        max-width: 100%;
    }
    .hero-eyebrow {
        justify-content: center;
        margin-bottom: 16px;
    }
    .hero-eyebrow-badge {
        font-size: 0.7rem;
        padding: 6px 16px;
        letter-spacing: 0.16em;
    }
    .hero-title {
        text-align: center;
        font-size: clamp(1.95rem, 6.6vw, 2.65rem);
        line-height: 1.16;
        margin-bottom: 18px;
        max-width: 100%;
    }
    .hero-sub {
        text-align: center;
        font-size: 0.95rem;
        line-height: 1.65;
        margin-bottom: 26px;
        max-width: 100%;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        align-items: stretch;
        gap: 12px;
    }
    .hero-actions .btn-hero {
        width: 100%;
        min-height: 48px;
        padding: 0 22px;
        font-size: 0.78rem;
    }
    .hero-nav-controls {
        display: none;
    }
    .hero-bottom-bar {
        left: 50%;
        transform: translateX(-50%);
        bottom: 24px;
        gap: 16px;
        justify-content: center;
    }
    .hero-scroll {
        display: none;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    .footer-logo { padding: 0 20px; }
    .footer-lang-selector { justify-content: center; }
}

@media (max-width: 576px) {
    .why-grid { grid-template-columns: 1fr; }
    .why-card { padding: 30px 24px; }
    .hero-content-wrap { padding: calc(var(--header-h) + 6px) 16px 80px; }
    .hero-title { font-size: clamp(1.8rem, 7.8vw, 2.3rem); line-height: 1.18; }
    .hero-sub { font-size: 0.88rem; margin-bottom: 20px; }
}

/* Engineering split feature */
.home-engineering {
    padding: clamp(64px, 9vw, 108px) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--paper-navy) 100%);
}
.engineering-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
.engineering-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}
.engineering-media a {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lift);
}
.engineering-media > a > img {
    width: 100%;
    height: clamp(340px, 40vw, 500px);
    object-fit: cover;
    transition: transform .8s var(--ease);
}
.engineering-media:hover > a > img { transform: scale(1.05); }
.engineering-badge {
    position: absolute;
    right: -18px;
    bottom: -22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: #ffffff;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 2;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.engineering-badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18), 0 6px 16px rgba(0, 0, 0, 0.08);
}
.engineering-badge-logo {
    height: 46px;
    width: auto;
    max-width: 170px;
    object-fit: contain;
    display: block;
}
.engineering-badge-num { display: none; }
.engineering-badge-label { display: none; }
.engineering-text .section-title { margin-bottom: 20px; }
.engineering-lead {
    font-weight: 300;
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 26px;
}
.engineering-list {
    display: grid;
    gap: 14px;
    margin-bottom: 34px;
}
.engineering-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: .98rem;
    font-weight: 400;
    color: var(--ink-soft);
    line-height: 1.5;
}
.engineering-list li i {
    flex-shrink: 0;
    margin-top: 3px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .68rem;
    color: #fff;
    background: var(--accent);
    border-radius: var(--radius-full);
}

/* Featured/listing cards — stronger frame */
.item-product .img { border-radius: var(--radius-md); }
.home-showcase-track .item-product .desc,
.projects-grid .item-product .desc { padding-left: 2px; }

/* Section title accent underline on centered heads */
.home-showcase-head .section-title,
.home-why-head .section-title { position: relative; }

/* --------------------------------------------------------------------------
   Premium layer — responsive
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .engineering-grid { grid-template-columns: 1fr; gap: 56px; }
    .engineering-badge { right: 16px; bottom: -20px; }
}

@media (max-width: 768px) {
    .engineering-media > a > img { height: clamp(260px, 60vw, 360px); }
    .engineering-badge { padding: 12px 20px; right: 12px; bottom: -16px; }
    .engineering-badge-logo { height: 36px; max-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
    .hero-eyebrow, .hero-sub, .hero-actions { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   REFINEMENT LAYER — kart & galeri çizgi kalitesi
   --------------------------------------------------------------------------
   Amaç: mevcut tasarım dilini ve yerleşimi DEĞİŞTİRMEDEN, "amatör" görünen
   detayları kurumsal seviyeye çekmek.

   Çözülen sorunlar:
   1. Kart görselleri height:auto olduğu için ızgarada her kart farklı
      yükseklikteydi → alt kenarlar tırtıklı görünüyordu. Sabit en-boy oranı
      ile tüm kartlar hizalandı (aynı zamanda CLS ortadan kalktı).
   2. Kartlarda yalnızca yumuşak gölge vardı, keskin bir kenar çizgisi yoktu →
      beyaz zeminde kenarlar dağılıyordu. 1px hairline ring eklendi.
   3. Galeri küçük resim şeridi farklı yükseklikte kutulardan oluşuyordu →
      sabit oran + scroll-snap ile düzgün şerit.
   4. Köşe yarıçapları tutarsızdı (badge 3px, görsel 8px) → aynı ölçeğe alındı.
   ========================================================================== */

:root {
    /* Kart ve galeri oranları — tek yerden ayarlanabilir */
    --ratio-card:      4 / 3;
    --ratio-gallery:   3 / 2;
    --ratio-thumb:     4 / 3;
    /* Keskin kenar çizgisi rengi (gölgenin üstüne binen hairline) */
    --ring:            rgba(10, 35, 66, .10);
    --ring-strong:     rgba(10, 35, 66, .16);
}

/* --------------------------------------------------------------------------
   1) Proje kartları — hizalı ızgara, keskin çerçeve
   -------------------------------------------------------------------------- */
.item-product .img {
    /* Sabit oran: tüm kartlar aynı yükseklikte hizalanır */
    aspect-ratio: var(--ratio-card);
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--paper-navy);
    /* Yumuşak derinlik + keskin kenar bir arada */
    box-shadow:
        0 1px 2px rgba(10, 22, 34, .05),
        0 10px 28px rgba(10, 22, 34, .09);
}
/* Gölge/çerçeve geçişi yalnızca ızgara listelerinde */
.projects-grid .item-product .img { transition: box-shadow .45s var(--ease); }

/* Görsel çerçeveyi tam doldurur; oran farkları kırpılarak eşitlenir */
.item-product .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Hairline ring — gradyanın ve etiketlerin üstünde, tam köşe uyumlu */
.item-product .img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border: var(--hairline) solid var(--ring);
    border-radius: inherit;
    pointer-events: none;
}
.projects-grid .item-product .img::before { transition: border-color .45s var(--ease); }

.projects-grid .item-product:hover .img {
    box-shadow:
        0 1px 2px rgba(10, 22, 34, .06),
        0 18px 42px rgba(10, 22, 34, .14);
}
.projects-grid .item-product:hover .img::before { border-color: var(--ring-strong); }

/* Alt gradyan: daha yumuşak geçiş, başlık okunurluğunu korur */
.item-product .img::after {
    background: linear-gradient(
        180deg,
        transparent 38%,
        rgba(10, 35, 66, .30) 66%,
        rgba(10, 35, 66, .62) 100%
    );
}

/* Başlık etiketi — köşe yarıçapı ve gölge kart diline uyumlandı */
.item-product .head {
    bottom: 22px;
    padding: 14px 24px 14px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: 0 6px 20px rgba(10, 22, 34, .16);
    line-height: 1.3;
}

/* Durum etiketi — kart yarıçapıyla aynı ölçek */
.item-badge {
    top: 14px;
    left: 14px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(10, 22, 34, .18);
    line-height: 1.2;
}

/* Izgara boşluklarını her iki listede eşitle */
.projects-grid { gap: 28px 24px; }

/* --------------------------------------------------------------------------
   2) Proje detay galerisi — ana görsel
   -------------------------------------------------------------------------- */
.gallery-main-view {
    aspect-ratio: var(--ratio-gallery);
    overflow: hidden;
    background: var(--ink);
    margin-bottom: 10px;
    box-shadow:
        0 1px 2px rgba(10, 22, 34, .06),
        0 14px 36px rgba(10, 22, 34, .12);
    /* Sağa-sola çekerek görsel değiştirme: dikey kaydırma tarayıcıda kalsın,
       yatay hareketi biz yakalayalım. */
    touch-action: pan-y;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none;
}
.gallery-main-view img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Küçük resim değişiminde yumuşak geçiş */
    transition: opacity .35s var(--ease), transform .8s var(--ease);
    -webkit-user-drag: none;
}
.gallery-main-view:hover img { transform: scale(1.02); }

/* Çekme sırasında: imleç değişir, görsel parmağı/fareyi gecikmesiz takip eder */
.gallery-main-view.is-swiping { cursor: grabbing; }
.gallery-main-view.is-swiping img {
    transition: opacity .35s var(--ease);
}

/* Hairline ring */
.gallery-main-view::after {
    content: "";
    position: absolute;
    inset: 0;
    border: var(--hairline) solid var(--ring);
    border-radius: inherit;
    pointer-events: none;
}

.gallery-zoom-badge {
    bottom: 16px;
    right: 16px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 14px rgba(10, 22, 34, .22);
    letter-spacing: .06em;
    text-transform: uppercase;
    font-size: .68rem;
    z-index: 2;
}

/* --------------------------------------------------------------------------
   3) Galeri küçük resim şeridi — düzgün, hizalı, keskin
   -------------------------------------------------------------------------- */
.gallery-thumbs-grid {
    display: grid;
    /* Yatay şerit: eşit genişlikte kolonlar, taşma kaydırma ile */
    grid-auto-flow: column;
    grid-auto-columns: 104px;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    padding: 2px 2px 8px;
    margin-bottom: 32px;
    scrollbar-width: thin;
    scrollbar-color: var(--line-dark) transparent;
}
.gallery-thumbs-grid::-webkit-scrollbar { height: 5px; }
.gallery-thumbs-grid::-webkit-scrollbar-track {
    background: var(--line-faint);
    border-radius: 3px;
}
.gallery-thumbs-grid::-webkit-scrollbar-thumb {
    background: var(--line-dark);
    border-radius: 3px;
}
.gallery-thumbs-grid::-webkit-scrollbar-thumb:hover { background: var(--gray-soft); }

.thumb-box {
    /* Sabit oran → şeridin alt kenarı düzgün bir hat oluşturur */
    aspect-ratio: var(--ratio-thumb);
    width: 100%;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    border: 0;
    border-radius: var(--radius-sm);
    background: var(--paper-navy);
    opacity: 1;
    cursor: pointer;
    /* Kenar çizgisi border yerine ring ile verilir: aktif duruma geçişte
       hiçbir yerleşim kayması olmaz */
    box-shadow: inset 0 0 0 1px var(--ring);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    /* Pasif küçük resimler hafif geri çekilir */
    filter: saturate(.85) brightness(.94);
    transition: filter .3s var(--ease), transform .5s var(--ease);
}
.thumb-box:hover {
    box-shadow: inset 0 0 0 1px var(--ring-strong);
    transform: translateY(-2px);
}
.thumb-box:hover img { filter: none; }
.thumb-box.active {
    /* Aktif: bronz çerçeve + hafif dış hâle */
    box-shadow:
        inset 0 0 0 2px var(--accent),
        0 4px 14px rgba(184, 118, 62, .26);
    transform: none;
}
.thumb-box.active img { filter: none; }
.thumb-box:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   4) İçerik blokları — hairline tutarlılığı
   -------------------------------------------------------------------------- */
.corp-story-img,
.detail-hero-img {
    box-shadow:
        0 1px 2px rgba(10, 22, 34, .05),
        0 12px 32px rgba(10, 22, 34, .10);
}

.specs-grid {
    border: var(--hairline) solid var(--line);
    border-left: var(--rule) solid var(--brand);
}

.corp-card,
.quality-card,
.inquiry-sidebar-box {
    box-shadow: 0 1px 2px rgba(10, 22, 34, .04);
}
.corp-card:hover,
.quality-card:hover {
    box-shadow:
        0 1px 2px rgba(10, 22, 34, .05),
        0 16px 38px rgba(10, 22, 34, .10);
}

/* Boş sonuç bloğu — ızgara içinde daha dengeli */
.projects-empty {
    border: var(--hairline) dashed var(--line-dark);
    border-radius: var(--radius-md);
    background: var(--paper);
}

/* --------------------------------------------------------------------------
   5) Responsive — refinement layer
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .gallery-main-view { aspect-ratio: 16 / 10; }
}

@media (max-width: 768px) {
    .item-product .img { aspect-ratio: 16 / 11; }
    .gallery-thumbs-grid { grid-auto-columns: 88px; gap: 8px; }
    .gallery-main-view { aspect-ratio: 4 / 3; }
    .item-product .head { bottom: 18px; padding: 12px 20px 12px 16px; }
    .item-badge { top: 12px; left: 12px; }
}

@media (max-width: 576px) {
    .item-product .img { aspect-ratio: 3 / 2; }
    .gallery-thumbs-grid { grid-auto-columns: 76px; }
}

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
    .projects-grid .item-product:hover .img img,
    .gallery-main-view:hover img,
    .thumb-box:hover { transform: none !important; }
}

/* --------------------------------------------------------------------------
   6) Proje haritası — satır içi stiller CSS'e taşındı
   -------------------------------------------------------------------------- */
.map-popup-loc {
    font-size: .82rem;
    color: var(--muted);
    line-height: 1.5;
}
.map-project-badge {
    display: inline-block;
    margin-top: 4px;
    font-size: .66rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--accent);
}
.map-project-item {
    border-radius: var(--radius-sm);
    align-items: center;
}
.map-project-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}
.map-project-thumb {
    box-shadow: inset 0 0 0 1px var(--ring);
}
.map-container-box {
    box-shadow:
        0 1px 2px rgba(10, 22, 34, .05),
        0 12px 32px rgba(10, 22, 34, .08);
}

/* --------------------------------------------------------------------------
   7) Bal küpü (honeypot) alanı — spam koruması
   --------------------------------------------------------------------------
   Bu alan gerçek kullanıcıya gösterilmez, yalnızca formu otomatik dolduran
   botlar tarafından doldurulur ve sunucu tarafında istek reddedilir.

   Not: display:none KULLANILMAZ — bazı botlar bu özelliği kontrol edip
   alanı atlıyor. Bunun yerine alan görüntü akışından çıkarılır ve
   erişilebilirlik ağacından aria-hidden + tabindex="-1" ile gizlenir.
   -------------------------------------------------------------------------- */
.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}
.form-honeypot input {
    width: 1px;
    height: 1px;
}

/* --------------------------------------------------------------------------
   Kayan proje vitrinleri — hover efekti/animasyonu yok
   Anasayfa "Öne Çıkan Projeler" (.home-showcase-track) ve proje detay
   "Diğer Projeler" (.related-track) kartlarında hover kuralı tanımlanmaz;
   hover davranışı yalnızca .projects-grid altındaki kartlara bağlıdır
   (bkz. ".projects-grid .item-product:hover" kuralları).
   Emniyet kemeri: dışarıdan/ileride bir hover kuralı sızarsa etkisiz kalsın.
   -------------------------------------------------------------------------- */
.home-showcase-track .item-product,
.home-showcase-track .item-product .img,
.home-showcase-track .item-product .img::before,
.home-showcase-track .item-product .img img,
.related-track .item-product,
.related-track .item-product .img,
.related-track .item-product .img::before,
.related-track .item-product .img img,
.card-slider .item-product,
.card-slider .item-product .img,
.card-slider .item-product .img::before,
.card-slider .item-product .img img {
    transition: none !important;
}
.home-showcase-track .item-product:hover,
.home-showcase-track .item-product:hover .img img,
.related-track .item-product:hover,
.related-track .item-product:hover .img img,
.card-slider .item-product:hover,
.card-slider .item-product:hover .img img {
    transform: none !important;
}
