/* ── Variables ── */
:root {
    --c-bg:         #F8F3EB;
    --c-dark:       #1C0A02;
    --c-section-dk: #28100A;
    --c-brown:      #8B5E3C;
    --c-gold:       #eeda42;
    --c-gold-hover: #d9c53a;
    --c-text:       #222222;
    --c-text-muted: #7A6655;
    --c-border:     #DDD0BC;
    --c-white:      #FFFFFF;
    --c-cream:      #F2EBE0;
    --c-cream-btn:  #f5f2e6;

    --font-head:    'Noto Serif', Georgia, serif;
    --font-body:    'Inter', system-ui, sans-serif;
    --font-sub:     'Montserrat', system-ui, sans-serif;

    --container: 1280px;
    --gap:        24px;
    --radius:     12px;
    --radius-sm:   8px;
    --radius-pill: 100px;

    --header-h: 80px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text);
    background-color: var(--c-bg);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* ── Layout ── */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 60px;
}
.container-fluid{
    width: 100%;
    max-width: 1720px;
    margin-inline: auto;
    padding-inline: 100px;
}

.section {
    padding-block: 90px;
}
.section--cream { background: var(--c-cream); }
.section--dark  { background: var(--c-section-dk); }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 48px;
    gap: 16px;
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: var(--font-head);
    line-height: 1.2;
    color: var(--c-text);
}
h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; }

.section-title { margin-bottom: 16px; }
.section-title__accent {
    color: var(--c-gold);
    font-style: italic;
}
.section-title--light,
.section-title--light .section-title__accent { color: var(--c-white); }

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-brown);
    margin-bottom: 12px;
}
.section-label--light { color: var(--c-gold); }

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    transition: background 0.2s, color 0.2s, border-color 0.2s, opacity 0.2s;
    white-space: nowrap;
}
.btn--lg { padding: 16px 36px; font-size: 1rem; }
.btn--sm { padding: 9px 20px; font-size: 0.82rem; }

.btn--gold {
    background: var(--c-gold);
    color: var(--c-dark);
    border: 2px solid var(--c-gold);
}
.btn--gold:hover { background: var(--c-gold-hover); border-color: var(--c-gold-hover); }

.btn--brown {
    background: var(--c-brown);
    color: var(--c-white);
    border: 2px solid var(--c-brown);
}
.btn--brown:hover { opacity: 0.85; }

.btn--outline {
    background: transparent;
    color: var(--c-brown);
    border: 2px solid var(--c-brown);
}
.btn--outline:hover { background: var(--c-brown); color: var(--c-white); }

.btn--dark {
    background: var(--c-dark);
    color: var(--c-white);
    border: 2px solid var(--c-dark);
}
.btn--dark:hover { background: var(--c-brown); border-color: var(--c-brown); }

.btn--outline-white {
    background: transparent;
    color: var(--c-white);
    border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.12); border-color: var(--c-white); }

/* ── Header ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled {
    background: var(--c-dark);
    box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    padding-block: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-white);
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--font-head);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo-img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}
.footer-logo__img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.primary-nav { flex: 1; }
.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.nav-list a {
    display: block;
    color: var(--c-white);
    font-size: 1rem;
    font-weight: 500;
    padding: 10px;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.nav-list a:hover,
.nav-list .current-menu-item a { opacity: 0.7; }

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.header-lang__btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(244, 241, 228, 0.1);
    border-radius: 17px;
    padding: 10px 15px;
    color: var(--c-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    transition: background 0.2s;
}
.header-lang__btn:hover { background: rgba(244, 241, 228, 0.2); }
.header-lang__arrow {
    flex-shrink: 0;
    transition: transform 0.2s;
}
.header-lang[aria-expanded="true"] .header-lang__arrow,
.header-lang.is-open .header-lang__arrow { transform: rotate(180deg); }

.header-lang {
    position: relative;
}
.header-lang__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--c-cream-btn);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    min-width: 72px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(-4px);
    transition: opacity 0.18s, transform 0.18s;
    z-index: 300;
}
.header-lang.is-open .header-lang__dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.header-lang__option {
    display: block;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--c-text);
    text-align: center;
    transition: background 0.15s;
}
.header-lang__option:hover { background: var(--c-cream); }
.header-lang__option.is-current { color: var(--c-brown); font-weight: 600; }

.header-contacts {
    display: flex;
    align-items: center;
    gap: 0;
}
.header-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--c-white);
    font-size: 1rem;
    font-weight: 500;
    padding: 10px;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.header-contact-link:hover { opacity: 0.8; }
.header-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(244, 241, 228, 0.1);
    border-radius: 50px;
    flex-shrink: 0;
}

.header-mobile-actions {
    display: none;
    align-items: center;
    gap: 15px;
}
.header-phone-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--c-border);
    border-radius: 500px;
    color: var(--c-white);
    flex-shrink: 0;
    transition: background 0.2s;
}
.header-phone-mobile:hover { background: rgba(255,255,255,0.1); }
.site-header--light .header-phone-mobile { color: var(--c-text); }
.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--c-border);
    border-radius: 500px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.hamburger:hover { background: rgba(255,255,255,0.1); }
.site-header--light .hamburger { border-color: var(--c-border); }
.site-header--light .hamburger:hover { background: rgba(0,0,0,0.06); }
.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
    transform-origin: center;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Header light variant (product page) ── */
.site-header--light {
    background: var(--c-cream-btn);
    box-shadow: 0 1px 0 var(--c-border);
}
.site-header--light .nav-list a,
.site-header--light .header-contact-link,
.site-header--light .header-contact-text { color: var(--c-text); }
.site-header--light .header-lang__btn { color: var(--c-text); background: rgba(0,0,0,0.06); }
.site-header--light .header-lang__btn:hover { background: rgba(0,0,0,0.1); }
.site-header--light .hamburger span { background: var(--c-text); }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--c-dark) center/cover no-repeat;
    overflow: hidden;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}
.hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    /* text-align: center; */
    padding-top: var(--header-h);
    padding-bottom: 40px;
    max-width: var(--container);
    margin-inline: auto;
    width: 100%;
}
.hero__title {
    margin-bottom: 24px;
    line-height: 0.88;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hero__title-sans {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: clamp(2.8rem, 5.73vw, 6.875rem);
    color: var(--c-white);
    display: block;
    letter-spacing: -0.01em;
}
.hero__title-serif {
    font-family: 'Noto Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(2.8rem, 5.73vw, 6.875rem);
    color: var(--c-white);
    display: block;
    letter-spacing: -0.01em;
}
.hero__subtitle {
    font-family: var(--font-sub);
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 1.1vw, 1.125rem);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.5;
}
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Hero-specific buttons */
.btn--hero-gold {
    background: #eeda42;
    color: #222;
    border: 2px solid #eeda42;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    font-size: 1rem;
    padding: 22px 40px;
}
.btn--hero-gold:hover { background: #d9c53a; border-color: #d9c53a; }

.btn--hero-cream {
    background: #f5f2e6;
    color: #222;
    border: 2px solid #f5f2e6;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    font-size: 1rem;
    padding: 22px 40px;
}
.btn--hero-cream:hover { background: #e8e4d4; border-color: #e8e4d4; }

/* Stats strip at the bottom of hero */
.hero__stats {
    position: relative;
    z-index: 1;
    margin-top: auto;
    background: rgba(0, 0, 0, 0.5);
}
.hero-stats {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding-block: 40px;
}
.hero-stat {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}
.hero-stat__icon-wrap {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-white);
}
.hero-stat__icon-wrap svg { width: 36px; height: 36px; }
.hero-stat__body { flex: 1; }
.hero-stat__title {
    display: block;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--c-white);
    margin-bottom: 10px;
    line-height: 1.3;
}
.hero-stat__text {
    font-size: 1rem;
    color: #d6d7cf;
    line-height: 1.4;
    margin: 0;
}

/* ── Projects section ── */
.home-projects {
    background: var(--c-brown);
    padding-block: 60px;
}
.home-projects__heading {
    font-size: clamp(2.5rem, 4.6vw, 4.125rem);
    line-height: 1;
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
}
.home-projects__heading-white {
    font-family: var(--font-sub);
    font-weight: 500;
    color: var(--c-white);
}
.home-projects__heading-gold {
    font-family: 'Noto Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--c-gold);
}

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

.section-footer {
    margin-top: 60px;
    text-align: center;
}

/* ── Project Card ── */
.project-card {
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: transform 0.25s;
}
.project-card:hover { transform: translateY(-4px); }

.project-card__image-wrap {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 554/418;
}
.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.project-card:hover .project-card__img { transform: scale(1.04); }
.project-card__img--placeholder {
    background: var(--c-border);
    width: 100%;
    height: 100%;
}

.project-card__body {
    background: var(--c-cream-btn);
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.project-card__title {
    font-family: var(--font-sub);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    margin: 0;
}
.project-card__title a { color: var(--c-text); }
.project-card__title a:hover { color: var(--c-brown); }

.project-card__specs { display: flex; flex-direction: column; gap: 0; }
.project-card__spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding-bottom: 15px;
    border-bottom: 1px solid #d9d9d9;
    gap: 10px;
}
.project-card__spec-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--c-text);
}
.project-card__spec-label svg { flex-shrink: 0; color: var(--c-text); }
.project-card__spec-value {
    font-size: 1rem;
    font-weight: 400;
    color: var(--c-text);
    white-space: nowrap;
}

.project-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.project-card__price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-shrink: 0;
}
.project-card__price-from {
    font-family: var(--font-sub);
    font-size: 1.125rem;
    font-weight: 600;
    color: #a9a9a9;
}
.project-card__price-value {
    font-family: var(--font-sub);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--c-brown);
}
.project-card__btn {
    background: var(--c-gold);
    color: var(--c-text);
    border: none;
    border-radius: var(--radius-pill);
    padding: 18px 28px;
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 0.7vw, 0.95rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    min-width: 0;
}
.project-card__btn:hover { background: var(--c-gold-hover); }

/* ── Cream pill button (catalog CTA) ── */
.btn--cream-pill {
    background: var(--c-cream-btn);
    color: var(--c-text);
    border: none;
    border-radius: var(--radius-pill);
    padding: 18px 40px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.btn--cream-pill:hover { background: #e8e4d4; }

/* ── About ── */
.about {
    background: var(--c-cream-btn);
    padding-block: 60px;
}
.about__heading {
    font-size: clamp(2.5rem, 4.6vw, 4.125rem);
    line-height: 1;
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 16px;
}
.about__heading-sans {
    font-family: var(--font-sub);
    font-weight: 500;
    color: var(--c-text);
}
.about__heading-serif {
    font-family: 'Noto Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--c-text);
}
.about__inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 100px;
    align-items: start;
}
.about__content {
    display: flex;
    flex-direction: column;
    gap: 47px;
}
.about__subtitle {
    font-family: var(--font-sub);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.2;
    margin: 0;
}
.about__text {
    color: #464646;
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}
.about__text p { margin-bottom: 1em; }
.about__text p:last-child { margin-bottom: 0; }
.about__cta {
    background: var(--c-gold);
    color: var(--c-text);
    border: none;
    border-radius: 50px;
    padding: 0 30px;
    height: 58px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    transition: background 0.2s;
}
.about__cta:hover { background: var(--c-gold-hover); }
.about__images {
    display: flex;
    gap: 30px;
    align-items: stretch;
    flex: 1;
}
.about__img-wrap {
    overflow: hidden;
    flex-shrink: 0;
}
.about__img-wrap--narrow { flex: 350; }
.about__img-wrap--wide   { flex: 465; }
.about__img-wrap img {
    width: 100%;
    height: 491px;
    object-fit: cover;
    display: block;
}

/* ── Video Banner ── */
.video-banner {
    background: linear-gradient(to bottom,var(--c-cream-btn) 50%, var(--c-brown) 50%);
    padding-block: 0;
}
.video-banner__media {
    position: relative;
    height: 600px;
    background: var(--c-dark) center/cover no-repeat;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-banner__media iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.video-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    transition: background 0.3s;
    pointer-events: none;
}
.video-banner__media:hover .video-banner__overlay { background: rgba(0, 0, 0, 0.2); }
.video-banner__play {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    background: rgba(255, 255, 255, 0.1);
    border: 5px solid rgba(255, 255, 255, 0.2);
    border-radius: 500px;
    padding: 20px;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    pointer-events: none;
}
.video-banner__media:hover .video-banner__play {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.08);
}

/* ── Technology ── */
.technology {
    background: var(--c-brown);
    padding-block: 60px;
}
.technology__inner {
    display: grid;
    grid-template-columns: 62fr 38fr;
    gap: 30px;
    align-items: start;
}

/* Left: heading + illustration */
.technology__left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 11px;
}
.technology__heading {
    width: 100%;
    font-size: clamp(2.5rem, 4.6vw, 4.125rem);
    line-height: 1;
    margin: 0;
}
.technology__heading-sans {
    display: block;
    font-family: var(--font-sub);
    font-weight: 500;
    color: var(--c-white);
}
.technology__heading-serif {
    display: block;
    font-family: 'Noto Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--c-gold);
}
.technology__illustration-wrap { width: 100%; }
.technology__illustration {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Right: content */
.technology__right {
    display: flex;
    flex-direction: column;
    gap: 47px;
    padding-top: 8px;
}
.technology__subtitle {
    font-family: var(--font-sub);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--c-white);
    line-height: 1.2;
    margin: 0;
}
.technology__text {
    color: var(--c-white);
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
}
.technology__text p { margin-bottom: 1em; }
.technology__text p:last-child { margin-bottom: 0; }

/* Advantages list */
.tech-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-block: 20px;
}
.tech-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
}
.tech-step__icon {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    background: #966e4f;
    border-radius: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: var(--c-white);
}
.tech-step__icon svg { width: 36px; height: 36px; fill: currentColor; }
.tech-step__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tech-step__title {
    display: block;
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--c-white);
}
.tech-step__text {
    font-size: 1rem;
    color: #c5ae9d;
    line-height: 1.4;
    margin: 0;
}

/* ── Cooperation Scheme ── */
.cooperation {
    background: var(--c-cream-btn);
    padding-block: 60px;
}
.cooperation__heading {
    font-size: clamp(2rem, 3.3vw, 3rem);
    line-height: 1;
    margin-bottom: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 0 14px;
    align-items: baseline;
}
.cooperation__heading-sans {
    font-family: var(--font-sub);
    font-weight: 500;
    color: var(--c-text);
}
.cooperation__heading-serif {
    font-family: 'Noto Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--c-text);
}
.coop-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.coop-step {
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 1px solid var(--c-gold);
    padding-left: 20px;
}
.coop-step__number {
    font-family: var(--font-body);
    font-size: 3.75rem;
    font-weight: 500;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(139, 94, 60, 0.25);
}
.coop-step__title {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--c-text);
    line-height: 1.3;
    margin: 0;
}
.coop-step__desc {
    font-size: 1rem;
    color: #464646;
    line-height: 1.3;
    margin: 0;
}
.cooperation__footer {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}
.cooperation__cta {
    background: var(--c-gold);
    color: var(--c-text);
    border: none;
    border-radius: 50px;
    padding: 0 30px;
    height: 58px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.cooperation__cta:hover { background: var(--c-gold-hover); }

/* ── Team ── */
.team {
    background: var(--c-brown);
    padding-block: 60px;
}
.team__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin-bottom: 60px;
}
.team__heading {
    font-size: clamp(2.5rem, 4.6vw, 4.125rem);
    line-height: 1;
    margin: 0;
}
.team__heading-sans {
    display: block;
    font-family: var(--font-sub);
    font-weight: 500;
    color: var(--c-white);
}
.team__heading-serif {
    display: block;
    font-family: 'Noto Serif', Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--c-gold);
}
.team__text {
    color: var(--c-white);
    font-size: 1rem;
    line-height: 1.3;
}
.team__text p { margin-bottom: 1em; }
.team__text p:last-child { margin-bottom: 0; }
.team__photo-wrap { overflow: hidden; }
.team__photo {
    width: 100%;
    height: 525px;
    object-fit: cover;
    display: block;
}

/* ── FAQ ── */
.faq {
    background: var(--c-brown);
    padding-block: 60px;
}
.faq__heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
    margin-bottom: 60px;
}
.faq__heading-serif {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    color: var(--c-gold);
}
.faq-list { display: flex; flex-direction: column; gap: 20px; }
.faq-item {
    background: rgba(245,242,230,0.1);
    border-radius: 37px;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 30px;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: #fff;
}
.faq-icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(233,228,207,0.2);
    border-radius: 50%;
    transition: transform 0.3s;
}
.faq-icon { display: block; }
.faq-question[aria-expanded="true"] .faq-icon-wrap { transform: rotate(45deg); }
.faq-answer {
    padding: 0 30px 20px;
    color: rgba(255,255,255,0.75);
    line-height: 1.6;
}
.faq-answer[hidden] { display: none; }

/* ── Partnership ── */
#partnership,
#cooperation{
    background: var(--c-brown);
}

.partnership {
    position: relative;
    background: #2a2a2a var(--partner-bg, none) center/cover no-repeat;
    padding-block: 60px;
}
.partnership__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}
.partnership__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 50px;
}
.partnership__heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
}
.partnership__heading-serif {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    color: var(--c-gold);
}
.partnership__body {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.partnership__text {
    width: 350px;
    flex-shrink: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
}
.partnership__checklist { flex: 1; }
.partnership__checklist-title {
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    margin-bottom: 10px;
}
.partnership__items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.partnership__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #fff;
    font-size: 16px;
    line-height: 1.3;
}
.partnership__check { flex-shrink: 0; }
.partnership__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    padding-inline: 30px;
    background: var(--c-gold);
    color: #464646;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 50px;
    transition: opacity 0.2s;
}
.partnership__cta:hover { opacity: 0.88; }

/* ── Modals ── */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal[hidden] { display: none; }
.modal.is-opening { animation: modal-fade-in 0.25s ease forwards; }
.modal.is-closing { animation: modal-fade-in 0.2s ease reverse forwards; pointer-events: none; }

@keyframes modal-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    cursor: pointer;
}
.modal__box {
    position: relative;
    background: var(--c-brown);
    border-radius: 8px;
    padding: 60px;
    width: 100%;
    max-width: 565px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modal-box-in 0.28s ease forwards;
}
@keyframes modal-box-in {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.modal.is-closing .modal__box { animation: modal-box-in 0.2s ease reverse forwards; }

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
}
.modal__close:hover { background: rgba(255,255,255,0.2); color: #fff; }

.modal__heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 44px;
    font-weight: 500;
    color: #fff;
    line-height: 1;
    margin-bottom: 50px;
}
.modal__heading--single { /* heading without serif part */ }
.modal__heading-serif {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    color: var(--c-gold);
}

/* CF7 fields inside modals */
.modal__form .wpcf7-form { display: flex; flex-direction: column; gap: 20px; }

.modal__form .cf7-fields,
.project-form .project-form__form .cf7-fields{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal__form p { margin: 0; }
.modal__form .wpcf7-form-control-wrap { display: block; }
.modal__form input[type="text"],
.modal__form input[type="tel"],
.modal__form input[type="email"] {
    display: block;
    width: 100%;
    padding: 20px;
    background: #fff;
    border: none;
    border-radius: 500px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #464646;
    outline: none;
    transition: box-shadow 0.2s;
}
.modal__form input[type="text"]:focus,
.modal__form input[type="tel"]:focus,
.modal__form input[type="email"]:focus { box-shadow: 0 0 0 2px var(--c-gold); }
.modal__form input::placeholder,
.modal__form textarea::placeholder { color: #a9a9a9; }

.modal__form textarea {
    display: block;
    width: 100%;
    min-height: 180px;
    padding: 20px;
    background: #fff;
    border: none;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #464646;
    resize: vertical;
    outline: none;
    transition: box-shadow 0.2s;
}
.modal__form textarea:focus { box-shadow: 0 0 0 2px var(--c-gold); }

.modal__form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    padding-inline: 30px;
    background: var(--c-gold);
    color: #464646;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.modal__form input[type="submit"]:hover { opacity: 0.88; }

.modal__form .wpcf7-not-valid-tip {
    color: #ffb3b3;
    font-size: 12px;
    padding-left: 20px;
    margin-top: 4px;
}
.modal__form .wpcf7-response-output {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: none;
    margin: 0;
}
.modal__no-form { color: rgba(255,255,255,0.7); font-size: 14px; }

/* Mobile modal adjustments (matches Figma node 77:5477) */
@media (max-width: 600px) {
    .modal__box { padding: 40px 20px; }
    .modal__heading { font-size: 28px; margin-bottom: 30px; }
    .modal__form textarea { min-height: 120px; }
}

/* ── Footer ── */
.site-footer {
    background: #f5f2e6;
    border-top: 1px solid #8b5e3c;
}
.footer-main {
    display: grid;
    grid-template-columns: 350px 1fr 350px;
    gap: 30px;
    padding: 60px 30px;
    align-items: start;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.footer-logo__icon { flex-shrink: 0; }
.footer-logo__text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #8b5e3c;
    letter-spacing: 0.05em;
}
.footer-nav__list,
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}
.footer-nav__list a,
.footer-nav ul a {
    display: flex;
    align-items: center;
    height: 39px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}
.footer-nav__list a:hover,
.footer-nav ul a:hover { color: #8b5e3c; }
.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.footer-contacts__items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.footer-contact-row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.footer-contact-row:hover { opacity: 0.75; }
.footer-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #e9e6d9;
    border-radius: 50px;
    flex-shrink: 0;
}
.footer-contact-text {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    color: #222;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #e9e6d9;
    border-radius: 500px;
    transition: background 0.2s;
}
.footer-social-btn:hover { background: #d9d5c5; }
.footer-bottom { background: #eae7da; }
.footer-bottom__inner {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 20px;
}
.footer-bottom__inner p,
.footer-bottom__inner a {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #222;
    text-decoration: none;
}
.footer-bottom__inner a { text-decoration: underline; transition: opacity 0.2s; }
.footer-bottom__inner a:hover { opacity: 0.65; }

/* ── CTA section (single project) ── */
.section-cta {
    background: var(--c-section-dk);
    text-align: center;
}
.section-cta__title {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--c-white);
    margin-bottom: 8px;
}
.section-cta__sub {
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
}
.cta-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-form__input {
    padding: 13px 20px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    color: var(--c-white);
    font-size: 0.9rem;
    min-width: 200px;
    outline: none;
    transition: border-color 0.2s;
}
.cta-form__input::placeholder { color: rgba(255,255,255,0.4); }
.cta-form__input:focus { border-color: var(--c-gold); }

/* ── Single Project: Breadcrumb ── */
.project-breadcrumb { padding-top: calc(var(--header-h) + 16px); padding-bottom: 16px; }
.project-breadcrumb__inner {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #222;
}
.project-breadcrumb__home,
.project-breadcrumb__crumb {
    background: #e9e6d9;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    color: #222;
    transition: opacity 0.2s;
}
.project-breadcrumb__home { padding: 5px; }
.project-breadcrumb__crumb { padding: 5px 10px; }
.project-breadcrumb__home:hover,
.project-breadcrumb__crumb:hover { opacity: 0.7; }
.project-breadcrumb__sep { color: #222; }
.project-breadcrumb__current { color: #222; }

/* ── Single Project: Hero ── */
.project-hero { padding: 30px 0; }
.project-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 540px;
    gap: 30px;
    align-items: center;
}
.project-gallery { display: flex; flex-direction: column; gap: 10px; }
.project-gallery__main {
    border-radius: 8px;
    overflow: hidden;
    height: 515px;
}
.project-gallery__main-link { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.project-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-gallery__thumbs { display: flex; gap: 10px; }
.gallery-thumb {
    width: 107px;
    flex-shrink: 0;
    height: 79px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s, opacity 0.2s;
    opacity: 0.5;
    padding: 0;
    background: transparent;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-thumb.is-active { border-color: #fff; opacity: 1; }
.gallery-thumb:hover { opacity: 0.85; }

.project-info {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.project-info__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #222;
    line-height: 1;
    margin: 0;
}
.project-info__specs { display: flex; flex-direction: column; gap: 20px; }
.project-info__specs-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #a9a9a9;
    margin: 0;
}
.project-spec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding-bottom: 15px;
    border-bottom: 1px solid #d9d9d9;
}
.project-spec__label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #222;
}
.project-spec__value {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #222;
}

.project-info__bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}
.project-info__price-block {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}
.project-info__price-col { display: flex; flex-direction: column; gap: 10px; }
.project-info__price-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #a9a9a9;
    line-height: 1;
}
.project-info__price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 36px;
    color: #8b5e3c;
    line-height: 1;
}
.project-info__price-note {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #a9a9a9;
    line-height: 1.1;
    max-width: 165px;
    margin: 0;
}
.project-info__price-note::first-letter { color: #8b5e3c; }

.project-info__actions { display: flex; gap: 20px; flex-wrap: wrap; }
.project-info__cta-primary,
.project-info__cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    padding: 0 30px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 150px;
    color: #222;
    transition: opacity 0.2s, background 0.2s;
}
.project-info__cta-primary { background: var(--c-gold); }
.project-info__cta-primary:hover { opacity: 0.88; }
.project-info__cta-secondary {
    background: transparent;
    border: 1px solid #8b5e3c;
}
.project-info__cta-secondary:hover { background: #8b5e3c; color: #fff; }

/* ── Single Project: Tabs ── */
.project-tabs-section { padding: 30px 0; }
.project-tabs-card {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1110px;
    margin: 0 auto;
}
.project-tabs__nav { display: flex; gap: 20px;    justify-content: center; }
.project-tab {
    padding: 15px 30px;
    background: #f5f2e6;
    border: none;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #222;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.project-tab.is-active { background: #8b5e3c; color: #fff; }
.project-tab-panel { display: none; }
.project-tab-panel.is-active { display: block; }
.project-plan-img { width: 100%; height: auto; display: block; }
.project-plan-link { display: block; cursor: zoom-in; }
.project-description {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #464646;
    line-height: 1.3;
    max-width: 1050px;
}
.project-description p { margin: 0 0 1em; }
.project-description p:last-child { margin-bottom: 0; }
.project-description ul,
.project-description ol { margin: 0 0 1em; padding-left: 1.5em; }
.project-description ul { list-style: disc; }
.project-description ol { list-style: decimal; }
.project-description li { margin-bottom: 0.4em; }
.project-description li:last-child { margin-bottom: 0; }

/* ── Single Project: Photo gallery ── */
.project-photos {
    background: #8b5e3c;
    padding: 60px 0 80px;
}
.project-photos__heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 66px;
    color: #fff;
    line-height: 1;
    margin: 0 0 60px;
    display: flex;
    flex-direction: column;
}
.project-photos__heading-serif {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    color: var(--c-gold);
}
.photo-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.photo-grid__item {
    display: block;
    overflow: hidden;
    cursor: zoom-in;
    /* portrait fallback: 4/row */
    flex: 1 0 22%;
}
/* Square / 4:3: 3/row */
.photo-grid__item--square    { flex-basis: 30%; }
/* Landscape wide: 2/row */
.photo-grid__item--landscape { flex-basis: 47%; }

.photo-grid__item {
    position: relative;
    max-height: 500px;
}
.photo-grid__item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}
.photo-grid__item:hover img { transform: scale(1.03); }

/* ── Single Project: Question form ── */
.project-form {
    position: relative;
    background: #2a2a2a var(--project-form-bg, none) center/cover no-repeat;
    padding: 60px 0;
}
.project-form__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.7);
}
.project-form__inner {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 50px;
}
.project-form__heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 48px;
    color: #fff;
    line-height: 1;
    margin: 0;
}
.project-form__heading-serif {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    color: var(--c-gold);
}
.project-form__body {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.project-form__text {
    width: 540px;
    flex-shrink: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.3;
}
.project-form__text p { margin: 0 0 1em; }
.project-form__text p:last-child { margin-bottom: 0; }
.project-form__form { width: 445px; flex-shrink: 0; }
.project-form__no-form { color: rgba(255,255,255,0.7); font-size: 14px; }

.project-form__form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.project-form__form p { margin: 0; }
.project-form__form input[type="text"],
.project-form__form input[type="tel"],
.project-form__form input[type="email"] {
    display: block;
    width: 100%;
    padding: 20px;
    background: #fff;
    border: none;
    border-radius: 500px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #464646;
    outline: none;
    transition: box-shadow 0.2s;
}
.project-form__form textarea {
    display: block;
    width: 100%;
    min-height: 200px;
    padding: 20px;
    background: #fff;
    border: none;
    border-radius: 24px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #464646;
    resize: vertical;
    outline: none;
}
.project-form__form input::placeholder,
.project-form__form textarea::placeholder { color: #a9a9a9; }
.project-form__form input:focus,
.project-form__form textarea:focus { box-shadow: 0 0 0 2px var(--c-gold); }
.project-form__form input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 58px;
    padding: 0 30px;
    background: var(--c-gold);
    color: #464646;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.project-form__form input[type="submit"]:hover { opacity: 0.88; }
.project-form__form .wpcf7-not-valid-tip { color: #ffb3b3; font-size: 12px; padding-left: 20px; margin-top: 4px; }
.project-form__form .wpcf7-response-output {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: none;
    margin: 0;
}

/* ── Single Project: Other projects ── */
.project-related { padding: 60px 0; }
.project-related__heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 66px;
    color: #222;
    line-height: 1;
    margin: 0 0 60px;
}
.project-related__heading-serif {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    color: #222;
}
.project-related__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* ── Archive ── */
.archive-header {
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 40px;
}
.archive-title {
    margin-bottom: 24px;
}
.archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-btn {
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--c-border);
    color: var(--c-text-muted);
    transition: all 0.2s;
}
.filter-btn:hover,
.filter-btn.is-active {
    background: var(--c-brown);
    border-color: var(--c-brown);
    color: var(--c-white);
}

/* ── Responsive: Tablet ── */
@media (max-width: 1400px) {
    .header-contact-text { display: none; }
}

@media (max-width: 1280px) {
    .nav-list a { font-size: 0.9rem; padding: 8px; }
    .header-contact-link { font-size: 0.875rem; }
    .header-lang__btn { font-size: 0.875rem; padding: 8px 12px; }
}

@media (max-width: 1024px) {
    .container { padding-inline: 40px; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .about__inner { grid-template-columns: 1fr; gap: 48px; }
    .about__images { max-width: 100%; }
    .about__img-wrap img { height: 320px; }
    .technology__inner { grid-template-columns: 1fr; }
    .technology__left { align-items: flex-start; }
    .technology__illustration { max-width: 500px; }
    .coop-steps { grid-template-columns: repeat(2, 1fr); }
    .team__top { grid-template-columns: 1fr; gap: 32px; }
    .faq__inner { grid-template-columns: 1fr; gap: 36px; }
    .project-hero__inner { grid-template-columns: 1fr; }
    .project-form__body { flex-direction: column; }
    .project-form__text,
    .project-form__form { width: 100%; }
    .project-photos__heading,
    .project-related__heading { font-size: 48px; }
    .photo-grid__item            { flex-basis: 47%; }
    .photo-grid__item--landscape { flex-basis: 100%; }
    .project-related__grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-contacts { gap: 30px; }
}

/* ── Responsive: Mobile ── */
@media (max-width: 768px) {
    .container { padding-inline: 20px; }
    .section { padding-block: 60px; }
    .container-fluid{
        padding-inline: 20px;
    }


    /* Header mobile */
    .header-mobile-actions { display: flex; }
    .header-right,
    .primary-nav { display: none; }

    .projects-grid { grid-template-columns: 1fr; }
    .about__images { flex-direction: column; }
    .about__img-wrap img { height: 260px; }
    .technology__inner { gap: 48px; }
    .tech-step { padding: 16px; }
    .coop-steps { grid-template-columns: 1fr; }
    .team__photo { height: 320px; }
    .photo-grid__item,
    .photo-grid__item--landscape { flex-basis: 100%; }
    .project-gallery__thumbs { gap: 8px; }
    .project-gallery__main { height: 203px; }
    .gallery-thumb { width: 87px; height: 64px; }
    .project-info { padding: 20px; gap: 20px; }
    .project-info__title { font-size: 32px; }
    .project-info__specs { gap: 15px; }
    .project-spec { padding-bottom: 10px; }
    .project-spec__label span,
    .project-spec__value { font-size: 14px; }
    .project-info__price { font-size: 28px; }
    .project-info__price-block { flex-direction: column; gap: 15px; align-items: flex-start; }
    .project-info__price-note { max-width: 100%; }
    .project-info__actions { flex-direction: column; align-items: stretch; }
    .project-info__cta-primary,
    .project-info__cta-secondary { width: 100%; }
    .project-tabs-card { padding: 20px; }
    .container-fluid.project-hero__inner,
    .container-fluid.project-breadcrumb__inner { padding-inline: 20px; }
    .project-form__heading,
    .project-photos__heading,
    .project-related__heading { font-size: 32px; }
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .footer-brand { grid-column: auto; }
    .footer-contact-text { font-size: 16px; }
    .footer-bottom__inner { flex-direction: column; gap: 8px; padding: 16px 0; text-align: center; align-items: flex-start; }
    .section-header { flex-direction: column; align-items: flex-start; }
    .hero__actions { flex-direction: column;        align-self: normal; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .btn--hero-gold,
    .btn--hero-cream { padding: 16px 28px; font-size: 0.95rem; }
    .btn--cream-pill { width: 100%; padding: 16px 24px; font-size: 0.9rem; }
    .project-card__footer { flex-direction: column; align-items: stretch; gap: 12px; }
    .project-card__btn { width: 100%; }
    .hero-stats { flex-wrap: wrap; }
    .hero-stat { flex: 1 1 calc(50% - 1px); border-bottom: 1px solid var(--c-border); }
    .hero-stat:nth-child(2n) { border-right: none; }
    .project-tab{
        font-size: 14px;
    }
}

/* ── Mobile menu panel ── */
.mobile-menu {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 51px;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    animation: mobileMenuIn 0.2s ease;
}
.mobile-menu[hidden] { display: none; }

@keyframes mobileMenuIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mobile-menu__list li {
    border-bottom: 1px solid #e9e6d9;
}
.mobile-menu__list a {
    display: block;
    text-align: right;
    font-size: 20px;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--c-text);
    padding: 10px;
    line-height: normal;
    transition: color 0.2s;
}
.mobile-menu__list a:hover { color: var(--c-brown); }

.mobile-menu__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}
.mobile-menu__contact-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-direction: row-reverse;
    padding: 10px;
    min-height: 58px;
    font-size: 20px;
    font-weight: 500;
    color: var(--c-text);
    transition: color 0.2s;
}
.mobile-menu__contact-row:hover { color: var(--c-brown); }
.mobile-menu__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #e9e6d9;
    border-radius: 50px;
    flex-shrink: 0;
}

.mobile-menu__socials {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}
.mobile-menu__social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #e9e6d9;
    border-radius: 50%;
    transition: background 0.2s;
}
.mobile-menu__social:hover { background: var(--c-border); }
