/* ==========================================================================
   NGSP THEME STYLESHEET
   --------------------------------------------------------------------------
   STRUCTURE INDEX:
   SECTION 1: FONTS, VARIABLES & RESET .......... (Lines ~35-240)
   SECTION 2: GLOBAL NAVIGATION & BUTTONS ....... (Lines ~240-330)
   SECTION 3: HEADER & TOP BRANDING ............. (Lines ~330-540)
   SECTION 4: HERO & STATS SECTION .............. (Lines ~540-860)
   SECTION 5: COMPLEX DESIGN TABS ............... (Lines ~860-1120)
   SECTION 6: BIM & ADVANTAGES .................. (Lines ~1120-1445)
   SECTION 7: APPOINTMENT & CONTACT FORMS ....... (Lines ~1445-1718)
   SECTION 8: PROJECTS ARCHIVE & CARDS .......... (Lines ~1718-1998)
   SECTION 9: FAQ ACCORDIONS .................... (Lines ~1998-2140)
   SECTION 10: CONTACTS FINAL & V2 SECTIONS ..... (Lines ~2140-2355)
   SECTION 11: FOOTER & SITE MODALS ............. (Lines ~2355-2530)
   SECTION 12: MOBILE DRAWER & MODAL POPUPS ..... (Lines ~2530-4100)
   SECTION 13: INNER PAGES (ABOUT, BIM, CPT) .... (Lines ~4100-6430)
   SECTION 14: RESPONSIVE MEDIA QUERIES ......... (Lines ~6430+)
   ========================================================================== */

/* Local Font Declarations */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/Inter-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Inter-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Inter-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Inter-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Inter-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/Manrope-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/Manrope-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/Manrope-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Manrope-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Manrope-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/Rajdhani-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'Rajdhani';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/Rajdhani-Bold.ttf') format('truetype');
}


:root {
    --accent-color: #062A4C;
    --accent-hover: #194875;
    --text-color: #1D1D1D;
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Manrope', sans-serif;
}

/* Custom Styled Scrollbar using :root variables */
html,
body,
* {
    scrollbar-color: #062A4C #F3F4F6 !important;
    scrollbar-width: thin !important;
}

::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
    background-color: #F3F4F6 !important;
}

::-webkit-scrollbar-track {
    background: #F3F4F6 !important;
}

::-webkit-scrollbar-thumb {
    background: #062A4C !important;
    background-color: var(--accent-color, #062A4C) !important;
    border-radius: 4px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: #194875 !important;
    background-color: var(--accent-hover, #194875) !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent !important;
}

button,
a,
input,
textarea,
select,
[role="button"],
.tab-item,
.faq-item,
.faq-header {
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

html,
body {
    width: 100%;
    min-height: 100vh;
    background-color: #ffffff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #000;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--accent-hover);
}

/* Continuous Background Architectural Grid for <main> */
.site-main {
    position: relative;
    width: 100%;
    background-image: url('../images/background-grid-pattern.svg');
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 1182px auto;
    flex: 1 0 auto;
}

/* Accessibility screen-reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Universal Container Class */
.container {
    max-width: 1220px;
    width: 100%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
}

/* ==========================================================================
   DESIGN SYSTEM & GLOBAL BASE CLASSES
   ========================================================================== */

/* Headings */
.h1,
h1 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: #FFFFFF;
}

.h2,
h2 {
    font-family: var(--font-secondary);
    font-size: 76px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
    color: #111827;
}

.h3,
h3 {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    color: #0F172A;
}

/* Subtitles & Body text */
.subtitle {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
    color: var(--text-color);
}

.text-body {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.16px;
    color: #64748B;
}

.text-small {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: #FFFFFF;
}

/* Global Navigation Typography */
.nav-text {
    font-family: var(--font-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Global Buttons & Form Controls */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--accent-color);
    color: #FFFFFF;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
}

.form-control-base {
    width: 100%;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 300;
    color: #111827;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #C8C6C6;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-control-base:focus {
    border-bottom-color: var(--accent-color);
}

.site-header-wrapper {
    position: relative;
    width: 100%;
    background-color: transparent;
    overflow: visible;
    z-index: 20;
    flex: 0 0 auto;
}

/* Continuous Vertical Architectural Grid Lines */
.vertical-grid-lines {
    display: none;
}

.v-line {
    position: absolute;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: #A6A3A3;
}

/* Brand Diagonal Background - strictly fixed to container & extending left */
.brand-diagonal-bg {
    position: absolute;
    top: 0;
    left: calc(50% - 683px - 2000px);
    width: 2446px;
    height: 344px;
    background: linear-gradient(273deg, var(--accent-color) 50.17%, #0F172A 74.36%);
    clip-path: polygon(0 0, 2446px 0, 1723px 323px, 0 326px);
    pointer-events: none;
    z-index: 10;
}

/* Main Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999 !important;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.header.is-scrolled {
    background: linear-gradient(273deg, var(--accent-color) 50.17%, #0F172A 74.36%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999 !important;
}

.header-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 14px;
    transition: padding 0.3s ease;
}

.header.is-scrolled .header-content {
    padding-top: 14px;
    padding-bottom: 14px;
}

/* Container-width Border Line (#A1A1A1) */
.header-border-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #A6A3A3;
    z-index: 15;
    transform-origin: center;
    animation: expandHeaderLine 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: opacity 0.3s ease;
}

.header.is-scrolled .header-border-line {
    display: none;
}

@keyframes expandHeaderLine {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }

    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    z-index: 12;
}

.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 146px;
    height: 57px;
    display: block;
    object-fit: contain;
}

/* Right Section */
.header-right {
    display: flex;
    align-items: center;
    margin-left: auto;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu-list,
.nav-menu ul,
.nav-menu li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-menu-list li::marker,
.nav-menu li::marker {
    display: none !important;
    content: "" !important;
}

.nav-link {
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-hover);
}

.header.is-scrolled .nav-link {
    color: #FFFFFF;
}

.header.is-scrolled .nav-link:hover,
.header.is-scrolled .nav-link.active {
    color: #93C5FD;
}

/* Phone Contacts */
.header-contacts {
    display: flex;
    align-items: center;
    margin-left: clamp(20px, 3vw, 58px);
}

.phone-link {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s ease;
}

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

.header.is-scrolled .phone-link {
    color: #FFFFFF;
}

.header.is-scrolled .phone-link:hover {
    color: #93C5FD;
}

/* Action Button */
.header-action {
    display: flex;
    align-items: center;
    margin-left: clamp(20px, 3vw, 58px);
}

.btn-contact {
    display: flex;
    width: 180px;
    padding: 15px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: #FFF;
    font-family: var(--font-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--accent-hover);
}

.header.is-scrolled .btn-contact {
    background: #FFFFFF;
    color: var(--accent-color);
}

.header.is-scrolled .btn-contact:hover {
    background-color: #E2E8F0;
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    padding-top: 160px;
    padding-bottom: 20px;
    z-index: 5;
    background-image: url('../images/background-grid-pattern.svg');
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 1182px auto;
}

.hero-container {
    position: relative;
    min-height: 540px;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 993px;
}

/* Hero Title Animation */
.hero-title {
    font-family: var(--font-primary);
    display: flex;
    flex-direction: column;
    margin: 0;
}

.title-line-1 {
    display: flex;
    align-items: baseline;
    gap: 10px;
    opacity: 0;
    transform: translateY(35px);
    animation: heroTitleFade 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.title-main {
    color: var(--accent-color);
    font-family: var(--font-primary);
    font-size: 110px;
    font-style: normal;
    font-weight: 400;
    line-height: 90px;
}

.title-sub {
    color: var(--accent-color);
    font-family: var(--font-primary);
    font-size: 28px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.title-line-2 {
    color: var(--accent-color);
    font-family: var(--font-primary);
    font-size: 110px;
    font-style: normal;
    font-weight: 400;
    line-height: 120px;
    position: relative;
    top: -14px;
    opacity: 0;
    transform: translateY(35px);
    animation: heroTitleFade 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes heroTitleFade {
    0% {
        opacity: 0;
        transform: translateY(35px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Features */
.hero-features {
    list-style: none;
    margin-top: 33px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    left: -23px;
    position: relative;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 7.5px;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
}

.feature-icon {
    width: 46px;
    height: 46px;
    display: block;
    transform: rotate(90deg);
}

/* Hero Action Button */
.hero-action {
    margin-top: 58px;
}

.btn-hero {
    display: inline-flex;
    width: 280px;
    padding: 20px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: #FFF;
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
    text-transform: uppercase;
    position: 2;
}

.btn-hero:hover {
    color: #FFF !important;
    background-color: var(--accent-hover);
}

.btn-arrow {
    display: block;
}

/* Hero Building Illustration */
.hero-image-wrapper {
    position: absolute;
    top: 2px;
    right: -63px;
    width: 846px;
    height: 616px;
    aspect-ratio: 103 / 75;
    opacity: 0.9;
    z-index: 4;
    pointer-events: none;
}

.hero-building-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Stats & Contracts Section */
.stats-contracts-section {
    position: relative;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 80px;
    z-index: 5;
}


/* 4 Columns Stats Box */
.stats-grid-box {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    border: 1px solid #C8C6C6;
    background-color: transparent;
    margin-top: 30px;
    position: relative;
    z-index: 6;
}

.stat-col {
    display: flex;
    width: 100%;
    padding: 18px 20px;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #C8C6C6;
}

.stat-col:last-child {
    border-right: none;
}

.stat-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-num {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 76px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
}

.stat-label {
    max-width: 138px;
    color: var(--text-color);
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
    margin-top: 6px;
}

/* Grid Crosshairs Divider Line */
.grid-crosshairs-divider {
    position: relative;
    width: 1180px;
    height: 12px;
    margin-top: 30px;
    z-index: 6;
}

.grid-crosshairs-divider.bottom-divider {
    margin-top: 81px;
    margin-bottom: 0;
    height: 1px;
}

.grid-crosshairs-divider.bottom-divider .crosshair-point {
    top: 0;
}

/* Contracts Info Block */
.contracts-info-block {
    margin-top: 121px;
    max-width: 507px;
    position: relative;
    z-index: 6;
}

.contracts-text {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
}

.contracts-subtext {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
    margin-top: 0;
}

.contracts-action {
    margin-top: 17px;
}

.btn-contracts {
    display: inline-flex;
    padding: 20px 40px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: #FFF;
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-contracts:hover {
    background-color: var(--accent-hover);
    color: #FFF !important;
}

.btn-icon-logo {
    width: 29px;
    height: 26.144px;
    object-fit: contain;
}

/* Complex Design Section */
.complex-design-section {
    padding: 0;
    position: relative;
    z-index: 6;
}

.complex-design-title {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 76px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
    margin-bottom: 30px;
    width: 100%;
}

.complex-design-grid {
    display: grid;
    grid-template-columns: minmax(0, 590px) minmax(0, 1fr);
    gap: 31px;
    position: relative;
}

/* Tabs List */
.tabs-list {
    display: flex;
    flex-direction: column;
    position: relative;
}

.tab-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 72px;
    padding: 3px 13px 3px 20px;
    gap: 33px;
    border-bottom: 1px solid #C8C6C6;
    background: none;
    border-top: none;
    border-left: none;
    border-right: none;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    align-self: stretch;
    position: relative;
}

.tab-item:first-child {
    border-top: none;
}

.tab-item:last-child {
    border-bottom: none;
}

.tab-header {
    display: flex;
    align-items: center;
    gap: 33px;
    width: 100%;
}

.mobile-tab-content {
    display: none;
}

/* Mobile-only illustration — hidden on desktop */
.complex-design-mobile-illustration {
    display: none;
}

.tab-num {
    width: 64px;
    color: #CCC;
    font-family: 'Rajdhani', sans-serif;
    font-size: 52px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    transition: color 0.2s ease;
    flex-shrink: 0;
}

.tab-text {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    transition: color 0.2s ease;
    text-transform: uppercase;
}

.tab-item.active .tab-num {
    color: var(--accent-color);
}

.tab-item.active .tab-text {
    color: var(--accent-hover);
}

/* Tab Content Area */
.tab-content-area {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.big-watermark-num {
    position: absolute;
    top: -191px;
    right: 11px;
    width: 190px;
    height: 224.161px;
    color: #CCC;
    font-family: 'Rajdhani', sans-serif;
    font-size: 164px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    user-select: none;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-description {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: 0.16px;
    width: 100%;
    max-width: 557px;
    position: relative;
    z-index: 2;
    margin-top: 0;
}

.tab-illustration {
    position: absolute;
    bottom: -130px;
    right: 0;
    margin-top: 0;
    padding-top: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: auto;
    max-width: 480px;
    pointer-events: none;
    z-index: 2;
}

body.home .complex-design-section .tab-illustration,
body.front-page .complex-design-section .tab-illustration {
    bottom: -50px;
}

.tab-illustration .illustration-img {
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    display: block;
}

/* CTA Banner Section */
.cta-banner-section {
    width: 100%;
    margin-top: 47px;
    position: relative;
    z-index: 6;
}

.cta-banner-container {
    position: relative;
    width: 100%;
    min-height: 220px;
    background-color: #06182B;
    overflow: hidden;
    padding: 47px 0;
    display: flex;
    align-items: center;
}

.cta-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: right center;
    z-index: 1;
}

.cta-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #06182B 0%, #06182B 55%, rgba(6, 24, 43, 0.85) 70%, rgba(6, 24, 43, 0.2) 100%);
    z-index: 2;

}

.cta-banner-content {
    max-width: 1180px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 26px;
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.cta-title {
    color: #FFF;
    font-family: var(--font-secondary);
    font-size: 36px;
    font-style: normal;
    font-weight: 500;
    line-height: 42px;
    width: 488px;
    max-width: 488px;
}



.cta-logo-wrapper {
    position: absolute;
    right: 5px;
    bottom: -25px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.cta-logo-img {
    width: 230px;
    height: 87px;
    object-fit: contain;
}

/* BIM Video Section */
.bim-section {
    padding-top: 100px;
    background-color: transparent;
    position: relative;
    z-index: 6;
}

.bim-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.bim-header-left {
    position: relative;
}

.bim-title {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 76px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
}

.bim-subtitle {
    position: absolute;
    left: 212px;
    bottom: 0;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
    margin-bottom: 0;
}

.bim-carousel-nav {
    display: flex;
    align-items: center;
}

.bim-nav-btn {
    display: flex;
    width: 71px;
    height: 69px;
    padding: 22px 24px 23px 23px;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    background-color: var(--accent-color);
    color: #ffffff;
    transition: all 0.2s ease;
}

.bim-nav-btn:hover:not(.is-disabled) {
    background-color: var(--accent-hover);
    color: #ffffff;
}

.bim-nav-btn.is-disabled {
    background-color: #ffffff;
    color: var(--accent-color);
    border: 1px solid #F4F4F4;
    cursor: default;
}

.nav-arrow-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    aspect-ratio: 1/1;
}

/* BIM Video Card & Player */
.bim-video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 1px solid #C8C6C6;
    background-color: #F8FAFC;
    overflow: hidden;
}

.bim-video-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bim-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.bim-iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video Placeholder */
.video-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.video-placeholder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 0;
}

.video-play-icon {
    width: 72px;
    height: 72px;
    display: block;
    pointer-events: none;
}

/* BIM Advantages 3-Column Section */
.bim-advantages-section {
    padding-top: 34px;
    padding-bottom: 120px;
    background-color: transparent;
    position: relative;
    z-index: 6;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border: none;
    background-color: transparent;
}

.adv-col {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #C8C6C6;
}

.adv-col:last-child {
    border-right: none;
}

.adv-icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    height: 104px;
    border-bottom: 1px solid #C8C6C6;
}

.adv-icon {
    width: 64px;
    height: 64px;
    display: block;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.adv-col:hover .adv-icon {
    transform: rotate(15deg);
}

.adv-text-box {
    padding: 21px 30px 35px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

    .adv-col:nth-child(2) {
        border-right: none;
    }

    .advantages-divider {
        display: none;
    }
}

@media (max-width: 575px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .adv-col {
        border-right: none;
        border-bottom: 1px solid #C8C6C6;
    }

    .adv-col:last-child {
        border-bottom: none;
    }
}

.adv-title {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
}

.adv-desc {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
}

.advantages-divider {
    width: 100%;
    height: 0;
    margin-top: 0;
    position: relative;
}

.crosshair-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #C8C6C6;
    z-index: 2;
}

.crosshair-v-line {
    position: absolute;
    top: -30px;
    height: 60px;
    width: 1px;
    background-color: #C8C6C6;
    z-index: 2;
}

.crosshair-point {
    position: absolute;
    top: 30px;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crosshair-icon {
    width: 46px;
    height: 46px;
    display: block;
    position: relative;
    left: 1px;
}

.btn-contracts {
    display: inline-flex;
    padding: 22px 44px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: var(--accent-color);
    color: #FFF;
    font-family: var(--font-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-contracts:hover {
    background-color: var(--accent-hover);
    color: #FFF;
}

.btn-icon-logo {
    width: 29px;
    height: 26.144px;
    object-fit: contain;
}

/* Appointment & Contacts Section */
.appointment-section {
    margin-top: -23px;
    margin-bottom: 104px;
    background-color: transparent;
    position: relative;
    z-index: 6;
}

.appointment-grid {
    display: grid;
    grid-template-columns: 590px 1fr;
    gap: 0;
    align-items: start;
    width: 100%;
}

.appointment-title {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 76px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
    margin-bottom: 29px;
}

.appointment-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group {

    border-bottom: 1px solid #A6A3A3;
    display: flex;
    align-items: center;
}

.form-group:first-child {
    border-top: none;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;


}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #A6A3A3;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
}

.form-textarea {
    resize: vertical;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 41px;
    gap: 30px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 1px solid #C7C7C7;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
}

.checkbox-label input:checked+.checkbox-custom {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input:checked+.checkbox-custom::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 8px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.checkbox-text a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.checkbox-text a:hover {
    color: var(--accent-hover);
}

.btn-submit {
    flex-shrink: 0;
    width: 280px;
    height: 54px;
    padding: 26px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

/* Right Column: Description & Contacts */
.appointment-desc {
    color: var(--text-color);
    text-align: right;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
    width: 460px;
    margin-left: auto;
    margin-bottom: 30px;
}

.contact-card-list {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-left: auto;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    gap: 15px;
    flex-direction: row;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-val {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
}

.phone-val {
    color: var(--text-color);
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 54px;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.email-val {
    color: var(--text-color);
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.work-hours-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: var(--text-color);
    text-align: left;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
}

.weekend-text {
    color: #9D9D9D;
    text-align: left;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
}

.contact-icon-box {
    border: 1px solid #F4F4F4;
    display: flex;
    height: 70px;
    padding: 19px 18px 19px 20px;
    justify-content: center;
    align-items: center;
    background: transparent;
    box-sizing: border-box;
}

.contact-icon-svg {
    width: 32px;
    height: 32px;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
}

/* Our Projects Section */
.projects-section {
    padding-top: 0px;
    padding-bottom: 120px;
    background-color: transparent;
    position: relative;
    z-index: 6;
}

.projects-header-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 27px;
    min-height: 140px;
}

.projects-title {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 76px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
}

.projects-bg-sketch {
    position: absolute;
    right: 0;
    top: 16%;
    transform: translateY(-50%);
    max-height: 280px;
    width: auto;
    object-fit: contain;
    pointer-events: none;
    opacity: 0.85;
}

/* Tabs Navigation */
.projects-tabs-nav {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px;
}

.project-tab-btn {
    border: none;
    background: transparent;
    color: #A6A3A3;
    font-family: var(--font-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.project-tab-btn.active,
.project-tab-btn:hover {
    color: var(--text-color);
}

/* Projects Cards Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    width: 100%;
}

.projects-load-more-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    width: 100%;
}

.project-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    text-decoration: none;
    background-color: transparent;
    transition: all 0.3s ease;
}

.project-card-image-box {
    width: 100%;
    height: 294px;
    overflow: hidden;
    background-color: #F8FAFC;
}

.project-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.project-card:hover .project-card-img {
    transform: scale(1.04);
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: transparent;
    border: 1px solid #ffffff;
    border-top: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.project-card-name {
    color: #0F172A;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.project-card-arrow {
    color: transparent;
    opacity: 0;
    transition: all 0.3s ease;
}

/* Card Hover State */
.project-card:hover .project-card-footer {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.project-card:hover .project-card-name {
    color: #ffffff;
}

.project-card:hover .project-card-arrow {
    color: #ffffff;
    opacity: 1;
}

/* Brand Side Polygon Images (Fixed/Attached to screen edges) */
.brand-polygon-right {
    position: absolute;
    top: 79px;
    right: 0;
    width: 348px;
    height: auto;
    z-index: 5;
    pointer-events: none;
}

@media (max-width: 1220px) {

    .brand-polygon-right,
    .brand-polygon-left,
    .grid-crosshairs-divider,
    .contacts-v2-bg-polygon,
    .contacts-v2-polygon-img {
        display: none !important;
    }

    .header-right {
        margin-left: auto !important;
    }

    .nav-menu-list,
    .nav-menu ul,
    .nav-menu li {
        gap: 12px !important;
    }

    .nav-link {
        font-size: 13px !important;
    }

    .header-contacts {
        margin-left: 16px !important;
    }

    .phone-link {
        font-size: 15px !important;
    }

    .header-action {
        margin-left: 16px !important;
    }

    .btn-contact {
        width: auto !important;
        padding: 12px 20px !important;
        font-size: 13px !important;
    }

    .complex-design-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 20px !important;
    }

    .contacts-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 30px !important;
    }

    .contacts-v2-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
        gap: 24px !important;
    }

    .contacts-title {
        font-size: 56px !important;
        line-height: 1.1 !important;
    }

    .contacts-desc {
        max-width: 100% !important;
        width: 100% !important;
    }

    .tab-item {
        height: auto !important;
        min-height: 64px !important;
        padding: 8px 10px 8px 12px !important;
        gap: 16px !important;
    }

    .tab-header {
        gap: 16px !important;
    }

    .tab-num {
        width: 44px !important;
        font-size: 42px !important;
    }

    .tab-text {
        font-size: 15px !important;
    }

    .tab-description {
        width: 100% !important;
        max-width: 100% !important;
        font-size: 15px !important;
    }

    .tab-illustration {
        max-width: 320px !important;
    }

    .tab-illustration .illustration-img {
        max-height: 300px !important;
    }
}

@media (max-width: 768px) {
    .contacts-v2-grid {
        display: none;
    }
}

.brand-polygon-left {
    position: absolute;
    top: -160px;
    left: 0;
    width: 262px;
    height: auto;
    z-index: 0;
    pointer-events: none;
}

/* FAQ Accordion Section */
.faq-section {
    padding-top: 5px;
    padding-bottom: 120px;
    background-color: transparent;
    position: relative;
    z-index: 6;
}

.faq-grid {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 74px;
    align-items: start;
}

.faq-title {
    color: #111827;
    font-family: var(--font-secondary);
    font-size: 76px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
    width: 544px;
    margin-bottom: 10px;
}

.faq-subtitle {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
}

/* Accordion Items List */
.faq-accordion-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.faq-item {
    position: relative;
    transition: all 0.3s ease;
}

.faq-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 71px;
    right: 0;
    height: 1px;
    background-color: #C8C6C6;
}

.faq-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    outline: none;
}

.faq-crosshair-icon {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.crosshair-img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    transform: rotate(90deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-header:hover .crosshair-img {
    transform: rotate(105deg) scale(1.08);
}

.faq-item.active .crosshair-img {
    transform: rotate(45deg);
}

.faq-item.active .faq-header:hover .crosshair-img {
    transform: rotate(60deg) scale(1.08);
}

.faq-question {
    color: #0F172A;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
}

.faq-content {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    padding-left: 71px;
}

.faq-answer {
    color: #64748B;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    letter-spacing: 0.16px;
    max-width: 580px;
    margin-top: 0;
    overflow: hidden;
}

/* Active Accordion Item State */
.faq-item.active .faq-content {
    grid-template-rows: 1fr;
    opacity: 1;
    padding-bottom: 25px;
}

.faq-item.active .crosshair-img {
    transform: rotate(45deg);
}

/* Contacts Final Section */
.contacts-final-section {
    padding-top: 9px;
    position: relative;
    background-color: transparent;
    z-index: 7;
    margin-bottom: 100px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: minmax(0, 580px) minmax(0, 1fr);
    gap: 0;
    align-items: start;
    width: 100%;
}

.contacts-title {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 76px;
    font-style: normal;
    font-weight: 500;
    line-height: 68px;
    margin-bottom: 37px;
}


.mobile-only-desc {
    display: none;
}

.desktop-only-desc {
    display: block;
}

.contacts-desc {
    color: var(--text-color);
    text-align: right;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.45;
    letter-spacing: 0.16px;
    max-width: 590px;
    width: 100%;
    margin-left: auto;
    margin-bottom: 16px;
}

/* Contacts V2 Section (New Design for Pages) */
.contacts-v2-section {
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    z-index: 7;
}

.page-template-template-contacts .contacts-v2-section,
.page-id-29 .contacts-v2-section,
.page-contacts-main .contacts-v2-section {
    padding-top: 0;
}

.contacts-v2-section {
    position: relative;
    overflow: visible;
}

.contacts-v2-polygon-img {
    position: absolute;
    top: -285px;
    right: 0;
    width: 611px;
    height: auto;
    z-index: 1;
    pointer-events: none;
}

.contacts-v2-grid {
    display: grid;
    grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 3 !important;
    width: 100%;
}

.contacts-v2-title {
    color: var(--text-color, #062A4C);
    font-family: var(--font-secondary);
    font-size: 64px;
    font-style: normal;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 36px;
}

.contacts-v2-left {
    display: flex;
    flex-direction: column;
}

.contacts-v2-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.contacts-v2-illustration-wrapper {
    position: relative;
    z-index: 3;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.contacts-v2-building-img {
    max-width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: contain;
}

.contacts-v2-card-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 3px;
}

.contacts-v2-item {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-direction: row-reverse;
    gap: 15px;
}

.contacts-v2-item:last-child {
    border-bottom: none;
}

.contacts-v2-val {
    font-family: var(--font-secondary);
    font-size: 24px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contacts-v2-val.phone-val {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 54px;
    letter-spacing: 0;
}

.contacts-v2-val.email-val {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 0;
}

.contacts-v2-val:hover {
    color: var(--accent-hover);
}

.contacts-v2-icon-box {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #F4F4F4;
    box-sizing: border-box;
    transition: border-color 0.4s ease;
}

.contacts-v2-icon-svg {
    width: 32px;
    height: 32px;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.contacts-v2-item:hover .contacts-v2-icon-svg {
    transform: rotate(12deg);
}

.contacts-v2-item:hover .contacts-v2-icon-box {
    border-color: var(--accent-color);
}

@media (max-width: 991px) {
    .contacts-v2-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .contacts-v2-bg-polygon {
        opacity: 0.3;
        width: 100%;
    }
}

/* Site Footer */
.site-footer {
    background-color: var(--accent-color);
    background-image: url('../images/footer-bg-pattern.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: auto 100%;
    color: #FFFFFF;
    padding-top: 30px;
    padding-bottom: 32px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    width: 100%;
    flex: 0 0 auto;
}

.footer-bg-watermark {
    display: none;
}

.footer-container {
    position: relative;
    z-index: 2;
}

.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.footer-col-logo-legal {
    display: flex;
    align-items: flex-start;
    gap: 52px;
    flex-shrink: 0;
}

.footer-logo {
    width: 100px;
    height: auto;
    display: block;
    object-fit: contain;
    flex-shrink: 0;
}

.footer-legal-info {
    display: flex;
    flex-direction: column;
}

.footer-col-contacts {
    flex-shrink: 0;
}

.footer-text {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: #FFFFFF;
    margin: 0 0 10px 0;
}

.footer-text-sub {
    color: #FFFFFF;
    opacity: 0.8;
}

.footer-link {
    color: #FFFFFF !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    color: #FFFFFF !important;
    opacity: 0.9 !important;
}

/* Footer Menus Right Column */
.footer-col-right-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0 0 21px 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.footer-menu li {
    display: flex;
    align-items: center;
}

.footer-menu a {
    font-family: var(--font-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-menu a:hover {
    color: #FFFFFF !important;
    opacity: 0.9 !important;
}

.footer-docs-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.footer-docs-menu a {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
    color: #FFFFFF !important;
    opacity: 0.8;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-docs-menu a:hover {
    color: #FFFFFF !important;
    opacity: 0.9 !important;
}

/* Footer Bottom Row */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 23px;
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: #FFF;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.footer-renote-img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.footer-desktop-wrapper {
    display: block;
}

.footer-mobile-wrapper {
    display: none;
}

/* Mobile Footer Adaptation */
@media (max-width: 768px) {
    .footer-desktop-wrapper {
        display: none !important;
    }

    .footer-mobile-wrapper {
        display: block !important;
    }

    .site-footer {
        background-color: #062A4C !important;
        background-image: none !important;
        padding-top: 40px !important;
        padding-bottom: 40px !important;
        position: relative !important;
    }

    .footer-bg-watermark {
        display: block !important;
        position: absolute !important;
        right: -60px !important;
        bottom: -20px !important;
        width: 320px !important;
        height: 380px !important;
        background-image: url('../images/footer-bg-pattern.svg') !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        opacity: 0.18 !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    .footer-mobile-top {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        margin-bottom: 32px !important;
        gap: 20px !important;
    }

    .footer-mobile-col-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 24px !important;
        flex: 1 1 55% !important;
    }

    .footer-mobile-logo {
        width: 130px !important;
        height: auto !important;
        display: block !important;
    }

    .footer-mobile-contacts {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
    }

    .footer-mobile-contacts .footer-text {
        font-size: 15px !important;
        line-height: 1.4 !important;
    }

    .footer-mobile-col-right {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
        flex: 1 1 45% !important;
    }

    .footer-mobile-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 16px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: right !important;
    }

    .footer-mobile-menu a {
        font-family: var(--font-primary) !important;
        font-size: 18px !important;
        font-weight: 300 !important;
        color: #FFFFFF !important;
        text-decoration: none !important;
        line-height: 1.2 !important;
    }

    .mobile-nav-arrow {
        display: inline !important;
        font-size: 18px !important;
        margin-right: 4px !important;
    }

    .footer-mobile-middle {
        margin-bottom: 32px !important;
    }

    .footer-mobile-docs-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .footer-mobile-docs-menu a {
        font-family: var(--font-secondary) !important;
        font-size: 16px !important;
        font-weight: 300 !important;
        color: #FFFFFF !important;
        opacity: 0.85 !important;
        text-decoration: none !important;
    }

    .footer-mobile-requisites {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        margin-bottom: 36px !important;
    }

    .footer-mobile-requisites .footer-text {
        font-size: 16px !important;
        line-height: 1.4 !important;
        color: #FFFFFF !important;
        opacity: 0.9 !important;
    }

    .footer-mobile-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 24px !important;
    }

    .footer-mobile-bottom .footer-copyright {
        font-size: 16px !important;
        opacity: 0.85 !important;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        display: none;
    }

    .stats-grid-box {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

    .stat-col:nth-child(2) {
        border-right: none;
    }

    .stat-col {
        border-bottom: 1px solid #A6A3A3;
    }
}

/* ==========================================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ========================================================================== */

/* Scroll Reveal Base Classes */
.reveal-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

/* Stagger animation delays for grid items */
.project-card.reveal-item:nth-child(2) {
    transition-delay: 0.1s;
}

.project-card.reveal-item:nth-child(3) {
    transition-delay: 0.2s;
}

.adv-text-col.reveal-item:nth-child(2) {
    transition-delay: 0.15s;
}

.adv-text-col.reveal-item:nth-child(3) {
    transition-delay: 0.3s;
}

.footer-col.reveal-item:nth-child(2) {
    transition-delay: 0.15s;
}

.footer-col.reveal-item:nth-child(3) {
    transition-delay: 0.3s;
}

/* Horizontal Divider Line Reveal from Left to Right */
.grid-crosshairs-divider .crosshair-line {
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.grid-crosshairs-divider.is-visible .crosshair-line {
    transform: scaleX(1);
}

/* Interactive Crosshairs Hover Animation (Full 180deg smooth turn) */
.crosshair-icon,
.feature-icon {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-item:hover .feature-icon,
.crosshair-point:hover .crosshair-icon {
    transform: rotate(180deg) scale(1.1);
}

/* Very gentle micro-rotate for contact icons without scale */
.contact-icon-svg {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-item:hover .contact-icon-svg {
    transform: rotate(12deg);
}

.contact-item:hover .contact-icon-box {
    border-color: var(--accent-color);
    transition: border-color 0.4s ease;
}

/* CTA Banner Life & Hover Effects */
.cta-banner-content {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.cta-banner-content:hover {
    transform: translateY(-4px);
}

/* Button Arrow Motion & Shine Effect */
.btn-hero .btn-arrow,
.btn-contracts .btn-arrow,
.btn-submit .btn-arrow {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero:hover .btn-arrow,
.btn-contracts:hover .btn-arrow,
.btn-submit:hover .btn-arrow {
    transform: translateX(6px);
}

/* Form Control Focus Transition */
.form-input,
.form-textarea {
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group {
    position: relative;
    transition: border-color 0.3s ease;
}

.form-group:focus-within {
    border-bottom-color: var(--accent-color);
}

/* ==========================================================================
   Custom WP Theme Elements (Page, 404, Thank You)
   ========================================================================== */

.breadcrumbs-container {
    margin-top: 20px;
    margin-bottom: 30px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    z-index: 20;
    position: relative;
}

body.is-scrolled .breadcrumbs-container,
.header.is-scrolled~.site-main .breadcrumbs-container,
.header.is-scrolled~main .breadcrumbs-container {
    z-index: 1 !important;
}

.breadcrumbs-container a {
    text-decoration: none;
    color: #A6A3A3;
    transition: color 0.2s ease;
}

.breadcrumbs-container a:hover {
    color: var(--accent-hover);
}

.breadcrumbs-container span {
    color: #A6A3A3;
}

.breadcrumbs-container .separator {
    color: #A6A3A3;
    margin: 0 8px;
}

.page-content .entry-header {
    margin-bottom: 24px;
}

/* 404 Error Page */
.error-404.not-found {
    padding: 100px 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.error-404 .crosshair-container {
    margin-bottom: 24px;
}

.error-404 .crosshair-img {
    width: 48px;
    height: 48px;
    opacity: 0.8;
}

.error-404 .page-header {
    margin-bottom: 24px;
}

.error-404 .page-title {
    font-size: 120px;
    font-weight: 400;
    color: var(--accent-color);
    margin: 0;
    line-height: 1;
}

.error-404 .page-subtitle {
    margin-top: 16px;
    margin-bottom: 0;
}

.error-404 .page-content {
    max-width: 500px;
    width: 100%;
}

.error-404 .page-content p {
    margin-bottom: 32px;
}

.error-404 .action-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Thank You Page */
.thank-you-section {
    padding: 120px 24px 140px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    min-height: calc(100vh - 400px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thank-you-section .checkmark-container {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    background: #F0F4F8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(6, 42, 76, 0.08);
}

.thank-you-section .checkmark-container svg {
    width: 30px;
    height: 30px;
}

.thank-you-section .page-title {
    font-family: var(--font-secondary);
    font-size: 30px !important;
    line-height: 1.15;
    font-weight: 500;
    margin: 0;
    text-transform: none;
    margin-bottom: 0 !important;
}

.thank-you-section .countdown-text {
    margin-top: 20px;
    font-size: 15px;
    margin-bottom: 24px !important;
}

/* Inner Page Header Wrapper Height */
.site-header-wrapper.inner-header-wrapper {
    height: 92px;
}

/* ==========================================================================
   Blog CPT Grid & Single Post Styles
   ========================================================================== */

/* Blog Archive and Grid */
.blog-archive-container {
    margin-bottom: 100px;
}

.blog-archive-container .page-header {
    margin-bottom: 40px;
}

.blog-archive-container .page-title {
    font-family: var(--font-secondary);
    font-size: 48px;
    color: var(--accent-color);
    font-weight: 500;
    margin: 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

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

@media (max-width: 575px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: #FFFFFF;
    border: 1px solid #F4F4F4;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.blog-card-thumbnail {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.blog-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-thumbnail-placeholder {
    background: #F3F4F6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-thumbnail-placeholder .placeholder-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0.15;
}

.blog-card:hover .blog-card-thumbnail img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

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

.blog-card-title {
    font-family: var(--font-secondary), 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    vertical-align: middle;
}

.blog-card-title a {
    color: var(--text-color, #062A4C);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--accent-hover);
}

.blog-card-excerpt {
    font-family: var(--font-secondary), 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: 0.01em;
    color: #333333;
    margin-bottom: 30px;
    vertical-align: middle;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-footer {
    margin-top: auto;
}

.blog-card-btn {
    width: 100%;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--accent-color);
    color: #FFFFFF !important;
    font-family: var(--font-primary), sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.blog-card-btn:hover {
    background: var(--accent-hover);
    color: #FFFFFF !important;
}

.blog-card-btn .btn-arrow {
    transition: transform 0.3s ease;
    stroke: #FFFFFF;
}

.blog-card-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Load More Section */
.blog-load-more-wrapper {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    background: #062A4C;
    color: #FFFFFF !important;
    font-family: var(--font-primary), sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.btn-load-more:hover {
    background: #0A3763;
    color: #FFFFFF !important;
}

.btn-load-more .btn-load-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-load-more:hover .btn-load-icon {
    transform: translateY(3px);
}

.btn-load-more.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Pagination */
.blog-pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

.blog-pagination .nav-links {
    display: flex;
    gap: 8px;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #F4F4F4;
    color: var(--accent-color);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: #FFFFFF;
}

/* Single Blog Post */

.blog-single-header {
    margin-bottom: 32px;
}

.blog-single-title {
    font-family: var(--font-secondary);
    font-size: 40px;
    line-height: 1.25;
    color: var(--accent-color);
    font-weight: 500;
    margin: 0 0 16px 0;
}

.blog-single-meta {
    font-family: var(--font-primary);
    font-size: 15px;
    color: #6B7280;
}

.blog-single-thumbnail {
    margin-bottom: 40px;
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border: 1px solid #F4F4F4;
}

.blog-single-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-single-content {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-color);
    margin-bottom: 80px;
}

.blog-single-content p {
    margin-bottom: 24px;
}

.blog-single-content h2,
.blog-single-content h3 {
    color: var(--accent-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: var(--font-secondary);
}

.blog-single-footer {
    border-top: 1px solid #F4F4F4;
    padding-top: 32px;
}

.blog-back-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-back-link:hover {
    color: var(--accent-hover);
}

.blog-back-link .btn-arrow-back {
    transition: transform 0.3s ease;
}

.blog-back-link:hover .btn-arrow-back {
    transform: rotate(180deg) translateX(4px);
}

/* Heading colors and sizes on inner/additional pages */
body:not(.home):not(.front-page) h1,
body:not(.home):not(.front-page) h2,
body:not(.home):not(.front-page) .h1,
body:not(.home):not(.front-page) .h2 {
    font-family: var(--font-secondary);
    color: var(--text-color);
    font-size: 76px;
    font-weight: 500;
    line-height: 69px;
    letter-spacing: 0;
    margin-bottom: 40px;
}

/* ==========================================================================
   Contact Form 7 Spacing & Layout
   ========================================================================== */
.contacts-cf7-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.contacts-cf7-form-wrapper .form-group {

    border-bottom: 1px solid #A6A3A3;
    border-top: none !important;
    display: flex;
    align-items: center;
    position: relative;
    cursor: text;
}

.contacts-cf7-form-wrapper .form-group .wpcf7-not-valid-tip {
    position: absolute;
    bottom: 4px;
    left: 30px;
    right: 30px;
    font-size: 11px;
    font-family: var(--font-primary);
    color: #e53e3e;
    white-space: normal;
    word-break: break-word;
    pointer-events: none;
}

.contacts-cf7-form-wrapper .wpcf7-not-valid-tip,
.site-modal-form-wrapper .wpcf7-not-valid-tip,
.form-footer .wpcf7-not-valid-tip,
.checkbox-container+.wpcf7-not-valid-tip,
.checkbox-label+.wpcf7-not-valid-tip {
    color: #e53e3e !important;
    font-family: var(--font-primary) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
    margin-top: 6px !important;
    display: block !important;
    width: 100% !important;
}

/* Always keep CF7 submit buttons active, clickable and fully opaque */
.wpcf7-submit,
.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
    pointer-events: auto !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

.contacts-cf7-form-wrapper .form-input,
.contacts-cf7-form-wrapper .form-textarea {
    width: 100%;
    padding: 0;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
    padding: 23px 30px;
}

.contacts-cf7-form-wrapper .form-input::placeholder,
.contacts-cf7-form-wrapper .form-textarea::placeholder {
    color: #A6A3A3;
    font-family: var(--font-secondary);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.18px;
    text-transform: uppercase;
}

.contacts-cf7-form-wrapper .form-textarea {
    resize: vertical;
}

.contacts-cf7-form-wrapper .form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 52px;
    gap: 10px;
}

.contacts-cf7-form-wrapper .checkbox-container {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    position: relative;
}

.contacts-cf7-form-wrapper .checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    cursor: pointer;
    z-index: 5;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.contacts-cf7-form-wrapper .checkbox-custom {
    width: 24px;
    height: 24px;
    border: 1px solid #C7C7C7;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.contacts-cf7-form-wrapper .checkbox-container:has(input:checked) .checkbox-custom,
.contacts-cf7-form-wrapper .checkbox-container.is-checked .checkbox-custom,
.checkbox-label:has(input:checked) .checkbox-custom,
.checkbox-label.is-checked .checkbox-custom,
.checkbox-label input:checked+.checkbox-custom,
.checkbox-label input:checked~.checkbox-custom {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

.contacts-cf7-form-wrapper .checkbox-container:has(input:checked) .checkbox-custom::after,
.contacts-cf7-form-wrapper .checkbox-container.is-checked .checkbox-custom::after,
.checkbox-label:has(input:checked) .checkbox-custom::after,
.checkbox-label.is-checked .checkbox-custom::after,
.checkbox-label input:checked+.checkbox-custom::after,
.checkbox-label input:checked~.checkbox-custom::after {
    content: '' !important;
    position: absolute !important;
    top: 3px !important;
    left: 7px !important;
    width: 6px !important;
    height: 11px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    display: block !important;
}

.contacts-cf7-form-wrapper .checkbox-text {
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: normal;
}

.contacts-cf7-form-wrapper .checkbox-text a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

/* Fix Contact Form 7 extra tags */
.contacts-cf7-form-wrapper .wpcf7-form-control-wrap,
.contacts-cf7-form-wrapper .wpcf7-acceptance,
.contacts-cf7-form-wrapper .wpcf7-list-item {
    display: contents !important;
}

.contacts-cf7-form-wrapper .wpcf7-list-item label {
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.contacts-cf7-form-wrapper br {
    display: none !important;
}

.contacts-cf7-form-wrapper p {
    margin: 0 !important;
}

.contacts-cf7-form-wrapper .wpcf7-response-output {
    margin: 20px 0 0 0;
    padding: 15px;
    border: 1px solid #C7C7C7;
    color: var(--text-color);
    font-family: var(--font-primary);
    font-size: 14px;
}

.form-footer {
    position: relative;
}

.form-footer .wpcf7-spinner {
    position: absolute;
    margin: 0;
}

/* ==========================================================================
   Entry Content — Типографика для страниц и записей
   ========================================================================== */

.page-content {}

.entry-header {
    margin-bottom: 40px;
}

.entry-title {
    font-family: var(--font-secondary);
    font-size: 76px;
    font-weight: 500;
    line-height: 69px;
    color: var(--text-color);
    letter-spacing: 0;
    margin: 0 0 0 0;
}

/* --- Все дочерние элементы entry-content --- */
.entry-content>*+* {
    margin-top: 24px;
}

.entry-content p {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0;
    margin-bottom: 15px;
}

.entry-content p:last-child {
    margin-bottom: 0;
}

/* --- Заголовки --- */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: var(--font-secondary);
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    margin: 0;
}

article.page-content {
    margin-bottom: 100px;
}

/* Специфичность article.page-content .entry-content hX = (0,2,2)
   перекрывает body:not(.home):not(.front-page) hX = (0,2,2)
   т.к. этот блок идёт позже в каскаде */
article.page-content .entry-content h1 {
    font-size: 52px;
    font-weight: 500;
    line-height: 1.15;
    margin-bottom: 0;
}

article.page-content .entry-content h2 {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.15;
    margin-top: 20px;
    margin-bottom: 15px;
}

article.page-content .entry-content h3 {
    font-size: 28px;
    line-height: 1.2;
    margin-top: 20px;
    margin-bottom: 15px;
}

article.page-content .entry-content h4 {
    font-size: 22px;
    line-height: 1.3;
    margin-top: 20px;
    margin-bottom: 15px;
}

article.page-content .entry-content h5 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 20px;
    margin-bottom: 15px;
}

article.page-content .entry-content h6 {
    font-size: 15px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 15px;
}

/* --- Ссылки --- */
.entry-content a {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.entry-content a:hover {
    color: var(--accent-hover);
}

/* --- Выделения --- */
.entry-content strong {
    font-weight: 700;
}

.entry-content em {
    font-style: italic;
}

.entry-content u {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.entry-content s {
    text-decoration: line-through;
    opacity: 0.6;
}

.entry-content mark {
    background-color: rgba(6, 42, 76, 0.1);
    color: var(--text-color);
    padding: 0 4px;
    border-radius: 2px;
}

.entry-content small {
    font-size: 13px;
}

.entry-content sub,
.entry-content sup {
    font-size: 0.75em;
}

.entry-content code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    background: rgba(6, 42, 76, 0.06);
    color: var(--accent-color);
    padding: 2px 6px;
    border-radius: 3px;
}

/* --- Горизонтальная линия --- */
.entry-content hr {
    border: none;
    border-top: 1px solid #A6A3A3;
    margin: 40px 0;
}

/* --- Цитата --- */
.entry-content blockquote {
    border-left: 4px solid var(--accent-color);
    padding: 20px 30px;
    background: rgba(6, 42, 76, 0.04);
    margin: 0;
}

.entry-content blockquote p {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
    font-style: italic;
    color: var(--text-color);
}

.entry-content blockquote cite {
    display: block;
    margin-top: 12px;
    font-family: var(--font-primary);
    font-size: 13px;
    font-style: normal;
    color: #A6A3A3;
}

/* --- Списки --- */
.entry-content ul,
.entry-content ol {
    padding-left: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.entry-content ul li {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    padding-left: 22px;
    position: relative;
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 7px;
    height: 7px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.entry-content ol {
    counter-reset: ol-counter;
}

.entry-content ol li {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    padding-left: 30px;
    position: relative;
    counter-increment: ol-counter;
}

.entry-content ol li::before {
    content: counter(ol-counter) '.';
    position: absolute;
    left: 0;
    top: 0;
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-color);
}

/* Вложенные списки */
.entry-content ul ul,
.entry-content ol ol,
.entry-content ul ol,
.entry-content ol ul {
    margin-top: 8px;
    padding-left: 16px;
}

.entry-content ul ul li::before {
    width: 5px;
    height: 5px;
    background-color: transparent;
    border: 1.5px solid var(--accent-color);
    top: 10px;
}

/* --- Таблица --- */
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-primary);
    font-size: 15px;
    color: var(--text-color);
}

.entry-content table th {
    background-color: var(--accent-color);
    color: #FFFFFF;
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 14px 20px;
    text-align: left;
    border: none;
}

.entry-content table td {
    padding: 14px 20px;
    border-bottom: 1px solid #E5E3E3;
    line-height: 1.5;
}

.entry-content table tr:last-child td {
    border-bottom: none;
}

.entry-content table tr:nth-child(even) td {
    background-color: rgba(6, 42, 76, 0.03);
}

.entry-content table tfoot td {
    background-color: rgba(6, 42, 76, 0.06);
    font-weight: 700;
    border-top: 2px solid var(--accent-color);
    border-bottom: none;
}

/* --- Изображение --- */
.entry-content figure {
    margin: 0;
}

.entry-content figure img {
    width: 100%;
    height: auto;
    display: block;
}

.entry-content figcaption {
    font-family: var(--font-primary);
    font-size: 13px;
    color: #A6A3A3;
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* --- Блок кода --- */
.entry-content pre {
    background-color: #0D1117;
    border-radius: 6px;
    padding: 24px;
    overflow-x: auto;
    margin: 0;
}

.entry-content pre code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #A6E22E;
    background: none;
    padding: 0;
    border-radius: 0;
    line-height: 1.7;
    white-space: pre;
}

/* --- Details / Summary --- */
.entry-content details {
    border: 1px solid #E5E3E3;
    border-radius: 4px;
    overflow: hidden;
}

.entry-content summary {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-color);
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease;
}

.entry-content summary::after {
    content: '+';
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    flex-shrink: 0;
}

.entry-content details[open] summary::after {
    content: '−';
}

.entry-content summary:hover {
    background-color: rgba(6, 42, 76, 0.04);
}

.entry-content summary::-webkit-details-marker {
    display: none;
}

.entry-content details>*:not(summary) {
    padding: 0 20px 20px;
}

/* --- Address --- */
.entry-content address {
    font-family: var(--font-primary);
    font-size: 15px;
    font-style: normal;
    line-height: 1.8;
    color: var(--text-color);
    padding: 20px 24px;
    border-left: 4px solid var(--accent-color);
    background: rgba(6, 42, 76, 0.04);
}

.entry-content address a {
    color: var(--accent-color);
}

/* ==========================================================================
   Services Page Custom Sections
   ========================================================================== */

/* --- Dual Featured Cards Section --- */
.services-cards-section {
    margin-bottom: 100px;
}

.services-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.service-feature-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #FFFFFF;
    border: 1px solid rgba(6, 42, 76, 0.12);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(6, 42, 76, 0.1);
    border-color: var(--accent-color);
}

.card-image-box {
    width: 100%;
    height: 320px;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.service-feature-card:hover .card-feature-img {
    transform: scale(1.02);
}

.card-footer-bar {
    height: 70px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: #FFFFFF;
    border-top: 1px solid rgba(6, 42, 76, 0.12);
    color: var(--accent-color);
    transition: background 0.3s ease, color 0.3s ease;
}

.card-footer-arrow {
    transition: transform 0.25s ease;
    color: currentColor;
}

.service-feature-card:hover .card-footer-bar {
    background: #062A4C !important;
    color: #FFFFFF !important;
}

.service-feature-card:hover .card-footer-arrow {
    transform: translateX(6px);
}

.card-footer-dark {
    background: #FFFFFF;
    color: var(--accent-color);
}

.card-footer-light {
    background: #FFFFFF;
    border-top: 1px solid rgba(6, 42, 76, 0.12);
    color: var(--accent-color);
}

/* --- Intro Text + Illustration Section --- */

.services-intro-section {
    margin-bottom: 100px;
}

.services-intro-container {
    display: grid;
    grid-template-columns: minmax(0, 880px) 1fr;
    align-items: center;
}

.services-intro-text {
    width: 100%;
    max-width: 880px;
    display: flex;
    flex-direction: column;
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: 0.01em;
    color: var(--text-color);
}

.services-intro-text .intro-heading-lead {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}

.services-intro-text .intro-heading-lead strong,
.services-intro-text h2,
.services-intro-text h3 {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.services-intro-text p {
    margin: 0 0 20px 0;
}

.services-intro-text p:last-child,
.services-intro-text>*:last-child p:last-child {
    margin-bottom: 0;
}

.intro-callout-box,
.intro-callout-box p,
.intro-callout-box strong {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.35;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.services-intro-illustration {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-sketch-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Responsive Breakpoints for Services Page */
@media (max-width: 1024px) {
    .services-intro-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-intro-text {
        max-width: 100%;
    }

    .services-intro-illustration {
        max-width: 400px;
        margin: 0 auto;
    }

    .services-cards-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card-image-box {
        height: 260px;
    }
}

@media (max-width: 640px) {
    .card-image-box {
        height: 200px;
    }

    .card-footer-bar {
        height: 60px;
        padding: 0 20px;
        font-size: 15px;
    }
}

.page-template-template-complex-design .big-watermark-num {
    display: none !important;
}

.page-template-template-complex-design .projects-bg-sketch {
    display: none !important;
}

/* --- Why Trust Us (6-item grid) Section --- */
.why-trust-section {
    padding-top: 60px;
    padding-bottom: 100px;
    position: relative;
    z-index: 5;
}

.why-trust-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.why-trust-title {
    font-family: var(--font-secondary);
    font-weight: 400;
    font-size: 54px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--accent-color);
    margin: 0;
    max-width: 480px;
}

.why-trust-sketch {
    max-height: 140px;
    width: auto;
    object-fit: contain;
}

.why-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border-bottom: 1px solid #C8C6C6;
}

.why-trust-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 30px;
    border-right: 1px solid #C8C6C6;
}

.why-trust-col:nth-child(3n) {
    border-right: none;
}

.why-trust-col:nth-child(-n+3) {
    border-bottom: 1px solid #C8C6C6;
}

.why-trust-card-title {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 0.01em;
    text-align: center;
    text-transform: uppercase;
    color: var(--accent-color);
    margin: 0 0 14px 0;
}

.why-trust-card-desc {
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.55;
    color: var(--text-color);
    margin: 0;
}

/* Responsive Rules */
@media (max-width: 991px) {
    .why-trust-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .why-trust-title {
        font-size: 40px;
    }

    .why-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-trust-col {
        border-right: 1px solid #C8C6C6;
        border-bottom: 1px solid #C8C6C6;
    }

    .why-trust-col:nth-child(2n) {
        border-right: none;
    }

    .why-trust-col:nth-last-child(-n+2) {
        border-bottom: none;
    }
}

@media (max-width: 575px) {
    .why-trust-title {
        font-size: 32px;
    }

    .why-trust-grid {
        grid-template-columns: 1fr;
    }

    .why-trust-col {
        border-right: none;
        border-bottom: 1px solid #C8C6C6;
        padding: 30px 20px;
        text-align: left;
    }

    .why-trust-col:last-child {
        border-bottom: none;
    }
}

.page-template-template-bim .bim-section {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.page-template-template-bim .bim-subtitle {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    text-transform: uppercase;
    max-width: 925px;
    left: 0;
    position: relative;
}

/* --- BIM Page 6-Item Advantages Section --- */
.bim-page-adv-section {
    padding-top: 40px;
    padding-bottom: 120px;
    position: relative;
    z-index: 5;
}

.bim-page-adv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border-top: 1px solid #C8C6C6;
    border-bottom: 1px solid #C8C6C6;
}

.bim-page-adv-col {
    display: flex;
    flex-direction: column;
    border-right: 1px solid #C8C6C6;
}

.bim-page-adv-col:nth-child(3n) {
    border-right: none;
}

.bim-page-adv-col:nth-child(-n+3) {
    border-bottom: 1px solid #C8C6C6;
}

.bim-page-adv-col .adv-text-box {
    padding: 30px 30px 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 991px) {
    .bim-page-adv-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bim-page-adv-col {
        border-right: 1px solid #C8C6C6;
        border-bottom: 1px solid #C8C6C6;
    }

    .bim-page-adv-col:nth-child(2n) {
        border-right: none;
    }
}

@media (max-width: 575px) {
    .bim-page-adv-grid {
        grid-template-columns: 1fr;
    }

    .bim-page-adv-col {
        border-right: none;
        border-bottom: 1px solid #C8C6C6;
    }

    .bim-page-adv-col:last-child {
        border-bottom: none;
    }
}

/* --- Projects Archive Page (/projects/) --- */
.projects-archive-header {
    padding-top: 10px;
    padding-bottom: 40px;
}

.projects-archive-title {
    font-family: var(--font-primary);
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-color);
    margin: 0 0 32px 0;
}

.projects-archive-contracts-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.contracts-text-box {
    max-width: 680px;
}

.contracts-text-uppercase {
    font-family: var(--font-secondary);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.55;
    letter-spacing: 0.02em;
    color: var(--text-color);
    text-transform: uppercase;
    margin: 0;
    max-width: 500px;
}

.contracts-action-box {
    flex-shrink: 0;
}

@media (max-width: 991px) {
    .projects-archive-title {
        font-size: 44px;
    }

    .projects-archive-contracts-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .projects-archive-title {
        font-size: 32px;
    }
}

/* --- Single Project Page (CPT 'projects') --- */
.single-project-header {
    padding-top: 10px;
    padding-bottom: 40px;
}

.single-project-title {
    font-family: var(--font-primary);
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-color);
    margin: 0 0 24px 0;
}

.single-project-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.single-project-meta-bar .meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.single-project-meta-bar .meta-label {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 300;
    color: #000;
}

.single-project-meta-bar .meta-value {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.single-project-meta-bar .meta-value.uppercase {
    text-transform: uppercase;
}

.single-project-image-box {
    width: 100%;
    max-height: 506px;
    overflow: hidden;
    margin-top: 10px;
}

.single-project-main-img {
    width: 100%;
    max-height: 506px;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .single-project-title {
        font-size: 44px;
    }

    .single-project-meta-bar {
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .single-project-title {
        font-size: 32px;
    }

    .single-project-meta-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .single-project-image-box,
    .single-project-main-img {
        max-height: 320px;
    }
}

/* --- Single Project Repeater Sections & Adaptive Gallery --- */
.single-project-sections-container {
    padding-top: 40px;
    padding-bottom: 60px;
}

.project-sec-block {
    margin-bottom: 60px;
}

.project-sec-title {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.15;
    color: var(--text-color);
    margin: 0 0 20px 0;
}

.project-sec-desc {
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: var(--text-color);
    max-width: 880px;
    margin-bottom: 30px;
}

.project-sec-desc p {
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.01em;
    color: var(--text-color);
    margin: 0;
}

.project-sec-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    grid-auto-flow: dense;
    gap: 0;
    margin-top: 30px;
}

.project-gallery-item {
    position: relative;
    overflow: hidden;
    width: 100%;
    border: 1px solid #F4F4F4;
    box-sizing: border-box;
}

.project-gallery-item.gallery-item-vertical {
    grid-row: span 2;
    height: 100%;
    min-height: 480px;
}

.project-gallery-item.gallery-item-horizontal {
    grid-row: span 1;
    height: 100%;
    min-height: 232px;
}

.project-gallery-item.gallery-item-full {
    grid-column: span 2;
    grid-row: span 1;
    height: 100%;
    min-height: 300px;
}

.project-sec-gallery-grid.gallery-layout-3 {
    grid-auto-rows: auto;
}

.project-sec-gallery-grid.gallery-layout-3 .gallery-item-full {
    grid-column: span 2;
    height: 380px;
}

.project-sec-gallery-grid.gallery-layout-3 .gallery-item-horizontal {
    grid-column: span 1;
    height: 280px;
}

.project-gallery-item {
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

.project-gallery-item .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.project-gallery-item:hover .gallery-img {
    transform: scale(1.03);
}

/* Universal Image Gallery Lightbox Modal */
.gallery-lightbox-modal {
    position: fixed;
    inset: 0;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.gallery-lightbox-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.gallery-lightbox-window {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 24px;
    box-sizing: border-box;
}

.gallery-lightbox-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    font-size: 28px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.gallery-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: scale(1.05);
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.gallery-lightbox-prev {
    left: 24px;
}

.gallery-lightbox-next {
    right: 24px;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.32);
    transform: translateY(-50%) scale(1.08);
}

.gallery-lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
    z-index: 10;
}

.gallery-lightbox-img {
    max-width: 88vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65);
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.gallery-lightbox-counter {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-secondary, inherit);
    font-size: 14px;
    font-weight: 500;
    margin-top: 14px;
    letter-spacing: 0.06em;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 991px) {
    .project-sec-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .why-trust-card-title {
        text-align: left;
    }
    .project-sec-gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: auto !important;
        gap: 6px !important;
        margin-top: 20px !important;
    }

    .project-gallery-item {
        min-height: 0 !important;
    }

    .project-gallery-item.gallery-item-full {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
        height: auto !important;
        min-height: 200px !important;
    }

    .project-gallery-item.gallery-item-horizontal {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 180px !important;
    }

    .project-gallery-item.gallery-item-vertical {
        grid-column: span 1 !important;
        grid-row: span 2 !important;
        height: 366px !important;
    }

    .project-sec-gallery-grid.gallery-layout-3 .gallery-item-full {
        grid-column: span 2 !important;
        height: 240px !important;
    }

    .project-sec-gallery-grid.gallery-layout-3 .gallery-item-horizontal {
        grid-column: span 1 !important;
        height: 160px !important;
    }

    .project-gallery-item .gallery-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
}

@media (max-width: 575px) {
    .project-sec-title {
        font-size: 30px;
    }
}

/* --- About Page (template-about.php) --- */
.about-hero-section {
    padding-top: 10px;
    padding-bottom: 0;
}

.about-hero-title {
    font-family: var(--font-primary);
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-color);
    margin: 0 0 48px 0;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.about-text-p,
.about-left-text-box p {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 20px;
}

.about-bold-statement {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 0;
}

.about-watermark-box {
    margin-top: 0;
    opacity: 1;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto
}

.about-watermark-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
}

.about-feature-item {
    margin-bottom: 30px;
}

.about-feature-header {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
}

.about-feature-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-feature-item:hover .about-feature-icon {
    transform: rotate(180deg) scale(1.1);
}

.about-feature-title {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0;
}

.about-feature-desc {
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding-left: 49px;
}

@media (max-width: 991px) {
    .about-hero-title {
        font-size: 44px;
        margin-bottom: 32px;
    }

    .about-hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 575px) {
    .about-hero-title {
        font-size: 32px;
    }

    .about-feature-desc {
        padding-left: 0;
    }
}

/* --- About Team Section --- */
.about-team-section {
    padding-top: 20px;
    padding-bottom: 80px;
}

.team-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.team-header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.team-section-title {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
    color: var(--text-color);
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.team-section-subtitle {
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: var(--text-color);
    max-width: 480px;
    margin: 0;
    padding-top: 6px;
}

.about-team-content {
    width: 100%;
}

.team-grid {
    display: grid;
    gap: 0;
}

.team-main-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 0;
    margin-bottom: 30px;
}

.team-secondary-grid {
    grid-template-columns: repeat(4, 1fr);
}

.team-card {
    position: relative;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
}

.team-photo-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    border: 1px solid #F4F4F4;
}

.team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
    transition: filter 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s ease;
}

.team-card:hover .team-photo-img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

.team-info-box {
    background: transparent;
    padding: 20px;
}

.team-member-name {
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--text-color);
    margin: 0;
}

.team-card-secondary .team-member-name,
.team-card-mobile .team-member-name {
    font-size: 18px !important;
}

.team-member-position {
    font-family: var(--font-secondary);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.2;
    color: #1D1D1D;
    margin: 0;
}

/* Unified Carousel Controls (Matching BIM video carousel) */
.press-slider-nav,
.certs-slider-nav,
.bim-carousel-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.team-slider-nav {
    display: none;
}

.team-nav-btn,
.press-nav-btn,
.certs-nav-btn,
.bim-nav-btn {
    display: flex !important;
    width: 70px !important;
    height: 70px !important;
    justify-content: center !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    background-color: #062A4C !important;
    color: #FFFFFF !important;
    border: none !important;
}

/* Disabled State: When cannot scroll in this direction, background is white with border */
.team-nav-btn.is-disabled,
.press-nav-btn.is-disabled,
.certs-nav-btn.is-disabled,
.bim-nav-btn.is-disabled {
    background-color: #FFFFFF !important;
    color: #1D1D1D !important;
    border: 1px solid #C8C6C6 !important;
    cursor: default !important;
    opacity: 1 !important;
}

.team-mobile-track-wrapper {
    display: none;
}

@media (max-width: 991px) {
    .team-section-title {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .about-team-section {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .team-desktop-layout {
        display: none !important;
    }

    .team-mobile-track-wrapper {
        display: block !important;
        width: 100% !important;
    }

    .team-mobile-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        gap: 16px !important;
        width: 100% !important;
        padding-bottom: 16px !important;
        scrollbar-width: none !important;
    }

    .team-mobile-track::-webkit-scrollbar {
        display: none !important;
    }

    .team-card-mobile {
        flex: 0 0 calc(50% - 8px) !important;
        scroll-snap-align: start !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .team-card-mobile .team-photo-box {
        width: 100% !important;
        aspect-ratio: 1 / 1.15 !important;
        height: auto !important;
        flex-shrink: 0 !important;
    }

    .team-card-mobile .team-photo-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: top center !important;
    }

    .team-card-mobile .team-info-box {
        padding: 10px !important;
    }

    .team-member-name {
        font-size: 16px !important;
        line-height: 1.25 !important;
    }

    .team-member-position {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    /* Header Wrappers and Nav Buttons Mobile Alignment with 20px padding */
    .team-header-wrapper,
    .press-header-wrapper,
    .certs-header-wrapper,
    .bim-header,
    .map-header-box {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        margin-bottom: 24px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .map-header-box {
        gap: 0 !important;
    }

    .team-header-left,
    .press-header-left,
    .certs-header-left,
    .bim-header-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .team-section-title,
    .press-section-title,
    .certs-section-title,
    .map-section-title {
        font-size: 44px !important;
        line-height: 1.1 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        word-wrap: break-word !important;
    }

    .team-section-subtitle,
    .certs-section-subtitle,
    .map-section-subtitle {
        padding-top: 0 !important;
        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .team-slider-nav,
    .press-slider-nav,
    .certs-slider-nav,
    .bim-carousel-nav {
        align-self: flex-end !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        display: flex !important;
        gap: 0 !important;
    }

    .team-nav-btn,
    .press-nav-btn,
    .certs-nav-btn,
    .bim-nav-btn {
        width: 52px !important;
        height: 52px !important;
    }

    .about-watermark-box {
        display: none !important;
    }

    /* Certs Carousel 100% card width on Mobile */
    .about-certs-section {
        padding-top: 20px !important;
        padding-bottom: 70px !important;
    }

    .certs-track {
        gap: 16px !important;
        width: 100% !important;
    }

    .cert-card-item {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        scroll-snap-align: start !important;
    }

    .cert-thumb-img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        background: #FFFFFF !important;
    }

    .map-illustration-box {
        top: 0 !important;
        margin-top: 20px !important;
    }

    /* Press / Reviews Mobile Adaptation (Order: Title -> Quote -> Nav Arrows -> Slide Card) */
    .about-press-section {
        display: flex !important;
        flex-direction: column !important;
    }

    .press-header-wrapper,
    .press-content-grid {
        display: contents !important;
    }

    .press-section-title {
        order: 1 !important;
        margin-bottom: 20px !important;
    }

    .press-static-left {
        order: 2 !important;
        min-height: auto !important;
        margin-top: 20px;

    }

    .press-slider-nav {
        order: 3 !important;
        align-self: flex-end !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        margin-bottom: 24px !important;
        display: flex !important;
    }

    .press-slider-right {
        order: 4 !important;
        min-height: auto !important;
        padding: 24px 20px !important;
        width: 100% !important;
    }

    .press-illustration-box,
    .press-building-img {
        display: none !important;
    }
}

@media (max-width: 575px) {
    .team-section-title {
        font-size: 30px;
    }
}

/* --- About Press Section --- */
.about-press-section {
    padding-top: 20px;
    padding-bottom: 40px;
}

.press-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 40px;
}

.press-section-title {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-color);
    margin-bottom: 0 !important;
}

.press-slider-nav {
    display: flex;
    gap: 0;
}

.press-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.press-static-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 440px;
}

.press-quote-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}

.press-quote-icon-box {
    width: 40px;
    height: 32px;
    flex-shrink: 0;
}

.press-subtitle {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    max-width: 360px;
    margin: 0;
}

.press-illustration-box {
    margin-top: auto;
    width: 100%;
}

.press-building-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

.press-slider-right {
    position: relative;
    border: 1px solid #F1F5F9;
    padding: 48px;
    background: #FFF;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.press-slides-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.press-slide-card {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(24px);
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.press-slide-card.is-active {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.press-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
}

.press-logo-img {
    max-height: 48px;
    max-width: 220px;
    height: auto;
    object-fit: contain;
}

.press-source-box {
    text-align: right;
    font-family: var(--font-secondary);
    font-size: 13px;
    line-height: 1.4;
}

.press-source-label {
    display: block;
    font-weight: 300;
    color: #94A3B8;
}

.press-source-val {
    display: block;
    font-weight: 400;
    color: #64748B;
}

.press-card-body {
    margin-bottom: 40px;
}

.press-quote-text {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 300;
    color: var(--text-color);
    margin: 0 0 30px 0;
    font-style: normal;
}

.press-author-info {
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 400;
    color: var(--text-color);
    margin: 0;
}

.press-card-action {
    margin-top: auto;
}

.btn-press-article {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 52px;
    padding: 0 32px;
    background: #062A4C;
    color: #FFF !important;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-press-article:hover {
    background: #0B3C6D;
    color: #FFF !important;
}

@media (max-width: 991px) {
    .press-section-title {
        font-size: 40px;
    }

    .press-content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .press-slider-right {
        padding: 32px;
    }
}

@media (max-width: 575px) {
    .press-section-title {
        font-size: 30px;
    }

    .press-slider-right {
        padding: 24px;
    }
}

/* --- About Certs & Reputation Section --- */
.about-certs-section {
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    padding-bottom: 90px;
}

.certs-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 36px;
    margin-bottom: 40px;
}

.certs-header-left {
    display: flex;
    align-items: flex-end;
}

.certs-section-title {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
    color: var(--text-color);
    margin: 0 !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    max-width: 480px;
    min-width: 390px;
}

.certs-section-subtitle {
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 300;
    line-height: 1.45;
    color: var(--text-color);
    max-width: 440px;
    margin: 0;
    padding-bottom: 4px;
}

.certs-slider-nav {
    display: flex;
    gap: 0;
}

.certs-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.certs-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scroll-behavior: smooth;
    overflow-x: auto;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.certs-track::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.cert-card-item {
    flex: 0 0 280px;
    max-width: 320px;
    box-sizing: border-box;
    position: relative;
    border: 1px solid #E2E8F0;
    background: #FFF;
    overflow: hidden;
    aspect-ratio: 1 / 1.414;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.cert-lightbox-trigger {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.cert-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.project-gallery-item .cert-image-box {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.cert-card-item:hover .cert-zoom-overlay,
.project-gallery-item:hover .cert-zoom-overlay {
    opacity: 1;
}

/* Lightbox Modal */
.cert-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.cert-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 42, 76, 0.85);
    backdrop-filter: blur(4px);
}

.cert-modal-content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 40px;
}

.cert-modal-img-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.cert-modal-img {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    display: block;
}

.cert-modal-counter {
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 500;
    margin-top: 14px;
    letter-spacing: 0.05em;
}

.cert-modal-close {
    position: absolute;
    top: 24px;
    right: 28px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #FFF;
    font-size: 32px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s ease;
}

.cert-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cert-modal-prev,
.cert-modal-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s ease, transform 0.2s ease;
}

.cert-modal-prev {
    left: 28px;
}

.cert-modal-next {
    right: 28px;
}

.cert-modal-prev:hover,
.cert-modal-next:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.05);
}

@media (max-width: 991px) {
    .certs-section-title {
        font-size: 40px;
    }

    .cert-card-item {
        flex: 0 0 calc(33.333% - 14px);
    }
}

@media (max-width: 768px) {
    .cert-card-item {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        scroll-snap-align: start !important;
    }

    .hero-section {
        padding-top: 120px;
    }
}

@media (max-width: 575px) {
    .certs-section-title {
        font-size: 30px;
    }

    .cert-card-item {
        flex: 0 0 calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        scroll-snap-align: start !important;
    }
}

/* --- About Russia Map Section --- */
.about-map-section {
    padding-top: 10px;
    padding-bottom: 90px;
    position: relative;
}

.map-header-box {
    display: flex;
    flex-direction: column;
}

.map-section-title {
    font-family: var(--font-primary);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--text-color);
    margin-bottom: 20px !important;
}

.map-section-subtitle {
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-color);
    max-width: 480px;
    margin: 0;
    padding-top: 6px;
}

.map-illustration-box {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top: -40px;

}

.russia-map-img {
    width: 100%;
    max-width: 1180px;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    .map-section-title {
        font-size: 40px;
    }
}

@media (max-width: 575px) {
    .map-section-title {
        font-size: 30px;
    }
}

/* --- Site Contact Modal Popup --- */
.site-contact-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

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

.site-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 42, 76, 0.85);
    backdrop-filter: blur(6px);
}

.site-modal-window {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 580px;
    background: #FFF;
    padding: 48px 40px;
    border-radius: 4px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.site-contact-modal.is-open .site-modal-window {
    transform: translateY(0) scale(1);
}

.site-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #64748B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.site-modal-close:hover {
    color: var(--text-color);
    transform: rotate(90deg);
}

.site-modal-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 400;
    color: var(--text-color);
    margin: 0 0 12px 0;
    line-height: 1.15;
}

.site-modal-subtitle {
    font-family: var(--font-secondary);
    font-size: 15px;
    font-weight: 300;
    color: #64748B;
    margin: 0 0 28px 0;
    line-height: 1.5;
}

.site-modal-form-wrapper {
    width: 100%;
}

/* CF7 Form Inside Site Modal Popup (Vertical Stack Footer Layout) */
.site-modal-form-wrapper .wpcf7-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.site-modal-form-wrapper .form-group {
    padding: 0;
    border-bottom: 1px solid #A6A3A3;
    border-top: none !important;
    display: flex;
    align-items: center;
    position: relative;
}

.site-modal-form-wrapper .form-group .wpcf7-not-valid-tip {
    position: absolute;
    bottom: 2px;
    right: 0;
    font-size: 11px;
    font-family: var(--font-primary);
    color: #e53e3e;
    white-space: nowrap;
    pointer-events: none;
}

.site-modal-form-wrapper .form-input,
.site-modal-form-wrapper .form-textarea {
    width: 100%;
    padding: 16px 0;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    color: var(--text-color);
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.site-modal-form-wrapper .form-input::placeholder,
.site-modal-form-wrapper .form-textarea::placeholder {
    color: #A6A3A3;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
}

.site-modal-form-wrapper .form-textarea {
    resize: vertical;
}

.site-modal-form-wrapper .form-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 28px;
    gap: 20px;
}

.site-modal-form-wrapper .checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.site-modal-form-wrapper .checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 24px;
    height: 24px;
    margin: 0;
    cursor: pointer;
    z-index: 5;
    left: 0;
    top: 0;
}

.site-modal-form-wrapper .checkbox-custom {
    width: 24px;
    height: 24px;
    border: 1px solid #C7C7C7;
    flex-shrink: 0;
    position: relative;
    transition: all 0.2s ease;
    pointer-events: none;
    z-index: 2;
}

.checkbox-container.has-error .checkbox-custom,
.checkbox-label.has-error .checkbox-custom {
    border-color: #e53e3e !important;
}

.site-modal-form-wrapper .checkbox-container:has(input:checked) .checkbox-custom,
.site-modal-form-wrapper .checkbox-container.is-checked .checkbox-custom {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
}

.site-modal-form-wrapper .checkbox-container:has(input:checked) .checkbox-custom::after,
.site-modal-form-wrapper .checkbox-container.is-checked .checkbox-custom::after {
    content: '' !important;
    position: absolute !important;
    top: 3px !important;
    left: 7px !important;
    width: 6px !important;
    height: 11px !important;
    border: solid white !important;
    border-width: 0 2px 2px 0 !important;
    transform: rotate(45deg) !important;
    display: block !important;
}

.site-modal-form-wrapper .checkbox-text {
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 300;
    line-height: 1.4;
    color: #64748B;
}

.site-modal-form-wrapper .checkbox-text a {
    color: var(--accent-color);
    text-decoration: underline;
}

.site-modal-form-wrapper .btn-submit,
.site-modal-form-wrapper input[type="submit"] {
    width: 100% !important;
    height: 56px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0 !important;
    background: #062A4C !important;
    color: #FFF !important;
    font-family: var(--font-secondary) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}

.site-modal-form-wrapper .btn-submit:hover,
.site-modal-form-wrapper input[type="submit"]:hover {
    background: #0B3C6D !important;
    color: #FFF !important;
}

.site-modal-form-wrapper .wpcf7-form-control-wrap,
.site-modal-form-wrapper .wpcf7-acceptance,
.site-modal-form-wrapper .wpcf7-list-item {
    display: contents !important;
}

.site-modal-form-wrapper br {
    display: none !important;
}

.site-modal-form-wrapper p {
    margin: 0 !important;
}

@media (max-width: 575px) {
    .site-modal-window {
        padding: 32px 20px;
    }

    .site-modal-title {
        font-size: 28px;
    }
}

/* ==========================================================================
   Mobile Header, Burger Animation & Pop-up Drawer Styles
   ========================================================================== */

.header-mobile-right {
    display: none;
    align-items: center;
    gap: 10px;
}

.mobile-header-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.mobile-phone-icon {
    width: 32px;
    height: 32px;
    display: block;
    object-fit: contain;
    transition: filter 0.3s ease;
}

.header.is-scrolled .mobile-phone-icon {
    filter: brightness(0) invert(1);
}

.mobile-header-phone:hover {
    opacity: 0.8;
}

/* Animated Burger Button (Width 27px) */
.header-burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.burger-line {
    display: block;
    width: 27px;
    height: 2.5px;
    background-color: var(--text-color, #1D1D1D);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, background-color 0.3s ease;
    transform-origin: center;
}

.header.is-scrolled .burger-line {
    background-color: #FFFFFF;
}

/* Burger Animation Active State (Cross) */
.header-burger.is-active .burger-line:nth-child(1) {
    transform: translateY(9.75px) rotate(45deg);
    background-color: #062A4C;
}

.header-burger.is-active .burger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.header-burger.is-active .burger-line:nth-child(3) {
    transform: translateY(-9.75px) rotate(-45deg);
    background-color: #062A4C;
}

/* Pop-up Drawer Modal */
.mobile-menu-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-popup.is-open {
    display: block !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    background-image: url('../images/background-grid-pattern.svg');
    background-repeat: repeat-y;
    background-position: top center;
    background-size: 1182px auto;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-sizing: border-box;
    transform: translateY(-100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-popup.is-open .mobile-menu-content {
    transform: translateY(0);
}

/* Top Header Bar inside Modal */
.mobile-menu-top {
    padding-top: 20px;
    position: relative;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.mobile-menu-brand-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 70% !important;
    height: 118px !important;
    background: #062A4C !important;
    clip-path: polygon(0 0, 100% 0, 0 100%) !important;
    pointer-events: none;
    z-index: 1;
}

.mobile-menu-logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

.mobile-menu-logo .logo-img {
    height: 36px;
    width: auto;
}

.mobile-menu-close {
    position: relative;
    z-index: 10;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
}

/* Main Body of Menu (Centered text) */
.mobile-menu-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 30px;
    padding-bottom: 0;
    flex: 1 0 auto;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.mobile-nav-link {
    font-family: var(--font-secondary);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav-link.active,
.mobile-nav-link:hover {
    color: var(--accent-hover);
}

/* Info Section (Phone, Email, Hours) */
.mobile-menu-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.mobile-info-phone {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.mobile-info-phone:hover {
    color: var(--accent-color);
}

.mobile-info-email {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-info-email:hover {
    color: var(--accent-color);
}

.mobile-info-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 300;
    color: var(--text-color);
    margin-top: 10px;
}

.mobile-info-details p {
    margin: 0;
}

/* Illustration at bottom right (Absolute) */
.mobile-menu-illustration {
    position: absolute;
    bottom: 0;
    right: 0;
    width: auto;
    max-width: 200px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    pointer-events: none;
    z-index: 1;
}

.mobile-sketch-img {
    max-width: 294px !important;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Media Queries for Mobile Header & Hero Section */
@media (max-width: 768px) {
    .logo-img {
        width: 115px !important;
        height: auto !important;
    }

    .header-right {
        display: none !important;
    }

    .header-mobile-right {
        display: flex !important;
    }

    .brand-diagonal-bg {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 70% !important;
        height: 118px !important;
        background: #062A4C !important;
        clip-path: polygon(0 0, 100% 0, 0 100%) !important;
        pointer-events: none !important;
        z-index: 10 !important;
    }

    /* Hero Section Mobile Styles */
    .hero-container {
        display: flex !important;
        flex-direction: column !important;
        padding-top: 10px !important;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }

    .hero-title {
        order: 1 !important;
        margin-top: 20px;
    }

    .hero-title .title-line-1 {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .hero-title .title-main {
        font-size: 40px !important;
        line-height: 1.05 !important;
    }

    .hero-title .title-sub {
        font-size: 24px !important;
        line-height: 1.1 !important;
    }

    .hero-title .title-line-2 {
        font-size: 40px !important;
        line-height: 1.05 !important;
        top: 0 !important;
        margin-top: 4px;
    }

    .hero-features {
        order: 2 !important;
        margin-top: 40px;
        margin-bottom: 200px;
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    .hero-features .feature-item {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
    }

    .hero-features .feature-icon {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }

    .hero-features .feature-item span {
        font-size: 16px !important;
        font-family: var(--font-secondary);
        text-transform: uppercase;
        letter-spacing: 0.03em;
    }

    .hero-image-wrapper {
        order: 3 !important;
        top: 200px !important;
        right: auto !important;
        left: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 16px 0 24px 0 !important;
        aspect-ratio: auto !important;
        z-index: 2 !important;
    }

    .hero-building-img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block !important;
    }

    .hero-action {
        order: 4 !important;
        width: 100% !important;
        margin-top: 8px !important;
        margin-bottom: 24px !important;
    }

    .btn-hero {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 16px !important;
        box-sizing: border-box !important;
        padding: 18px 24px !important;
        font-size: 15px !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        border-radius: 0 !important;
    }

    .btn-contracts {
        font-size: 14px !important;
    }

    .projects-header-wrapper {
        margin-bottom: 0;
    }

    .contracts-info-block {
        margin-top: 60px;
    }

    .contacts-v2-val.phone-val {
        font-size: 24px;
    }

    /* All Section Titles (H1/H2) set to 44px on Mobile */
    .h2,
    h2,
    .complex-design-title,
    .bim-title,
    .projects-title,
    .faq-title,
    .contacts-title,
    .contacts-v2-title,
    .appointment-title,
    .about-hero-title,
    .team-section-title,
    .press-section-title,
    .certs-section-title,
    .why-trust-title,
    .projects-archive-title,
    .single-project-title,
    .project-sec-title,
    .entry-title,
    .page-title,
    body:not(.home):not(.front-page) h1{
        font-size: 40px !important;
        line-height: 1.1 !important;
    }

    article.page-content .entry-header .entry-title {
        font-size: 30px !important;
        line-height: 1.15 !important;
    }

        article.page-content .entry-content h2  {
            font-size: 28px !important;
        }

    /* Stats grid 2 columns (2x2) on mobile */
    .stats-grid-box {
        grid-template-columns: repeat(2, 1fr) !important;
        width: 100% !important;
        border: 1px solid #C8C6C6 !important;
    }

    .stat-col {
        padding: 24px 12px !important;
        border-right: 1px solid #C8C6C6 !important;
        border-bottom: 1px solid #C8C6C6 !important;
    }

    .stat-col:nth-child(even) {
        border-right: none !important;
    }

    .stat-col:nth-child(n+3) {
        border-bottom: none !important;
    }

    .stat-num {
        font-size: 54px !important;
        line-height: 1 !important;
    }

    .stat-label {
        font-size: 14px !important;
        line-height: 1.25 !important;
        margin-top: 6px !important;
    }

    /* Complex Design Section Mobile Accordion Tabs */
    .complex-design-grid {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
    }

    .tab-content-area {
        display: none !important;
    }

    .tabs-list {
        width: 100% !important;
    }

    .tab-item {
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        padding: 16px 0 !important;
        gap: 0 !important;
        border-bottom: 1px solid #E5E7EB !important;
        background: transparent !important;
        cursor: pointer;
        align-items: flex-start !important;
    }

    .tab-header {
        display: flex !important;
        gap: 40px !important;
        width: 100% !important;
    }

    .projects-bg-sketch {
        width: 180px;
    }

    .adv-icon-box {}

    .adv-text-box {
        padding: 19px !important;

    }

    .adv-col {
        border: 1px solid #C8C6C6 !important;
    }

    .bim-section {
        padding-top: 60px;
    }

    .tab-num {
        width: auto !important;
        font-family: 'Rajdhani', sans-serif !important;
        font-size: 52px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        color: #C8C6C6 !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .tab-item.active .tab-num {
        color: var(--accent-color, #062A4C) !important;
    }

    .tab-text {
        font-family: var(--font-secondary) !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        line-height: 1.35 !important;
        color: #1D1D1D !important;
        text-transform: uppercase !important;
        margin-top: 2px !important;
        letter-spacing: 0 !important;
    }

    .tab-item.active .tab-text {
        color: var(--accent-color, #062A4C) !important;
    }

    .mobile-tab-content {
        display: grid !important;
        grid-template-rows: 0fr;
        opacity: 0;
        transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
        width: 100% !important;
    }

    .tab-item.active .mobile-tab-content {
        grid-template-rows: 1fr !important;
        opacity: 1 !important;
        padding-top: 12px !important;
        padding-bottom: 6px !important;
    }

    .mobile-tab-desc {
        overflow: hidden;
        min-height: 0;
        font-family: var(--font-secondary) !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.45 !important;
        color: #4B5563 !important;
        margin: 0 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
    }

    .complex-design-mobile-illustration {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: 32px !important;
        margin-bottom: 20px !important;
    }

    .complex-design-mobile-illustration .illustration-img {
        max-width: 100% !important;
        height: auto !important;
        max-height: 280px !important;
        object-fit: contain !important;
        pointer-events: none;
    }

    /* BIM Section Mobile Layout */
    .bim-header {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        position: relative !important;
        margin-bottom: 24px !important;
    }

    .bim-header-left {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
        margin-bottom: 24px !important;
    }

    .bim-title {
        font-size: 44px !important;
        line-height: 1.1 !important;
        margin-bottom: 0 !important;
    }

    .bim-subtitle {
        position: static !important;
        font-size: 16px !important;
        line-height: 1.4 !important;
        color: #1D1D1D !important;
        opacity: 0.9 !important;
        margin: 0 !important;
    }

    .bim-carousel-nav {
        align-self: flex-end !important;
        display: flex !important;
        gap: 0 !important;
        margin-left: auto !important;
        margin-bottom: 12px !important;
    }

    .bim-nav-btn {
        width: 48px !important;
        height: 48px !important;
        padding: 0 !important;
        border: 1px solid #E5E7EB !important;
    }

    .bim-nav-btn.is-disabled {
        background-color: #FFFFFF !important;
        color: #1D1D1D !important;
        border: 1px solid #E5E7EB !important;
    }

    .bim-nav-btn:not(.is-disabled) {
        background-color: #062A4C !important;
        color: #FFFFFF !important;
        border: none !important;
    }

    /* Projects Grid 1-column layout on mobile */
    .projects-grid,
    .projects-archive-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
        width: 100% !important;
    }

    /* FAQ Section Mobile Adaptation */
    .faq-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
    }

    .faq-left {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        margin-bottom: 12px !important;
    }

    .faq-title {
        width: 100% !important;
        font-size: 44px !important;
        line-height: 1.1 !important;
        margin-bottom: 0 !important;
    }

    .faq-subtitle {
        font-size: 16px !important;
        line-height: 1.4 !important;
        color: #4B5563 !important;
        opacity: 0.9 !important;
        margin: 0 !important;
    }

    .faq-item::after {
        left: 0 !important;
        background-color: #E5E7EB !important;
    }

    .faq-header {
        gap: 16px !important;
        padding: 16px 0 !important;
    }

    .faq-crosshair-icon {
        width: 40px !important;
        height: 40px !important;
    }

    .crosshair-img {
        width: 40px !important;
        height: 40px !important;
    }

    .faq-question {
        font-family: var(--font-secondary) !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        line-height: 1.35 !important;
        color: #1D1D1D !important;
        transition: color 0.2s ease !important;
    }

    .faq-item.active .faq-question {
        color: #062A4C !important;
    }

    .faq-content {
        padding-left: 56px !important;
    }

    .faq-answer {
        font-family: var(--font-secondary) !important;
        font-size: 14px !important;
        font-weight: 400 !important;
        line-height: 1.45 !important;
        color: #4B5563 !important;
        margin: 0 !important;
    }

    .faq-item.active .faq-content {
        padding-bottom: 20px !important;
    }

    /* Contacts Final Section Mobile Adaptation matching screenshot */
    .contacts-v2-right {
        display: none !important;
    }

    .contacts-v2-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }

    .contacts-v2-left {
        width: 100% !important;
        max-width: 100% !important;
    }

    .contacts-cf7-form-wrapper .form-group {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .contacts-cf7-form-wrapper .form-group .wpcf7-not-valid-tip {
        position: relative !important;
        bottom: auto !important;
        left: 0 !important;
        right: auto !important;
        padding: 0 23px 10px 23px !important;
        font-size: 12px !important;
        white-space: normal !important;
        word-break: break-word !important;
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .contacts-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
    }

    .contacts-left,
    .contacts-right {
        width: 100% !important;
    }

    .contacts-title {
        font-size: 44px !important;
        line-height: 1.1 !important;
        margin-bottom: 16px !important;
    }

    .mobile-only-desc {
        display: block !important;
        text-align: left !important;
        font-size: 16px !important;
        line-height: 1.4 !important;
        color: #1D1D1D !important;
        margin-bottom: 24px !important;
        width: 100% !important;
    }

    .desktop-only-desc {
        display: none !important;
    }

    /* Contacts CF7 Form Mobile Inputs */
    .contacts-cf7-form-wrapper form p {
        margin-bottom: 16px !important;
    }

    .projects-section {
        padding-bottom: 80px;
    }

    .contacts-cf7-form-wrapper input[type="text"],
    .contacts-cf7-form-wrapper input[type="tel"],
    .contacts-cf7-form-wrapper input[type="email"],
    .contacts-cf7-form-wrapper textarea {
        background: transparent !important;
        font-family: var(--font-secondary) !important;
        font-size: 14px !important;
    }

    .contacts-cf7-form-wrapper input::placeholder,
    .contacts-cf7-form-wrapper textarea::placeholder {
        color: #9CA3AF !important;
        text-transform: uppercase !important;
        font-size: 14px !important;
    }

    /* Contacts CF7 Form Footer Layout on Mobile (Consent Top, Submit Button Bottom) */
    .contacts-cf7-form-wrapper .form-footer,
    .form-footer {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 20px !important;
        margin-top: 24px !important;
        width: 100% !important;
    }

    .contacts-cf7-form-wrapper .checkbox-container,
    .contacts-cf7-form-wrapper .checkbox-label,
    .checkbox-label {
        width: 100% !important;
    }

    /* Form Submit Button */
    .contacts-cf7-form-wrapper input[type="submit"],
    .contacts-cf7-form-wrapper button[type="submit"],
    .contacts-cf7-form-wrapper .wpcf7-submit,
    .contacts-cf7-form-wrapper .btn-submit {
        width: 100% !important;
        background-color: #062A4C !important;
        color: #FFFFFF !important;
        border: none !important;
        padding: 16px 24px !important;
        font-family: var(--font-primary) !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        border-radius: 0 !important;
        cursor: pointer;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: 0 !important;
    }

    /* Contact Card Items on Mobile (Icon box on left) */
    .contact-card-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
        margin-top: 60px !important;
    }

    .contact-item {
        display: flex !important;
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center !important;
    }

    .contact-icon-box {
        width: 64px !important;
        height: 64px !important;
        background: #FFFFFF !important;
        border: 1px solid #E5E7EB !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    .contact-icon-svg {
        width: 28px !important;
        height: 28px !important;
    }

    .contact-val {
        text-align: left !important;
        font-family: var(--font-secondary) !important;
        margin: 0 !important;
    }

    .contact-val.phone-val {
        font-size: 24px !important;
    }

    .contact-val.email-val {
        font-size: 20px !important;
    }

    .work-hours-text {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        text-align: left !important;
        font-family: var(--font-secondary) !important;
        font-size: 16px !important;
        color: #1D1D1D !important;
    }

    .weekend-text {
        color: #6B7280 !important;
        font-size: 15px !important;
    }

    /* CTA Banner Mobile Adaptation matching screenshot */
    .cta-banner-section {
        margin-top: 32px !important;
        margin-bottom: 32px !important;
        width: 100% !important;
    }

    .cta-banner-container {
        padding: 36px 20px !important;
        min-height: auto !important;
    }

    .cta-banner-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 24px !important;
        width: 100% !important;
    }

    .cta-title {
        font-size: 26px !important;
        line-height: 1.25 !important;
        color: #FFFFFF !important;
        font-weight: 500 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .cta-action {
        width: 100% !important;
    }

    .cta-action .btn-hero {
        width: 100% !important;
        background-color: #062A4C !important;
        color: #FFFFFF !important;
        justify-content: center !important;
        padding: 16px 20px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.5px !important;
        box-sizing: border-box !important;
    }

    .cta-logo-wrapper {
        display: none !important;
    }

    /* Projects Category Tabs Horizontal Scroll on Mobile */
    .projects-tabs-nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        gap: 24px !important;
        margin-bottom: 24px !important;
        padding-bottom: 8px !important;
        width: 100% !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .projects-tabs-nav::-webkit-scrollbar {
        display: none !important;
    }

    .project-tab-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        font-size: 15px !important;
    }
}