/*
Theme Name: PCG
Theme URI: https://clixoft.com
Author: Denys Koblia
Author URI: https://t.me/denc0der
Description: Premium corporate theme for Project Create Group. Elegant design with Source Serif and Inter Display fonts.
Version: 2.1.2
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pcg
Tags: corporate, business, one-column, custom-background, custom-colors, custom-header, custom-logo, custom-menu, featured-images, full-width-template, theme-options
*/

/* ==========================================================================
   CSS Variables - PCG Design System from Figma
   ========================================================================== */
:root {
    /* Colors from Figma */
    --color-gold: #afa069;
    --color-gold-light: #e7e3d2;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray-dark: #868e96;
    --color-gray: #adb5bd;
    --color-gray-light: #ced4da;
    --color-border: #ced4da;

    /* Semantic colors */
    --primary-color: var(--color-gold);
    --text-color: var(--color-black);
    --text-muted: var(--color-gray-dark);
    --bg-color: var(--color-white);

    /* Typography from Figma */
    --font-heading: 'Source Serif 4', 'Source Serif Pro', Georgia, serif;
    --font-body: 'Inter Display', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography - Figma Specs
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Figma: 120px/600 - Hero title */
h1 {
    font-size: 7.5rem;
    font-weight: 600;
    line-height: 0.92;
}

/* Figma: 60px/400 - Section titles */
h2 {
    font-size: 3.75rem;
    font-weight: 400;
    line-height: 1.08;
}

/* Figma: 40px/500 - Subsection titles */
h3 {
    font-size: 2.5rem;
    font-weight: 500;
}

/* Figma: 36px/400 */
h4 {
    font-size: 2.25rem;
}

/* Figma: 24px/400 */
h5 {
    font-size: 1.5rem;
}

h6 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--text-color);
    text-decoration: none;
    transition: transform 0.35s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container,
.header-container,
.footer-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 50px;
    box-sizing: border-box;
}

/* ==========================================================================
   Header - PCG Design from Figma (75px height, fixed, overlays hero)
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 75px;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    transition: transform 0.35s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}


.site-header.header-hidden {
    transform: translateY(-100%);
}
/* Header bottom line */
.header-line {
    display: none;
}

.header-container {
    height: 100%;
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 4px;
}

/* Logo - 116x35px from Figma */
.site-branding {
    display: flex;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    color: var(--color-black);
    line-height: 1;
    transition: var(--transition);
}

.site-logo .logo-icon {
    width: 116px;
    height: 35px;
    transition: var(--transition);
}

/* Logo text changes color, icon stays gold */
.site-logo .logo-text {
    fill: currentColor;
    transition: var(--transition);
}

.site-logo .logo-icon-mark {
    fill: var(--color-gold);
}

.site-logo:hover {
    opacity: 0.8;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: flex-end;
    gap: 40px;
}

/* Language Switcher - Inter Display 14px from Figma */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 30px;
}

.lang-item {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: var(--color-black);
    text-transform: uppercase;
    line-height: 1;
    transition: var(--transition);
}

.lang-item:hover {
    color: var(--color-gold);
}

.lang-item.active {
    color: var(--color-gold);
}

/* Menu Toggle Button - Inter Display 19px/500 from Figma */
.menu-toggle {
    display: flex;
    align-items: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-text {
    display: block;
    position: relative;
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 500;
    color: var(--color-black);
    top: 2px;
    transition: var(--transition);
}

.menu-toggle:hover .menu-text {
    color: var(--color-gold);
}

.menu-close {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 500;
    color: var(--color-black);
    transition: var(--transition);
}

.menu-close:hover {
    color: var(--color-gold);
}

.menu-close:hover .menu-text {
    color: var(--color-gold);
}

/* Full Screen Navigation */
.main-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80vh;
    background: #ffffff;
    z-index: 1001;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
}

.main-navigation.active {
    visibility: visible;
    transform: translateY(0);
}


.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

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

/* Nav Lang Bar — mobile only, hidden on desktop */
.nav-lang-bar { display: none; }


.main-navigation .nav-header-inner,
.main-navigation .nav-body,
.main-navigation .nav-footer-wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 50px;
    padding-right: 50px;
    box-sizing: border-box;
}

/* Nav Header (лого + lang + Close) */
.nav-header {
    flex-shrink: 0;
    position: relative;
    height: 75px;
}

.nav-header-inner {
    height: 75px;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-header-logo .site-logo {
    display: flex;
    align-items: center;
    color: var(--color-black);
}

.nav-header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-header-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-border);
}

/* Nav Body: ссылки выровнены вправо (как в Figma ~x:1310/1920) */
.nav-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 50px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-menu li {
    margin-bottom: 0;
}

.nav-menu li + li {
    margin-top: 12px;
}

.nav-menu a {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.371;
    color: var(--color-black);
    display: inline-block;
    position: relative;
    transition: var(--transition);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-black);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--color-gold);
}

.nav-menu a:hover::after {
    width: 0;
}

/* Nav Footer */
.nav-footer-wrap {
    flex-shrink: 0;
    padding-top: 0;
    padding-bottom: 25px;
}

.nav-footer-line {
    height: 1px;
    background: var(--color-border);
}

.nav-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
}

.nav-contacts {
    display: flex;
    align-items: center;
    gap: 45px;
}

.nav-contacts a {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.371;
    color: #010101;
    transition: var(--transition);
}

.nav-contacts a:hover {
    color: var(--color-gold);
}

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

.nav-social a {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.371;
    color: #010101;
    transition: var(--transition);
}

.nav-social a:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   Footer - PCG Design from Figma
   ========================================================================== */
.site-footer {
    background: var(--color-gold);
    color: var(--color-white);
    padding: 0;
    position: relative;
}

.site-main {
    position: relative;
    z-index: 1;
    background: var(--color-white);
}

.footer-main {
    padding: 62px 0 46px;
}

.footer-main .footer-container {
    display: flex;
    flex-direction: column;
}

/* Footer Links Row - Email left, Social right */
.footer-links-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 150px;
}

/* Footer Logo */
.footer-logo-wrapper {
    margin-bottom: 33px;
}

.footer-logo {
    display: inline-block;
    transition: var(--transition);
}

.footer-logo-img {
    width: 598px;
    max-width: 100%;
    height: auto;
}

.footer-logo:hover {
    opacity: 0.8;
}

/* Footer Email */
.footer-email a {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    color: var(--color-white);
    transition: var(--transition);
}

.footer-email a:hover {
    color: var(--color-gold-light);
}

/* Footer Social */
.footer-social {
    display: flex;
    gap: 40px;
}

.footer-social-link {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    color: var(--color-white);
    transition: var(--transition);
}

.footer-social-link:hover {
    color: var(--color-gold-light);
}

/* Footer Bottom Row - Copyright left, Legal right */
.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-legal {
    display: flex;
    gap: 40px;
}

.footer-legal a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-white);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--color-gold-light);
}

.footer-copyright {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-gold-light);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 50px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 7.5rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.04;
    text-shadow: none;
}

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

.hero-title .hero-line {
    display: block !important;
    overflow: visible;
}


/* ==========================================================================
   Buttons - PCG Style
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    padding: 18px 100px;
    border-radius: 40px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-white);
}

.btn-primary:hover {
    background: #BFB387;
    color: var(--color-white);
}

/* ==========================================================================
   Intro Section
   ========================================================================== */
.intro-section {
    padding-top: 60px;
    padding-bottom: 0;
    background: var(--color-white);
}

.intro-section .container {
    text-align: center;
    border-bottom: 1px solid #CED4DA;
}

.intro-text {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 400;
    line-height: 65px;
    color: var(--color-black);
    margin: 0;
}

.intro-btn {
    margin-top: 198px;
    margin-bottom: 74px;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 82px 0;
    background: var(--color-white);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 35px;
}

.section-dot {
    width: 8px;
    height: 8px;
    background: var(--color-black);
    border-radius: 50%;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 500;
    line-height: 55px;
    margin: 0;
    color: var(--color-black);
}

.section-description {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-black);
    max-width: 787px;
    margin: 0;
}

/* ==========================================================================
   Services Accordion
   ========================================================================== */
.services-accordion {
    margin-top: 67px;
}

.accordion-item {
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-top: -1px;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px 0;
    cursor: pointer;
    transition: var(--transition);
}

.accordion-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    color: var(--color-black);
    margin: 0;
    transition: var(--transition);
}

.accordion-item.active .accordion-title {
    color: var(--color-black);
}

.accordion-header:hover .accordion-title {
    color: var(--color-gold);
}

.accordion-icon {
    position: relative;
    width: 37px;
    height: 37px;
    flex-shrink: 0;
    opacity: 0;
    transition: var(--transition);
}

.accordion-header:hover .accordion-icon {
    opacity: 1;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background: var(--color-black);
    transition: var(--transition);
}

.accordion-icon::before {
    width: 37px;
    height: 3px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.accordion-icon::after {
    width: 3px;
    height: 37px;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.accordion-header:hover .accordion-icon::before,
.accordion-header:hover .accordion-icon::after {
    background: var(--color-gold);
}


.accordion-item.active .accordion-icon {
    opacity: 1;
}

.accordion-item.active .accordion-icon::after {
    opacity: 0;
}

.accordion-content {
    display: none;
    padding-bottom: 60px;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-description {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-black);
    margin: 0 0 60px 0;
    max-width: 875px;
}

.accordion-images {
    display: flex;
    gap: 40px;
}

.accordion-image {
    width: 250px;
    height: 250px;
    background: var(--color-gray-light);
    flex-shrink: 0;
    overflow: hidden;
}

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

.accordion-item.active .accordion-image img {
}

/* ==========================================================================
   Recent Projects Section
   ========================================================================== */
.projects-section {
    padding: 70px 0;
    background: var(--color-white);
}

.projects-list {
    margin-top: 57px;
}

.project-item {
    display: flex;
    align-items: center;
    margin-bottom: 90px;
}

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

/* Project with images on right */
.project-item--right {
    justify-content: space-between;
}

.project-item--right .project-info {
    text-align: center;
    flex: 1;
}

.project-item--right .project-images {
    display: flex;
    gap: 32px;
}

/* Project with images on left */
.project-item--left {
    justify-content: space-between;
}

.project-item--left .project-info {
    text-align: center;
    flex: 1;
}

.project-item--left .project-images {
    display: flex;
    gap: 32px;
}

/* Project Info */
.project-info {
    display: flex;
    flex-direction: column;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: 400;
    line-height: 1;
    color: var(--color-black);
    margin: 0 0 25px 0;
}

.project-location {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-black);
    display: block;
    margin-bottom: 74px;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
    padding: 18px 100px;
    border-radius: 40px;
    border: 1.5px solid var(--color-gold);
    background: transparent;
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition);
    align-self: center;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.project-link:hover {
    background: #BFB387;
    border-color: #BFB387;
    color: var(--color-white);
}

/* Project Images */
.project-images {
    width: 55%;
    flex-shrink: 0;
}

.project-image {
    width: 100%;
    aspect-ratio: 1000 / 675;
    background: var(--color-gray-light);
    overflow: hidden;
}

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


/* Explore All Projects Link */
.projects-explore {
    margin-top: 63px;
    padding: 31px 0;
    text-align: right;
    border-top: 1px solid #AFA069;
    border-bottom: 1px solid #AFA069;
}

.explore-link {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 400;
    color: #AFA069;
    text-decoration: none;
    transition: var(--transition);
}

.explore-link:hover {
    color: var(--color-gold);
}

/* ==========================================================================
   Sections (General)
   ========================================================================== */
.section {
    padding: 100px 0;
}

.section-description-old {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.2;
    max-width: 787px;
}

/* ==========================================================================
   Content Styles
   ========================================================================== */
.page-content,
.single-post-content {
    padding: 100px 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1300px) {
    .nav-menu a {
        font-size: 28px;
    }

    .nav-contacts a,
    .nav-social a {
        font-size: 18px;
    }

    .nav-contacts,
    .nav-social {
        gap: 30px;
    }
}

@media (max-width: 1200px) {

    .main-navigation .nav-header-inner,
    .main-navigation .nav-body,
    .main-navigation .nav-footer-wrap {
        padding-left: 30px;
        padding-right: 30px;
    }

    .nav-footer {
        flex-wrap: wrap;
        row-gap: 14px;
    }

    .nav-contacts,
    .nav-social {
        gap: 24px;
    }

    .nav-social {
        max-width: 100%;
        justify-content: flex-end;
        flex-wrap: wrap;
    }

    .container,
    .header-container,
    .footer-container {
        padding: 0 30px;
    }

    h1, .hero-title {
        font-size: 5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .nav-menu a {
        font-size: 26px;
    }

    .nav-contacts a,
    .nav-social a {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        height: 85vh;
    }

    .main-navigation .nav-header-inner,
    .main-navigation .nav-body,
    .main-navigation .nav-footer-wrap {
        padding-left: 20px;
        padding-right: 20px;
    }

    .nav-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .nav-social,
    .nav-contacts {
        width: 100%;
        justify-content: flex-start;
        gap: 18px;
        flex-wrap: wrap;
    }

    html {
        font-size: 14px;
    }

    .container,
    .header-container,
    .footer-container {
        padding: 0 20px;
    }

    h1, .hero-title {
        font-size: 3rem;
    }

    h2 {
        font-size: 2rem;
    }

    .header-right {
        gap: 20px;
    }

    .lang-switcher {
        display: none;
    }

    .nav-menu a {
        font-size: 2rem;
    }

    .footer-main {
        padding-top: 60px;
        padding-bottom: 40px;
    }

    .footer-links-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        margin-bottom: 40px;
    }

    .footer-logo-wrapper {
        margin-bottom: 40px;
    }

    .footer-logo-img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    .footer-social {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-social-link,
    .footer-email a {
        font-size: 20px;
    }

    .footer-bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        padding: 15px 50px;
        font-size: 18px;
    }

    .section {
        padding: 60px 0;
    }

    /* Projects responsive */
    .projects-list {
        margin-top: 60px;
    }

    .project-item {
        flex-direction: column;
        gap: 30px;
    }

    .project-item--left {
        flex-direction: column-reverse;
    }

    .project-info {
        text-align: left;
    }

    .project-item--right .project-info,
    .project-item--left .project-info {
        text-align: left;
    }

    .project-images {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }

    .project-image {
        width: 100%;
        aspect-ratio: 500 / 675;
    }

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

    .project-location {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    h1, .hero-title {
        font-size: 2.5rem;
    }

    .footer-logo-img {
        max-width: 280px;
    }
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

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

/* Animation */
    to   { opacity: 1; transform: translateY(0); }
}
    to   { opacity: 1; transform: translateX(0); }
}
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Исходное состояние до появления */
[data-animate] {
    opacity: 1;
}

[data-animate].animate-in {
    opacity: 1;
    transform: none;
}


/* Задержки для stagger-эффекта */

/* Старый класс для совместимости */
.animate-in {
    /* animation removed */
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 67px 0 0;
    background: var(--color-white);
}

.contact-section .section-header {
    margin-bottom: 42px;
}

/* Offices grid */
.contact-offices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.contact-office {
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 50px;
}

.contact-office-city {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: 1.37;
    color: var(--color-black);
    margin-bottom: 30px;
}

.contact-office-field {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 16px;
}

.contact-label {
    flex-shrink: 0;
    min-width: 120px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
    white-space: nowrap;
}


.contact-office-address {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.08;
    color: var(--color-black);
}

.contact-phone-block {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-phone-number {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-black);
}


.contact-btn {
    display: inline-block;
    padding: 10px 24px;
    border: 1.5px solid var(--color-gold);
    border-radius: 35px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.contact-btn:hover {
    background: #BFB387;
    border-color: #BFB387;
    color: var(--color-white);
}

/* Email row */
.contact-email-row {
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-email-block {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 8px;
}

.contact-email-value {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-black);
    cursor: pointer;
    transition: var(--transition);
}

.contact-email-value:hover {
    color: #AFA069;
}

/* Social pills row */
.contact-socials-row {
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 40px 50px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 40px;
}

.contact-socials {
    display: flex;
    gap: 70px;
    flex-wrap: wrap;
    margin: 0;
}

.contact-social-pill {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition);
}

.contact-social-pill:hover {
    color: var(--color-gold);
}

/* Contact Form Card */
.contact-form-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 135px 100px;
    margin-top: 80px;
    display: grid;
    grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
    gap: 0 80px;
    align-items: start;
    position: relative;
}

.contact-form-title {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.21;
    margin: 0;
}

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

.contact-form-field {
    display: flex;
    flex-direction: column;
}

.contact-form-field + .contact-form-field {
    margin-top: 18px;
}

.contact-form-field input,
.contact-form-field textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--color-border);
    padding: 18px 0;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    line-height: 1.37;
    color: var(--color-black);
    outline: none;
    transition: var(--transition);
    resize: none;
}

.contact-form-field textarea {
    min-height: 200px;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--color-black);
}


.contact-form-field input:hover::placeholder,
.contact-form-field textarea:hover::placeholder {
    color: #AFA069;
}

.contact-form-field input:focus,
.contact-form-field textarea:focus {
    border-bottom-color: #000000;
}

/* Validation error messages */
.contact-form-error {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 300;
    color: var(--color-gold);
    margin-top: 8px;
    display: none;
}

.contact-form-field.has-error .contact-form-error {
    display: block;
}

/* Success state */
.contact-form-success {
    display: none;
    text-align: center;
    padding: 80px 0;
}

.contact-form-success.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.contact-form-success-text {
    font-family: var(--font-heading);
    font-size: 55px;
    font-weight: 400;
    line-height: 1.09;
    color: var(--color-black);
    margin-bottom: 60px;
}

.contact-form-submit {
    margin-top: 60px;
    align-self: flex-start;
    padding: 18px 100px;
    background: var(--color-gold);
    color: var(--color-white);
    border: none;
    border-radius: 40px;
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.21;
    cursor: pointer;
    transition: var(--transition);
}

.contact-form-submit:hover {
    background: #BFB387;
    color: var(--color-white);
}

/* Follow Us / Instagram */
.contact-follow {
    padding: 80px 0 150px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Instagram Follow Header */
.insta-follow-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.insta-follow-label {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    line-height: 2;
    color: #000000;
}

/* Instagram Profile Block */
.insta-profile {
    display: flex;
    align-items: center;
    gap: 30px;
    text-decoration: none;
    width: fit-content;
}

.insta-profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.insta-profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.insta-profile-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: auto;
}

.insta-profile-name-row {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.insta-profile-name {
    font-family: var(--font-body);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.44;
    color: #000000;
}

.insta-profile-sub {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.8;
    color: #000000;
}

.insta-profile-handle {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
    color: #ADB5BD;
    transition: var(--transition);
}

.insta-profile:hover .insta-profile-handle {
    color: var(--color-gold);
}

/* Instagram Grid */
.instagram-grid {
    display: flex;
    gap: 52px;
    overflow: hidden;
}

.instagram-grid-item {
    flex: 1;
    aspect-ratio: 260 / 330;
    overflow: hidden;
    display: block;
}

.instagram-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-grid-item:hover img {
}

.instagram-grid-item {
    position: relative;
}

.instagram-grid-overlay {
    position: absolute;
    inset: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.instagram-grid-overlay-icon {
    display: inline-flex;
    line-height: 0;
}

.instagram-grid-overlay-text {
    color: #FFF;
    text-align: center;
    leading-trim: both;
    text-edge: cap;
    font-family: var(--font-body);
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.instagram-grid-item:hover .instagram-grid-overlay {
    opacity: 1;
}

/* Contact Section Responsive */
@media (max-width: 1024px) {
    .contact-offices {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        grid-template-columns: 1fr;
        padding: 60px 50px;
        gap: 30px;
    }

    .contact-form-field input,
    .contact-form-field textarea,
    .contact-form-field input::placeholder,
    .contact-form-field textarea::placeholder {
        font-size: 24px;
    }
}

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

    .contact-office {
        padding: 30px;
    }

    .contact-office-city {
        font-size: 28px;
    }

    .contact-office-address,
    .contact-phone-number,
    .contact-email-value {
        font-size: 20px;
    }

    .contact-email-row,
    .contact-socials-row {
        padding: 25px 30px;
    }

    .contact-form-card {
        padding: 30px;
        margin-top: 40px;
    }

    .contact-form-field input,
    .contact-form-field textarea,
    .contact-form-field input::placeholder,
    .contact-form-field textarea::placeholder {
        font-size: 20px;
    }

    .contact-form-submit {
        padding: 16px 50px;
        font-size: 18px;
        width: 100%;
        text-align: center;
        margin-top: 40px;
    }

    .contact-form-success-text {
        font-size: 32px;
    }

    .contact-follow {
        padding: 40px 0 0;
    }

    .instagram-grid {
        gap: 8px;
        overflow-x: auto;
    }

    .instagram-grid-item {
        flex: 0 0 44vw;
        max-width: 44vw;
    }
}

/* ==========================================================================
   Projects Page
   ========================================================================== */

/* Contact page projects grid */
.contact-projects-section {
    padding-top: 100px;
    padding-bottom: 0;
    background: var(--color-white);
}
.contact-projects-section .projects-grid {
    padding-bottom: 0;
    gap: 100px;
}
.projects-page {
    padding-top: 155px;
    padding-bottom: 0;
    background: var(--color-white);
}

.projects-page-title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-black);
    max-width: 788px;
    padding-top: 60px;
    padding-bottom: 77px;
    margin-bottom: 0;
}

.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 150px;
    padding-bottom: 120px;
}

.projects-row {
    display: flex;
    justify-content: space-between;
    gap: 70px;
}

.project-card {
    width: 875px;
    max-width: calc(50% - 35px);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-decoration: none;
    color: inherit;
}

.project-card:only-child {
    max-width: 875px;
}

.project-card-images {
    display: flex;
    gap: 15px;
    width: 100%;
}

.project-card--single .project-card-images {
    gap: 0;
}

.project-card-img {
    width: 50%;
    height: 555px;
    overflow: hidden;
}

.project-card-img--full {
    width: 100%;
}

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

.project-card:hover .project-card-img img {
}

.project-card-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 400;
    line-height: 1;
    color: var(--color-black);
    margin-bottom: 0;
}

.project-card-location {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.21;
    color: var(--color-black);
}

@media (max-width: 1200px) {
    .projects-page-title {
        font-size: 36px;
    }

    .projects-grid {
        gap: 80px;
    }

    .projects-row {
        gap: 40px;
    }

    .project-card {
        max-width: calc(50% - 20px);
    }

    .project-card-img {
        height: 400px;
    }

    .project-card-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .projects-page-title {
        font-size: 28px;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .projects-grid {
        gap: 60px;
        padding-bottom: 60px;
    }

    .projects-row {
        flex-direction: column;
        gap: 60px;
    }

    .project-card {
        width: 100%;
        max-width: 100%;
    }

    .project-card-img {
        height: 300px;
    }

    .project-card-title {
        font-size: 24px;
    }
}

/* ==========================================================================
   Services Page
   ========================================================================== */
.services-page {
    padding-top: 155px;
    padding-bottom: 0;
    background: var(--color-white);
}

.services-page-header {
    padding-top: 135px;
    padding-bottom: 80px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 1033px;
}

.services-page-title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-black);
}

.services-page-description {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-black);
    max-width: 718px;
}

/* Services page accordion uses same styles as front page but with bigger titles */
.services-page .accordion-title {
    font-size: 36px;
    line-height: 1.37;
}

.services-page .accordion-item {
    border-top: 1px solid var(--color-border);
    border-bottom: none;
    padding: 0;
}

.services-page .accordion-item:last-child {
    border-bottom: 1px solid var(--color-border);
}

.services-page .accordion-header {
    padding: 35px 0;
}

@media (max-width: 1200px) {
    .services-page-title {
        font-size: 36px;
    }

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

@media (max-width: 768px) {
    .services-page-header {
        padding-top: 80px;
        padding-bottom: 40px;
        gap: 30px;
    }

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

    .services-page-description {
        font-size: 16px;
    }

    .services-page .accordion-title {
        font-size: 22px;
    }

    .services-page .accordion-header {
        padding: 25px 0;
    }
}

/* ==========================================================================
   About Us Page
   ========================================================================== */
.about-section {
    padding-top: 155px;
    background: var(--color-white);
}

.about-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 50px;
}

.about-main-text {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-black);
    max-width: 1575px;
    margin-bottom: 120px;
    padding-top: 135px;
}

.about-middle {
    display: grid;
    grid-template-columns: 718fr 1032fr;
    gap: 70px;
    margin-bottom: 120px;
    align-items: start;
}

.about-secondary-text {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.36;
    color: var(--color-black);
}

.about-image {
    width: 100%;
    overflow: hidden;
}

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

.about-blocks {
    padding-bottom: 120px;
}

.about-block {
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 100%;
    padding: 60px 0;
    border-top: 1px solid var(--color-border);
}

.about-block:last-child {
    border-bottom: 1px solid var(--color-border);
}

.about-block-header {
    display: flex;
    align-items: center;
    gap: 25px;
}

.about-block-dot {
    width: 8px;
    height: 8px;
    background: var(--color-black);
    border-radius: 0;
    flex-shrink: 0;
}

.about-block-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 500;
    line-height: 1.37;
    color: var(--color-black);
}

.about-block-description {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.36;
    color: var(--color-black);
    max-width: 718px;
}

/* About Us Responsive */
@media (max-width: 1200px) {
    .about-main-text {
        font-size: 36px;
    }

    .about-block-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 0 20px;
    }

    .about-main-text {
        font-size: 28px;
        padding-top: 80px;
        margin-bottom: 60px;
    }

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

    .about-image img {
        height: 350px;
    }

    .about-secondary-text {
        font-size: 18px;
    }

    .about-block {
        gap: 30px;
        padding: 40px 0;
    }

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

    .about-block-description {
        font-size: 18px;
    }

    .about-blocks {
        padding-bottom: 60px;
    }
}

/* ==========================================================================
   Single Project Page
   ========================================================================== */
.single-project {
    padding-top: 155px;
    background: var(--color-white);
}

.single-project-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 75px;
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    transition: transform 0.35s ease, background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.single-project-header-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 24px 50px;
    background: transparent;
    box-sizing: border-box;
}


.single-project-title {
    font-family: var(--font-heading);
    font-size: 35px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #000;
    leading-trim: both;
    text-edge: cap;
    margin: 0;
}

.single-project-close {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.single-project-close:hover {
    color: var(--color-gold);
}

.single-project-content {
    display: grid;
    grid-template-columns: 316px 1fr;
    gap: 70px;
    padding: 80px 0;
}

.single-project-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: static;
    top: auto;
    align-self: start;
}

.single-project-location {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    color: var(--text-muted);
}

.single-project-desc p {
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-black);
    margin: 0;
}

/* Gallery */
.single-project-gallery {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.gallery-row--full {
    width: 100%;
}

.gallery-row--full img {
    width: 100%;
    height: 735px;
    object-fit: cover;
    display: block;
}

.gallery-row--double {
    display: flex;
    gap: 30px;
}

.gallery-row--double .gallery-col {
    flex: 1;
}

.gallery-row--double .gallery-col img {
    width: 100%;
    height: 840px;
    object-fit: cover;
    display: block;
}

/* Previous / Next navigation */
.single-project-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 38px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    margin-top: 75px;
    margin-bottom: 150px;
}

.single-project-nav a {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 400;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition);
}

.single-project-nav a:hover {
    color: var(--color-gold);
}

.single-project-nav-next {
    margin-left: auto;
}

/* Single Project Responsive */
@media (max-width: 1200px) {
    .single-project-content {
        grid-template-columns: 280px 1fr;
        gap: 40px;
    }

    .gallery-row--full img {
        height: 500px;
    }

    .gallery-row--double .gallery-col img {
        height: 600px;
    }
}

@media (max-width: 768px) {
    .single-project-header-inner {
        min-height: 72px;
        padding: 18px 30px 12px;
    }

    .single-project-title {
        font-size: 24px;
    }

    .single-project-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 0;
    }

    .single-project-info {
        position: static;
        gap: 20px;
    }

    .gallery-row--full img {
        height: 300px;
    }

    .gallery-row--double {
        flex-direction: column;
    }

    .gallery-row--double .gallery-col img {
        height: 400px;
    }

    .single-project-nav {
        padding: 30px 0;
    }

    .single-project-nav a {
        font-size: 20px;
    }
}

/* ==========================================================================
   404 Page
   ========================================================================== */
.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--color-white);
    padding: 75px 50px 0;
}

.page-404-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-404-title {
    font-family: var(--font-heading);
    font-size: 90px;
    font-weight: 500;
    line-height: 1;
    color: var(--color-black);
    margin: 0 0 130px 0;
    max-width: 1068px;
}

.page-404-link {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.21;
    color: var(--color-black);
    margin: 0;
}

.page-404-link a {
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition);
}

.page-404-link a:hover {
    color: #9a8c5c;
}

.page-404-footer {
    width: 100%;
    max-width: 1820px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
}

.page-404-copyright {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: #A1A1A1;
}

.page-404-legal {
    display: flex;
    gap: 40px;
}

.page-404-legal a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    text-decoration: none;
    transition: var(--transition);
}

.page-404-legal a:hover {
    color: var(--color-gold);
}

@media (max-width: 1200px) {
    .page-404-title {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    .page-404 {
        padding: 75px 20px 0;
    }

    .page-404-title {
        font-size: 36px;
        margin-bottom: 60px;
    }

    .page-404-link {
        font-size: 16px;
    }

    .page-404-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px 0;
    }

    .page-404-legal {
        flex-direction: column;
        gap: 10px;
    }
}

/* ==========================================================================
   Contact Page
   ========================================================================== */
.contact-page {
    padding-top: 155px;
    padding-bottom: 0;
    background: var(--color-white);
}

.contact-page-title {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-black);
    max-width: 1103px;
    padding-top: 135px;
    padding-bottom: 80px;
    margin: 0;
}

/* Contact form section — sits between content and footer */
.contact-form-section {
    padding: 0 0 0;
    background: var(--color-white);
}

/* Contact Page Responsive */
@media (max-width: 1200px) {
    .contact-page-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .contact-page-title {
        font-size: 28px;
        padding-top: 80px;
        padding-bottom: 40px;
    }
}

/* ==========================================================================
   Privacy Policy Page
   ========================================================================== */
.privacy-page {
    padding-top: 155px;
    background: var(--color-white);
    padding-bottom: 120px;
}

.privacy-page .container {
    padding-top: 100px;
}

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

.privacy-heading {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-black);
    margin: 0 0 60px;
}

.privacy-text {
    font-family: 'Inclusive Sans', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-black);
}

.privacy-text p {
    margin: 0 0 24px;
}

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

.privacy-text strong {
    font-weight: 700;
}

/* Privacy Page Responsive */
@media (max-width: 1200px) {
    .privacy-heading {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .privacy-text {
        font-size: 18px;
    }

    .privacy-columns {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .privacy-page .container {
        padding-top: 60px;
    }

    .privacy-columns {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

    .privacy-text {
        font-size: 16px;
    }

    .privacy-page {
        padding-bottom: 60px;
    }
}

/* ==========================================================================
   Legal Information Page
   ========================================================================== */
.legal-page {
    padding-top: 155px;
    background: var(--color-white);
    padding-bottom: 120px;
}

.legal-page .container {
    padding-top: 100px;
}

.legal-heading {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--color-black);
    margin: 0 0 60px;
}

.legal-text {
    font-family: 'Inclusive Sans', sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-black);
    max-width: 720px;
}

.legal-text p {
    margin: 0 0 24px;
}

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

.legal-text strong {
    font-weight: 700;
}

/* Legal Page Responsive */
@media (max-width: 1200px) {
    .legal-heading {
        font-size: 36px;
        margin-bottom: 40px;
    }

    .legal-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .legal-page .container {
        padding-top: 60px;
    }

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

    .legal-text {
        font-size: 16px;
    }

    .legal-page {
        padding-bottom: 60px;
    }
}


/* Keep button geometry fixed (Figma proportions) */
.btn-primary,
.contact-form-submit {
    box-sizing: border-box;
    transform: none;
}

.btn-primary:hover,
.contact-form-submit:hover {
    transform: none;
    padding: 18px 100px;
    border-width: 0;
}


/* Project modal (open project without full reload) */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 1202;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s 0.45s;
}

.project-modal.active {
    visibility: visible;
    pointer-events: auto;
    transition: visibility 0s 0s;
}

.project-modal__backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
}

.project-modal__panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-white);
    overflow: auto;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.active .project-modal__panel {
    transform: translateY(0);
}

body.project-modal-open {
    overflow: hidden;
}

.project-modal .single-project {
    padding-top: 0;
}

.project-modal__panel .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 15px 50px;
    box-sizing: border-box;
}

@media (max-width: 1200px) {
    .project-modal__panel .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .project-modal__panel .container {
        padding: 0 20px;
    }
    .single-project-header-inner {
        padding-left: 20px;
        padding-right: 20px;
    }
}


.hero-title .hero-line {
    opacity: 1 !important;
}


.contact-form-field input:focus::placeholder,
.contact-form-field textarea:focus::placeholder {
    opacity: 0;
}


.project-modal__close {
    position: fixed;
    top: 22px;
    right: 50px;
    z-index: 1204;
    border: none;
    background: transparent;
    color: #000;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
}

.project-modal__close:hover {
    color: #AFA069;
}

@media (max-width: 1200px) {
    .project-modal__close { right: 30px; }
}

@media (max-width: 768px) {
    .project-modal__close { right: 20px; top: 18px; }
}


/* Modal media: smooth image appearance */
.project-modal [data-animate] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.project-modal img.modal-img-fade {
    opacity: 0;
    transition: opacity 0.35s ease;
}

.project-modal img.modal-img-fade.is-loaded {
    opacity: 1;
}


.single-project-blocks .single-project-content--block {
    padding: 15px 0;
}

.single-project-blocks .single-project-content--block:first-child {
    padding-top: 100px;
}

.single-project-blocks .single-project-content--block .single-project-gallery {
    padding-top: 0;
}

/* ==========================================================================
   MOBILE — Figma M Main 375px (node 19135:1045)
   ========================================================================== */

/* ── 1200px breakpoint ── */
@media (max-width: 1200px) {
    .container, .header-container, .footer-container { padding: 0 30px; }
    .main-navigation .nav-header-inner,
    .main-navigation .nav-body,
    .main-navigation .nav-footer-wrap { padding-left: 30px; padding-right: 30px; }
    .intro-text { font-size: 44px; line-height: 52px; }
    .intro-btn { margin-top: 98px; margin-bottom: 49px; }
    .services-section { padding: 56px 0; }
    .section-title { font-size: 32px; }
    .accordion-header { padding: 36px 0; }
    .accordion-title { font-size: 28px; }
    .accordion-images { gap: 20px; }
    .accordion-image { width: 200px; height: 200px; }
    .projects-section { padding: 56px 0; }
    .projects-explore { margin-top: 42px; }
    .contact-section { padding: 49px 0 0; }
    .contact-offices { gap: 40px; }
}

/* ── 768px breakpoint — Figma exact values ── */
@media (max-width: 768px) {

    /* Prevent horizontal overflow */
    html, body { overflow-x: hidden; width: 100%; }

    /* Container: 15px padding = 345px content on 375px screen */
    .container, .header-container, .footer-container { padding: 0 15px; }
    .main-navigation .nav-header-inner,
    .main-navigation .nav-body,
    .main-navigation .nav-footer-wrap { padding-left: 15px; padding-right: 15px; }

    /* ── MOBILE MENU ── */
    .main-navigation {
        height: 100dvh;
        overflow-y: auto;
    }

    /* Header 60px */
    .nav-header { height: 60px; }
    .nav-header-inner { height: 60px; padding: 0 15px; }

    /* Hide lang switcher from header-right on mobile */
    .nav-header-right .lang-switcher { display: none; }

    /* Lang bar visible on mobile */
    .nav-lang-bar {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 24px;
    }
    .nav-lang-bar-inner {
        display: flex;
        align-items: center;
        gap: 25px;
        justify-content: center;
        padding-bottom: 24px;
    }
    .nav-lang-bar .lang-item {
        font-family: var(--font-body);
        font-size: 14px;
        font-weight: 400;
        letter-spacing: 1.4px;
        color: var(--color-black);
        text-decoration: none;
    }
    .nav-lang-bar .lang-item.active { color: var(--color-gold); }
    .nav-lang-bar-line {
        width: 100%;
        height: 1px;
        background: var(--color-border);
    }

    /* Nav links centered */
    .nav-body {
        justify-content: center;
        align-items: center;
        padding: 40px 15px;
    }
    .nav-menu { text-align: center; }
    .nav-menu a {
        font-size: 26px;
        line-height: 1.37;
    }
    .nav-menu li + li { margin-top: 35px; }

    /* Nav footer: stacked centered */
    .nav-footer {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 24px 0 40px;
    }
    .nav-contacts {
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
    }
    .nav-contacts a { font-size: 20px; }
    .nav-social {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        max-width: 220px;
    }
    .nav-social a { font-size: 20px; }

    /* ── HERO ── */
    .hero { width: 100%; }
    .hero-bg { left: 0; right: 0; width: 100%; }
    .hero-content { padding: 0 15px; }
    .hero-title {
        font-size: 40px;       /* Figma: fs=40 fw=600 */
        font-weight: 600;
        line-height: 1;
    }

    /* ── INTRO ── */
    .intro-section { padding-top: 40px; } /* Figma: hero ends y=680, text at y=720 → 40px gap */

    .intro-text {
        font-size: 32px;       /* Figma: fs=32 fw=400 lh=37 */
        line-height: 37px;
    }

    .intro-btn {
        margin-top: 120px;    /* Figma: text ends y=1111, button at y=1240 → 129px gap */
        margin-bottom: 60px;  /* Figma: button ends y=1280, separator at y=1350 → 70px */
        padding: 11px 40px;
        font-size: 16px;
        font-weight: 400;
    }

    /* ── SERVICES ── */
    .services-section { padding: 48px 0 60px; } /* Figma: separator y=1350, section header y=1398 → 48px top */

    .section-header { gap: 10px; margin-bottom: 0; }
    .section-dot { width: 5px; height: 5px; }

    .section-title {
        font-size: 24px;       /* Figma: fs=24 fw=500 lh=33 */
        font-weight: 500;
        line-height: 33px;
    }

    .section-description {
        font-size: 14px;       /* Figma: fs=14 fw=400 lh=17 */
        line-height: 17px;
        max-width: 100%;
        margin-top: 10px;
    }

    .services-accordion { margin-top: 40px; } /* Figma: header ends y=1500, accordion at y=1540 → 40px */

    .accordion-item { border-bottom: none; }
    .accordion-item:last-child { border-bottom: 1px solid var(--color-border); }

    .accordion-header { padding: 18px 0; } /* Figma: 1-line item=64px: 18+27+18=63+1border=64 */

    .accordion-title {
        font-size: 22px;       /* Figma: fs=22 fw=400 lh=27 */
        font-weight: 400;
        line-height: 27px;
        padding-right: 36px;
    }

    .accordion-icon { display: none; }


    .accordion-description {
        font-size: 14px;       /* Figma: fs=14 fw=400 lh=17 */
        line-height: 17px;
        margin-bottom: 16px;
    }

    /* Figma: 3 images × 110px + gap 8px = 346px → fits in 345px container */
    .accordion-images { gap: 8px; flex-wrap: nowrap; overflow: hidden; }
    .accordion-image { width: 110px; height: 110px; flex-shrink: 0; }
    .accordion-image img { position: relative; }

    /* ── PROJECTS (homepage) ── */
    .projects-section { padding: 60px 0; }

    .projects-list { margin-top: 40px; }

    /* Single column, image first */
    .project-item {
        flex-direction: column;
        gap: 0;
        margin-bottom: 60px;  /* Figma gap between items: 120px → 60px practical */
    }

    .project-item--left  { flex-direction: column; }
    .project-item--right { flex-direction: column-reverse; } /* image first */

    .project-images { width: 100%; flex-direction: row; gap: 10px; }

    /* 2 images side by side on mobile */
    .project-image {
        flex: 1;
        min-width: 0;
        aspect-ratio: 346 / 460;
        height: auto;
    }
    .project-image:nth-child(2) { display: block; }

    .project-info,
    .project-item--right .project-info,
    .project-item--left .project-info { padding-top: 20px; text-align: center; }
    .project-link { align-self: center; }

    .project-title {
        font-size: 24px;       /* Figma: fs=24 fw=400 lh=27 */
        font-weight: 400;
        line-height: 27px;
        margin-bottom: 0;
        text-align: center;
    }

    .project-location {
        font-size: 14px;       /* Figma: fs=14 fw=400 lh=17 */
        line-height: 17px;
        margin-top: 10px;
        margin-bottom: 18px;
        text-align: center;
    }

    .project-link {
        font-size: 16px;       /* Figma: fs=16 fw=400 lh=19 */
        padding: 11px 40px;
    }

    /* Explore All Projects */
    .projects-explore {
        margin-top: 20px;
        padding: 22px 0;
        border-top: 1px solid #AFA069;
        border-bottom: 1px solid #AFA069;
        text-align: right;
    }

    .explore-link {
        font-size: 20px;       /* Figma: fs=20 fw=400 lh=65 */
        font-weight: 400;
        color: #AFA069;
    }

    /* ── INSTAGRAM SECTION ── */
    .insta-follow-header { align-items: center; }

    .insta-profile { gap: 14px; }

    .insta-profile-avatar { width: 56px; height: 56px; }

    .insta-profile-name { font-size: 16px; }

    .insta-profile-sub { font-size: 13px; line-height: 1.4; }

    .insta-profile-handle { font-size: 13px; }

    .insta-follow-label { font-size: 14px; }

    .instagram-grid {
        overflow-x: auto !important;
        overflow-y: hidden !important;
        gap: 10px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-bottom: 40px;
        margin-left: -15px;
        margin-right: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .instagram-grid::-webkit-scrollbar { display: none; }

    .instagram-grid-item {
        flex: 0 0 300px !important;
        width: 300px !important;
        max-width: none !important;
        height: 400px;
        aspect-ratio: unset;
    }

    /* ── CONTACT SECTION (homepage) ── */
    .contact-section { padding: 50px 0 0; }

    .contact-section .section-header { margin-bottom: 36px; }

    .contact-offices { flex-direction: column; gap: 24px; }

    .contact-office-city {
        font-size: 24px;       /* Figma: fs=24 fw=400 lh=33 */
        font-weight: 400;
        line-height: 33px;
        margin-bottom: 16px;
    }

    .contact-office-field {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-bottom: 12px;
    }

    .contact-label { font-size: 14px; line-height: 17px; }

    .contact-phone-block {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .contact-phone-number,
    .contact-office-address {
        font-size: 20px;       /* Figma: fs=20 fw=400 lh=27 */
        line-height: 27px;
    }

    .contact-email-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        margin-top: 24px;
        margin-bottom: 24px;
    }

    .contact-email-block {
        flex-direction: row;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .contact-email-value {
        font-size: 20px;       /* Figma: fs=20 fw=400 lh=27 */
        line-height: 27px;
    }

    .contact-socials-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    /* Figma: socials stacked vertically, fs=20, ~53px apart */
    .contact-socials {
        flex-direction: column;
        gap: 16px;
        margin-top: 8px;
    }

    .contact-social-pill {
        font-size: 20px;       /* Figma: fs=20 fw=400 lh=27 */
        line-height: 27px;
        background: none;
        border: none;
        padding: 0;
        border-radius: 0;
        color: var(--color-black);
        text-decoration: none;
    }

    .contact-btn { font-size: 14px; padding: 8px 20px; }

    /* ── CONTACT FORM ── */
    .contact-form-section { padding: 30px 0 50px; }

    .contact-form-title {
        font-size: 14px;       /* Figma: fs=14 fw=400 lh=17 */
        line-height: 17px;
        margin-bottom: 30px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 20px;       /* Figma: fs=20 fw=400 lh=27 */
    }

    .contact-form-submit {
        font-size: 16px;
        padding: 11px 40px;
    }

    /* ── FOOTER ── */
    /* Figma: gold bg, social 2x2 (Instagram/Facebook | TikTok/Pinterest), logo, email, legal */
    .footer-main { padding: 50px 0 40px; }

    .footer-links-row {
        flex-direction: column-reverse; /* social FIRST, then email — matches Figma order */
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 40px;
    }

    /* Social 2×2 grid — Figma: Frame 579 (Insta/FB) + Frame 580 (TikTok/Pinterest) */
    .footer-social {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        width: 200px;
    }

    .footer-social-link {
        width: 50%;             /* 2 per row */
        font-size: 20px;
        line-height: 27px;
        margin-bottom: 10px;
    }

    .footer-logo-img { width: 200px; height: auto; }
    .footer-logo-wrapper { margin-bottom: 24px; }

    .footer-email a {
        font-size: 18px;       /* Figma: email fs=18 fw=400 lh=25 */
        line-height: 25px;
    }

    .footer-bottom-row { flex-direction: column; align-items: flex-start; gap: 8px; }

    .footer-legal {
        flex-direction: column;
        gap: 6px;
        font-size: 12px;       /* Figma: fs=12 fw=400 lh=15 */
        line-height: 15px;
    }

    .footer-legal a { font-size: 12px; }

    .footer-copyright { font-size: 12px; line-height: 15px; }
}

/* ── 480px breakpoint ── */
@media (max-width: 480px) {
    .hero-title { font-size: 32px; }
    .intro-text { font-size: 26px; line-height: 32px; }
    .intro-btn { margin-top: 60px; }
    .accordion-title { font-size: 18px; }
    .accordion-image { width: 90px; height: 90px; }
    .project-title { font-size: 20px; }
}

/* === Image Fade-In via IntersectionObserver === */
.project-image img,
.accordion-image img,
.instagram-grid-item img,
.project-card-img img {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.project-image img.img-visible,
.accordion-image img.img-visible,
.instagram-grid-item img.img-visible,
.project-card-img img.img-visible {
    opacity: 1;
}

/* Single project header inside modal — sticky, not fixed viewport */
.project-modal__panel .single-project-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    width: 100%;
    z-index: 10;
}

/* === Intro text line-by-line reveal === */
.line-wrap {
    display: block;
    overflow: hidden;
    line-height: inherit;
}
.line-inner {
    display: block;
    transform: translateY(110%);
    transition: transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-in .line-inner {
    transform: translateY(0);
}

