/* GT Super Display Font */
@font-face {
    font-family: 'GT Super Display';
    src: url('fonts/GT-Super-Display-Light-Trial.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Super Display';
    src: url('fonts/GT-Super-Display-Regular-Trial.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GT Super Display';
    src: url('fonts/GT-Super-Display-Medium-Trial.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

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

/* Mobile-only line break */
.mobile-br {
    display: none;
}

@media (max-width: 768px) {
    .mobile-br {
        display: block;
    }
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-card {
    --bg-color: #fff;
    background-color: var(--bg-color);
    padding: 1rem 2rem;
}

.preloader-loader {
    color: #999;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 28px;
    box-sizing: content-box;
    height: 42px;
    display: flex;
}

.preloader-words {
    overflow: hidden;
    position: relative;
}

.preloader-words::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        var(--bg-color) 10%,
        transparent 30%,
        transparent 70%,
        var(--bg-color) 90%
    );
    z-index: 20;
}

.preloader-word {
    display: block;
    height: 100%;
    padding-left: 6px;
    color: #000;
    font-weight: 600;
    animation: preloaderSpin 4s infinite;
}

@keyframes preloaderSpin {
    10% {
        transform: translateY(-102%);
    }
    25% {
        transform: translateY(-100%);
    }
    35% {
        transform: translateY(-202%);
    }
    50% {
        transform: translateY(-200%);
    }
    60% {
        transform: translateY(-302%);
    }
    75% {
        transform: translateY(-300%);
    }
    85% {
        transform: translateY(-402%);
    }
    100% {
        transform: translateY(-400%);
    }
}

@media (max-width: 768px) {
    .preloader-loader {
        font-size: 18px;
        height: 26px;
    }

    .preloader-card {
        padding: 0.5rem 1rem;
    }
}

:root {
    --white: #FFFFFF;
    --black: #000000;
    --gray: #666666;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
}

html {
    overflow-x: clip;
    width: 100%;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    color: var(--black);
    overflow-x: clip;
    position: relative;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(rgba(255,255,255,0.70), rgba(255,255,255,0.70)), url('menutest.webp') center/cover;
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.logo {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: absolute;
    left: calc(100% / 12);
    text-decoration: none;
    color: var(--black);
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo:hover {
    opacity: 0.6;
}

.logo-img {
    height: 30px;
    width: auto;
}

.logo-bold {
    font-weight: 800;
}

.nav {
    display: flex;
    gap: 45px;
}

.nav-link {
    text-decoration: none;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    position: relative;
    padding-left: 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    left: -5px;
    bottom: 0;
    width: 1px;
    height: 0;
    background: var(--black);
    transition: height 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    height: 20px;
}

.nav-link:hover {
    opacity: 1;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > .nav-link {
    pointer-events: none;
}

.nav-dropdown > .nav-link::before {
    bottom: auto;
    top: 0;
}

.nav-dropdown:hover > .nav-link::before {
    height: 20px;
}

@media (max-width: 768px) {
    .nav-dropdown > .nav-link {
        pointer-events: auto;
    }
}

/* Dropdown Menu - Hiroshi Style */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 15px;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu-inner {
    background: var(--white);
    border: 1px solid #e5e5e5;
    min-width: 280px;
    padding: 15px 0;
    margin-left: -25px;
    white-space: nowrap;
}

.dropdown-category {
    position: relative;
}

.dropdown-category > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 25px;
    color: var(--black);
    font-size: 13px;
    font-weight: 400;
    cursor: default;
}

.dropdown-category > span > span {
    position: relative;
}

.dropdown-category > span > span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dropdown-category:hover > span > span::after {
    transform: scaleX(1);
}

.dropdown-category > span::after {
    content: '›';
    font-size: 14px;
    opacity: 1;
}

.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: -16px;
    background: var(--white);
    border: 1px solid #e5e5e5;
    min-width: 170px;
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    transition-delay: 0.1s;
}

.dropdown-submenu::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    width: 15px;
    height: 100%;
}

.dropdown-category:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.dropdown-submenu a {
    display: inline-block;
    padding: 6px 25px;
    text-decoration: none;
    color: var(--black);
    font-size: 13px;
    font-weight: 400;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-submenu a span {
    position: relative;
}

.dropdown-submenu a span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dropdown-submenu a:hover span::after {
    transform: scaleX(1);
}

/* Third level dropdown */
.dropdown-subcategory {
    position: relative;
}

.dropdown-subcategory > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 25px;
    color: var(--black);
    font-size: 13px;
    font-weight: 400;
    cursor: default;
    position: relative;
}

.dropdown-subcategory > span > span {
    position: relative;
}

.dropdown-subcategory > span > span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dropdown-subcategory:hover > span > span::after {
    transform: scaleX(1);
}

.dropdown-subcategory > span::after {
    content: '›';
    font-size: 14px;
    opacity: 1;
}

.dropdown-submenu-nested {
    position: absolute;
    left: 100%;
    top: -15px;
    background: var(--white);
    border: 1px solid #e5e5e5;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease, visibility 0.15s ease;
    transition-delay: 0.15s;
}

.dropdown-submenu-nested::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    width: 15px;
    height: 100%;
}

.dropdown-subcategory:hover .dropdown-submenu-nested {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.dropdown-submenu-nested a {
    display: inline-block;
    padding: 6px 25px;
    text-decoration: none;
    color: var(--black);
    font-size: 13px;
    font-weight: 400;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-submenu-nested a span {
    position: relative;
}

.dropdown-submenu-nested a span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.dropdown-submenu-nested a:hover span::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .dropdown-menu {
        visibility: hidden !important;
        opacity: 0 !important;
    }
}

.header-phone {
    position: absolute;
    right: calc(100% / 12 + 105px);
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
}

.header-phone::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
}

.header-phone:hover::after {
    animation: underline-slide-phone 0.4s ease;
}

@keyframes underline-slide-phone {
    0% { transform: scaleX(1); transform-origin: right; }
    50% { transform: scaleX(0); transform-origin: right; }
    50.1% { transform: scaleX(0); transform-origin: left; }
    100% { transform: scaleX(1); transform-origin: left; }
}

@keyframes underline-appear {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

@media (max-width: 768px) {
    .header-phone {
        display: none;
    }
}

.header-tg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    position: absolute;
    right: calc(100% / 12 + 50px);
    z-index: 10001;
}

.header-tg-btn .tg-square {
    width: 35px;
    height: 35px;
    position: absolute;
}

.header-tg-btn .tg-icon {
    position: absolute;
}

.header-tg-btn .tg-square rect {
    stroke-dasharray: 128;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0s;
}

.header-tg-btn:hover .tg-square rect {
    animation: square-anim 0.8s ease;
}

@keyframes square-anim {
    0% { stroke-dashoffset: 0; }
    50% { stroke-dashoffset: 128; }
    50.1% { stroke-dashoffset: -128; }
    100% { stroke-dashoffset: 0; }
}

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 35px;
    position: absolute;
    right: calc(100% / 12);
    padding: 0;
    z-index: 10001;
}

.menu-square {
    width: 35px;
    height: 35px;
    position: absolute;
}

.menu-toggle .callback-icon {
    position: absolute;
}

.menu-square rect {
    stroke-dasharray: 128;
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 0s;
}

.menu-toggle:hover .menu-square rect {
    animation: square-anim 0.8s ease;
}

/* Hide grid on desktop, show only on mobile */
.menu-grid {
    display: none;
}


/* Mobile phone & telegram links - hidden on desktop */
.header-phone-mobile,
.header-telegram-mobile {
    display: none;
}

.phone-icon,
.telegram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: #000;
    border-radius: 2px;
}

/* Mobile Menu - hidden by default */
.mobile-menu {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh + 60px);
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}

/* Hero Headline */
.hero-headline {
    padding: 60px calc(100% / 12) 0;
    text-align: left;
    background: #f5efe9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-headline-content {
    flex: 1;
}

.hero-headline-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-headline-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--black);
    border-radius: 50%;
}

.hero-floating-img {
    position: relative;
    width: 437px;
    height: 437px;
    flex-shrink: 0;
}

.floating-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    filter: blur(0);
    animation: fadeShakeBlur 8s ease-in-out infinite;
}

.floating-img-1 { animation-delay: 0s; }
.floating-img-2 { animation-delay: 0.8s; }
.floating-img-3 { animation-delay: 1.6s; }
.floating-img-4 { animation-delay: 2.4s; }
.floating-img-5 { animation-delay: 3.2s; }
.floating-img-6 { animation-delay: 4s; }
.floating-img-7 { animation-delay: 4.8s; }
.floating-img-8 { animation-delay: 5.6s; }
.floating-img-9 { animation-delay: 6.4s; }
.floating-img-10 { animation-delay: 7.2s; }

@keyframes fadeShakeBlur {
    0% { opacity: 0; filter: blur(6px); transform: translate(0, 0); }
    2% { opacity: 1; filter: blur(0); transform: translate(2px, -2px) rotate(1deg); }
    3% { opacity: 1; filter: blur(0); transform: translate(0, 0) rotate(0deg); }
    7% { opacity: 1; filter: blur(0); transform: translate(0, 0) rotate(0deg); }
    9% { opacity: 0; filter: blur(6px); transform: translate(-2px, 2px) rotate(-1deg); }
    10% { opacity: 0; filter: blur(6px); transform: translate(0, 0); }
    100% { opacity: 0; filter: blur(6px); transform: translate(0, 0); }
}

.hero-badge {
    display: inline-block;
    font-size: 17px;
    font-weight: 500;
    color: #000;
    margin-bottom: 35px;
}

.hero-badge strong {
    font-weight: 800;
}

.hero-main-title {
    font-size: 45px;
    font-weight: 500;
    color: #000;
    line-height: 1.25;
    letter-spacing: -1px;
    max-width: 900px;
    margin: 0;
}

.hero-headline .hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 1.6;
    max-width: 700px;
    margin: 30px 0 0;
}

.hero-headline .hero-calc-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 35px;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    color: #000;
    font-size: 15px;
    font-weight: 400;
    cursor: pointer;
    font-family: 'Nunito Sans', sans-serif;
    width: auto;
    letter-spacing: 0.2px;
}

.hero-headline .hero-calc-btn .btn-text {
    position: relative;
    padding-bottom: 3px;
}

.hero-headline .hero-calc-btn .btn-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #000;
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.hero-headline .hero-calc-btn:hover .btn-text::after {
    transform: scaleX(0);
    transform-origin: right;
}

.hero-headline .hero-calc-btn .calc-icon-wrap {
    position: relative;
    width: 24px;
    height: 24px;
    border: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-headline .hero-calc-btn .calc-icon {
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
    stroke: #000;
}

.hero-headline .hero-calc-btn .calc-icon-1 {
    opacity: 1;
}

.hero-headline .hero-calc-btn:hover .calc-icon-1 {
    animation: iconCycle1 2.4s ease-in-out infinite;
}

.hero-headline .hero-calc-btn:hover .calc-icon-2 {
    animation: iconCycle2 2.4s ease-in-out infinite;
}

.hero-headline .hero-calc-btn:hover .calc-icon-3 {
    animation: iconCycle3 2.4s ease-in-out infinite;
}

.hero-headline .hero-calc-btn:hover .calc-icon-4 {
    animation: iconCycle4 2.4s ease-in-out infinite;
}

@keyframes iconCycle1 {
    0%, 20% { opacity: 1; }
    25%, 100% { opacity: 0; }
}

@keyframes iconCycle2 {
    0%, 20% { opacity: 0; }
    25%, 45% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes iconCycle3 {
    0%, 45% { opacity: 0; }
    50%, 70% { opacity: 1; }
    75%, 100% { opacity: 0; }
}

@keyframes iconCycle4 {
    0%, 70% { opacity: 0; }
    75%, 95% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 768px) {
    .hero-headline {
        flex-direction: column;
        padding: 40px 20px 60px;
        text-align: left;
        gap: 30px;
    }

    .hero-headline-content {
        order: 2;
    }

    .hero-floating-img {
        order: 1;
        width: 200px;
        height: 200px;
    }

    .hero-main-title {
        font-size: 32px;
    }

    .hero-headline .hero-subtitle {
        font-size: 14px;
        margin: 20px 0 0;
    }

    .hero-headline .hero-calc-btn {
        font-size: 14px;
        margin-top: 25px;
    }

    .hero-headline .hero-calc-btn .btn-text {
        white-space: nowrap;
    }
}

@media (max-width: 350px) {
    .hero-headline .hero-calc-btn {
        font-size: 12px;
    }
}

/* Interiors Examples Section */
.interiors-examples {
    padding: 80px 0 0;
    background: #fff;
}

.interiors-header {
    padding: 0 calc(100% / 12);
    max-width: 900px;
    margin-bottom: 25px;
}

.interiors-title {
    font-size: 45px;
    font-weight: 500;
    color: #000;
    margin-bottom: 25px;
    line-height: 1.25;
    letter-spacing: -1px;
    white-space: nowrap;
}

.interiors-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 15px;
}

.interiors-link {
    font-size: 16px;
    color: var(--gray);
}

.interiors-link a {
    color: var(--black);
    text-decoration: none;
    position: relative;
    display: inline-block;
}

.interiors-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transform: scaleX(1);
    transition: transform 0.3s ease;
}

.interiors-link a:hover::after {
    transform: scaleX(0);
}

.interiors-gallery {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 0 calc(100% / 12);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.interiors-gallery img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-drag: none;
}

.interiors-gallery::-webkit-scrollbar {
    display: none;
}

.interior-card {
    flex: 0 0 368px;
    scroll-snap-align: start;
}

.interior-card img {
    width: 100%;
    height: 483px;
    object-fit: cover;
    margin-bottom: 5px;
}

.interior-card h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 5px 0;
    padding-left: 10px;
    line-height: 1.3;
}

.interior-card p {
    font-size: 13px;
    line-height: 1.5;
    color: var(--gray);
    margin: 0;
    padding-left: 10px;
}

@media (max-width: 768px) {
    .interiors-examples {
        padding: 50px 0 40px;
    }

    .interiors-header {
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .interiors-title {
        font-size: 28px;
        margin-bottom: 15px;
        white-space: normal;
    }

    .interiors-description {
        font-size: 14px;
    }

    .interiors-gallery {
        padding: 0 20px;
        gap: 15px;
    }

    .interior-card {
        flex: 0 0 280px;
    }

    .interior-card img {
        height: 350px;
        margin-bottom: 15px;
    }

    .interior-card h3 {
        font-size: 16px;
    }

    .interior-card p {
        font-size: 13px;
    }
}

/* Hero Calculator */
.hero-calculator {
    position: fixed;
    right: calc(100% / 12);
    top: 50%;
    transform: translateY(-50%);
    z-index: 9000;
    width: 380px;
    padding: 25px 30px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-calculator h3 {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 4px;
}

.hero-calc-subtitle {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.hero-calc-step {
    margin-bottom: 14px;
}

.hero-calc-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.hero-calc-options {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-calc-option {
    padding: 10px 14px;
    font-size: 12px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-calc-option:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero-calc-option.selected {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.hero-calc-slider-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-calc-slider {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
    -webkit-appearance: none;
}

.hero-calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

.hero-calc-value {
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    min-width: 60px;
}

.hero-calc-result {
    margin-top: 18px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-calc-result-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}

.hero-calc-result-value {
    font-size: 28px;
    font-weight: 300;
    color: #fff;
}

.hero-calc-btn {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: #fff;
    border: none;
    color: #000;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Nunito Sans', sans-serif;
    position: relative;
    z-index: 10;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    will-change: opacity;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.30);
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: absolute;
    z-index: 1;
    left: calc(100% / 12);
    top: calc(50% - 60px);
    transform: translateY(-50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active .hero-content {
    opacity: 1;
}

.hero-slide.active .project-title {
    animation: revealTextRight 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
    opacity: 0;
}

.hero-slide.active .project-subtitle {
    animation: revealTextLeft 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.2s forwards;
    opacity: 0;
}

@keyframes revealTextRight {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes revealTextLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 54px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 40px;
    letter-spacing: -1px;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7), 0 2px 10px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 0, 0, 0.4);
}

/* Hero CTA Panel */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 10px 12px 10px 30px;
    margin-bottom: 80px;
    background: rgba(0, 0, 0, 0.35);
    border-radius: 100px;
}

.hero-cta-text {
    font-size: 15px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.4;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-cta-btn {
    padding: 16px 30px;
    background: linear-gradient(135deg, #D4B896 0%, #C4A77D 25%, #A8895C 50%, #C4A77D 75%, #D4B896 100%);
    color: var(--black);
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease;
    cursor: pointer;
    border: none;
    border-radius: 100px;
    font-family: 'Nunito Sans', sans-serif;
}

.hero-cta-btn:hover {
    background: linear-gradient(135deg, #C4A77D 0%, #A8895C 25%, #8B7355 50%, #A8895C 75%, #C4A77D 100%);
}

@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-radius: 20px;
        text-align: center;
        background: rgba(0, 0, 0, 0.35);
    }

    .hero-cta-text {
        font-size: 14px;
    }

    .hero-cta-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 140px;
}

.hero-project {
    background: transparent;
    padding: 0;
    max-width: 400px;
    margin-left: 0;
}

.project-title {
    font-size: 22.4px;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
    color: var(--white);
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.7), 0 1px 6px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 0, 0, 0.4);
}

/* Portfolio detail page - no shadows */
.project-detail .project-title {
    color: var(--black);
    text-shadow: none;
    font-size: 32px;
    font-weight: 600;
}

.project-subtitle {
    font-size: 9.8px;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 10px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 0, 0, 0.4);
}

.slider-dots {
    position: absolute;
    bottom: 80px;
    left: calc(100% / 12);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 40px;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.slider-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--white);
}

.slider-dot.active::after {
    width: 100%;
    animation: fillLine 5s linear forwards;
}

@keyframes fillLine {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border: 2px solid var(--white);
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--white);
}

.scroll-down:hover {
    background: var(--white);
    color: var(--black);
}

/* About Section */
.about {
    position: relative;
    background: #f5f5f5;
    padding: 80px 0;
}

.about-background {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 400px;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.about-bg-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0;
}

.about-header {
    margin-left: calc(100% / 12);
    margin-bottom: 60px;
}

.about-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.about-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--black);
    border-radius: 50%;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-left: calc(100% / 12);
    margin-right: calc(100% / 12);
    margin-bottom: 80px;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-title {
    font-size: 31.5px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--black);
}

.about-link {
    text-decoration: none;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.about-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transition: transform 0.3s ease;
}

.about-link:hover::after {
    animation: underline-slide 0.5s ease;
}

@keyframes underline-slide {
    0% { transform: translateX(0); }
    50% { transform: translateX(100%); }
    50.1% { transform: translateX(-100%); }
    100% { transform: translateX(0); }
}

.about-tg-hint {
    font-size: 12px;
    color: #999;
    margin-top: 2px;
    line-height: 1.4;
    max-width: 200px;
}

.about-image {
    width: 75%;
    margin-left: auto;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
    padding-top: 40px;
    padding-bottom: 0;
    position: relative;
}

.about-features::before {
    content: '';
    position: absolute;
    top: 0;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 1.3px;
    background: rgba(0, 0, 0, 0.08);
}

.about-links-bottom {
    grid-column: 2 / 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feature:nth-child(2) {
    grid-column: 5 / 8;
}

.feature:nth-child(3) {
    grid-column: 9 / 12;
}

.feature-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black);
}

.feature-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray);
}

.action-link {
    text-decoration: none;
    color: var(--black);
    font-size: 19.2px;
    font-weight: 400;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.action-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transition: transform 0.3s ease;
}

.action-link:hover::after {
    animation: underline-slide 0.5s ease;
}

/* Portfolio Preview Section */
/* Portfolio Accordion Gallery */
.portfolio-accordion {
    background: #000;
    padding: 80px calc(100% / 12) 80px;
}

.portfolio-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.portfolio-accordion-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.portfolio-accordion-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
}

.portfolio-accordion-link {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--white);
    text-decoration: none;
    padding: 10px 0;
}

.portfolio-accordion-link span {
    position: relative;
    display: inline-block;
}

.portfolio-accordion-link span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.portfolio-accordion-link:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.portfolio-panels {
    display: flex;
    gap: 10px;
    height: 500px;
}

.portfolio-panel {
    position: relative;
    flex: 1;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}

.portfolio-panel.active {
    flex: 3;
}

.portfolio-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1),
                filter 0.5s ease;
}

.portfolio-panel:not(.active) img {
    filter: brightness(0.4);
    transform: scale(1.1);
}

.portfolio-panel:not(.active):hover img {
    filter: brightness(0.6);
}

.portfolio-panel.active img {
    filter: brightness(0.9);
    transform: scale(1);
}

.panel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.3s;
}

.portfolio-panel.active .panel-content {
    opacity: 1;
    transform: translateY(0);
}

.panel-title {
    display: block;
    font-size: 24px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.panel-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    line-height: 1.5;
}

.panel-link {
    font-size: 12px;
    color: var(--white);
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.panel-link:hover {
    opacity: 1;
}

@media (max-width: 1024px) {
    .portfolio-panels {
        height: 450px;
    }

    .panel-title {
        font-size: 20px;
    }

    .panel-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .portfolio-accordion {
        padding: 60px 20px;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .portfolio-accordion-header {
        margin-bottom: 20px;
    }

    .portfolio-accordion-label {
        white-space: nowrap;
    }

    .portfolio-accordion-link {
        position: absolute;
        bottom: 20px;
        left: 20px;
        white-space: nowrap;
    }

    .portfolio-panels {
        flex-direction: column;
        height: auto;
        gap: 15px;
        margin-bottom: 60px;
    }

    .portfolio-panel {
        height: 280px;
        flex: none;
    }

    .portfolio-panel.active {
        height: 280px;
        flex: none;
    }

    .portfolio-panel img {
        filter: brightness(0.4);
        transform: scale(1) !important;
        transition: filter 0.5s ease;
    }

    .portfolio-panel.in-view img {
        filter: brightness(0.7);
    }

    .panel-content {
        padding: 20px;
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .portfolio-panel.in-view .panel-content {
        opacity: 1;
        transform: translateY(0);
    }

    .panel-title {
        font-size: 18px;
    }

    .panel-desc {
        display: none;
    }

    .panel-link {
        display: none;
    }
}

/* Works Section (OLD - hidden) */
.works {
    position: relative;
    background: #000;
    padding: 60px 0;
    color: var(--white);
}

.works-content {
    position: relative;
    height: calc(7 * 60px);
}

.works-header {
    position: absolute;
    top: 0;
    left: calc(100% / 12);
}

.works-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.works-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
}

.works-slider {
    position: relative;
    width: 100%;
    height: calc(7 * 60px);
    overflow-x: hidden;
}

.works-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.works-slide.active {
    opacity: 1;
}

.works-image {
    position: absolute;
    top: 0;
    left: calc(100% / 12 * 4);
    width: calc(100% / 12 * 6.5);
    height: calc(6 * 60px);
    object-fit: cover;
}

.works-image-preview {
    position: absolute;
    top: 0;
    left: calc(100% / 12 * 4 + 100% / 12 * 6.5 + 20px);
    width: calc(100% / 12 * 2);
    height: calc(7 * 60px);
    overflow: hidden;
    margin: 0;
    padding: 0;
    border: 0;
    line-height: 0;
    font-size: 0;
}

.works-image-preview img {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 100%;
    margin: 0;
    padding: 0;
}

.works-info {
    position: absolute;
    left: calc(100% / 12);
    top: calc(5 * 60px);
    z-index: 10;
}

.works-title {
    font-size: 33.6px;
    font-weight: 400;
    margin-bottom: 7px;
    color: var(--white);
}

.works-subtitle {
    font-size: 9.8px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 21px;
}

.works-link {
    position: absolute;
    left: calc(100% / 12 * 4);
    bottom: 0;
    text-decoration: none;
    color: var(--white);
    font-size: 12.6px;
    font-weight: 400;
    letter-spacing: 1px;
    z-index: 10;
    opacity: 0.7;
    line-height: 24px;
    overflow: hidden;
}

.works-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--white);
}

.works-link:hover::after {
    animation: underline-slide 0.5s ease;
}

.works-link:hover {
    opacity: 0.5;
}

.works-controls {
    position: absolute;
    bottom: 0;
    right: calc(100% / 12);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
    height: 24px;
}

.works-arrow {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white);
    transition: all 0.3s ease;
    padding: 0;
    vertical-align: middle;
}

.works-arrow:hover {
    opacity: 0.6;
}

/* Services Section */
.services {
    position: relative;
    min-height: 700px;
    background: var(--white);
    padding: 0;
}

.services-header {
    position: absolute;
    top: calc(1.5 * 60px + 80px + 15px);
    left: calc(100% / 12);
    z-index: 5;
}

.services-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--black);
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--black);
    border-radius: 50%;
}

.tabs-container {
    position: absolute;
    left: calc(100% / 12);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 999;
}

.tab {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    opacity: 0.3;
    cursor: pointer;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    background: transparent;
    border: none;
    padding: 0;
    text-align: left;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.tab.active {
    opacity: 1;
}

.tab:hover {
    opacity: 0.6;
}

.tab-content-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tab-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: calc(100% / 12);
    width: calc(100% / 12 * 7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.tab-content.active {
    opacity: 1;
    visibility: visible;
}

.tab-image {
    width: 100%;
}

.tab-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.tab-images-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tab-images-grid .commercial-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.tab-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tab-text p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
}

.tab-link {
    text-decoration: none;
    color: var(--black);
    font-size: 16px;
    font-weight: 400;
    width: fit-content;
    position: relative;
    overflow: hidden;
}

.tab-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transition: transform 0.3s ease;
}

.tab-link:hover::after {
    animation: underline-slide 0.5s ease;
}

/* Full Width Image Section */
.full-width-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.full-width-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-quote {
    position: absolute;
    bottom: 60px;
    left: calc(100% / 12);
    font-size: 22.4px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--white);
    text-align: left;
    max-width: 800px;
}

/* Testimonials Section */
.testimonials {
    position: relative;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    max-width: 700px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0s 0.5s;
    text-align: center;
    z-index: 1;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0s 0s;
    cursor: pointer;
    z-index: 2;
}

.testimonial-quote {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--black);
    margin: 0 0 60px 0;
    font-style: normal;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.testimonial-name {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--black);
}

.testimonial-position {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--gray);
}

.testimonials-dots {
    display: flex;
    gap: 10px;
    margin-top: 80px;
}

.testimonial-dot {
    width: 40px;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.testimonial-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--black);
}

.testimonial-dot.active::after {
    width: 100%;
    animation: fillLine 5s linear forwards;
}

/* Blog Section */
.blog {
    position: relative;
    background: #BABABA;
    padding: 80px 0;
}

.blog-header {
    margin-left: calc(100% / 12);
    margin-bottom: 80px;
}

.blog-label {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 calc(100% / 12);
}

.blog-post {
    background: var(--white);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 30px 20px;
}

.blog-post-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 20px;
}

.blog-post-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.blog-post-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--black);
}

.blog-post-date {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--gray);
}

/* CTA Section */
.cta {
    position: relative;
    min-height: 60vh;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

.cta-button {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: var(--white);
    background: var(--black);
    border: none;
    padding: 30px 47px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    position: relative;
    overflow: visible;
}

.cta-text {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.house-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    width: 100%;
    height: 100%;
}

.window {
    width: 17px;
    height: 17px;
    background: var(--white);
    border: 2px solid #666;
    position: absolute;
    bottom: 15px;
}

.window-bottom-left {
    left: 50%;
    transform: translateX(calc(-100% - 30px));
}

.window-bottom-right {
    left: 50%;
    transform: translateX(30px);
}

.window-top-1 {
    bottom: 60px;
    left: 50%;
    transform: translateX(calc(-100% - 60px));
}

.window-top-2 {
    bottom: 60px;
    left: 50%;
    transform: translateX(calc(-100% - 20px));
}

.window-top-3 {
    bottom: 60px;
    left: 50%;
    transform: translateX(20px);
}

.window-top-4 {
    bottom: 60px;
    left: 50%;
    transform: translateX(60px);
}

.window::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1.3px;
    background: #666;
    transform: translateY(-50%);
}

.window::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1.3px;
    background: #666;
    transform: translateX(-50%);
}

.door {
    width: 20px;
    height: 35px;
    background: var(--white);
    border: 2px solid var(--black);
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.door::before {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    width: 3px;
    height: 3px;
    background: var(--black);
    border-radius: 50%;
    transform: translateY(-50%);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(0);
    width: 0;
    height: 0;
    border-left: 0 solid transparent;
    border-right: 0 solid transparent;
    border-bottom: 0 solid var(--black);
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #333;
}

.cta-button:hover .cta-text {
    opacity: 0;
}

.cta-button:hover .house-elements {
    opacity: 1;
}

.cta-button:hover::before {
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 60px solid #333;
    transform: translateX(-50%) translateY(-60px);
}

/* Footer */
.footer {
    background: var(--white);
    border-top: 1px solid #ddd;
    overflow-x: hidden;
    max-width: 100vw;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding: 80px calc(100% / 12);
    box-sizing: border-box;
    max-width: 100%;
}

.footer-logo {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-tg-link {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 14px;
    color: inherit;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-tg-link:hover {
    opacity: 1;
}

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

.footer-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--black);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    text-decoration: none;
    background-image: linear-gradient(var(--black), var(--black));
    background-size: 0% 1px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease;
}

.footer-links a:hover {
    background-size: 100% 1px;
}

.footer-bottom {
    padding: 30px calc(100% / 12);
    border-top: 1px solid #ddd;
    text-align: center;
}

.footer-bottom p {
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 1.5px;
    color: var(--gray);
    margin: 0;
}

/* Responsive Design */

@media (min-width: 1441px) {
    body {
        max-width: 1920px;
        margin: 0 auto;
    }

    .header {
        max-width: 1920px;
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .logo {
        left: calc(100% / 12);
    }

    .header-phone {
        right: calc(100% / 12 + 120px);
    }

    .header-tg-btn {
        right: calc(100% / 12 + 50px);
    }

    .menu-toggle {
        right: calc(100% / 12);
    }

    .grid-overlay {
        max-width: 1920px;
        margin: 0 auto;
    }
}

/* Desktop version - hero adjustments */
@media (min-width: 769px) {
    .hero-content {
        top: calc(50% + 40px);
    }

    .slider-dots {
        bottom: 110px;
    }
}

@media (min-width: 1441px) and (max-width: 1680px) {
    .blog {
        min-height: 700px;
        height: 700px;
        padding: 40px 0;
        box-sizing: border-box;
    }
}

@media (max-width: 1440px) and (min-width: 769px) {
    .about {
        padding: 60px 0;
        min-height: auto;
    }

    .about-main {
        margin-bottom: 40px;
    }

    .works {
        padding: 40px 0;
    }

    .works-content {
        height: 440px;
    }

    .works-slider {
        height: 440px;
    }

    .works-image {
        height: 280px;
    }

    .works-image-preview {
        height: 440px;
    }

    .works-info {
        top: 300px;
    }

    .blog {
        min-height: 600px;
        height: 600px;
        padding: 40px 0;
        box-sizing: border-box;
    }

    .full-width-image {
        min-height: 70vh;
    }

    .cta {
        padding: 0;
        min-height: 700px;
        height: 700px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        position: relative;
        max-width: 100vw;
    }

    body.menu-open {
        overflow: hidden;
    }

    /* Улучшение отзывчивости всех кнопок и ссылок на мобильных */
    a, button, .btn, .cta-button, .submit-btn, .contacts-submit,
    .tab-link, .nav-link, .mobile-nav-link, .cookie-notice-button,
    .portfolio-preview-item, .blog-card, input[type="submit"] {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    /* Prevent horizontal scroll */
    .hero, .about, .works, .services, .testimonials, .blog, .cta, .footer,
    .full-width-image, main {
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Header */
    .header {
        padding: 37.5px 0;
    }

    .logo {
        font-size: 19px;
        left: 20px;
    }

    .nav {
        display: none;
    }

    .header-tg-btn {
        display: none !important;
    }

    .header-phone-mobile,
    .header-telegram-mobile {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: absolute;
        z-index: 10001;
        top: 50%;
        transform: translateY(-50%);
    }

    .header-phone-mobile {
        right: calc(20px + clamp(18px, 5vw, 24px) + 8px + clamp(18px, 5vw, 24px) + 8px);
    }

    .header-telegram-mobile {
        right: calc(20px + clamp(18px, 5vw, 24px) + 8px);
    }

    .phone-icon,
    .telegram-icon {
        width: clamp(18px, 5vw, 24px);
        height: clamp(18px, 5vw, 24px);
        display: flex !important;
        opacity: 1 !important;
    }

    .phone-icon svg,
    .telegram-icon svg {
        width: clamp(10px, 3vw, 14px);
        height: clamp(10px, 3vw, 14px);
    }

    .menu-toggle {
        display: flex !important;
        right: 20px;
        width: clamp(18px, 5vw, 24px);
        height: clamp(18px, 5vw, 24px);
        z-index: 10001;
        align-items: center;
        justify-content: center;
        top: 50%;
        transform: translateY(-50%);
    }

    .menu-square {
        display: none !important;
    }

    .menu-toggle .callback-icon {
        display: none !important;
    }

    .menu-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        width: clamp(18px, 5vw, 24px);
        height: clamp(18px, 5vw, 24px);
        gap: clamp(2px, 0.5vw, 3px);
    }

    .menu-grid span {
        width: clamp(4px, 1.2vw, 6px);
        height: clamp(4px, 1.2vw, 6px);
        background: #000;
        border-radius: 1px;
        opacity: 1 !important;
        display: block !important;
    }

    .menu-grid span {
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    /* При открытии меню скрываем боковые квадратики, оставляем угловые + центр */
    body.menu-open .menu-grid span:nth-child(2),
    body.menu-open .menu-grid span:nth-child(4),
    body.menu-open .menu-grid span:nth-child(6),
    body.menu-open .menu-grid span:nth-child(8) {
        opacity: 0 !important;
        transform: scale(0);
    }

    /* Угловые + центральный квадратики остаются видимыми */
    body.menu-open .menu-grid span:nth-child(1),
    body.menu-open .menu-grid span:nth-child(3),
    body.menu-open .menu-grid span:nth-child(5),
    body.menu-open .menu-grid span:nth-child(7),
    body.menu-open .menu-grid span:nth-child(9) {
        opacity: 1 !important;
    }

    body.menu-open .header {
        z-index: 10001 !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    /* Mobile Menu - Hiroshi Style */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        z-index: 999;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.3s ease;
        overflow-y: auto;
        padding: 30px 30px 50px;
        border-top: 1px solid #e5e5e5;
    }

    .mobile-logo {
        display: none;
    }

    .mobile-menu.active {
        clip-path: inset(0 0 0 0);
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-nav-item {
        border-bottom: none;
        position: relative;
        overflow: visible;
    }

    .mobile-nav-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 16px;
        font-weight: 400;
        color: var(--black);
        text-decoration: none;
        padding: 12px 0;
        transition: opacity 0.3s ease;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link:active {
        opacity: 0.6;
    }

    .mobile-nav-link .arrow {
        font-size: 14px;
        opacity: 1;
        transition: transform 0.3s ease;
    }

    .mobile-nav-item.open .mobile-nav-link .arrow,
    .mobile-nav-item.open .mobile-dropdown-toggle .arrow {
        transform: rotate(90deg);
    }

    .mobile-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 16px;
        font-weight: 400;
        color: var(--black);
        text-decoration: none;
        padding: 12px 0;
        cursor: pointer;
        transition: opacity 0.3s ease;
        position: relative;
    }

    .mobile-dropdown-toggle::before {
        content: '';
        position: absolute;
        left: -8px;
        bottom: 12px;
        width: 1px;
        height: 0;
        background: var(--black);
        transition: height 0.3s ease;
    }

    .mobile-nav-item.open .mobile-dropdown-toggle::before {
        height: 20px;
    }

    .mobile-dropdown-toggle:hover,
    .mobile-dropdown-toggle:active {
        opacity: 0.6;
    }

    .mobile-dropdown-toggle .arrow {
        font-size: 14px;
        opacity: 1;
        transition: transform 0.3s ease;
    }

    /* Mobile Submenu */
    .mobile-submenu {
        display: flex;
        flex-direction: column;
        padding-left: 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .mobile-nav-item.open .mobile-submenu {
        max-height: 2000px;
    }

    .mobile-submenu a {
        display: inline-block;
        font-size: 14px;
        color: var(--black);
        text-decoration: none;
        padding: 10px 0;
    }

    .mobile-submenu a span {
        position: relative;
    }

    .mobile-submenu a span::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 100%;
        height: 1px;
        background: var(--black);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    .mobile-submenu a:hover span::after {
        transform: scaleX(1);
    }

    /* Mobile Sub-submenu */
    .mobile-subitem {
        position: relative;
    }

    .mobile-subitem > span {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
        color: var(--black);
        padding: 10px 0;
        cursor: pointer;
        position: relative;
    }

    .mobile-subitem > span::before {
        content: '';
        position: absolute;
        left: -8px;
        bottom: 10px;
        width: 1px;
        height: 0;
        background: var(--black);
        transition: height 0.3s ease;
    }

    .mobile-subitem.open > span::before {
        height: 20px;
    }

    .mobile-subitem > span .arrow {
        font-size: 12px;
        opacity: 1;
        transition: transform 0.3s ease;
    }

    .mobile-subitem.open > span .arrow {
        transform: rotate(90deg);
    }

    .mobile-sub-submenu {
        display: flex;
        flex-direction: column;
        padding-left: 15px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .mobile-subitem.open > .mobile-sub-submenu {
        max-height: 1000px;
    }

    .mobile-sub-submenu a {
        font-size: 13px;
        padding: 8px 0;
    }

    .mobile-sub-submenu .mobile-subitem {
        display: block;
        margin: 5px 0;
    }

    .mobile-sub-submenu .mobile-subitem > span {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 13px;
        padding: 8px 0;
        cursor: pointer;
    }

    .mobile-sub-submenu .mobile-subitem > .mobile-sub-submenu {
        padding-left: 10px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .mobile-sub-submenu .mobile-subitem.open > .mobile-sub-submenu {
        max-height: 500px;
    }

    /* Hero Section */
    .hero {
        height: 100vh;
    }

    .hero-content {
        left: 20px;
        right: 20px;
        top: auto;
        bottom: 140px;
        transform: none;
    }

    .hero-title {
        font-size: 30px;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-cta {
        margin-bottom: 30px;
    }

    .hero-project {
        padding: 0;
        max-width: 100%;
    }

    .project-title {
        font-size: 20px;
        margin-bottom: 5px;
    }

    .project-subtitle {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .slider-dots {
        gap: 8px;
        left: 20px;
        bottom: 100px;
    }

    .slider-dot {
        width: 30px;
    }

    .scroll-down {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }

    /* About Section */
    .about {
        padding: 60px 0;
    }

    .about-background {
        opacity: 1;
        top: 40px;
        height: 520px;
        width: 260%;
        left: 50%;
        transform: translateX(-50%);
    }


    .about-header {
        margin-left: 20px;
        margin-bottom: 40px;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-left: 20px;
        margin-right: 20px;
        margin-bottom: 20px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-image {
        width: 100%;
        margin-left: 0;
    }

    .about-features {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px 0 20px;
    }

    .about-features::before {
        left: 20px;
        right: 20px;
    }

    .about-links-bottom {
        order: -1;
    }

    .feature-title {
        font-size: 20px;
    }

    .action-link {
        font-size: 16px;
    }

    /* Works Section */
    .works {
        min-height: auto;
        height: auto;
        padding: 60px 20px;
        overflow: visible;
        position: relative;
    }

    .works-content {
        height: auto;
    }

    .works-header {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 30px;
    }

    .works-slider {
        position: relative;
        min-height: auto;
        height: auto;
        will-change: auto;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .works-slide {
        position: relative;
        top: auto;
        left: auto;
        flex-direction: column;
        display: none;
        will-change: auto;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .works-slide.active {
        display: flex;
    }

    .works-image {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        height: 50vw;
        min-height: 200px;
        max-height: 350px;
        will-change: auto;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
    }

    .works-image:nth-of-type(2) {
        display: none;
    }

    .works-image-preview {
        display: none;
    }

    .works-info {
        position: relative;
        left: auto;
        top: auto;
        margin-top: 20px;
    }

    .works-title {
        font-size: 24px;
    }

    .works-subtitle {
        display: none !important;
    }

    .works-link {
        display: none !important;
    }

    .works-controls {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: flex-start;
        margin-top: 25px;
    }

    /* Services Section */
    .services {
        flex-direction: column;
        padding: 60px 0 0 0;
        min-height: auto;
    }

    .services-header {
        position: relative;
        top: 0;
        left: 20px;
        margin-bottom: 40px;
    }

    .tabs-container {
        position: relative;
        left: 20px;
        top: 0;
        transform: none;
        gap: 20px;
        margin-bottom: 40px;
    }

    .tab {
        font-size: 14px;
        padding: 10px 15px 10px 0;
        margin: -10px 0;
    }

    .tab-content-container {
        position: relative;
        min-height: auto;
    }

    .tab-content {
        position: relative;
        top: 0;
        transform: none;
        right: 0;
        width: calc(100% - 40px);
        margin: 0 20px 60px 20px;
        gap: 30px;
        display: none;
    }

    .tab-content.active {
        display: flex;
    }

    /* Full Width Image */
    .full-width-image {
        position: relative;
        height: 400px;
        overflow: hidden;
    }

    .full-width-image img {
        width: 150%;
        height: 400px;
        object-fit: cover;
        transform: translateX(-16.67%);
        display: block;
    }

    .image-quote {
        position: absolute;
        font-size: 16px;
        max-width: calc(100% - 40px);
        color: var(--white);
        top: 20px;
        left: 20px;
        z-index: 10;
    }

    /* Testimonials */
    .testimonials {
        padding: 60px 20px;
        min-height: auto;
    }

    .testimonials-slider {
        min-height: 300px;
    }

    .testimonial-quote {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .testimonial-name,
    .testimonial-position {
        font-size: 10px;
    }

    .testimonials-dots {
        margin-top: 40px;
    }

    /* Blog Section */
    .blog {
        padding: 60px 0;
    }

    .blog-header {
        margin-left: 20px;
        margin-bottom: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 20px;
    }

    .blog-post-content {
        padding: 20px 15px;
    }

    .blog-post-title {
        font-size: 16px;
        margin-bottom: 15px;
    }

    /* CTA Section */
    .cta {
        padding: 60px 20px;
        min-height: 50vh;
    }

    .cta-button {
        padding: 20px 30px;
        font-size: 18px;
    }

    .cta-button.mobile-active {
        background: #333;
    }

    .cta-button.mobile-active .cta-text {
        opacity: 0;
    }

    .cta-button.mobile-active .house-elements {
        opacity: 1;
    }

    .cta-button.mobile-active::before {
        border-left: 39px solid transparent !important;
        border-right: 39px solid transparent !important;
        border-bottom: 39px solid #333 !important;
        transform: translateX(-50%) translateY(-39px) !important;
    }

    .cta-button .window {
        width: 11px;
        height: 11px;
        border: 2px solid #666;
        bottom: 10px;
    }

    .cta-button .window-bottom-left {
        left: 50%;
        transform: translateX(calc(-100% - 19.5px));
    }

    .cta-button .window-bottom-right {
        left: 50%;
        transform: translateX(19.5px);
    }

    .cta-button .window-top-1 {
        bottom: 39px;
        left: 50%;
        transform: translateX(calc(-100% - 39px));
    }

    .cta-button .window-top-2 {
        bottom: 39px;
        left: 50%;
        transform: translateX(calc(-100% - 13px));
    }

    .cta-button .window-top-3 {
        bottom: 39px;
        left: 50%;
        transform: translateX(13px);
    }

    .cta-button .window-top-4 {
        bottom: 39px;
        left: 50%;
        transform: translateX(39px);
    }

    .cta-button .door {
        width: 13px;
        height: 23px;
        bottom: 0;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 60px 20px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        padding: 20px 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 16px;
    }

    .logo-img {
        height: 25px;
    }
}

@media (max-width: 350px) {
    .logo {
        font-size: 13px;
    }

    .logo-img {
        height: 20px;
    }
}

@media (max-width: 480px) {

    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-cta {
        margin-bottom: 25px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-subtitle {
        font-size: 12px;
    }

    .image-quote {
        font-size: 16px;
        bottom: 30px;
    }
}

/* About Page Styles */

/* Breadcrumbs */
.breadcrumbs {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 80px;
}

.breadcrumbs .container {
    padding: 0 calc(100% / 12);
}

.breadcrumbs a {
    color: var(--black);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.breadcrumbs a:hover {
    opacity: 1;
}

.breadcrumb-separator {
    margin: 0 10px;
    opacity: 0.4;
}

.breadcrumb-current {
    font-size: 14px;
    color: var(--black);
}

/* Page Hero */
.page-hero {
    background: var(--white);
    padding: 120px 0 80px 0;
    text-align: center;
}

.page-hero .container {
    padding: 0 calc(100% / 12);
}

/* Article Hero - красивая шапка для статей */
.article-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
    padding-top: 75px;
}

.article-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.article-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.article-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    max-width: 900px;
}

.article-hero-content h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.article-hero-subtitle {
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    opacity: 0.9;
}

.article-hero-breadcrumbs {
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    z-index: 1;
}

.article-hero-breadcrumbs .container {
    padding: 0 calc(100% / 12);
    text-align: center;
}

.article-hero-breadcrumbs a,
.article-hero-breadcrumbs span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    text-decoration: none;
}

.article-hero-breadcrumbs a:hover {
    color: var(--white);
}

.article-hero-breadcrumbs .breadcrumb-separator {
    margin: 0 8px;
}

.article-hero-breadcrumbs .breadcrumb-current {
    color: var(--white);
}

@media (max-width: 768px) {
    .article-hero {
        height: auto;
        min-height: 350px;
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .article-hero-content {
        padding: 0 15px;
    }

    .article-hero-content h1 {
        font-size: 26px;
        line-height: 1.3;
    }

    .article-hero-breadcrumbs {
        top: auto;
        bottom: 15px;
    }

    .article-hero-breadcrumbs .container {
        padding: 0 15px;
        text-align: center;
    }
}

.about-logo {
    max-width: 200px;
    margin-bottom: 40px;
    display: inline-block;
}

.page-title {
    font-size: 64px;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.page-subtitle {
    font-size: 18px;
    font-weight: 400;
    color: var(--black);
    opacity: 0.6;
}

/* About Content */
.about-page-content {
    background: var(--white);
    padding: 80px 0;
}

.about-page-content .container {
    padding: 0 calc(100% / 12);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text-block {
    max-width: 600px;
}

.section-heading {
    font-size: 42px;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.section-heading.centered {
    text-align: center;
}

.handwritten {
    font-family: 'Caveat', cursive;
    font-weight: 600;
    font-size: 1.2em;
}

.about-text-block p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
    margin-bottom: 20px;
    opacity: 0.8;
}

.about-image-block img {
    width: 100%;
    height: auto;
    display: block;
}

/* About Collage */
.about-collage .collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.about-collage .collage-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.collage-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    text-decoration: none;
}

.collage-link .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.collage-link:hover .arrow {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .about-collage .collage-grid img {
        height: 150px;
    }
}

/* Values Section */
.values-section {
    background: #f8f8f8;
    padding: 100px 0;
}

.values-section .container {
    padding: 0 calc(100% / 12);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.value-card {
    background: var(--white);
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.value-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 15px;
}

.value-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--black);
    opacity: 0.7;
}

/* Approach Section */
.approach-section {
    background: var(--white);
    padding: 100px 0;
}

.approach-section .container {
    padding: 0 calc(100% / 12);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
}

.approach-card {
    padding: 40px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #f8f8f8;
}

.approach-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 20px;
}

.approach-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
    opacity: 0.8;
}

/* Team Section */
.team-section {
    background: var(--white);
    padding: 100px 0;
}

.team-section .container {
    padding: 0 calc(100% / 12);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 30px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
}

/* Шахматный порядок для команды - вторая строка смещена */
.team-member:nth-child(n+6) {
    margin-top: -30px;
}

.team-photo {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 10px;
}

.team-position {
    font-size: 14px;
    font-weight: 400;
    color: var(--black);
    opacity: 0.5;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
    opacity: 0.7;
}

/* Responsive styles for About page */
@media (max-width: 1440px) and (min-width: 769px) {
    .page-hero {
        padding: 100px 0 60px 0;
    }

    .page-title {
        font-size: 56px;
    }

    .about-page-content {
        padding: 60px 0;
    }

    .values-section,
    .team-section {
        padding: 80px 0;
    }
}

/* Адаптация команды для планшетов */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px 25px;
    }

    .team-member:nth-child(n+4) {
        margin-top: -30px;
    }

    .team-member:nth-child(n+6) {
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .breadcrumbs {
        padding: 15px 0;
    }

    .breadcrumbs .container,
    .page-hero .container,
    .about-page-content .container,
    .values-section .container,
    .team-section .container {
        padding: 0 20px;
    }

    .page-hero {
        padding: 40px 0 30px 0;
        text-align: center;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 14px;
    }

    .about-page-content {
        padding: 60px 0;
    }

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

    .section-heading {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .values-section,
    .team-section {
        padding: 60px 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }

    .value-card {
        padding: 30px;
    }

    .approach-section {
        padding: 60px 0;
    }

    .approach-section .container {
        padding: 0 20px;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .approach-card {
        padding: 30px;
    }

    .approach-title {
        font-size: 24px;
    }

    .approach-text {
        font-size: 15px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }

    /* Отмена шахматного порядка на мобильных */
    .team-member:nth-child(n+6) {
        margin-top: 0;
    }
}

/* Contacts Page - New Design */
.contacts-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.contacts-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contacts-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.contacts-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
}

.contacts-hero-content h1 {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.contacts-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.hero-breadcrumbs-inline {
    margin-bottom: 20px;
    font-size: 13px;
}

.hero-breadcrumbs-inline a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.hero-breadcrumbs-inline a:hover {
    color: var(--white);
}

.hero-breadcrumbs-inline span {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 8px;
}

.hero-breadcrumbs-inline span:last-child {
    color: var(--white);
    margin-right: 0;
}

.contacts-main {
    background: var(--white);
    padding: 100px 0;
}

.contacts-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(100% / 12);
}

.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.contacts-info-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contacts-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

.contacts-value {
    font-size: 24px;
    font-weight: 300;
    color: var(--black);
    text-decoration: none;
    line-height: 1.4;
    width: fit-content;
}

.contacts-value span {
    position: relative;
    display: inline;
}

.contacts-value span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.contacts-value:hover span::after {
    transform: scaleX(1);
    transform-origin: left;
}

.contacts-value-large {
    font-size: 32px;
    font-weight: 400;
}

.contacts-tg {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.contacts-tg::after {
    content: '';
    width: 20px;
    height: 1px;
    background: var(--black);
    transition: width 0.3s ease;
}

.contacts-tg:hover::after {
    width: 40px;
}

.contacts-form-wrap {
    background: #f8f8f8;
    padding: 50px;
    margin: -50px 0 0 0;
    display: flex;
    flex-direction: column;
}

.contacts-form-wrap h2 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 40px;
}

.contacts-form-new {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-field {
    position: relative;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    transition: border-color 0.3s ease;
}

.form-field textarea {
    resize: none;
    min-height: 100px;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--black);
}

.form-field label {
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 16px;
    color: var(--gray);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:focus + label,
.form-field textarea:not(:placeholder-shown) + label {
    top: -10px;
    font-size: 12px;
    color: var(--black);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: transparent;
}

.contacts-submit {
    padding: 20px 40px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.contacts-submit:hover {
    background: #333;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .contacts-main-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 0 40px;
    }

    .contacts-form-wrap {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .contacts-hero {
        height: 50vh;
        min-height: 400px;
    }

    .contacts-main {
        padding: 60px 0;
    }

    .contacts-main-grid {
        padding: 0 20px;
    }

    .contacts-info {
        gap: 35px;
    }

    .contacts-value {
        font-size: 20px;
    }

    .contacts-value-large {
        font-size: 26px;
    }

    .contacts-form-wrap {
        padding: 30px 25px;
        margin-top: 30px;
    }

    .contacts-form-wrap h2 {
        font-size: 12px;
        margin-bottom: 25px;
    }

    .contacts-submit {
        width: 100%;
    }
}

/* Old contacts styles (keep for compatibility) */
.contacts-page-content {
    background: var(--white);
    padding: 80px 0 100px 0;
}

.contacts-page-content .container {
    padding: 0 calc(100% / 12);
}

.contacts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

.contact-block {
    text-align: center;
}

.contact-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--black);
}

.contact-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--black);
}

.contact-text a {
    color: var(--black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-text a:hover {
    opacity: 0.6;
}

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

.contact-social-link {
    font-size: 16px;
    font-weight: 400;
    color: var(--black);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-social-link:hover {
    opacity: 0.6;
}

.contacts-form-section {
    max-width: 800px;
    margin: 0 auto;
}

.contacts-form {
    margin-top: 40px;
}

.contacts-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contacts-form .form-group {
    margin-bottom: 20px;
}

.contacts-form input,
.contacts-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    background: var(--white);
    color: var(--black);
    transition: border-color 0.3s ease;
}

.contacts-form input:focus,
.contacts-form textarea:focus {
    outline: none;
    border-color: var(--black);
}

.contacts-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contacts-form .submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contacts-form .submit-btn:hover {
    background: #333;
}

@media (max-width: 1024px) {
    .contacts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contacts-page-content {
        padding: 60px 0 80px 0;
    }

    .contacts-page-content .container {
        padding: 0 20px;
    }

    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

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

/* Contact Popup */
.contact-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.contact-popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    max-width: 520px;
    width: 100%;
    background: #f8f8f8;
    padding: 35px;
    position: relative;
}

.popup-close {
    position: absolute;
    top: 35px;
    right: 35px;
    font-size: 24px;
    color: var(--black);
    cursor: pointer;
    line-height: 1;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.popup-close:hover {
    opacity: 1;
}

.popup-title {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 25px;
}

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

.contact-form .form-group:nth-child(3),
.contact-form .form-group:nth-child(4),
.contact-form .checkbox-group,
.contact-form .consent-checkboxes,
.contact-form .submit-btn {
    grid-column: 1 / -1;
}

.form-group {
    position: relative;
    width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-size: 15px;
    font-family: 'Nunito Sans', sans-serif;
    color: var(--black);
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 20px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-bottom-color: var(--black);
}

.form-group textarea {
    resize: none;
    min-height: 50px;
}

.submit-btn {
    width: 100%;
    padding: 16px 40px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 13px;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.submit-btn:hover {
    background: #333;
    transform: translateY(-2px);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--gray);
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--black);
}

/* Consent checkboxes */
.consent-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.consent-checkboxes label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-size: 11px;
    color: var(--gray);
    line-height: 1.4;
}

.consent-checkboxes input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    cursor: pointer;
    accent-color: var(--black);
    margin-top: 2px;
}

.consent-checkboxes a {
    color: var(--black);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .consent-checkboxes {
        gap: 5px;
        margin-bottom: 8px;
    }

    .consent-checkboxes label {
        font-size: 9px;
        gap: 5px;
        line-height: 1.3;
    }

    .consent-checkboxes input[type="checkbox"] {
        width: 12px;
        height: 12px;
        min-width: 12px;
    }
}

/* Services Page */
.services-page-content {
    background: var(--white);
    padding: 40px 0 20px 0;
}

.services-page-content .container {
    padding: 0 calc(100% / 12);
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 30px;
    align-items: center;
    position: relative;
    padding: 20px 0;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100vw;
    right: -100vw;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(248, 248, 248, 0.5) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
    z-index: -1;
}

.service-item.in-view::before {
    opacity: 1;
}

.service-item:nth-child(odd)::before {
    background: linear-gradient(180deg, transparent 0%, rgba(240, 240, 245, 0.6) 50%, transparent 100%);
}

.service-item:nth-child(even)::before {
    background: linear-gradient(180deg, transparent 0%, rgba(245, 242, 238, 0.6) 50%, transparent 100%);
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item.reverse {
    direction: rtl;
}

.service-item.reverse > * {
    direction: ltr;
}

.service-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.service-title {
    font-size: 36px;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--black);
    opacity: 0.8;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    position: relative;
    z-index: 5;
}

.service-features li {
    font-size: 15px;
    color: var(--black);
    opacity: 0.7;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.service-features li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-link {
    display: inline-block;
    font-size: 14px;
    color: var(--black);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    padding-bottom: 3px;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
}

.service-link:hover::after {
    animation: underline-slide 0.5s ease;
}

/* Land Benefits / Как мы работаем */
.land-benefits {
    padding: 120px 0;
    background: var(--white);
    overflow: visible;
}

.land-benefits .container {
    padding: 0 calc(100% / 12);
    overflow: visible;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    overflow: visible;
    align-items: start;
}

.benefits-header {
    position: -webkit-sticky;
    position: sticky;
    top: 100px;
    height: fit-content;
}

.benefits-header h2 {
    font-size: 42px;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 15px;
}

.benefits-subtitle {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

.benefits-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.benefit-card {
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.benefit-card:first-child {
    padding-top: 0;
}

.benefit-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.benefit-number {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--gray);
    display: block;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--black);
}

.benefit-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
}

@media (max-width: 768px) {
    .land-benefits {
        padding: 80px 0;
    }

    .land-benefits .container {
        padding: 0 20px;
    }

    .benefits-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .benefits-grid {
        grid-column: 1;
    }

    .benefits-header {
        position: static;
    }

    .benefits-header h2 {
        font-size: 32px;
    }

    .benefit-card {
        padding: 30px 0;
    }
}

/* ZHK Section */
.zhk-section {
    padding: 100px 0;
    background: #faf9f7;
    position: relative;
    overflow: hidden;
}

.zhk-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, transparent 0%, #faf9f7 100%);
    pointer-events: none;
    z-index: 2;
}

.zhk-section::after {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    right: 0;
    bottom: -50%;
    background: url('skyscr.webp') center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.22;
    pointer-events: none;
    z-index: 0;
}

.zhk-section .container {
    position: relative;
    z-index: 1;
    padding: 0 calc(100% / 12);
    text-align: center;
}

.zhk-cta-wrap {
    margin: 30px 0 40px;
}

.zhk-cta-btn {
    display: inline-block;
    padding: 18px 35px;
    background: #2563eb;
    border: none;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Nunito Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.zhk-cta-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.section-subheading.centered {
    text-align: center;
    color: var(--gray);
    font-size: 16px;
    margin-top: -30px;
    margin-bottom: 50px;
}

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

.zhk-card {
    text-decoration: none;
    color: inherit;
    display: block;
    background: var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.zhk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.zhk-image {
    height: 220px;
    overflow: hidden;
}

.zhk-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.zhk-card:hover .zhk-image img {
    transform: scale(1.05);
}

.zhk-info {
    padding: 25px;
}

.zhk-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.zhk-info p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 15px;
}

.zhk-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
}

.zhk-list {
    list-style: none;
    display: inline-block;
    column-count: 3;
    column-gap: 60px;
    text-align: left;
}

.zhk-list li {
    break-inside: avoid;
    margin-bottom: 15px;
}

.zhk-list a {
    text-decoration: none;
    color: var(--black);
    font-size: 18px;
    font-weight: 400;
    transition: opacity 0.3s ease;
    display: inline-block;
    position: relative;
}

.zhk-list a:hover {
    opacity: 0.6;
}

.zhk-list a::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.3s ease;
}

.zhk-list a:hover::after {
    opacity: 1;
}

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

    .zhk-list {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .zhk-section {
        padding: 60px 0;
    }

    .zhk-section::after {
        background-attachment: scroll;
        top: 0;
        bottom: 0;
    }

    .zhk-section .container {
        padding: 0 20px;
    }

    .zhk-grid {
        grid-template-columns: 1fr;
    }

    .zhk-list {
        column-count: 1;
    }

    .zhk-list li {
        margin-bottom: 0;
    }

    .zhk-list a {
        display: block;
        padding: 14px 0;
        font-size: 16px;
    }

    .section-subheading.centered {
        margin-top: -20px;
        margin-bottom: 40px;
    }
}

/* Process Section */
.process-section {
    background: var(--white);
    padding: 120px 0;
}

.process-section .container {
    padding: 0 calc(100% / 12);
}

.process-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.process-header {
    position: -webkit-sticky;
    position: sticky;
    top: 140px;
    align-self: start;
    height: fit-content;
}

.process-header h2 {
    font-size: 42px;
    font-weight: 300;
    color: var(--black);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.process-subtitle {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.6;
}

.process-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.process-step {
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.process-step:first-child {
    padding-top: 0;
}

.process-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.step-number {
    font-size: 12px;
    font-weight: 700;
    color: var(--black);
    opacity: 0.4;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 12px;
}

.process-step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--black);
}

.process-step p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray);
}

/* Responsive for Services Page */
@media (max-width: 1440px) and (min-width: 769px) {
    .services-page-content {
        padding: 80px 0 20px 0;
    }

    .service-item {
        gap: 40px;
        margin-bottom: 30px;
    }

    .process-section {
        padding: 60px 0;
    }

    .process-layout {
        gap: 60px;
    }

    .popup-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .services-page-content {
        padding: 60px 0 15px 0;
    }

    .services-page-content .container {
        padding: 0 20px;
    }

    .service-item,
    .service-item.reverse {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
        padding: 20px 0;
        direction: ltr;
    }

    .service-item::before {
        display: none;
    }

    .service-title {
        font-size: 24px;
    }

    .process-section {
        padding: 50px 0;
    }

    .process-section .container {
        padding: 0 20px;
    }

    .process-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-header h2 {
        font-size: 28px;
    }

    .process-subtitle {
        font-size: 14px;
    }

    .process-step {
        padding: 20px 0;
    }
}

@media (max-width: 768px) {
    .popup-content {
        margin: 8px;
        padding: 20px 15px;
    }

    .popup-title {
        font-size: 10px;
        margin-bottom: 15px;
    }

    .contact-form {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .form-group {
        margin-bottom: 4px;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 0;
        font-size: 14px;
    }

    .form-group textarea {
        min-height: 40px;
    }

    .checkbox-group {
        margin-bottom: 5px;
    }

    .checkbox-group label {
        font-size: 12px;
    }

    .consent-checkboxes {
        gap: 8px;
        margin-bottom: 10px;
    }

    .consent-checkboxes label {
        font-size: 10px;
    }

    .submit-btn {
        padding: 14px;
        font-size: 12px;
    }
}

/* ============================================
   Portfolio Page Styles
   ============================================ */

.portfolio-section {
    padding: 80px 0 120px;
    background: #fff;
}

.portfolio-section .container {
    padding: 0 calc(100% / 12);
}

.portfolio-tabs {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.portfolio-tab {
    background: transparent;
    border: none;
    color: var(--black);
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.3;
}

.portfolio-tab:hover {
    opacity: 0.6;
}

.portfolio-tab.active {
    opacity: 1;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 40px;
}

.portfolio-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portfolio-card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.portfolio-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-card-image img {
    transform: scale(1.05);
}

.portfolio-card-content {
    padding: 30px;
}

.portfolio-card-title {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #2C2C2C;
    margin-bottom: 15px;
}

.portfolio-card-description {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 20px;
}

.portfolio-card-meta {
    display: flex;
    gap: 20px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-empty {
    text-align: center;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    color: #999;
    padding: 80px 20px;
    grid-column: 1 / -1;
}

/* Admin Styles for Portfolio */
.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Nunito Sans', sans-serif;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #D4AF37;
}

.admin-header h1 {
    font-size: 32px;
    color: #2C2C2C;
}

.admin-nav {
    display: flex;
    gap: 20px;
}

.admin-nav-link {
    color: #D4AF37;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.admin-nav-link:hover {
    color: #B8941E;
}

.admin-section {
    background: #fff;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
}

.admin-section h2 {
    font-size: 24px;
    color: #2C2C2C;
    margin-bottom: 30px;
}

.admin-form {
    max-width: 800px;
}

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

.admin-form .form-group {
    margin-bottom: 25px;
}

.admin-form label {
    display: block;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-form input[type="text"],
.admin-form input[type="number"],
.admin-form select,
.admin-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    border-color: #D4AF37;
}

.admin-form input[type="file"] {
    padding: 10px 0;
}

.preview {
    margin-top: 15px;
}

.preview img {
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.btn-primary {
    background: #D4AF37;
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 4px;
}

.btn-primary:hover {
    background: #B8941E;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-item {
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 20px;
    padding: 20px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    align-items: center;
    transition: box-shadow 0.3s ease;
}

.project-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.project-item-image {
    width: 200px;
    height: 150px;
    overflow: hidden;
    border-radius: 4px;
}

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

.project-item-content h3 {
    font-size: 20px;
    color: #2C2C2C;
    margin-bottom: 8px;
}

.project-category {
    color: #D4AF37;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 10px;
}

.project-item-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
}

.project-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
}

.project-item-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-edit,
.btn-delete {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit {
    background: #4CAF50;
    color: #fff;
}

.btn-edit:hover {
    background: #45a049;
}

.btn-delete {
    background: #f44336;
    color: #fff;
}

.btn-delete:hover {
    background: #da190b;
}

.empty-state {
    text-align: center;
    color: #999;
    font-size: 16px;
    padding: 40px;
}

.admin-login {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.login-box {
    background: #fff;
    padding: 60px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
}

.login-box h2 {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 24px;
    color: #2C2C2C;
    margin-bottom: 30px;
    text-align: center;
}

.login-box input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    margin-bottom: 20px;
}

.login-box button {
    width: 100%;
    background: #D4AF37;
    color: #fff;
    border: none;
    padding: 15px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.login-box button:hover {
    background: #B8941E;
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-notice.show {
    transform: translateY(0);
}

.cookie-notice-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-notice-text {
    font-size: 14px;
    color: var(--black);
    line-height: 1.5;
}

.cookie-notice-button {
    background: transparent;
    color: var(--black);
    border: none;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.cookie-notice-button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--black);
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.cookie-notice-button:hover::after {
    transform: scaleX(0);
    transform-origin: right;
}

@media (max-width: 768px) {
    .cookie-notice {
        padding: 15px 20px;
    }

    .cookie-notice-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        text-align: left;
    }

    .cookie-notice-text {
        font-size: 13px;
    }

    .cookie-notice-button {
        width: auto;
        padding: 0;
    }
}

/* Responsive Portfolio */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .portfolio-tabs {
        flex-direction: column;
        align-items: flex-start;
    }

    .portfolio-tab {
        text-align: left;
    }

    .project-item {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-item-image {
        width: 100%;
        height: 200px;
    }

    .project-item-actions {
        flex-direction: row;
    }

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

    .admin-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .admin-nav {
        flex-direction: column;
    }
}

/* Article Pages */
.article-content {
    padding: 60px 40px;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
}

.article-lead {
    font-size: 20px;
    line-height: 1.7;
    color: var(--gray);
    margin-bottom: 40px;
}

.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
}

.article-body p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.article-body a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
}

.article-body a:hover {
    opacity: 0.6;
}

.article-list {
    margin: 20px 0 30px 20px;
    font-size: 16px;
    line-height: 1.8;
}

.article-list li {
    margin-bottom: 12px;
    color: #333;
}

.article-list a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-list a:hover {
    color: #000;
}

/* Table wrapper for horizontal scroll */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0;
}

.table-wrapper table {
    min-width: 500px;
}

.zhk-hidden {
    display: none;
}

.zhk-toggle {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.zhk-toggle:hover {
    color: #000;
}

.article-list.numbered {
    list-style-type: decimal;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin: 30px 0 40px;
}

.advantage-card {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.advantage-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px !important;
}

.advantage-card p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

.article-cta {
    background: #f5f5f5;
    padding: 40px;
    text-align: center;
    margin-top: 50px;
    border-radius: 8px;
}

.article-cta h2 {
    margin: 0 0 15px !important;
}

.article-cta p {
    margin-bottom: 25px;
    color: var(--gray);
}

.cta-button-inline {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.cta-button-inline:hover {
    opacity: 0.8;
}

/* Related Services */
.related-services {
    padding: 60px 40px;
    background: #fafafa;
}

.services-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 30px auto 0;
}

.service-link-card {
    background: var(--white);
    padding: 30px;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-link-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.service-link-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-link-card p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.5;
}

/* Service Features Links */
.service-features a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    display: inline-block;
}

.service-features a:hover {
    border-bottom-color: var(--black);
}

/* Mobile service features - make links obviously clickable */
@media (max-width: 768px) {
    .service-features li {
        position: relative;
        padding: 14px 30px 14px 0;
    }

    .service-features a {
        color: var(--black);
        text-decoration: none;
        border-bottom: 1px solid rgba(0,0,0,0.25) !important;
        padding-bottom: 2px;
        animation: linkPulse 2.5s ease-in-out infinite;
    }

    @keyframes linkPulse {
        0%, 100% { border-bottom-color: rgba(0,0,0,0.15); }
        50% { border-bottom-color: rgba(0,0,0,0.4); }
    }

    .service-features a:active {
        opacity: 0.6;
    }

    .service-features li::after {
        content: '→';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        color: var(--gray);
        opacity: 0.6;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: 40px 20px;
    }

    .article-lead {
        font-size: 17px;
    }

    .article-body h2 {
        font-size: 22px;
    }

    .article-body h3 {
        font-size: 18px;
    }

    .article-list {
        margin-left: 0;
        padding-left: 25px;
    }

    .article-body ol {
        margin-left: 0;
        padding-left: 25px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .article-cta {
        padding: 30px 20px;
    }

    .related-services {
        padding: 40px 20px;
    }

    .services-links {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Article Gallery */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0 40px;
}

.article-gallery .gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
}

.article-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-gallery .gallery-item:hover img {
    transform: scale(1.05);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 30px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 50%;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .article-gallery {
        grid-template-columns: 1fr;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }
}


/* Calculator Popup Styles */
#calculatorPopup {
    cursor: pointer;
}

#calculatorPopup .popup-content {
    cursor: default;
}

#calculatorPopup .popup-close {
    z-index: 100;
    pointer-events: auto;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator-popup-content {
    max-width: 500px;
    padding: 40px;
}

.calculator-card h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 8px;
    text-align: center;
}

.calc-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 14px;
}

.calc-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.calc-progress-bar {
    position: absolute;
    top: 50%;
    left: 0;
    height: 2px;
    background: var(--black);
    transform: translateY(-50%);
    transition: width 0.3s ease;
    z-index: 0;
    width: 0%;
}

.calc-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    transform: translateY(-50%);
    z-index: 0;
}

.calc-step-indicator {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e0e0e0;
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    z-index: 1;
    transition: all 0.3s ease;
}

.calc-step-indicator.active,
.calc-step-indicator.completed {
    background: var(--black);
    color: var(--white);
}

.calc-step {
    display: none;
}

.calc-step.active {
    display: block;
}

.calc-step h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: center;
}

.calc-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.calc-option {
    padding: 15px;
    border: 1px solid #e0e0e0;
    text-align: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.calc-option:hover {
    border-color: var(--black);
}

.calc-option.selected {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.calc-option.full-width {
    grid-column: span 2;
    text-align: left;
    padding: 18px 20px;
}

.calc-slider-container {
    padding: 0 10px;
}

.calc-slider-value {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 300;
}

.calc-slider-value input {
    width: 80px;
    font-size: 32px;
    font-weight: 300;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    text-align: center;
    font-family: inherit;
}

.calc-slider-value input:focus {
    outline: none;
    border-bottom-color: var(--black);
}

.calc-slider {
    width: 100%;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: #e0e0e0;
    outline: none;
    border-radius: 2px;
}

.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--black);
    cursor: pointer;
    border-radius: 50%;
}

.calc-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--black);
    cursor: pointer;
    border-radius: 50%;
    border: none;
}

.calc-slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: var(--gray);
}

.calc-form-fields {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.calc-form-fields input[type="text"] {
    padding: 15px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-family: inherit;
}

.calc-form-fields input[type="text"]:focus {
    outline: none;
    border-color: var(--black);
}

.calc-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12px;
    color: var(--gray);
}

.calc-checkbox input {
    margin-top: 2px;
}

.calc-buttons {
    display: flex;
    gap: 10px;
    margin-top: 30px;
}

.calc-buttons .btn {
    flex: 1;
    padding: 15px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.calc-buttons .btn-prev {
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
}

.calc-buttons .btn-next {
    background: var(--black);
    border: 1px solid var(--black);
    color: var(--white);
}

.calc-buttons .btn:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .calculator-popup-content {
        padding: 30px 20px;
        max-width: 100%;
    }

    .calc-options {
        grid-template-columns: 1fr;
    }

    .calc-option.full-width {
        grid-column: span 1;
    }

    .calc-slider-value {
        font-size: 28px;
    }

    .calc-slider-value input {
        font-size: 28px;
        width: 70px;
    }
}

/* Calculator fixes */
#calculatorPopup .popup-content {
    overflow: visible;
}

#calculatorPopup .calculator-card {
    position: relative;
    z-index: 1;
}

#calculatorPopup .calc-option {
    position: relative;
    z-index: 10;
    cursor: pointer !important;
    pointer-events: auto !important;
}

#calculatorPopup .calc-step {
    position: relative;
}
