/* ===========================
   Ahmet Dedeoğlu İnşaat
   Professional corporate theme
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600;700&family=Marcellus&display=swap');

:root {
    --primary-color: #b2823a;
    --primary-dark: #8a6224;
    --primary-soft: rgba(178, 130, 58, 0.10);
    --text-color: #5f584b;
    --text-dark: #1c1915;
    --text-muted: #8a8577;
    --text-light: #ffffff;
    --bg-dark: #1c1915;
    --bg-darker: #131210;
    --bg-anthracite: #1f1d18;
    --bg-anthracite-soft: #26231e;
    --bg-light: #f4efe7;
    --bg-soft: #eae3d4;
    --bg-paper: #fbf8f2;
    --border-color: #e3dccc;
    --border-dark: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.25s ease;
    --header-height: 88px;
    --header-height-scrolled: 78px;
    --font-heading: 'Marcellus', Georgia, serif;
    --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 2px rgba(28, 25, 21, 0.04);
    --shadow-md: 0 6px 24px rgba(28, 25, 21, 0.06);
    --shadow-lg: 0 20px 50px rgba(28, 25, 21, 0.10);
}

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

html { scroll-behavior: smooth; }

::selection { background: var(--text-dark); color: var(--bg-paper); }
::-moz-selection { background: var(--text-dark); color: var(--bg-paper); }

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.72;
    overflow-x: hidden;
    background-color: var(--bg-paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern";
    letter-spacing: 0.002em;
}

body.modal-open { overflow: hidden; }

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
    width: 90%;
    max-width: 1320px;
    margin: 0 auto;
}

.section-padding { padding: 120px 0; }

.text-center { text-align: center; }
.text-gold { color: var(--primary-color) !important; }
.text-white { color: var(--text-light) !important; }
.text-white-soft { color: rgba(255,255,255,0.75) !important; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--bg-dark); }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-50 { margin-top: 50px; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -0.02em;
}

.section-heading { margin-bottom: 70px; }

/* Formal eyebrow — type-only, no icons */
.section-subtitle {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.26em;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.section-subtitle::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--primary-color);
}

.section-subtitle i { display: none; }
.section-subtitle.center { justify-content: center; width: 100%; }
.section-heading.text-center .section-subtitle { display: inline-flex; }

.section-title {
    font-size: 64px;
    font-weight: 400;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
    line-height: 1.04;
}

.section-title em {
    font-style: normal;
    font-weight: 400;
    color: var(--primary-color);
}

.lead {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 22px;
    line-height: 1.78;
}

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-paper);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 25px; }
.loader-logo {
    width: auto;
    max-width: 444px;
    max-height: 178px;
    height: auto;
    object-fit: contain;
    animation: pulseLogo 1.4s ease-in-out infinite;
}
.loader-bar { width: 140px; height: 3px; background: var(--bg-soft); border-radius: 3px; overflow: hidden; position: relative; }
.loader-bar span {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    animation: loaderSlide 1.2s ease-in-out infinite;
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.92); opacity: 0.7; }
}
@keyframes loaderSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== Header ===== */
.site-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(14, 13, 11, 0.14);
    backdrop-filter: saturate(135%) blur(10px);
    -webkit-backdrop-filter: saturate(135%) blur(10px);
    z-index: 1000;
    transition: background-color 0.6s ease, box-shadow 0.6s ease, border-color 0.6s ease, height 0.45s ease, transform 0.45s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: none;
}

/* Scrolled state — desktop structure stays, color deepens smoothly */
.site-header.scrolled {
    height: var(--header-height-scrolled);
    background-color: rgba(251, 248, 242, 0.94);
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    border-bottom: 1px solid rgba(28, 25, 21, 0.08);
    box-shadow:
        0 16px 38px rgba(28, 25, 21, 0.10),
        0 1px 0 rgba(255, 255, 255, 0.55) inset;
}

/* Solid variant (inner pages) starts already on paper */
.site-header.solid {
    background-color: rgba(251, 248, 242, 0.94);
    backdrop-filter: saturate(150%) blur(18px);
    -webkit-backdrop-filter: saturate(150%) blur(18px);
    border-bottom: 1px solid rgba(28, 25, 21, 0.08);
    box-shadow: 0 14px 34px rgba(28, 25, 21, 0.08);
}

.header-inner {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
    gap: 22px;
    transition: gap 0.45s ease;
}

/* Hanging logo — no shadow, constant height */
.logo-wrapper {
    position: absolute;
    top: 0;
    left: 4%;
    width: 175px;
    height: 136px;
    background-color: #ffffff;
    border-bottom-left-radius: 52px;
    border-bottom-right-radius: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    transform: translateY(-100%);
    box-shadow: none;
    border: 1px solid rgba(28, 25, 21, 0.05);
    border-top: none;
    transition: background-color 0.45s ease, width 0.45s ease, height 0.45s ease, border-radius 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

.logo-wrapper.animate-in {
    animation: dropDownLogo 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Scrolled: preserve paper tab while compacting */
.site-header.scrolled .logo-wrapper {
    background-color: #ffffff;
    width: 160px;
    height: 122px;
    border-bottom-left-radius: 44px;
    border-bottom-right-radius: 44px;
    border-color: rgba(178, 130, 58, 0.12);
    box-shadow: 0 14px 30px rgba(28, 25, 21, 0.08);
}

.site-logo {
    width: auto;
    max-width: 145px;
    max-height: 88px;
    height: auto;
    object-fit: contain;
    transition: opacity 0.45s ease, max-width 0.45s ease, max-height 0.45s ease, transform 0.45s ease;
}

.site-header.scrolled .site-logo {
    max-width: 130px;
    max-height: 78px;
    transform: translateY(2px);
}

.logo-spacer {
    width: 190px;
    flex-shrink: 0;
    transition: width 0.45s ease;
}

.site-header.scrolled .logo-spacer { width: 175px; }

@keyframes dropDownLogo {
    0% { transform: translateY(-100%); opacity: 0; }
    60% { transform: translateY(5px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

/* Nav */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin-left: 0;
    min-width: 0;
}

.nav-list {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-item {
    opacity: 0;
    transform: translateY(-8px);
}
.nav-item.fade-in { animation: fadeInNav 0.7s ease forwards; }

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 33px 12px 29px;
    position: relative;
    transition: color 0.4s ease, padding 0.35s ease, opacity 0.3s ease;
}

.site-header.scrolled .nav-link { padding: 28px 12px 24px; }
.site-header.scrolled .nav-link,
.site-header.solid .nav-link { color: var(--text-dark); }

.nav-link i {
    font-size: 9px;
    opacity: 0.55;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 18px;
    left: 14px;
    right: 14px;
    height: 1px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    opacity: 1;
}
.nav-link:hover i { opacity: 1; transform: translateY(1px); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--primary-color); }

/* Darkened scroll state keeps nav transitions smooth */
.site-header.scrolled .nav-link:hover,
.site-header.scrolled .nav-link.active,
.site-header.solid .nav-link:hover,
.site-header.solid .nav-link.active { color: var(--primary-color); }
.site-header.scrolled .nav-link i,
.site-header.solid .nav-link i { color: inherit; opacity: 0.62; }
.site-header.scrolled .lang-switch,
.site-header.solid .lang-switch { color: var(--text-dark); }
.site-header.scrolled .lang-switch:hover {
    background: rgba(178, 130, 58, 0.08);
    color: var(--primary-color);
}
.site-header.scrolled .mobile-menu-btn span,
.site-header.solid .mobile-menu-btn span { background: var(--text-dark); }

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

/* Dropdown */
.dropdown { position: relative; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background-color: rgba(252, 249, 243, 0.98);
    min-width: 250px;
    box-shadow: 0 24px 60px rgba(28, 25, 21, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
    border: 1px solid rgba(28, 25, 21, 0.08);
    padding: 10px;
    z-index: 999;
    border-radius: 18px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.dropdown:hover > .dropdown-menu,
.dropdown:focus-within > .dropdown-menu {
    opacity: 1; visibility: visible; transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: var(--transition-fast);
    border-radius: 12px;
}

.dropdown-menu a i { color: var(--primary-color); font-size: 11px; width: 16px; }

.dropdown-menu a:hover {
    color: var(--primary-color);
    background-color: rgba(178, 130, 58, 0.08);
}

/* Mega Menu */
.mega-menu {
    min-width: 520px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 10px;
    gap: 6px;
}
.mega-col {
    padding: 6px;
    border-radius: 14px;
}
.mega-title {
    display: block;
    padding: 6px 10px 10px;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    border-bottom: 1px solid rgba(28, 25, 21, 0.08);
    margin-bottom: 8px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 9px 12px;
    border-radius: 6px;
    transition: color 0.35s ease, background-color 0.35s ease;
}
.lang-switch:hover { color: var(--primary-color); background: var(--bg-light); }

.mobile-menu-btn {
    display: none;
    width: 40px; height: 40px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.16);
    flex-direction: column; justify-content: center; align-items: center; gap: 4px;
    cursor: pointer;
    padding: 0;
    border-radius: 10px;
    transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.site-header.scrolled .mobile-menu-btn,
.site-header.solid .mobile-menu-btn {
    background: rgba(28, 25, 21, 0.03);
    border-color: rgba(28, 25, 21, 0.08);
}
.mobile-menu-btn:hover {
    background: rgba(178, 130, 58, 0.08);
    border-color: rgba(178, 130, 58, 0.28);
}

/* ===== References ===== */
.references-section {
    position: relative;
    overflow: hidden;
}

.logo-marquee {
    position: relative;
    overflow: hidden;
    padding: 26px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 10%, black 90%, transparent 100%);
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 18px;
    width: max-content;
    animation: marqueeLogos 34s linear infinite;
}

.logo-marquee:hover .logo-track {
    animation-play-state: paused;
}

.logo-item {
    width: 196px;
    min-width: 196px;
    height: 104px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(28, 25, 21, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-3px);
    border-color: rgba(178, 130, 58, 0.26);
    background: #fff;
}

.logo-item img {
    max-width: 100%;
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1) contrast(1.02) opacity(0.76);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.02);
}

@keyframes marqueeLogos {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .logo-track { animation: none; }
}
.mobile-menu-btn span {
    display: block; width: 18px; height: 1.8px;
    background: rgba(255, 255, 255, 0.92);
    transition: background-color 0.35s ease, transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(3px, 4px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(3px, -4px); }

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(14, 13, 11, 0.44);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 940;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 26px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 0;
}

.btn i { transition: transform 0.3s ease; font-size: 11px; }
.btn:hover i { transform: translateX(4px); }

.btn-sm { padding: 10px 18px; font-size: 12px; }
.btn-lg { padding: 19px 32px; font-size: 14px; }

.btn-primary {
    background-color: var(--text-dark);
    color: #fff;
    box-shadow: none;
}
.btn-primary:hover {
    background-color: var(--primary-color);
    box-shadow: 0 10px 22px rgba(178, 130, 58, 0.22);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover {
    background: #fff; color: var(--text-dark); border-color: #fff;
}

.btn-outline {
    background: transparent; color: #fff; border: 1px solid #fff;
}
.btn-outline:hover { background: #fff; color: var(--text-dark); }

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
    background: var(--primary-color); color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.02em;
    margin-top: 36px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--text-dark);
    transition: var(--transition-fast);
}
.link-arrow i { color: var(--primary-color); }
.link-arrow:hover { gap: 18px; color: var(--primary-color); border-color: var(--primary-color); }

/* ===== Hero ===== */
.hero {
    height: 100vh;
    min-height: 720px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}
.hero-slide {
    position: absolute; inset: 0;
    background: no-repeat center center/cover;
    z-index: -3;
    opacity: 0;
    transition: opacity 1.1s ease-in-out;
}
.hero-slide.active {
    opacity: 1;
    z-index: -2;
    animation: heroZoom 5s ease-out forwards;
}
.hero-slide:nth-child(1) { background-image: url('resources/slider1.jpg');  }
.hero-slide:nth-child(2) { background-image: url('resources/slider2.webp'); }
.hero-slide:nth-child(3) { background-image: url('resources/slider3.jpg');  }
.hero-slide:nth-child(4) { background-image: url('resources/slider4.jpg');  }
@keyframes heroZoom {
    from { transform: scale(1);    }
    to   { transform: scale(1.06); }
}
.hero-overlay {
    position: absolute; inset: 0;
    background:
      linear-gradient(180deg, rgba(19, 18, 16, 0.55) 0%, rgba(19, 18, 16, 0.35) 50%, rgba(19, 18, 16, 0.75) 100%),
      linear-gradient(90deg, rgba(19, 18, 16, 0.6) 0%, rgba(19, 18, 16, 0.15) 60%, rgba(19, 18, 16, 0) 100%);
    z-index: -1;
}

.hero-decor {
    position: absolute;
    right: 32px; top: 0; bottom: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    align-items: center;
    padding: 0 0 40px;
    z-index: 5;
}
.hero-side-text { display: none; }
.hero-scroll {
    color: rgba(255,255,255,0.55);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll span {
    display: block; width: 1px; height: 44px;
    background: rgba(255,255,255,0.25);
    position: relative; overflow: hidden;
}
.hero-scroll span::before {
    content: ''; position: absolute; inset: 0;
    background: #fff;
    animation: scrollDot 2.2s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

.hero-container {
    width: 92%; max-width: 1400px;
    margin: 0 auto;
    position: relative; z-index: 10;
    padding-top: 100px;
}

.hero-content { max-width: 820px; }

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    margin-bottom: 32px;
    color: rgba(255,255,255,0.8);
}
.hero-subtitle::before {
    content: '';
    width: 40px; height: 1px;
    background-color: rgba(255,255,255,0.5);
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 96px;
    color: #fff;
    margin-bottom: 36px;
    letter-spacing: -0.03em;
    line-height: 0.98;
    font-weight: 400;
}

.hero-content h1 .text-gold,
.hero-content h1 em {
    font-style: normal;
    font-weight: 400;
    color: var(--primary-color) !important;
}

.page-hero-content h1 em {
    font-style: normal;
    font-weight: 400;
    color: var(--primary-color);
}

.hero-content p {
    font-size: 17px;
    font-weight: 400;
    max-width: 560px;
    margin-bottom: 46px;
    color: rgba(255,255,255,0.78);
    letter-spacing: -0.003em;
    line-height: 1.6;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero fade sequence */
[data-fade] { opacity: 0; transform: translateY(25px); }
.hero-content.animate [data-fade],
.hero-container.animate [data-fade],
.page-hero-content.animate [data-fade] { animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero-content.animate [data-fade="1"],
.hero-container.animate [data-fade="1"],
.page-hero-content.animate [data-fade="1"] { animation-delay: 0.2s; }
.hero-content.animate [data-fade="2"],
.hero-container.animate [data-fade="2"],
.page-hero-content.animate [data-fade="2"] { animation-delay: 0.4s; }
.hero-content.animate [data-fade="3"],
.hero-container.animate [data-fade="3"],
.page-hero-content.animate [data-fade="3"] { animation-delay: 0.6s; }
.hero-content.animate [data-fade="4"],
.hero-container.animate [data-fade="4"] { animation-delay: 0.8s; }
.hero-content.animate [data-fade="5"],
.hero-container.animate [data-fade="5"] { animation-delay: 1s; }

/* Hero inline stats — editorial, no glass box */
.hero-stats {
    margin-top: 90px;
    display: flex;
    gap: 60px;
    padding: 28px 0 0;
    border-top: 1px solid rgba(255,255,255,0.14);
    max-width: 720px;
}
.hs-item { display: flex; flex-direction: column; gap: 6px; }
.hs-item strong {
    font-family: var(--font-heading);
    font-size: 42px;
    color: #fff;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    letter-spacing: -0.01em;
    font-feature-settings: "tnum", "ss01";
}
.hs-item span {
    font-size: 11px;
    color: rgba(255,255,255,0.62);
    text-transform: uppercase;
    letter-spacing: 2.2px;
    font-weight: 500;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
    height: 60vh;
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    margin-top: 0;
    padding-top: var(--header-height);
    overflow: hidden;
}
.page-hero-bg {
    position: absolute; inset: 0;
    background: no-repeat center/cover;
    z-index: -2;
    transform: scale(1.05);
    animation: kenBurns 15s ease-in-out infinite alternate;
}
.page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(19,18,16,0.85), rgba(19,18,16,0.45));
    z-index: -1;
}
.page-hero-content { max-width: 820px; padding-top: 40px; }
.page-hero-content h1 {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
    line-height: 1.0;
}
.page-hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    max-width: 580px;
    line-height: 1.6;
}
.page-hero-content .hero-subtitle { color: rgba(255,255,255,0.8); }

.breadcrumb {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
}
.breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--transition-fast); }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb i { font-size: 9px; }
.breadcrumb span { color: var(--primary-color); font-weight: 500; }

/* ===== Corporate (Biz Kimiz) ===== */
.corporate-grid {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 90px;
    align-items: center;
}

.feature-list { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.feature-item {
    display: flex; gap: 28px; align-items: baseline;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}
.feature-item:last-child { border-bottom: 1px solid var(--border-color); }
.feature-item .feat-num {
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    flex-shrink: 0;
    min-width: 24px;
}
.feature-item strong {
    display: block; color: var(--text-dark);
    font-family: var(--font-body); font-weight: 500; font-size: 15px;
    margin-bottom: 2px;
}
.feature-item span { font-size: 14px; color: var(--text-muted); }

.corporate-image {
    position: relative;
    padding: 0;
}
.corporate-image-main {
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
}
.corporate-image-main img {
    width: 100%; height: 560px; object-fit: cover;
    transition: transform 0.8s ease;
    filter: saturate(0.92);
}
.corporate-image:hover .corporate-image-main img { transform: scale(1.02); }

.corporate-image-sub {
    display: none;
}

/* Flat "Est." mark — no tilted badge */
.experience-badge {
    position: absolute;
    bottom: -24px; left: 32px;
    background-color: var(--bg-paper);
    color: var(--text-dark);
    padding: 22px 28px 22px 0;
    padding-left: 28px;
    display: flex;
    align-items: baseline;
    gap: 16px;
    border-top: 1px solid var(--primary-color);
    box-shadow: none;
    border-radius: 0;
}
.exp-number {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 400;
    font-style: italic;
    line-height: 1;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}
.exp-number small { font-size: 24px; font-style: normal; color: var(--text-dark); }
.exp-text {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ===== Services — editorial, no card-soup ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
}
.service-card {
    background: transparent;
    padding: 48px 32px 44px 0;
    position: relative;
    transition: var(--transition);
    border: none;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 28px;
}
.service-card:last-child { border-right: none; }

.service-card:hover {
    transform: none;
    box-shadow: none;
    background: rgba(178, 130, 58, 0.03);
}
.service-card:hover h3 { color: var(--primary-color); }

.service-number {
    font-family: var(--font-body);
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 4px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 28px;
    font-weight: 500;
    margin: 0;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}
.service-card p {
    font-size: 14px;
    color: var(--text-color);
    transition: color 0.3s ease;
    margin-bottom: 8px;
    flex: 1;
    line-height: 1.6;
}
.service-link {
    font-size: 12px;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: 0.01em;
    display: inline-flex; align-items: center; gap: 8px;
    transition: var(--transition-fast);
    margin-top: 8px;
}
.service-link i { color: var(--primary-color); transition: transform 0.3s ease; }
.service-card:hover .service-link { color: var(--primary-color); }
.service-card:hover .service-link i { transform: translateX(6px); }

/* ===== Value Section (Stats) ===== */
.value-section {
    position: relative;
    color: #fff;
    overflow: hidden;
}
.value-bg {
    position: absolute; inset: 0;
    background: no-repeat center/cover;
    z-index: -2;
    filter: grayscale(100%) contrast(0.95);
}
.value-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(19, 18, 16, 0.88), rgba(19, 18, 16, 0.95));
    z-index: -1;
}
.value-header { margin-bottom: 80px; }
.value-header .section-title { color: #fff; }
.value-header .section-subtitle { color: rgba(255,255,255,0.7); }
.value-header .section-subtitle::before { background: var(--primary-color); }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255,255,255,0.14);
    border-bottom: 1px solid rgba(255,255,255,0.14);
}
.stat-item {
    background: transparent;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.1);
    padding: 54px 28px;
    text-align: left;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover {
    transform: none;
    background: rgba(255,255,255,0.03);
}
.stat-mark {
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2.4px;
    color: var(--primary-color);
    margin-bottom: 28px;
    text-transform: uppercase;
}
.stat-number-wrap {
    display: flex; align-items: baseline;
    justify-content: flex-start;
    gap: 4px;
    color: #fff;
}
.stat-number {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 400;
    color: #fff;
    line-height: 0.95;
    letter-spacing: -0.025em;
    font-feature-settings: "tnum" 1;
}
.stat-plus {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 400;
    color: var(--primary-color);
    font-style: italic;
    margin-left: 2px;
}
.stat-label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.55);
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2.2px;
}

/* ===== Mission Vision — editorial, no card-chrome ===== */
.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--border-color);
}
.mv-card {
    background: transparent;
    padding: 56px 40px 56px 0;
    padding-left: 36px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border: none;
    border-right: 1px solid var(--border-color);
    border-radius: 0;
}
.mv-card:last-child { border-right: none; }

.mv-card:hover {
    box-shadow: none;
    transform: none;
    background: rgba(178, 130, 58, 0.03);
}

.mv-icon { display: none; }

.mv-number {
    position: static;
    display: block;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--primary-color);
    letter-spacing: 2.5px;
    line-height: 1;
    margin-bottom: 24px;
}
.mv-card h2 {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 500;
    margin-bottom: 18px;
    color: var(--text-dark);
    letter-spacing: -0.008em;
    line-height: 1.12;
}
.mv-card p {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.7;
}

/* ===== Projects ===== */
.projects-section { position: relative; }
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 60px;
}
.section-header-flex .section-subtitle {
    color: rgba(255,255,255,0.55);
}
.section-header-flex .section-subtitle::before {
    background: var(--primary-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.project-card {
    background: transparent;
    overflow: hidden;
    display: block;
    transition: var(--transition);
    border-radius: 0;
    box-shadow: none;
}
.projects-section .project-card {
    background: transparent;
    box-shadow: none;
    border: none;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: none;
}
.projects-section .project-card:hover {
    border-color: transparent;
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 360px;
    margin-bottom: 22px;
}
.project-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    filter: saturate(0.98) contrast(1.02);
}
.project-card:hover .project-img img { transform: scale(1.05); filter: saturate(1.06) contrast(1.04); }

.project-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: rgba(251,248,242,0.92);
    backdrop-filter: blur(6px);
    color: var(--text-dark);
    padding: 6px 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    border-radius: 0;
    display: inline-flex; align-items: center; gap: 7px;
    z-index: 2;
}
.project-badge i { color: var(--primary-color); font-size: 10px; }

.project-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(19, 18, 16, 0) 55%, rgba(19, 18, 16, 0.55));
    display: flex; justify-content: flex-end; align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.project-card:hover .project-overlay { opacity: 1; }

.project-link {
    width: 42px; height: 42px;
    background: var(--bg-paper);
    color: var(--text-dark);
    display: flex; align-items: center; justify-content: center;
    border-radius: 0;
    font-size: 13px;
    transform: translateY(10px);
    transition: transform 0.35s ease, background 0.25s ease;
}
.project-card:hover .project-link { transform: translateY(0); }
.project-link:hover { background: var(--primary-color); color: #fff; }

.project-info { padding: 0; }
.projects-section .project-info { border-top: none; }

.project-category,
.project-meta {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.projects-section .project-category,
.projects-section .project-meta { color: rgba(255,255,255,0.5); }
.project-meta i { color: var(--primary-color); font-size: 10px; }

.project-info h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.015em;
    transition: color 0.3s ease;
}
.projects-section .project-info h3 { color: #fff; }
.project-card:hover .project-info h3 { color: var(--primary-color); }
.projects-section .project-info { padding: 20px 2px 2px; }

.project-client {
    font-size: 13.5px;
    color: var(--text-muted);
}
.projects-section .project-client { color: rgba(255,255,255,0.45); }

.project-detail-list {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    display: flex; flex-direction: column; gap: 8px;
}
.projects-section .project-detail-list { border-top-color: rgba(255,255,255,0.08); }
.project-detail-list li {
    display: flex; justify-content: space-between;
    font-size: 13px;
    gap: 12px;
}
.project-detail-list span { color: var(--text-muted); letter-spacing: 0.01em; }
.projects-section .project-detail-list span { color: rgba(255,255,255,0.45); }
.project-detail-list strong {
    color: var(--text-dark); font-weight: 500;
    text-align: right;
}
.projects-section .project-detail-list strong { color: rgba(255,255,255,0.85); }

/* ===== Projects Page ===== */
.projects-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: none;
    margin-bottom: 70px;
}
.ps-item {
    padding: 42px 20px;
    text-align: left;
    border-right: 1px solid var(--border-color);
}
.ps-item:last-child { border-right: none; }
.ps-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 52px;
    color: var(--text-dark);
    font-weight: 300;
    font-style: italic;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
    font-feature-settings: "tnum";
}
.ps-item span {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2.2px;
}

.filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.filter-tabs {
    display: flex; gap: 8px; flex-wrap: wrap;
}
.filter-tab {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 11px 20px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
    border-radius: 0;
}
.filter-tab i { color: var(--primary-color); font-size: 11px; opacity: 0.8; }
.filter-tab .count {
    background: transparent;
    padding: 0 0 0 4px;
    font-size: 10px;
    border-radius: 0;
    color: var(--text-muted);
    margin-left: 4px;
    letter-spacing: 1px;
}
.filter-tab:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}
.filter-tab.active {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}
.filter-tab.active i { color: var(--primary-color); opacity: 1; }
.filter-tab.active .count { color: rgba(255,255,255,0.55); }

.filter-search {
    position: relative;
    flex: 0 1 300px;
}
.filter-search i {
    position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
    color: var(--text-color);
    font-size: 13px;
}
.filter-search input {
    width: 100%;
    padding: 12px 18px 12px 42px;
    border: 1px solid var(--border-color);
    background: transparent;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition-fast);
    border-radius: 0;
}
.filter-search input:focus {
    outline: none; border-color: var(--text-dark);
    box-shadow: none;
}

.projects-grid.all-projects {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.projects-grid.all-projects .project-card.hide {
    display: none;
}
.projects-grid.all-projects .project-card {
    animation: fadeInCard 0.5s ease forwards;
}
@keyframes fadeInCard {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.no-results {
    text-align: center;
    padding: 80px 20px;
}
.no-results i {
    font-size: 50px; color: var(--border-color);
    margin-bottom: 20px;
}
.no-results h3 { font-size: 24px; margin-bottom: 10px; color: var(--text-dark); }

/* ===== CTA Band ===== */
.cta-band {
    background: var(--text-dark);
    position: relative;
    overflow: hidden;
    padding: 90px 0;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}
.cta-inner h2 {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    line-height: 1.1;
    max-width: 640px;
}
.cta-inner p {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    max-width: 560px;
}
.cta-band .btn-primary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}
.cta-band .btn-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* ===== Contact ===== */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-intro .section-subtitle { margin-bottom: 28px; }
.contact-intro .lead { max-width: 460px; margin-top: 20px; }
.contact-intro .link-arrow { margin-top: 32px; }

.contact-info {
    border-top: 1px solid var(--border-color);
}

.contact-list {
    display: flex; flex-direction: column;
}
.contact-list li {
    display: flex;
    padding: 26px 4px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-fast);
}
.contact-list li:hover {
    padding-left: 10px;
}
.c-text {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 40px;
    align-items: baseline;
    width: 100%;
}
.c-text strong {
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}
.c-text span {
    color: var(--text-dark);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
}
.c-text a { color: inherit; transition: color 0.25s ease; }
.c-text a:hover span { color: var(--primary-color); }

/* Stack multiple values in the second grid column (e.g. two phone lines) */
.c-text-stack {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.c-text-stack a { display: block; }

/* ===== Footer ===== */
.site-footer {
    background: var(--bg-darker);
    color: rgba(255,255,255,0.7);
}
.footer-top {
    padding: 90px 0 60px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.3fr;
    gap: 50px;
}
.footer-logo {
    width: auto;
    max-width: 403px;
    max-height: 113px;
    height: auto;
    object-fit: contain;
    /* Gold asset → white on dark footer */
    filter: brightness(0) invert(1);
}
.footer-brand p { font-size: 14.5px; max-width: 360px; }
.footer-widget h3 {
    color: #fff;
    font-size: 12px;
    font-family: var(--font-body);
    font-weight: 500;
    margin-bottom: 26px;
    position: relative;
    padding-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 2.2px;
    opacity: 0.7;
}
.footer-widget h3::after { display: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
    transition: var(--transition-fast);
    font-size: 14px;
    display: inline-flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.7);
}
.footer-links a i { display: none; }
.footer-links a:hover { color: var(--primary-color); gap: 14px; }
.footer-links a:hover::before {
    content: '→';
    color: var(--primary-color);
    margin-right: 4px;
}

.footer-contact li {
    display: flex; gap: 12px; align-items: flex-start;
    font-size: 14px; margin-bottom: 14px;
}
.footer-contact i {
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.social-links a {
    display: inline-flex;
    justify-content: center; align-items: center;
    width: 38px; height: 38px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 0;
    margin-right: 8px;
    transition: var(--transition-fast);
    font-size: 13px;
}
.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    padding: 25px 0;
    font-size: 13px;
}
.footer-bottom .container {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 10px;
}
.footer-bottom-links {
    display: flex; gap: 25px;
}
.footer-bottom-links a:hover { color: var(--primary-color); }

.footer-legal-btn {
    background: transparent;
    border: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
    transition: color 0.25s ease;
    padding: 0;
}

.footer-legal-btn:hover { color: var(--primary-color); }

/* ===== Legal Modal ===== */
.legal-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    z-index: 1500;
}

.legal-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.legal-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(17, 15, 13, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.legal-modal__dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: min(86vh, 760px);
    overflow: auto;
    background: #fcf9f3;
    color: var(--text-dark);
    padding: 40px 36px 34px;
    box-shadow: 0 30px 70px rgba(14, 13, 11, 0.24);
    border: 1px solid rgba(178, 130, 58, 0.18);
    transform: translateY(28px) scale(0.98);
    transition: transform 0.35s ease;
}

.legal-modal.is-open .legal-modal__dialog {
    transform: translateY(0) scale(1);
}

.legal-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-dark);
    cursor: pointer;
    transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

.legal-modal__close:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(178, 130, 58, 0.05);
}

.legal-modal__eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.24em;
    color: var(--primary-color);
}

.legal-modal__dialog h3 {
    font-size: 42px;
    margin-bottom: 18px;
    color: var(--text-dark);
}

.legal-modal__content {
    display: grid;
    gap: 16px;
    color: var(--text-color);
    font-size: 15px;
    line-height: 1.8;
}

.legal-modal__content strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* ===== Scroll Top ===== */
.scroll-top {
    position: fixed;
    right: 25px; bottom: 25px;
    width: 42px; height: 42px;
    background: var(--text-dark);
    color: #fff;
    border: none;
    border-radius: 0;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 500;
    box-shadow: 0 10px 24px rgba(28, 25, 21, 0.18);
    font-size: 13px;
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-color); transform: translateY(-2px); }

/* ===== Animations (scroll reveal) ===== */
.reveal-scroll {
    opacity: 0;
    filter: blur(6px);
    transform: translate3d(0, 34px, 0) scale(0.988);
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-scroll.active {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1);
}
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid .service-card:nth-child(2) { border-right: none; }
    .services-grid .service-card:nth-child(1),
    .services-grid .service-card:nth-child(2) { border-bottom: 1px solid var(--border-color); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .hero-decor { display: none; }
}

@media (max-width: 1024px) {
    .section-padding { padding: 90px 0; }
    .corporate-grid, .contact-layout { grid-template-columns: 1fr; gap: 60px; }
    .projects-grid,
    .projects-grid.all-projects { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid .stat-item:nth-child(2) { border-right: none; }
    .stats-grid .stat-item:nth-child(1),
    .stats-grid .stat-item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.14); }
    .mv-grid { grid-template-columns: 1fr; }
    .mv-card { border-right: none; border-bottom: 1px solid var(--border-color); }
    .mv-card:last-child { border-bottom: none; }
    .projects-summary { grid-template-columns: repeat(2, 1fr); }
    .ps-item:nth-child(2) { border-right: none; }
    .ps-item:nth-child(1),
    .ps-item:nth-child(2) { border-bottom: 1px solid var(--border-color); }
    .hero-content h1 { font-size: 60px; }
    .page-hero-content h1 { font-size: 52px; }
    .section-title { font-size: 42px; }
    .corporate-image-main img { height: 480px; }
    .main-nav { justify-content: flex-end; }
    .nav-link { padding-left: 10px; padding-right: 10px; }
    .legal-modal__dialog h3 { font-size: 34px; }
}

@media (max-width: 768px) {
    .section-padding { padding: 72px 0; }
    .section-title { font-size: 34px; }
    .hero { min-height: 620px; }
    .hero-content h1 { font-size: 44px; }
    .hero-content p { font-size: 15.5px; }
    .hero-buttons .btn { font-size: 12px; padding: 14px 20px; }
    .hero-stats { flex-wrap: wrap; gap: 28px; padding: 24px 0 0; margin-top: 50px; }
    .hs-item strong { font-size: 32px; }

    .page-hero { min-height: 340px; height: auto; padding: 140px 0 80px; }
    .page-hero-content h1 { font-size: 40px; }

    .projects-grid,
    .projects-grid.all-projects { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; border-top: 1px solid var(--border-color); }
    .service-card { border-right: none; border-bottom: 1px solid var(--border-color); padding: 36px 0 32px; }
    .service-card:last-child { border-bottom: none; }
    .service-card h3 { font-size: 24px; }

    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.14); }
    .stat-item:last-child { border-bottom: none; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .section-header-flex { flex-direction: column; align-items: flex-start; gap: 20px; }
    .header-actions { gap: 10px; }

    .c-text { grid-template-columns: 1fr; gap: 6px; }
    .c-text strong { font-size: 10px; }

    .cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
    .cta-inner h2 { font-size: 28px; }

    .experience-badge { padding: 18px 22px 18px 0; bottom: -18px; left: 0; }
    .exp-number { font-size: 32px; }
    .corporate-image { padding: 0; }
    .corporate-image-main img { height: 360px; }

    .filter-wrapper { flex-direction: column; align-items: stretch; }
    .filter-search { flex: 1; }
    .filter-tabs { justify-content: flex-start; }
    .filter-tab { font-size: 11px; padding: 10px 14px; }
    .filter-tab .count { display: none; }

    .ps-item { padding: 28px 16px; }
    .ps-item strong { font-size: 38px; }

    .logo-wrapper { width: 150px; height: 110px; left: 4%; }
    .site-logo { max-width: 120px; max-height: 72px; }
    .logo-spacer { width: 160px; }
    .site-header.scrolled .logo-wrapper { width: 140px; height: 108px; }
    .site-header.scrolled .site-logo { max-width: 112px; max-height: 66px; }
    .site-header.scrolled .logo-spacer { width: 150px; }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--bg-paper);
        height: 100vh;
        padding: 120px 24px 40px;
        transform: translateX(100%);
        transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
        box-shadow: none;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: stretch;
        flex-direction: column;
        z-index: 960;
        border: none;
    }
    .main-nav.active { transform: translateX(0); }

    .site-header.scrolled .main-nav,
    .site-header.solid .main-nav {
        background: var(--bg-paper);
    }

    .header-actions {
        position: relative;
        z-index: 1001;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        width: 100%;
    }
    .nav-item {
        opacity: 1;
        transform: none;
        border: none;
        border-bottom: 1px solid var(--border-color);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        width: 100%;
    }
    .nav-item:last-child {
        border-bottom: none;
    }
    .nav-link {
        padding: 20px 12px;
        font-size: 16px;
        color: var(--text-dark);
        letter-spacing: 0.05em;
        justify-content: space-between;
        font-weight: 600;
        display: flex;
        width: 100%;
    }
    .nav-link::after { display: none; }
    .nav-link i { font-size: 12px; opacity: 0.55; transition: transform 0.25s ease, opacity 0.25s ease; }
    .dropdown.active .nav-link {
        color: var(--primary-color);
        background: transparent;
    }
    .dropdown.active .nav-link i { transform: rotate(180deg); opacity: 1; }

    .dropdown-menu, .mega-menu {
        position: static;
        box-shadow: none;
        opacity: 1; visibility: visible;
        transform: none;
        display: none;
        background: rgba(0, 0, 0, 0.02);
        border: none;
        margin: 0;
        padding: 0 0 12px 0;
        grid-template-columns: 1fr;
        min-width: 0;
        border-radius: 0;
    }
    .dropdown-menu a,
    .mega-menu a {
        padding: 12px 24px;
        font-size: 14px;
        color: var(--text-color);
        background: transparent;
        margin-top: 0;
        border: none;
        border-left: 2px solid transparent;
        border-radius: 0;
    }
    .dropdown-menu a:hover,
    .mega-menu a:hover {
        padding-left: 28px;
        background: transparent;
        color: var(--primary-color);
        border-left-color: var(--primary-color);
    }
    .mega-menu .mega-title {
        padding: 10px 4px 4px;
        margin-bottom: 0;
        font-size: 10px;
        letter-spacing: 0.16em;
        border-bottom: none;
    }
    .dropdown.active > .dropdown-menu { display: block; }

    .mobile-menu-btn { display: flex; }
    .btn-sm.btn-primary { display: none; }
    .logo-item {
        width: 170px;
        min-width: 170px;
        height: 92px;
        padding: 18px 22px;
    }
    .logo-item img { max-height: 40px; }
    .legal-modal__dialog {
        padding: 34px 24px 24px;
    }
    .legal-modal__dialog h3 { font-size: 28px; }
}

@media (max-width: 480px) {
    .projects-summary { grid-template-columns: 1fr 1fr; }
    .hero-content h1 { font-size: 38px; }
    .section-title { font-size: 30px; }
    .footer-bottom .container { justify-content: center; text-align: center; }
    .ps-item strong { font-size: 34px; }
    .main-nav {
        padding: 98px 14px 24px;
    }
    .nav-link { padding: 16px 12px; }
}
