/* === Self-hosted Raleway === */
/* cyrillic-ext */
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-cyrillic-ext-italic.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-cyrillic-italic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-vietnamese-italic.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-latin-ext-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-latin-italic.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-cyrillic-ext-normal.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-cyrillic-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-vietnamese-normal.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-latin-ext-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/static/fonts/raleway-latin-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* === End Raleway === */

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

body {
    font-family: 'Raleway', sans-serif; font-weight: 200;
    color: #1a1a1a;
    overflow-x: hidden;
}

html {
    scroll-snap-type: none;
}

/* ═══════════════ Page Transition ═══════════════ */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.page-transition .tr-panel {
    position: absolute;
    inset: 0;
    background: #e8d5c4;
    transform: translateY(100%);
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.page-transition .tr-logo {
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(6px);
    will-change: opacity, transform;
    transition: opacity 0.18s ease 0.1s, transform 0.18s ease 0.1s;
}
.page-transition .tr-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) sepia(1) saturate(.4) hue-rotate(-10deg);
}

/* Enter: panel slides UP covering the screen */
.page-transition.entering {
    pointer-events: all;
}
.page-transition.entering .tr-panel {
    transform: translateY(0);
}
.page-transition.entering .tr-logo {
    opacity: 1;
    transform: translateY(0);
}

/* Leave: panel is up, fade out to reveal page */
.page-transition.leaving .tr-panel {
    transform: translateY(0);
    transition: none;
}
.page-transition.leaving .tr-logo {
    opacity: 1;
    transform: translateY(0);
    transition: none;
}
.page-transition.leaving.go {
    opacity: 0;
    transition: opacity 0.2s ease;
}
.page-transition.leaving.go .tr-logo {
    opacity: 0;
    transition: opacity 0.1s ease;
}

@media (max-width: 1024px) {
    .page-transition {
        display: none !important;
    }
}

/* ---------- Header ---------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transition: transform .4s;
}

.topbar {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto;
    align-items: center;
    padding: .45rem 3rem;
    background: rgba(26, 26, 26, .92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: margin-top .4s ease, background .35s ease;
    overflow: hidden;
}

.header.topbar-hidden .topbar {
    margin-top: -2.5rem;
}

.topbar-left {
    display: flex;
    gap: 1.5rem;
}

.topbar-left a {
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, .5);
    transition: color .3s;
}

.topbar-left a:hover {
    color: #fff;
}

/* Search button in topbar */
.topbar-search-btn {
    background: none; border: none; cursor: pointer; padding: 0;
    color: rgba(255, 255, 255, .5); transition: color .3s;
    display: flex; align-items: center;
}
.topbar-search-btn:hover { color: #fff; }

/* ── Search overlay ── */
.search-overlay {
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(26, 26, 26, .96);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    display: flex; flex-direction: column; align-items: center;
    padding-top: 18vh;
    opacity: 0; visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__bar {
    display: flex; align-items: center; gap: 1rem;
    width: min(700px, 88vw);
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding-bottom: .75rem;
}
.search-overlay__icon { color: rgba(255,255,255,.4); flex-shrink: 0; }
.search-overlay__input {
    flex: 1; background: none; border: none; outline: none;
    font-size: 1.8rem; font-weight: 300; letter-spacing: .04em;
    color: #fff; font-family: 'Raleway', sans-serif;
}
.search-overlay__input::placeholder { color: rgba(255,255,255,.3); }
.search-overlay__close {
    background: none; border: none; cursor: pointer;
    font-size: 2rem; line-height: 1; color: rgba(255,255,255,.4);
    transition: color .2s;
}
.search-overlay__close:hover { color: #fff; }
.search-overlay__results {
    width: min(700px, 88vw);
    margin-top: 2rem;
    max-height: 50vh; overflow-y: auto;
    display: flex; flex-direction: column; gap: .25rem;
}
.search-result {
    display: flex; align-items: center; gap: 1rem;
    padding: .75rem 1rem; border-radius: 8px;
    text-decoration: none; color: #fff;
    transition: background .2s;
}
.search-result:hover { background: rgba(255,255,255,.08); }
.search-result__img {
    width: 64px; height: 48px; object-fit: cover;
    border-radius: 4px; flex-shrink: 0; background: rgba(255,255,255,.05);
}
.search-result__info { display: flex; flex-direction: column; gap: .15rem; }
.search-result__name {
    font-size: .95rem; font-weight: 400; letter-spacing: .03em;
}
.search-result__cat {
    font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
    color: rgba(255,255,255,.4);
}
.search-empty {
    text-align: center; color: rgba(255,255,255,.3);
    font-size: .9rem; margin-top: 2rem; letter-spacing: .05em;
}
@media (max-width: 768px) {
    .search-overlay { padding-top: 10vh; }
    .search-overlay__input { font-size: 1.2rem; }
    .search-result__img { width: 48px; height: 36px; }
}

.topbar-lang {
    font-size: .6rem;
    letter-spacing: .06em;
    text-decoration: none;
    color: rgba(255, 255, 255, .4);
    padding: .2rem .4rem;
    transition: color .3s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
}

.topbar-lang:hover {
    color: #fff;
}

.topbar-lang.active {
    color: #fff;
}

.topbar-right {
    display: flex;
    gap: .15rem;
    align-items: center;
}

.topbar-phone,
.topbar-phone:link,
.topbar-phone:visited,
.topbar-phone:active {
    position: relative;
    font-size: .65rem;
    letter-spacing: .06em;
    text-decoration: none !important;
    color: #fff !important;
    padding: .2rem 1.2rem .2rem .55rem;
    margin-right: .7rem;
    transition: opacity .3s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    -webkit-tap-highlight-color: transparent;
}

.topbar-phone::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: rgba(255, 255, 255, .4);
    pointer-events: none;
}

.topbar-phone:hover {
    opacity: .85;
}

/* ── Nav links in topbar ── */
.topbar-nav {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}
.topbar-nav--left { justify-content: flex-end; }
.topbar-nav--right { justify-content: flex-start; }
.topbar-center { text-align: center; }
.topbar-nav a {
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, .55);
    transition: color .3s;
}
.topbar-nav a:hover,
.topbar-nav a.nav-active {
    color: #fff;
}

/* ── Main bar ── */

.mainbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: .9rem 3rem;
    background: rgba(20, 20, 20, .95);
    backdrop-filter: blur(10px);
    transition: background .35s ease;
}

/* Brighten header when dropdown open */
.header.dropdown-open .topbar {
    background: rgba(26, 26, 26, 1);
}
.header.dropdown-open .mainbar {
    background: rgba(20, 20, 20, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* ── Header dropdown (shared for catalog groups + despre noi) ── */
.header-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    background: rgba(20, 20, 20, .88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: max-height .35s ease, opacity .3s ease;
    opacity: 0;
}
.header-dropdown.show {
    max-height: 300px;
    pointer-events: auto;
    opacity: 1;
}

/* Overlay behind dropdown */
.header-dropdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background .35s ease;
}
.header-dropdown-overlay.show {
    background: rgba(0, 0, 0, .4);
    pointer-events: auto;
}

/* Dropdown panels */
.hd-panel {
    display: none;
    gap: .5rem 2.5rem;
    padding: 1.4rem 3rem;
    flex-wrap: wrap;
}
.hd-panel.active {
    display: flex;
}
.hd-link {
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, .6);
    padding: .55rem 0;
    transition: color .25s;
    white-space: nowrap;
}
.hd-link:hover {
    color: #fff;
}

/* Despre panel: replaces mainbar nav, logo stays */
.header.despre-open .mainbar .header-nav {
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.header.despre-open .mainbar {
    z-index: 101;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    pointer-events: none;
}
.header.despre-open .mainbar .header-logo {
    pointer-events: auto;
}
.header.despre-open .header-dropdown {
    top: auto;
    bottom: 0;
    max-height: var(--mainbar-h, 60px);
    height: var(--mainbar-h, 60px);
    opacity: 1;
    pointer-events: auto;
    display: flex;
    align-items: center;
    transition: max-height .35s ease, opacity .3s ease;
}
.header.despre-open .hd-panel[data-panel="despre"],
.header.despre-open .hd-panel[data-panel="colaborari"] {
    gap: .5rem 2rem;
    padding: 0 3rem;
}

/* Topbar despre trigger */
.topbar-despre-trigger {
    font-size: .6rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, .55);
    transition: color .3s;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .3);
}
.topbar-despre-trigger:hover,
.header.dropdown-open .topbar-despre-trigger {
    color: #fff;
}

/* Mainbar dropdown trigger underline hint */
.header-nav a[data-dropdown] {
    position: relative;
}
.header-nav a[data-dropdown]::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,.35);
    transform: scaleX(0);
    transition: transform .25s ease;
}
.header.dropdown-open .header-nav a[data-dropdown]:hover::after {
    transform: scaleX(1);
}

.header-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-catalog-wrap {
    display: contents;
}

.header-nav--left {
    justify-self: start;
}

.header-nav--right {
    justify-self: end;
}

.header-nav a {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    color: rgba(255, 255, 255, .7);
    transition: color .3s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 10px rgba(0, 0, 0, .35);
}

.header-nav a:hover {
    color: #fff;
}

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

.header-logo img {
    height: 2.8rem;
    width: auto;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .12));
}

/* ---------- Language switcher ---------- */
/* (now in topbar, keeping dropdown removed) */

/* ---------- Общее для секций ---------- */

.section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: none;
}

/* ---------- Hero ---------- */

.section--hero {
    height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-poster {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    transition: opacity .8s ease;
    z-index: 0;
}

.hero-video.is-ready {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* Hero text positions */
.hero-pos-top-left .hero-content { align-items: flex-start; text-align: left; }
.hero-pos-top-center .hero-content { align-items: center; text-align: center; }
.hero-pos-top-right .hero-content { align-items: flex-end; text-align: right; }
.hero-pos-center-left .hero-content { align-items: flex-start; text-align: left; }
.hero-pos-center .hero-content { align-items: center; text-align: center; }
.hero-pos-center-right .hero-content { align-items: flex-end; text-align: right; }
.hero-pos-bottom-left .hero-content { align-items: flex-start; text-align: left; }
.hero-pos-bottom-center .hero-content { align-items: center; text-align: center; }
.hero-pos-bottom-right .hero-content { align-items: flex-end; text-align: right; }

.hero-pos-top-left, .hero-pos-top-center, .hero-pos-top-right {
    justify-content: flex-start; padding-top: 10rem;
}
.hero-pos-center-left, .hero-pos-center, .hero-pos-center-right {
    justify-content: center;
}
.hero-pos-bottom-left, .hero-pos-bottom-center, .hero-pos-bottom-right {
    justify-content: flex-end; padding-bottom: 8rem;
}
.hero-pos-top-left .hero-content, .hero-pos-center-left .hero-content, .hero-pos-bottom-left .hero-content {
    padding-left: 5rem; padding-right: 0;
}
.hero-pos-top-right .hero-content, .hero-pos-center-right .hero-content, .hero-pos-bottom-right .hero-content {
    padding-right: 5rem; padding-left: 0;
}

@media (max-width: 768px) {
    .hero-pos-top-left, .hero-pos-top-center, .hero-pos-top-right { padding-top: 6rem; }
    .hero-pos-bottom-left, .hero-pos-bottom-center, .hero-pos-bottom-right { padding-bottom: 5rem; }
    .hero-pos-top-left .hero-content, .hero-pos-center-left .hero-content, .hero-pos-bottom-left .hero-content { padding-left: 2rem; }
    .hero-pos-top-right .hero-content, .hero-pos-center-right .hero-content, .hero-pos-bottom-right .hero-content { padding-right: 2rem; }
}

/* Inner pages: hero title → bottom-right, refined */
.page-about .section--hero,
.page-inner .section--hero {
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0;
}
.page-about .section--hero .hero-content,
.page-inner .section--hero .hero-content {
    align-items: flex-end;
    text-align: right;
    padding: 3rem 5rem 4rem;
    max-width: 600px;
    gap: .6rem;
}
.page-about .section--hero .hero-content h1,
.page-inner .section--hero .hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    letter-spacing: .12em;
    line-height: 1.15;
}
.page-about .section--hero .hero-content p,
.page-inner .section--hero .hero-content p {
    font-size: clamp(.85rem, 1.5vw, 1.05rem);
    max-width: 400px;
}
.section--hero .hero-content p {
    font-size: clamp(.85rem, 1.4vw, 1rem);
    font-weight: 300;
    line-height: 1.65;
    letter-spacing: .01em;
    margin: 0;
    opacity: .9;
    max-width: 520px;
}
@media (max-width: 768px) {
    .section--hero .hero-content p {
        font-size: .88rem;
        line-height: 1.6;
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    /* Inner hero (about/news/etc): align bottom-left on mobile so chat button doesn't crop the title */
    .page-about .section--hero,
    .page-inner .section--hero {
        justify-content: flex-end;
        align-items: flex-start;
    }
    .page-about .section--hero .hero-content,
    .page-inner .section--hero .hero-content {
        align-items: flex-start;
        text-align: left;
        padding: 1.5rem 1.25rem 4rem;
        max-width: 100%;
        width: 100%;
    }
    .page-about .section--hero .hero-content h1,
    .page-inner .section--hero .hero-content h1 {
        font-size: clamp(1.4rem, 6.5vw, 2.2rem);
        letter-spacing: .08em;
    }
}

.hero-content h1 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    letter-spacing: .15em;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    opacity: .85;
    max-width: 500px;
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
    opacity: .7;
    transition: opacity .3s;
}

.scroll-hint:hover {
    opacity: 1;
}

.scroll-dot {
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0%   { cy: 12; opacity: 1; }
    50%  { cy: 28; opacity: .3; }
    100% { cy: 12; opacity: 1; }
}

/* ---------- Текстовые блоки ---------- */

.section--text {
    min-height: 50vh;
    padding: 5.5rem 2rem;
    background: #f5f0eb;
}

.section--text-dark {
    background: #1a1a1a;
    color: #f5f0eb;
}

.section--white {
    background: #fff !important;
}

/* ── Universal dark background ── */
.section--dark {
    background: #1a1a1a !important;
    color: #f5f0eb;
}
.section--dark .gallery-title {
    color: #f5f0eb;
}
.section--dark .label {
    color: #f5f0eb;
}

.text-inner {
    max-width: 1000px;
    padding: 3rem 2rem;
    text-align: center;
}

.label {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    opacity: .65;
    margin-bottom: 1.5rem;
}

.text-inner h2 {
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 300;
    line-height: 1.5;
}

/* ── Two-column text section ── */
.section--text2col {
    padding: 7rem 2rem 7rem;
    background: #f5f0eb;
}

.text2col-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

.text2col-col {
    flex: 1;
    padding: 3rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.text2col-divider {
    width: 1px;
    background: rgba(90, 62, 41, 0.25);
    flex-shrink: 0;
    margin: 2rem 0;
}

.text2col-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.text2col-body {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
}

@media (max-width: 768px) {
    .text2col-inner {
        flex-direction: column;
    }
    .text2col-divider {
        width: auto;
        height: 1px;
        margin: 0 2rem;
    }
    .text2col-col {
        padding: 2.5rem 2rem;
    }
}

/* ---------- Quote block ---------- */
.section--quote .text-inner {
    max-width: 860px;
}
.section--quote .split-text {
    height: auto;
}
.section--quote.section--split {
    height: auto;
    max-height: none;
}
.quote-block {
    position: relative;
    margin: 0;
    padding: 0;
}
.quote-mark {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1;
    color: #8b7355;
    opacity: .4;
    user-select: none;
}
.quote-block .quote-mark {
    display: block;
    margin-bottom: .3rem;
}
.quote-text {
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 300;
    line-height: 1.8;
    font-style: italic;
    margin: 0;
    padding: 0 .5rem;
}
.quote-footer {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1.5rem;
}
.quote-author {
    text-align: right;
    font-size: .9rem;
    font-weight: 400;
    letter-spacing: .04em;
    color: #8b7355;
    white-space: pre-line;
    line-height: 1.5;
}
.quote-footer .quote-mark--close {
    flex-shrink: 0;
    line-height: .7;
}
.section--dark .quote-author {
    color: #c4a882;
}
.section--dark .quote-mark {
    color: #c4a882;
}

.cta {
    display: inline-block;
    margin-top: 2rem;
    padding: .9rem 2.5rem;
    border: 1px solid currentColor;
    text-decoration: none;
    color: inherit;
    font-size: .85rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: background .3s, color .3s;
}

.cta:hover {
    background: #1a1a1a;
    color: #f5f0eb;
}

/* ---------- Картинки ---------- */

.section--image {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- Split (photo + text) ---------- */
.section--split {
    display: flex;
    align-items: stretch;
    height: 70vh;
    max-height: 700px;
    padding: 0;
    overflow: visible;
}
.split-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 4rem;
}
.split-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    letter-spacing: .06em;
    margin-bottom: 1.5rem;
}
.split-body {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.7;
    opacity: .85;
    max-width: 520px;
}
.split-image {
    flex: 1;
    overflow: hidden;
}
.split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.split--reversed {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .section--split {
        flex-direction: column;
        min-height: auto;
    }
    .split--reversed {
        flex-direction: column;
    }
    .split-text {
        padding: 3rem 2rem;
    }
    .split-image {
        height: auto;
        min-height: 0;
    }
    .split-image img {
        height: auto;
        max-height: 100vh;
        object-fit: contain;
    }
}

.section--video {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none;
}

.video-embed-yt {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.78vh;
    border: none;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(0, 0, 0, .08) 0%, rgba(0, 0, 0, .18) 45%, rgba(0, 0, 0, .28) 100%);
}

.video-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-align: center;
}

.video-content h2 {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 300;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-shadow: 0 3px 14px rgba(0, 0, 0, .34), 0 14px 40px rgba(0, 0, 0, .24), 0 0 65px rgba(0, 0, 0, .16);
}

.video-content p {
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 300;
    line-height: 1.6;
    max-width: 40rem;
    opacity: .95;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .34), 0 10px 28px rgba(0, 0, 0, .22), 0 0 50px rgba(0, 0, 0, .16);
}

.video-pos-top-left .video-content { align-items: flex-start; text-align: left; }
.video-pos-top-center .video-content { align-items: center; text-align: center; }
.video-pos-top-right .video-content { align-items: flex-end; text-align: right; }
.video-pos-center-left .video-content { align-items: flex-start; text-align: left; }
.video-pos-center .video-content { align-items: center; text-align: center; }
.video-pos-center-right .video-content { align-items: flex-end; text-align: right; }
.video-pos-bottom-left .video-content { align-items: flex-start; text-align: left; }
.video-pos-bottom-center .video-content { align-items: center; text-align: center; }
.video-pos-bottom-right .video-content { align-items: flex-end; text-align: right; }

.video-pos-top-left, .video-pos-top-center, .video-pos-top-right {
    justify-content: flex-start;
    padding-top: 10rem;
}

.video-pos-center-left, .video-pos-center, .video-pos-center-right {
    justify-content: center;
}

.video-pos-bottom-left, .video-pos-bottom-center, .video-pos-bottom-right {
    justify-content: flex-end;
    padding-bottom: 8rem;
}

.video-pos-top-left .video-content, .video-pos-center-left .video-content, .video-pos-bottom-left .video-content {
    padding-left: 5rem;
    padding-right: 0;
}

.video-pos-top-right .video-content, .video-pos-center-right .video-content, .video-pos-bottom-right .video-content {
    padding-right: 5rem;
    padding-left: 0;
}

/* ---------- Gallery ---------- */

.section--gallery {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 10px;
    padding-top: 110px;
    box-sizing: border-box;
    background: #f5f0eb;
    overflow: hidden;
    height: 100vh;
}
.section--gallery:not(:has(.gallery-title)) {
    padding-top: 10px;
}
.section--photo-carousel:not(:has(.gallery-title)) {
    padding-top: 0;
}
.gallery-title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #1a1a1a;
    text-align: center;
    padding: 1.2rem 0 .8rem;
    flex-shrink: 0;
}

.gallery-grid {
    display: grid;
    gap: 4px;
    width: 100%;
    flex: 1;
    min-height: 0;
}

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

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

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

/* ── Small A: big left + 2 stacked right ── */
.gallery-grid--small-a { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-grid--small-a .gallery-item:nth-child(1) { grid-row: 1 / 3; }

/* ── Small B: 2 stacked left + big right ── */
.gallery-grid--small-b { grid-template-columns: 1fr 2fr; grid-template-rows: 1fr 1fr; }
.gallery-grid--small-b .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.gallery-grid--small-b .gallery-item:nth-child(2) { grid-column: 1; grid-row: 2; }
.gallery-grid--small-b .gallery-item:nth-child(3) { grid-column: 2; grid-row: 1 / 3; }

/* ── Small C: 3 equal columns ── */
.gallery-grid--small-c { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr; }

/* ── Medium A: big(2/3) top-left + small top-right + small bottom-left + big(2/3) bottom-right ── */
.gallery-grid--medium-a { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }

/* ── Medium B: 2x2 equal ── */
.gallery-grid--medium-b { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }

/* ── Medium C: big top-left(2/3) + small top-right + 2 equal bottom ── */
.gallery-grid--medium-c { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-grid--medium-c .gallery-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
.gallery-grid--medium-c .gallery-item:nth-child(2) { grid-column: 3; grid-row: 1; }
.gallery-grid--medium-c .gallery-item:nth-child(3) { grid-column: 1 / 2; grid-row: 2; }
.gallery-grid--medium-c .gallery-item:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }

/* ── Large A: 2 top + 3 bottom ── */
.gallery-grid--large-a { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-grid--large-a .gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1; }
.gallery-grid--large-a .gallery-item:nth-child(2) { grid-column: 2 / 4; grid-row: 1; }

/* ── Large B: 3 top + 2 bottom ── */
.gallery-grid--large-b { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-grid--large-b .gallery-item:nth-child(4) { grid-column: 1 / 2; grid-row: 2; }
.gallery-grid--large-b .gallery-item:nth-child(5) { grid-column: 2 / 4; grid-row: 2; }

/* ── Large C: 1 big left + 4 small right (2x2) ── */
.gallery-grid--large-c { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; }
.gallery-grid--large-c .gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 3; }

/* ── Large D: 3x2 equal grid (6 photos) ── */
.gallery-grid--large-d { grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr; }

@media (max-width: 600px) {
    .gallery-grid { grid-template-columns: 1fr !important; }
    .gallery-grid .gallery-item { grid-column: 1 !important; grid-row: auto !important; }
    .section--gallery.gallery-small,
    .section--gallery.gallery-medium,
    .section--gallery.gallery-large { height: auto; min-height: 0; }
}

/* ---------- Lightbox ---------- */

.lightbox {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .92);
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s cubic-bezier(.2,.7,.2,1), visibility 0s linear .3s;
}

.lightbox.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .3s cubic-bezier(.2,.7,.2,1), visibility 0s;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0;
    transform: scale(.94);
    filter: blur(8px);
    transition: opacity .4s cubic-bezier(.2,.7,.2,1), transform .45s cubic-bezier(.2,.7,.2,1), filter .35s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform, filter;
}
.lightbox.active .lightbox-img {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}
.lightbox-img.is-out-next {
    opacity: 0 !important;
    transform: translateX(-40px) scale(.97) !important;
    filter: blur(8px) !important;
}
.lightbox-img.is-out-prev {
    opacity: 0 !important;
    transform: translateX(40px) scale(.97) !important;
    filter: blur(8px) !important;
}
.lightbox-img.is-in-next {
    opacity: 0 !important;
    transform: translateX(40px) scale(.97) !important;
    filter: blur(8px) !important;
    transition: none !important;
}
.lightbox-img.is-in-prev {
    opacity: 0 !important;
    transform: translateX(-40px) scale(.97) !important;
    filter: blur(8px) !important;
    transition: none !important;
}

.lightbox-close {
    position: absolute;
    top: 1rem; right: 1.5rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.lightbox-arrow:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .35);
}
.lightbox-arrow:active { transform: translateY(-50%) scale(.94); }
.lightbox-arrow svg { display: block; }

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 768px) {
    .lightbox-arrow { width: 44px; height: 44px; }
    .lightbox-arrow svg { width: 24px; height: 24px; }
    .lightbox-prev { left: .6rem; }
    .lightbox-next { right: .6rem; }
}

.lightbox-close:hover { opacity: .7; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(26, 26, 26, .92);
    backdrop-filter: blur(8px);
    transform: translateY(100%);
    transition: transform .5s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hiding {
    transform: translateY(100%);
}

.cookie-text {
    font-size: .8rem;
    color: rgba(255, 255, 255, .8);
    letter-spacing: .03em;
}

.cookie-buttons {
    display: flex;
    gap: .6rem;
    flex-shrink: 0;
}

.cookie-btn {
    flex-shrink: 0;
    padding: .55rem 1.8rem;
    border: 1px solid rgba(255, 255, 255, .4);
    background: transparent;
    color: #fff;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s, border-color .3s;
}

.cookie-btn:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
}

.cookie-btn--decline {
    border-color: rgba(255, 255, 255, .2);
    color: rgba(255, 255, 255, .5);
}

.cookie-btn--decline:hover {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

/* ---------- Анимация появления ---------- */

.section--text .text-inner,
.section--image,
.section--video,
.section--gallery .gallery-grid,
.section--form .form-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

.section--text.visible .text-inner,
.section--image.visible,
.section--video.visible,
.section--gallery.visible .gallery-grid,
.section--form.visible .form-inner {
    opacity: 1;
    transform: translateY(0);
}

.section--split .split-text,
.section--split .split-image {
    opacity: 0;
    transition: opacity .8s ease;
}
.section--split.visible .split-text,
.section--split.visible .split-image {
    opacity: 1;
}

.section--text2col .text2col-inner {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.section--text2col.visible .text2col-inner {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- About page ---------- */

.page-about .section--text {
    height: 100vh;
    min-height: 500px;
    padding-top: 5rem;
}

.page-about .text-inner {
    max-width: 900px;
}

.page-about .text-inner h2 {
    font-size: clamp(.95rem, 1.6vw, 1.15rem);
    line-height: 1.8;
    font-weight: 300;
}

.page-about .label {
    margin-bottom: 2rem;
}

/* ---------- Video page ---------- */

.page-video,
html:has(.page-video) {
    overflow: auto;
    height: auto;
}

.header--static {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.nav-active {
    color: #fff !important;
}

.video-page {
    background: #fff;
    min-height: 100vh;
    padding: 3rem 5rem 5rem;
}

.video-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 2rem;
}

/* Video filter bar */
.video-filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto 3rem;
    flex-wrap: wrap;
}
.video-categories {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
}
.video-cat-btn {
    padding: .45rem 1.2rem;
    border: 1px solid #ccc;
    background: transparent;
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .25s;
    color: #555;
}
.video-cat-btn.active,
.video-cat-btn:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}
.video-search-wrap {
    flex-shrink: 0;
    position: relative;
}
.video-search-wrap::after {
    content: '';
    position: absolute;
    right: .75rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='M14 14l-3.5-3.5'/%3E%3C/svg%3E") no-repeat center;
    pointer-events: none;
}
.video-search {
    padding: .5rem 2.2rem .5rem 1rem;
    border: 1px solid #ccc;
    font-size: .85rem;
    width: 220px;
    transition: border-color .2s;
    letter-spacing: .04em;
}
.video-search:focus {
    outline: none;
    border-color: #1a1a1a;
}

.video-subheading {
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #999;
    max-width: 1400px;
    margin: 0 auto 1.5rem;
}

/* Featured carousel (coverflow) */
.video-carousel-section {
    max-width: 100%;
    margin: 0 auto 1rem;
    overflow: hidden;
}
.video-carousel {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
    height: 380px;
    cursor: grab;
}
.carousel-slide {
    position: absolute;
    top: 0;
    transition: all .55s cubic-bezier(.25,.8,.25,1);
    cursor: pointer;
}
.carousel-slide-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #111;
}
.carousel-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.carousel-slide-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    transition: opacity .5s;
}
.carousel-slide--active .carousel-slide-overlay {
    display: none;
}
.carousel-slide .video-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    opacity: 0;
    transition: opacity .3s;
}
.carousel-slide--active .video-play {
    opacity: 1;
}
.carousel-slide .video-play svg {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

/* Slide positions */
.carousel-slide--active {
    left: 50%;
    transform: translateX(-50%) scale(1.04);
    width: 55%;
    z-index: 10;
}
.carousel-slide--active .carousel-slide-img {
    box-shadow: 0 8px 40px rgba(0,0,0,.35), 0 2px 12px rgba(0,0,0,.18);
}
.carousel-slide--prev {
    left: 0;
    transform: translateX(-35%) scale(.92);
    width: 38%;
    z-index: 2;
}
.carousel-slide--next {
    right: 0;
    left: auto;
    transform: translateX(35%) scale(.92);
    width: 38%;
    z-index: 2;
}
.carousel-slide--hidden {
    left: 50%;
    transform: translateX(-50%) scale(.8);
    width: 38%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

/* Slide number */
.carousel-slide-num {
    position: absolute;
    bottom: 1rem;
    font-family: 'Raleway', sans-serif;
    font-size: 6rem;
    font-weight: 300;
    color: rgba(255,255,255,.25);
    line-height: 1;
    pointer-events: none;
}
.carousel-slide--prev .carousel-slide-num {
    right: 1.5rem;
}
.carousel-slide--next .carousel-slide-num {
    left: 1.5rem;
}

/* Active slide title */
.carousel-slide-title {
    margin: .8rem 0 0;
    font-size: .9rem;
    font-weight: 400;
    color: #333;
    letter-spacing: .02em;
    text-align: center;
    transition: opacity .4s;
}
.carousel-slide:not(.carousel-slide--active) .carousel-slide-title {
    opacity: 0;
    position: absolute;
    pointer-events: none;
}

.video-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    max-width: 1400px;
    margin: 3rem auto;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.video-card {
    cursor: pointer;
}

.video-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f0f0f0;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

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

.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .15);
    opacity: 0;
    transition: opacity .3s ease;
}

.video-card:hover .video-play {
    opacity: 1;
}

.video-title {
    color: #1a1a1a;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: .04em;
    margin-top: .8rem;
    line-height: 1.4;
}

/* ── Lightbox ── */

.video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 300;
    background: rgba(0, 0, 0, .92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}

.video-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-wrap {
    width: 80vw;
    max-width: 1100px;
    aspect-ratio: 16/9;
}

.lightbox-wrap iframe {
    width: 100%;
    height: 100%;
}

.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    opacity: .6;
    transition: opacity .3s;
}

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

@media (max-width: 1024px) {
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .video-carousel { height: 400px; }
    .carousel-slide--active { width: 60%; }
    .carousel-slide--prev, .carousel-slide--next { width: 35%; }
    .carousel-arrow { width: 36px; height: 36px; }
    .video-page { padding: 2rem; }
    .video-heading { margin-bottom: 2rem; }
}

@media (max-width: 600px) {
    .video-grid { grid-template-columns: 1fr; }
    .video-carousel { height: 280px; }
    .carousel-slide--active { width: 70%; }
    .carousel-slide--prev, .carousel-slide--next { width: 30%; }
    .carousel-slide-num { font-size: 3rem; }
    .carousel-arrow--left { margin-right: .5rem; }
    .carousel-arrow--right { margin-left: .5rem; }
    .video-page { padding: 1.5rem 1rem; }
    .lightbox-wrap { width: 95vw; }
    .video-heading { font-size: 1.4rem; letter-spacing: .15em; }
    .video-filter-bar { flex-direction: column; align-items: stretch; }
    .video-search { width: 100%; }
    .video-cat-btn { font-size: .7rem; padding: .4rem .8rem; }
}


/* ═══════════════ News / Blog ═══════════════ */

.page-news {
    background: #fff;
    min-height: 100vh;
    overflow: auto;
    height: auto;
}
html.page-news-html,
html.page-news-html body {
    overflow: auto;
    height: auto;
}

.news-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 5rem 4rem;
}

.news-heading {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: .25em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 3rem;
    color: #1a1a1a;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
}

.news-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform .3s;
}
.news-card:hover { transform: translateY(-4px); }

.news-card__img {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 4px;
    background: #f0ebe4;
}
.news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.news-card:hover .news-card__img img {
    transform: scale(1.04);
}

.news-card__body {
    padding: .8rem 0;
}

.news-card__date {
    font-size: .75rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .45;
    display: block;
    margin-bottom: .3rem;
}

.news-card__title {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 .4rem;
    color: #1a1a1a;
}

.news-card__desc {
    font-size: .9rem;
    line-height: 1.5;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

/* ── Article page ── */

.article-page {
    margin: 0 auto;
}

/* Article Hero — full-screen like project detail */
.article-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background-color: #1a1a1a;
}
.article-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,.55));
}
.article-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 900px;
}
.article-hero__content h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    letter-spacing: .1em;
    text-transform: uppercase;
    line-height: 1.25;
    margin: 0;
}
.article-hero__date {
    display: block;
    font-size: .75rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
    margin-bottom: 1rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.article-back {
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8b7355;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
}
.article-back:hover { text-decoration: underline; }

/* Rich content typography */
.article-body { font-size: 1.05rem; line-height: 1.8; color: #333; }
.article-body h2 { font-size: 1.6rem; font-weight: 400; margin: 2rem 0 .8rem; color: #1a1a1a; }
.article-body h3 { font-size: 1.3rem; font-weight: 400; margin: 1.5rem 0 .6rem; color: #1a1a1a; }
.article-body p { margin: 0 0 1.2rem; }
.article-body img { max-width: 100%; height: auto; border-radius: 4px; margin: 1.5rem 0; }
.article-body a { color: #8b7355; text-decoration: underline; }
.article-body blockquote { border-left: 3px solid #8b7355; padding: .5rem 0 .5rem 1.2rem; margin: 1.5rem 0; color: #555; font-style: italic; }
.article-body ul, .article-body ol { padding-left: 1.5rem; margin: 0 0 1.2rem; }
.article-body li { margin-bottom: .4rem; }
.article-body strong { font-weight: 600; }
.article-body s { opacity: .6; }

/* ── News attachments (PDF links) ── */
.article-attachments { margin: 3rem 0 0; padding-top: 2.5rem; border-top: 1px solid #e5e5e5; }
.article-attachments__title { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: #888; margin: 0 0 1.5rem; }
.article-attachment { display: flex; align-items: center; gap: 1.25rem; padding: 1.2rem 1.5rem; border: 1px solid #e5e5e5; text-decoration: none; color: #1a1a1a; transition: border-color .25s, color .25s, background .25s; margin-bottom: .75rem; }
.article-attachment:hover { border-color: #1a1a1a; background: #fafafa; }
.article-attachment__icon { color: #5a3e29; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; }
.article-attachment__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.article-attachment__name { font-size: 1rem; font-weight: 400; color: #1a1a1a; letter-spacing: .02em; }
.article-attachment__meta { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: #888; }
.article-attachment__arrow { color: #888; font-size: 1.1rem; flex-shrink: 0; transition: color .25s, transform .25s; }
.article-attachment:hover .article-attachment__arrow { color: #1a1a1a; transform: translate(2px, -2px); }
@media (max-width: 600px) {
    .article-attachment { padding: 1rem 1.15rem; gap: 1rem; }
    .article-attachment__name { font-size: .9rem; }
}

@media (max-width: 1024px) {
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-page { padding: 6rem 2rem 3rem; }
}

@media (max-width: 600px) {
    .news-grid { grid-template-columns: 1fr; }
    .news-page { padding: 6.5rem 1rem 2rem; }
    .news-heading { font-size: 1.4rem; letter-spacing: .15em; }
    .article-hero { height: 70vh; }
    .article-hero__content { padding: 2rem 1.2rem; }
    .article-hero__content h1 { font-size: 1.5rem; letter-spacing: .06em; }
    .article-hero__date { font-size: .7rem; margin-bottom: .6rem; }
    .article-content { padding: 2rem 1rem 3rem; }
    .article-body { font-size: 1rem; line-height: 1.7; }
    .article-body img { margin: 1rem 0; }
}


/* ═══════════════ Social Block ═══════════════ */

.section--social {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    background: #f5f0eb;
}

.section--social-dark {
    background: #1a1a1a;
}
.section--social-dark .social-title {
    color: #f5f0eb;
}
.section--social-dark .social-link {
    color: #f5f0eb;
}
.section--social-dark .social-sep {
    color: #666;
}

.social-inner {
    text-align: center;
    padding: 2rem;
    max-width: 1200px;
}

.social-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: #1a1a1a;
    margin-bottom: 2rem;
    letter-spacing: .02em;
}

.social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .3rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    text-decoration: none;
    color: #1a1a1a;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .4rem .5rem;
    transition: opacity .3s;
}
.social-link:hover { opacity: .5; }

.social-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.social-sep {
    color: #ccc;
    font-size: .8rem;
    margin: 0 .4rem;
    user-select: none;
}

@media (max-width: 768px) {
    .section--social { padding: 2rem 1rem; }
    .social-links { gap: .2rem; }
    .social-link { font-size: .65rem; padding: .3rem .3rem; }
    .social-sep { margin: 0 .15rem; }
}


/* ═══════════════ Form Section ═══════════════ */

.section--form {
    padding: 3rem 2rem 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-beige, #f5f0eb);
}
.section--form-dark {
    background: #1a1a1a;
}
.section--form-white {
    background: #fff;
}

.form-inner {
    width: 100%;
    max-width: 1100px;
    display: flex;
    gap: 5rem;
    align-items: flex-start;
}

.form-info {
    flex: 1;
    padding-top: .5rem;
}

.form-fields {
    flex: 1;
}

.form-title {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 300;
    letter-spacing: .03em;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    text-align: left;
}
.section--form-dark .form-title { color: #f5f0eb; }

.form-subtitle {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    text-align: left;
}
.section--form-dark .form-subtitle { color: #aaa; }

.section-form {
    text-align: left;
}

.form-field {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: .8rem;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #555;
    margin-bottom: .5rem;
}
.section--form-dark .form-label { color: #bbb; }

.form-req {
    color: var(--brand, #5a3e29);
}

.form-input {
    width: 100%;
    padding: .9rem 0;
    border: none;
    border-bottom: 1px solid #ccc;
    background: transparent;
    font-size: 1rem;
    font-family: inherit;
    color: #1a1a1a;
    outline: none;
    transition: border-color .3s;
    border-radius: 0;
    -webkit-appearance: none;
}
.form-input:focus {
    border-bottom-color: var(--brand, #5a3e29);
}
.form-input::placeholder {
    color: #aaa;
}
.section--form-dark .form-input {
    color: #f5f0eb;
    border-bottom-color: #444;
}
.section--form-dark .form-input:focus {
    border-bottom-color: #f5f0eb;
}
.section--form-dark .form-input::placeholder {
    color: #666;
}

.form-input--error {
    border-bottom-color: #c0392b !important;
}

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

.form-select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5' stroke='%23999' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 1.5rem;
}
.section--form-dark .form-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 5 5-5' stroke='%23666' stroke-width='1.2' fill='none'/%3E%3C/svg%3E");
}

.form-error {
    font-size: .75rem;
    color: #c0392b;
    margin-top: .25rem;
    display: block;
    min-height: 0;
}

.form-submit {
    display: inline-block;
    margin-top: 1rem;
    margin-left: auto;
    padding: .9rem 3rem;
    background: #1a1a1a;
    color: #fff;
    border: none;
    font-size: .85rem;
    font-family: inherit;
    letter-spacing: .12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .3s;
}
.form-submit:hover { opacity: .85; }
.form-submit:disabled { opacity: .5; cursor: default; }

.section--form-dark .form-submit {
    background: #f5f0eb;
    color: #1a1a1a;
}
.section--form-white .form-submit {
    background: #1a1a1a;
    color: #fff;
}

.form-success {
    padding: 3rem 1rem;
    text-align: center;
}

.form-success-icon {
    margin: 0 auto 1.5rem;
    opacity: 0;
    transform: scale(.5);
    transition: opacity .6s ease, transform .6s ease;
}
.form-success-icon svg {
    display: block;
    margin: 0 auto;
}
.section--form-dark .form-success-icon circle {
    stroke: #f5f0eb;
}
.section--form-dark .form-success-icon path {
    stroke: #f5f0eb;
}

.form-success-text {
    font-size: 1.2rem;
    color: #1a1a1a;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .6s ease .3s, transform .6s ease .3s;
}
.section--form-dark .form-success-text { color: #f5f0eb; }

.form-success--animate .form-success-icon {
    opacity: 1;
    transform: scale(1);
}
.form-success--animate .form-success-text {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .section--form { padding: 3rem 1.5rem; }
    .form-inner { flex-direction: column; gap: 2rem; }
    .form-submit { width: 100%; text-align: center; }
}

/* ── Recommendations: wide one-card-per-view carousel ── */
.section--recommendations {
    padding: 5rem 0;
    background: var(--bg-beige, #f5f0eb);
    flex-direction: column;
    overflow: hidden;
}
.section--recommendations.section--dark { background: #1a1a1a; }
.section--recommendations.section--white { background: #fff; }

.rec-section-title {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 3rem;
    padding: 0 2rem;
}
.section--dark .rec-section-title { color: #f5f0eb; }

.rec-carousel {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5rem;
    box-sizing: border-box;
}
.rec-track {
    display: grid;
    grid-template-areas: "stack";
    grid-template-columns: 1fr;
    width: 100%;
}

.rec-card {
    grid-area: stack;
    text-decoration: none;
    color: inherit;
    display: block;
    opacity: 0;
    transform: translateX(40px) scale(.985);
    transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
    will-change: opacity, transform;
}
.rec-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 2;
}
.rec-card.exit-left {
    opacity: 0;
    transform: translateX(-40px) scale(.985);
    pointer-events: none;
    z-index: 1;
}

.rec-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 21/9;
    max-height: 60vh;
    background: #fff;
}
.rec-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.rec-card:hover .rec-card-img img {
    transform: scale(1.04);
}

.rec-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .4s ease;
    padding: 2rem 3rem;
}
.rec-card:hover .rec-card-overlay {
    opacity: 1;
}
.rec-card-desc {
    color: #fff;
    font-size: clamp(.95rem, 1.2vw, 1.1rem);
    line-height: 1.65;
    text-align: center;
    font-weight: 300;
    max-width: 720px;
    transform: translateY(12px);
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
    margin: 0;
}
.rec-card:hover .rec-card-desc {
    transform: translateY(0);
}

.rec-card-info {
    padding: 1.5rem 0 0;
}
.rec-card-name {
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 300;
    letter-spacing: .02em;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}
.section--dark .rec-card-name { color: #f5f0eb; }
.rec-card-price {
    font-size: .9rem;
    font-weight: 400;
    color: #555;
    margin: .35rem 0 0;
    letter-spacing: .01em;
}
.section--dark .rec-card-price { color: rgba(245,240,235,.7); }

.rec-btn {
    position: absolute;
    top: calc(50% - 2.5rem);
    transform: translateY(-50%);
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(26,26,26,.08);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    transition: opacity .4s cubic-bezier(.2,.7,.2,1), transform .4s cubic-bezier(.2,.7,.2,1), background .25s ease;
    z-index: 10;
    color: #1a1a1a;
}
.rec-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
}
.rec-btn:active { transform: translateY(-50%) scale(.96); }
.rec-btn.rec-btn--hidden {
    opacity: 0;
    pointer-events: none;
    filter: blur(6px);
}
.rec-prev.rec-btn--hidden { transform: translateY(-50%) translateX(-30px) scale(.6); }
.rec-next.rec-btn--hidden { transform: translateY(-50%) translateX(30px) scale(.6); }
.rec-prev { left: 1.25rem; }
.rec-next { right: 1.25rem; }
.section--dark .rec-btn { background: rgba(26,26,26,.85); color: #f5f0eb; border-color: rgba(255,255,255,.1); }
.section--dark .rec-btn:hover { background: #1a1a1a; }

@media (max-width: 960px) {
    .rec-track { padding: 0 2.5rem; }
    .rec-card { flex: 0 0 calc(100% - 5rem); }
}
@media (max-width: 640px) {
    .section--recommendations { padding: 3rem 0; }
    .rec-section-title { margin-bottom: 1.5rem; }
    .rec-track { padding: 0 1.25rem; gap: 0; }
    .rec-card { flex: 0 0 calc(100% - 2.5rem); }
    .rec-card-img { aspect-ratio: 4/3; }
    .rec-card-overlay { padding: 1.25rem; }
    .rec-card-info { padding-top: 1rem; }
    .rec-btn { width: 40px; height: 40px; }
    .rec-prev { left: .35rem; }
    .rec-next { right: .35rem; }
}

/* ── Video gallery ── */
.section--videogallery {
    padding: 5rem 2rem;
    background: var(--bg-beige, #f5f0eb);
}
.section--videogallery.section--dark { background: #1a1a1a; }
.section--videogallery.section--white { background: #fff; }

.vgal-title {
    text-align: center;
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: .03em;
    margin-bottom: 3rem;
    color: #1a1a1a;
}
.section--dark .vgal-title { color: #f5f0eb; }

.vgal-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2rem;
}

.vgal-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #1a1a1a;
    border-radius: 4px;
}
.vgal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vgal-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform .3s ease, opacity .3s;
    opacity: .85;
}
.vgal-thumb:hover .vgal-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.vgal-placeholder {
    width: 100%;
    height: 100%;
    background: #2a2a2a;
}

.vgal-caption {
    text-align: center;
    font-size: .9rem;
    color: #666;
    margin-top: .5rem;
}
.section--dark .vgal-caption { color: #aaa; }

/* Animations */
.section--recommendations .rec-carousel,
.section--videogallery .vgal-grid {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.section--recommendations.visible .rec-carousel,
.section--videogallery.visible .vgal-grid {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .vgal-grid { grid-template-columns: 1fr; }
    .section--videogallery { padding: 3rem 1.5rem; }
}


/* ═══════════════ Projects Page ═══════════════ */

.header--over {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
}
.header--over .topbar { background: transparent; }
.header--over .mainbar {
    background: rgba(0, 0, 0, .1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

/* ── Hero page: glass header ── */
.header--hero .topbar {
    background: rgba(0, 0, 0, .35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.header--hero .mainbar {
    background: rgba(0, 0, 0, .25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.header--hero.dropdown-open .mainbar {
    background: rgba(20, 20, 20, .85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.header--hero .header-dropdown {
    background: rgba(20, 20, 20, .75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.page-projects {
    background: #fff;
    min-height: 100vh;
    overflow: auto;
    height: auto;
}
html:has(.page-projects),
html:has(.page-projects) body,
.page-projects {
    overflow: auto;
    height: auto;
}

/* ── Projects page layout (mirrors video page) ── */

.projects-page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 8rem 5rem 5rem;
}

.projects-heading {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 3rem;
}

.projects-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 3rem 0;
}

/* ── Featured carousel ── */

.proj-featured-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.proj-featured {
    flex: 1;
    overflow: hidden;
}

.proj-featured__track {
    display: flex;
    gap: 2rem;
    transition: transform .4s ease;
}

.proj-featured__card {
    min-width: calc(33.333% - 1.334rem);
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.proj-featured__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    border-radius: 2px;
}

.proj-featured__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.proj-featured__card:hover .proj-featured__img img {
    transform: scale(1.04);
}

.proj-featured__title {
    font-size: .95rem;
    font-weight: 400;
    margin-top: 1rem;
    line-height: 1.4;
    color: #1a1a1a;
}

.proj-featured__arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: border-color .3s, background .3s;
}

.proj-featured__arrow:hover {
    border-color: #1a1a1a;
    background: rgba(0,0,0,.04);
}

/* ── Projects grid (matching video grid) ── */

.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
}

.proj-card {
    text-decoration: none;
    color: #1a1a1a;
    cursor: pointer;
    transition: transform .3s;
}
.proj-card:hover { transform: translateY(-4px); }

.proj-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    border-radius: 2px;
}

.proj-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.proj-card:hover .proj-card__img img { transform: scale(1.04); }

.proj-card__title {
    color: #1a1a1a;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: .04em;
    margin-top: .8rem;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .projects-page { padding: 6rem 2rem 3rem; }
    .proj-grid { grid-template-columns: repeat(2, 1fr); }
    .proj-featured__card { min-width: calc(50% - 1rem); }
}

@media (max-width: 600px) {
    .projects-page { padding: 6.5rem 1rem 2rem; }
    .proj-grid { grid-template-columns: 1fr; }
    .proj-featured__card { min-width: calc(100% - 0rem); }
    .projects-heading { font-size: 1.4rem; letter-spacing: .15em; }
}


/* ═══════════════ Projects — Full-Screen Sections ═══════════════ */

.page-projects { background: #000; }

.proj-screen {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.proj-screen__bg {
    position: absolute;
    inset: 0;
}
.proj-screen__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proj-screen__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.55) 100%);
    z-index: 1;
}

.proj-screen__content {
    position: absolute;
    bottom: 12%;
    left: 5%;
    z-index: 2;
    text-decoration: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: .6rem;
    cursor: pointer;
}

.proj-screen__label {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
}

.proj-screen__title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: .08em;
    line-height: 1.1;
    text-transform: uppercase;
    margin: 0;
}

.proj-screen__cta {
    display: inline-flex;
    align-items: center;
    color: rgba(255,255,255,.7);
    margin-top: .5rem;
    transition: color .3s, transform .3s;
}
.proj-screen__content:hover .proj-screen__cta {
    color: #fff;
    transform: translateX(6px);
}
.proj-screen__content:hover .proj-screen__title {
    text-shadow: 0 0 30px rgba(255,255,255,.15);
}

.proj-screen__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,.5);
    z-index: 2;
    animation: projFloat 2s ease-in-out infinite;
}

@keyframes projFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 768px) {
    .proj-screen__content { bottom: 15%; left: 6%; }
    .proj-screen__title { letter-spacing: .05em; }
}

/* ── Projects Page (grid layout) ── */
.projects-page {
    padding-top: 1rem;
}
.projects-heading {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
    margin: 2rem 0 2rem;
    color: #1a1a1a;
}
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.project-card {
    position: relative;
    display: block;
    width: 100%;
    height: 55vh;
    min-height: 320px;
    overflow: hidden;
    text-decoration: none;
}
.project-card__img {
    position: absolute;
    inset: 0;
}
.project-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.project-card:hover .project-card__img img {
    transform: scale(1.02);
}
.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    transition: background .5s ease;
}
.project-card:hover .project-card__overlay {
    background: rgba(0, 0, 0, .05);
}
.project-card__text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}
.project-card__name {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: .06em;
    text-transform: uppercase;
    flex: 1;
}
.project-card__arrow {
    color: #fff;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity .4s ease, transform .4s ease;
    flex-shrink: 0;
}
.project-card:hover .project-card__arrow {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 768px) {
    .project-card { height: 45vh; min-height: 250px; }
    .project-card__text { padding: 1rem; }
}


/* ═══════════════ Projects — Split Layout ═══════════════ */

.projects-page--split {
    background: #fff;
    padding: 3rem 0 0;
    max-width: none;
}
.projects-page--split .projects-heading {
    color: #1a1a1a;
    margin-bottom: 1rem;
}
.projects-heading-desc {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
    color: #555;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.65;
    letter-spacing: 0.01em;
    padding: 0 1rem;
}
@media (max-width: 640px) {
    .projects-heading-desc { font-size: 0.85rem; margin-bottom: 2rem; }
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.proj-row {
    display: grid;
    grid-template-columns: 65fr 35fr;
    min-height: 540px;
    max-height: 580px;
}
.proj-row--reverse {
    grid-template-columns: 35fr 65fr;
}
.proj-row--reverse .proj-row__img {
    order: 2;
}
.proj-row--reverse .proj-row__info {
    order: 1;
}

.proj-row__img {
    display: block;
    overflow: hidden;
    position: relative;
}
.proj-row__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.proj-row__img:hover img {
    transform: scale(1.03);
}

.proj-row__info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5rem;
    background: #fff;
}

.proj-row__title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 300;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 0 0 1.5rem;
}

.proj-row__desc {
    font-family: 'Raleway', sans-serif;
    font-size: .95rem;
    font-weight: 300;
    line-height: 1.7;
    color: #555;
    margin: 0 0 2.5rem;
}

.proj-row__btn {
    display: inline-block;
    font-family: 'Raleway', sans-serif;
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    text-decoration: none;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    padding: .9rem 2.2rem;
    transition: background .3s ease, color .3s ease;
    align-self: flex-start;
}
.proj-row__btn:hover {
    background: #1a1a1a;
    color: #fff;
}

@media (max-width: 768px) {
    .proj-row {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .proj-row--reverse {
        direction: ltr;
    }
    .proj-row__img {
        height: 50vh;
        min-height: 280px;
    }
    .proj-row__info {
        padding: 2.5rem 2rem;
    }
}


/* ═══════════════ Project Detail Page ═══════════════ */

.page-project-detail {
    background: #fff;
}

/* Hero */
.pd-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.pd-hero__back {
    position: absolute;
    top: calc(var(--header-h, 100px) + 1.5rem);
    left: 2rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    opacity: .9;
    text-shadow: 0 1px 8px rgba(0,0,0,.5), 0 2px 16px rgba(0,0,0,.3);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
    transition: opacity .3s ease, transform .3s ease;
}
.pd-hero__back:hover {
    opacity: 1;
    transform: translateX(-4px);
}
.pd-hero__back svg {
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .pd-hero__back {
        left: 1rem;
        top: calc(var(--header-h, 60px) + 1rem);
    }
    .pd-hero__back span {
        display: none;
    }
}

.pd-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 40%, rgba(0,0,0,.5));
}

.pd-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 4rem 2rem;
}

.pd-hero__content h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    letter-spacing: .15em;
    text-transform: uppercase;
}

/* Detail gallery carousel */
.pd-carousel {
    background: #111;
}
.pd-carousel .carousel-slide img {
    border-radius: 0;
}
.pd-carousel .carousel-btn {
    background: transparent;
    border: 0;
    color: rgba(26, 26, 26, .5);
}
.pd-carousel .carousel-btn:hover {
    background: transparent;
    color: #1a1a1a;
}
.pd-carousel .carousel-counter {
    color: rgba(255,255,255,.5);
}

/* Info section: description + details */
.pd-info {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.pd-info__text {
    flex: 1.2;
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    font-weight: 300;
}

.pd-info__details {
    flex: 1;
}

.pd-details-table {
    width: 100%;
    border-collapse: collapse;
}

.pd-details-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.pd-details-key {
    padding: .9rem 0;
    font-weight: 600;
    font-size: .85rem;
    color: #1a1a1a;
    white-space: nowrap;
    vertical-align: top;
}

.pd-details-val {
    padding: .9rem 0;
    font-size: .85rem;
    color: #555;
    text-align: right;
}

/* Section heading (shared) */
.section-heading {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 2.5rem;
    text-align: center;
}

/* Recommended */
.pd-recommended {
    padding: 4rem 5%;
    background: #f5f0eb;
}
/* On desktop show 3, hide 4th */
.pd-recommended .proj-card:nth-child(4) {
    display: none;
}
@media (max-width: 768px) {
    .pd-recommended .proj-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: .75rem;
    }
    .pd-recommended .proj-card:nth-child(4) {
        display: block;
    }
    .pd-recommended .proj-card__img {
        aspect-ratio: 1/1;
    }
    .pd-recommended .proj-card__title {
        font-size: .85rem;
    }
    .pd-recommended .proj-card__link {
        font-size: .7rem;
    }
}

/* Furniture in project */
.pd-furniture {
    padding: 4rem 5%;
    background: #fff;
    border-top: 1px solid #eee;
}
.pd-furniture .proj-card__img {
    aspect-ratio: 1 / 1;
}
.pd-furniture__img {
    background: #fff !important;
}
.pd-furniture__img img {
    object-fit: contain !important;
    padding: 8%;
}
.pd-furniture .proj-card__title {
    text-align: center;
    margin-top: 1.2rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #999;
    padding: 2rem 3rem;
    text-align: center;
    font-size: .75rem;
    letter-spacing: .1em;
}


/* ── 404 Page ── */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    text-align: center;
    padding: 2rem;
}
.page-404-content {
    max-width: 500px;
}
.page-404-code {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(8rem, 20vw, 14rem);
    font-weight: 300;
    line-height: 1;
    color: rgba(var(--brand-rgb), .6);
    margin: 0;
}
.page-404-text {
    font-size: 1.2rem;
    color: #555;
    margin: 1.5rem 0 2.5rem;
    letter-spacing: .04em;
}
.page-404-btn {
    display: inline-block;
    padding: .9rem 2.5rem;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    text-decoration: none;
    font-size: .85rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background .3s, color .3s;
}
.page-404-btn:hover {
    background: #1a1a1a;
    color: #fff;
}
.page-404-hint {
    font-size: .9rem;
    color: #888;
    margin: -1.5rem 0 2.5rem;
    max-width: 460px;
    line-height: 1.6;
    font-weight: 300;
}
.page-404-actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.page-404-btn--ghost {
    border-color: #bbb; color: #555;
}
.page-404-btn--ghost:hover { background: #555; border-color: #555; color: #fff; }

/* ── Catalog page ── */
.page-catalog {
    background: #fff;
    min-height: 100vh;
}
.catalog-page {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}
.catalog-heading {
    display: none;
}

/* Category Grid — full-width stacked blocks */
.category-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.category-block {
    position: relative;
    display: block;
    width: 100%;
    height: 55vh;
    min-height: 320px;
    overflow: hidden;
    text-decoration: none;
}
.category-block__img {
    position: absolute;
    inset: 0;
}
.category-block__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.category-block:hover .category-block__img img {
    transform: scale(1.02);
}
.category-block__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    transition: background .5s ease;
}
.category-block:hover .category-block__overlay {
    background: rgba(0, 0, 0, .05);
}
.category-block__text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}
.category-block__name {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 400;
    color: #fff;
    letter-spacing: .06em;
    text-transform: uppercase;
    flex: 1;
}
.category-block__arrow {
    color: #fff;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity .4s ease, transform .4s ease;
    flex-shrink: 0;
}
.category-block:hover .category-block__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Catalog View */
.catalog-view-section {
    width: 100%;
    margin: 0;
    padding: 2rem 0 3rem;
}

/* Category Hero */
.category-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 864;
    max-height: calc(100vh - 2rem);
    overflow: hidden;
    padding-top: var(--header-h, 6.5rem);
}
.category-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
}
.category-hero__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem;
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
}
.category-hero__back {
    color: #fff;
    opacity: .7;
    transition: opacity .3s;
    flex-shrink: 0;
    margin-bottom: .3rem;
}
.category-hero__back:hover { opacity: 1; }
.category-hero__title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}
/* Category title below hero */
.catalog-category-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 2.5rem 2rem 2rem;
    position: relative;
}
.catalog-category-desc {
    margin: 0 auto;
    max-width: 680px;
    text-align: center;
    color: #555;
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.65;
    letter-spacing: 0.01em;
    padding: 0 1rem;
}
@media (max-width: 640px) {
    .catalog-category-desc { font-size: 0.85rem; padding: 0 0.5rem; }
}
.catalog-category-back {
    position: absolute;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: #1a1a1a;
    opacity: .5;
    transition: opacity .3s;
    display: flex;
    align-items: center;
}
.catalog-category-back:hover { opacity: 1; }
.catalog-category-name {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

/* Subcategory filter tabs */
.catalog-subcats {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0 2rem 2.5rem;
    flex-wrap: wrap;
    border-bottom: 1px solid #e0e0e0;
    max-width: 800px;
    margin: 0 auto;
}
.catalog-subcat {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    padding: .75rem 1.8rem;
    font-family: 'Raleway', sans-serif;
    font-size: .75rem;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #888;
    cursor: pointer;
    transition: all .3s;
}
.catalog-subcat:hover {
    color: #1a1a1a;
}
.catalog-subcat.active {
    background: none;
    border-bottom-color: #1a1a1a;
    color: #1a1a1a;
    font-weight: 500;
}

.category-hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    color: #fff;
    opacity: .8;
    transition: opacity .3s;
    animation: heroScrollBounce 2s ease-in-out infinite;
    text-decoration: none;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255,255,255,.4);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,.08);
}
.category-hero__scroll:hover {
    opacity: 1;
}
@keyframes heroScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Catalog Toolbar */
.catalog-toolbar {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 2rem;
    padding: 0 2rem;
}
.catalog-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    flex-shrink: 0;
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    transition: background .2s, color .2s;
}
.catalog-back:hover {
    background: #1a1a1a;
    color: #fff;
}
.back-to-categories {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: .85rem;
    color: rgba(0, 0, 0, .5);
    transition: color .2s;
    padding: .4rem 0;
}
.back-to-categories:hover {
    color: #1a1a1a;
}
.catalog-search {
    flex: 1;
    min-width: 0;
}
.search-input-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    padding: .65rem 1rem;
    border: 1px solid #1a1a1a;
    border-left: none;
    background: transparent;
    transition: border-color .2s;
}
.search-input-wrapper:focus-within {
    border-color: var(--brand);
}
.search-input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-size: .95rem;
    font-family: inherit;
    letter-spacing: .02em;
    color: #1a1a1a;
}
.search-input-wrapper input::placeholder {
    color: rgba(0, 0, 0, .35);
    font-weight: 300;
}
.search-input-wrapper .search-icon {
    flex-shrink: 0;
    color: #1a1a1a;
    margin-left: .5rem;
}
.search-clear {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(0, 0, 0, .3);
    padding: 0;
    margin-right: .3rem;
    transition: color .2s;
}
.search-clear:hover {
    color: #1a1a1a;
}

/* Catalog Grid — Minotti-style rows */
.catalog-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.catalog-row {
    display: grid;
    grid-template-columns: 2fr 3fr;
    aspect-ratio: 3 / 1;
    overflow: hidden;
}
.catalog-row--reverse {
    direction: rtl;
}
.catalog-row--reverse > * {
    direction: ltr;
}
.catalog-row__cutout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem 1.5rem;
    text-decoration: none;
    color: inherit;
    background: #fff;
    overflow: hidden;
}
.catalog-row__cutout img {
    max-width: 100%;
    max-height: 90%;
    object-fit: contain;
    transform: scale(1);
    transform-origin: center center;
    transition: transform .9s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
    backface-visibility: hidden;
}
.catalog-row__cutout:hover img {
    transform: scale(1.05);
}
.catalog-row__name {
    display: block;
    margin-top: 1.5rem;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #1a1a1a;
}
.catalog-row__price {
    display: block;
    margin-top: .4rem;
    font-family: 'Raleway', sans-serif;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: .05em;
    color: #5a3e29;
}
.catalog-row__render {
    display: block;
    overflow: hidden;
}
.catalog-row__render img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
    backface-visibility: hidden;
}
.catalog-row__render:hover img {
    transform: scale(1.04);
}

/* Keep old card styles for backwards compat */
.catalog-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem 2rem;
    min-height: 420px;
}
.catalog-card__cutout {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-height: 320px;
}
.catalog-card__cutout img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    transition: transform .5s ease;
}
.catalog-card:hover .catalog-card__cutout img {
    transform: scale(1.03);
}
.catalog-card__name {
    display: block;
    margin-top: 1.2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #1a1a1a;
}
.catalog-card__info {
    padding: .6rem 0;
}
.catalog-card__title {
    font-size: .85rem;
    color: #1a1a1a;
    margin: 0 0 .15rem;
    font-weight: 500;
}
.catalog-card__category {
    font-size: .75rem;
    color: rgba(0, 0, 0, .4);
    margin: 0;
}
.catalog-card__price {
    font-size: .8rem;
    color: rgba(var(--brand-rgb), .8);
}

/* No Results */
.catalog-no-results {
    display: none;
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(0, 0, 0, .4);
}
.catalog-no-results.visible {
    display: block;
}
.catalog-no-results.show {
    opacity: 1;
}
.catalog-no-results h3 {
    font-weight: 400;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Empty State */
.catalog-empty {
    text-align: center;
    padding: 5rem 2rem;
}
.catalog-empty__icon {
    margin-bottom: 1.5rem;
    opacity: .4;
}
.catalog-empty__text {
    font-size: 1rem;
    color: rgba(0, 0, 0, .45);
    letter-spacing: .04em;
}

/* ── Product Page ── */
.page-product {
    background: #fff;
    color: #1a1a1a;
}

/* Product Hero */
.product-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}
.product-hero__bg {
    position: absolute;
    inset: 0;
}
.product-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.2) 0%, rgba(0,0,0,.5) 100%);
}
.product-hero__content {
    position: absolute;
    bottom: 15%;
    left: 5%;
    z-index: 2;
}
.product-hero__cat {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .6);
    margin-bottom: .5rem;
}
.product-hero__title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 300;
    letter-spacing: .1em;
    line-height: 1.1;
    color: #fff;
}
.product-hero__price {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 300;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .85);
    margin-top: .75rem;
}
.product-hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    animation: heroFloat 2s ease-in-out infinite;
    z-index: 2;
}
@keyframes heroFloat {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}
.product-hero__back {
    position: absolute;
    top: calc(var(--header-h, 100px) + 1.5rem);
    left: 2rem;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: #fff;
    text-decoration: none;
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    z-index: 5;
    opacity: .9;
    text-shadow: 0 1px 8px rgba(0,0,0,.5), 0 2px 16px rgba(0,0,0,.3);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
    transition: opacity .3s ease, transform .3s ease;
}
.product-hero__back-arrow {
    display: inline-flex;
    align-items: center;
    transition: transform .3s;
}
.product-hero__back-arrow svg {
    display: block;
    width: 1.25em;
    height: auto;
}
.product-hero__back:hover {
    opacity: 1;
    transform: translateX(-4px);
}

/* Product Scroll Video */
.product-scroll-video {
    position: relative;
    height: 420vh;
    background: #0a0a0a;
}

.product-scroll-video__sticky {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
}

.product-scroll-video__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-scroll-video__hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .72);
    font-size: .75rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    z-index: 2;
    transition: opacity .35s ease;
}

.product-scroll-video__hint.hidden {
    opacity: 0;
}

.product-scroll-video__progress {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: #5a3e29;
    transform: scaleX(0);
    transform-origin: left center;
    z-index: 2;
}

/* Product Carousel */
.product-carousel {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background: #f5f0eb;
}
.carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}
.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}
.carousel-slide--video { cursor: pointer; }
.carousel-slide--video .carousel-yt-thumb {
    width: 100%; height: 100%; object-fit: cover;
}
.carousel-slide--video .carousel-yt-play {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .3s ease;
}
.carousel-slide--video:hover .carousel-yt-play {
    transform: translate(-50%, -50%) scale(1.08);
}
.product-carousel .carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2% 8%;
    opacity: 0;
    z-index: 1;
    transform: scale(.92);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
}
.product-carousel .carousel-slide.active {
    opacity: 1;
    z-index: 3;
    transform: scale(1);
    pointer-events: auto;
    cursor: pointer;
}
.product-carousel .carousel-slide.prev {
    opacity: .18;
    z-index: 2;
    transform: scale(.85) translateX(-40%);
}
.product-carousel .carousel-slide.next {
    opacity: .18;
    z-index: 2;
    transform: scale(.85) translateX(40%);
}
.product-carousel .carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 2px;
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    padding: 0;
    width: 64px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(26, 26, 26, .55);
    transition: color .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
    z-index: 3;
}
.carousel-btn svg {
    width: 32px;
    height: 32px;
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.carousel-btn svg path,
.carousel-btn svg line,
.carousel-btn svg polyline {
    stroke-width: 1;
    transition: stroke-width .35s ease;
}
.carousel-btn:hover {
    color: #1a1a1a;
}
.carousel-btn:hover svg path,
.carousel-btn:hover svg line,
.carousel-btn:hover svg polyline {
    stroke-width: 1.25;
}
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }
.carousel-prev:hover svg { transform: translateX(-3px); }
.carousel-next:hover svg { transform: translateX(3px); }
.carousel-counter {
    position: absolute;
    bottom: .65rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .8rem;
    color: rgba(0, 0, 0, .4);
    letter-spacing: .1em;
    z-index: 4;
}

/* Page Section Photo Carousel */
.section--photo-carousel {
    padding: 2rem 0;
    background: #f5f0eb;
    flex-direction: column;
}

.section--photo-carousel.section--white {
    background: #fff;
}

.section--photo-carousel.section--dark {
    background: #111;
}

.section-carousel {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.section-carousel .carousel-wrapper,
.section-carousel .carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.section-carousel .carousel-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2% 8%;
    opacity: 0;
    z-index: 1;
    transform: scale(.92);
    transition: opacity .5s ease, transform .5s ease;
    pointer-events: none;
}

.section-carousel .carousel-slide.active {
    opacity: 1;
    z-index: 3;
    transform: scale(1);
    pointer-events: auto;
}

.section-carousel .carousel-slide.prev {
    opacity: .18;
    z-index: 2;
    transform: scale(.85) translateX(-40%);
}

.section-carousel .carousel-slide.next {
    opacity: .18;
    z-index: 2;
    transform: scale(.85) translateX(40%);
}

.section-carousel .carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 2px;
}

.section--photo-carousel.section--dark .carousel-btn {
    background: transparent;
    border: 0;
    color: rgba(255, 255, 255, .55);
}

.section--photo-carousel.section--dark .carousel-btn:hover {
    background: transparent;
    color: #fff;
}

.section--photo-carousel.section--dark .carousel-counter {
    color: rgba(255, 255, 255, .56);
}

/* Product Showcase */
.product-showcase {
    padding: 6rem 8% 5rem;
    text-align: center;
    background: #fff;
}
.product-showcase__title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    color: #1a1a1a;
    letter-spacing: .08em;
}
.product-showcase__cat {
    display: inline-block;
    font-size: .75rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .4);
    margin-top: .5rem;
}
.product-showcase__price {
    margin-top: 1.25rem;
    display: flex;
    align-items: baseline;
    gap: .75rem;
    flex-wrap: wrap;
}
.product-showcase__price-label {
    font-size: .65rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #888;
}
.product-showcase__price-value {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
    font-weight: 300;
    letter-spacing: .02em;
    color: #5a3e29;
    font-feature-settings: "tnum" 1, "lnum" 1;
    font-variant-numeric: tabular-nums lining-nums;
}
.product-showcase__price-value em {
    font-style: normal;
    font-size: .55em;
    letter-spacing: .14em;
    color: #888;
    margin-left: .25em;
}

/* Rolling-digit price animation (matches calculator landings) */
.pv3-price-num {
    display: inline-flex;
    align-items: flex-end;
    line-height: 1.15;
}
.pv3-digit-col {
    display: inline-block;
    height: 1.15em;
    line-height: 1.15em;
    overflow: hidden;
    position: relative;
    vertical-align: bottom;
}
.pv3-digit-col__inner {
    display: flex;
    flex-direction: column;
    transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.pv3-digit-col__inner span {
    height: 1.15em;
    line-height: 1.15em;
    display: block;
    text-align: center;
}
.pv3-digit-static {
    display: inline-block;
    height: 1.15em;
    line-height: 1.15em;
    vertical-align: bottom;
    white-space: pre;
}
.product-showcase__price--below {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26,26,26,.08);
}
@media (max-width: 768px) {
    .product-showcase__price { margin-top: 1rem; gap: .5rem; }
    .product-showcase__price-value { font-size: 1.4rem; }
    .product-showcase__price-label { font-size: .6rem; }
    .product-showcase__price--below { margin-top: 1.5rem; padding-top: 1rem; }
}
.product-showcase__row {
    display: flex;
    gap: 5%;
    margin-top: 4rem;
    align-items: flex-start;
}
.product-showcase__text {
    flex: 1;
    text-align: left;
}
.product-showcase__desc {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(0, 0, 0, .65);
}
.product-showcase__dropcap {
    float: left;
    font-family: 'Raleway', sans-serif;
    font-size: 4rem;
    line-height: .8;
    margin: .05em .15em 0 0;
    color: rgba(var(--brand-rgb), .8);
    font-weight: 600;
}
.product-showcase__image {
    flex: 1;
    align-self: flex-start;
    margin-top: -1.25rem;
}
.product-showcase__image img {
    width: 100%;
    display: block;
    object-position: center top;
    border-radius: 4px;
}

/* Size variants — Minotti button group (under dimensions) */
.product-showcase__variants {
    margin-top: 2rem;
    padding-top: 1.75rem;
    padding-bottom: 2rem;
    border-top: 1px solid rgba(0,0,0,.06);
}
.product-showcase__variants-label {
    font-size: .65rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: .9rem;
    font-weight: 500;
}
.product-showcase__variants-btns {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
}
.product-showcase__variant {
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid #d4d4d4;
    padding: .95rem 1.25rem;
    font-family: inherit;
    font-size: .78rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #1a1a1a;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
    font-weight: 400;
    white-space: nowrap;
}
.product-showcase__variant:hover {
    background: #f5f0eb;
    border-color: #b8b0a8;
}
.product-showcase__variant--active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}
.product-showcase__variant--active:hover {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}
.product-showcase__variant--disabled,
.product-showcase__variant[disabled] {
    opacity: .35;
    color: #999;
    background: #f7f5f2;
    border-color: #e2dcd2;
    cursor: not-allowed;
    pointer-events: auto;
    text-decoration: line-through;
}
.product-showcase__variant--disabled:hover,
.product-showcase__variant[disabled]:hover {
    background: #f7f5f2;
    border-color: #e2dcd2;
    color: #999;
}
@media (max-width: 768px) {
    .product-showcase__variants { margin-top: 1.5rem; padding-top: 1.4rem; }
    .product-showcase__variants-btns { gap: .4rem; }
    .product-showcase__variant { padding: .75rem .9rem; font-size: .72rem; letter-spacing: .06em; }
}

/* Product Download / Configure actions row */
.product-showcase__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.2rem;
    align-items: flex-start;
    margin-top: 2rem;
}
.product-showcase__actions .product-showcase__download {
    margin-top: 0;
}
@media (max-width: 600px) {
    .product-showcase__actions { flex-direction: column; gap: 1rem; }
    .product-showcase__actions .product-showcase__download-btn { width: 100%; justify-content: center; }
}

/* Product Download Button (inside showcase, like designers site) */
.product-showcase__download {
    margin-top: 2rem;
}
.product-showcase__download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
}
.product-showcase__download-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, .15);
}
.product-showcase__download-btn svg {
    flex-shrink: 0;
}
.product-showcase__download-hint {
    margin: .5rem 0 0;
    font-size: 12px;
    color: #999;
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* ── Product Materials Section ── */
.product-materials {
    padding: 5rem 0;
    background: #fafaf8;
}
.product-materials__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.product-materials__title {
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(0,0,0,.35);
    font-weight: 400;
    margin-bottom: 2rem;
}
.product-materials__tabs {
    display: flex;
    gap: .4rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}
.product-materials__tab {
    background: transparent;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 100px;
    padding: .5rem 1.2rem;
    font-size: .8rem;
    color: rgba(0,0,0,.5);
    cursor: pointer;
    transition: all .25s;
    font-family: inherit;
    letter-spacing: .03em;
}
.product-materials__tab:hover {
    border-color: #5a3e29;
    color: #5a3e29;
}
.product-materials__tab.active {
    background: #5a3e29;
    border-color: #5a3e29;
    color: #fff;
}
.product-materials__group {
    display: none;
}
.product-materials__group.active {
    display: block;
}
.product-materials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1.25rem;
}
.product-mat-card {
    position: relative;
    cursor: default;
}
.product-mat-card__swatch {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    margin-bottom: .5rem;
}
.product-mat-card__swatch img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.product-mat-card__color {
    width: 100%;
    height: 100%;
    border-radius: 6px;
}
.product-mat-card__info {
    text-align: center;
}
.product-mat-card__name {
    display: block;
    font-size: .75rem;
    color: #1a1a1a;
    font-weight: 500;
    letter-spacing: .02em;
}
.product-mat-card__collection {
    display: block;
    font-size: .68rem;
    color: rgba(0,0,0,.4);
    margin-top: .15rem;
}
.product-mat-card__detail {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #fff;
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 8px;
    padding: .6rem .8rem;
    font-size: .72rem;
    color: #333;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}
.product-mat-card:hover .product-mat-card__detail {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.product-mat-card__comp {
    color: rgba(0,0,0,.45);
    margin-top: .2rem;
}
.product-mat-card__sku {
    color: rgba(0,0,0,.3);
    font-size: .68rem;
    margin-top: .15rem;
}

@media (max-width: 768px) {
    .product-materials { padding: 3rem 0; }
    .product-materials__inner { padding: 0 1.2rem; }
    .product-materials__grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: .75rem;
    }
    .product-mat-card__detail { display: none; }
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.active {
    display: flex;
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    z-index: 10;
    transition: color .2s;
}
.lightbox-close:hover {
    color: #fff;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, .7);
    transition: all .2s;
    z-index: 10;
}
.lightbox-nav:hover {
    background: rgba(255, 255, 255, .15);
    color: #fff;
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-image-container {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-image-container img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    transition: opacity .15s, transform .15s;
}
.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .1em;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .pd-info { flex-direction: column; gap: 2rem; }
}

/* ═══════════ Burger button (hidden on desktop) ═══════════ */
.burger-btn {
    display: none;
}
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    /* ── Prevent horizontal overflow ── */
    body { overflow-x: hidden; }

    /* ── Mobile header ── */
    .topbar {
        padding: .35rem 1rem;
    }
    .topbar-left { gap: .8rem; }
    .topbar-left a { font-size: .55rem; }
    .topbar-designers { display: none; }
    .topbar-nav { display: none; }
    .topbar-lang { font-size: .75rem; padding: .35rem .45rem; min-width: 28px; text-align: center; }
    .topbar-phone { display: none; }

    .mainbar {
        grid-template-columns: auto 1fr auto;
        padding: .7rem 1rem;
    }
    .header-nav--left,
    .header-nav--right {
        display: none;
    }
    .header-logo {
        justify-self: start;
    }
    .header-logo img {
        height: 2rem;
    }

    /* Burger button */
    .burger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        justify-self: end;
        z-index: 5;
    }
    .burger-btn span {
        display: block;
        width: 22px;
        height: 1.5px;
        background: rgba(255,255,255,.85);
        transition: transform .3s, opacity .3s;
    }
    .burger-btn.open span:nth-child(1) {
        transform: translateY(6.5px) rotate(45deg);
    }
    .burger-btn.open span:nth-child(2) {
        opacity: 0;
    }
    .burger-btn.open span:nth-child(3) {
        transform: translateY(-6.5px) rotate(-45deg);
    }

    /* Header bg when burger open */
    .header.menu-open .topbar {
        background: rgba(20, 20, 20, .85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    .header.menu-open .mainbar {
        background: rgba(20, 20, 20, .85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    /* Mobile slide-down menu */
    .mobile-menu {
        display: block;
        max-height: 0;
        overflow: hidden;
        background: rgba(20, 20, 20, .85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        transition: max-height .35s ease;
    }
    .mobile-menu.open {
        max-height: calc(100svh - 110px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 120px);
    }
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    .mobile-menu__links {
        display: flex;
        flex-direction: column;
        padding: 1.5rem 1.5rem 1rem;
        gap: 0;
    }
    .mobile-menu__links a {
        display: block;
        font-size: .8rem;
        letter-spacing: .14em;
        text-transform: uppercase;
        text-decoration: none;
        color: rgba(255,255,255,.7);
        padding: .9rem 0;
        border-bottom: 1px solid rgba(255,255,255,.08);
        transition: color .2s;
    }
    .mobile-menu__links a:last-child {
        border-bottom: none;
    }
    .mobile-menu__links a.nav-active,
    .mobile-menu__links a:hover {
        color: #fff;
    }
    .mobile-menu__langs {
        display: flex;
        justify-content: center;
        gap: .3rem;
        padding: .8rem 1.5rem 1.2rem;
        border-top: 1px solid rgba(255,255,255,.12);
    }

    /* Mobile accordion subcategories */
    .mob-accordion {
        border-bottom: 1px solid rgba(255,255,255,.08);
    }
    .mob-accordion__toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        font-size: .8rem;
        letter-spacing: .14em;
        text-transform: uppercase;
        text-decoration: none;
        color: rgba(255,255,255,.7);
        padding: .9rem 0;
        transition: color .2s;
    }
    .mob-accordion__toggle.nav-active,
    .mob-accordion__toggle:hover { color: #fff; }
    .mob-accordion__arrow {
        transition: transform .25s ease;
        opacity: .5;
    }
    .mob-accordion.open .mob-accordion__arrow {
        transform: rotate(180deg);
    }
    .mob-accordion__panel {
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }
    .mob-accordion.open .mob-accordion__panel {
        max-height: 300px;
    }
    .mob-accordion__panel a {
        display: block;
        font-size: .75rem;
        letter-spacing: .1em;
        text-transform: uppercase;
        text-decoration: none;
        color: rgba(255,255,255,.5);
        padding: .6rem 0 .6rem 1.2rem;
        transition: color .2s;
    }
    .mob-accordion__panel a:hover {
        color: #fff;
    }
    .mobile-menu__langs a {
        font-size: .85rem;
        letter-spacing: .06em;
        text-decoration: none;
        color: rgba(255,255,255,.4);
        padding: .5rem .6rem;
        min-width: 34px;
        text-align: center;
        transition: color .2s;
    }
    .mobile-menu__langs a.active {
        color: #fff;
    }

    /* ── Header dropdown hidden on mobile ── */
    .header-dropdown,
    .header-dropdown-overlay,
    .topbar-despre-trigger { display: none !important; }

    /* ── Hero ── */
    .section--hero { height: 70svh; min-height: 480px; }
    .hero-content h1 { font-size: clamp(2rem, 10vw, 3.5rem); letter-spacing: .1em; }
    .hero-content p { font-size: .9rem; }
    .video-content { padding: 0 2rem; }
    .video-content h2 { font-size: clamp(2rem, 10vw, 3.5rem); letter-spacing: .1em; }
    .video-content p { font-size: .9rem; }
    .video-pos-top-left, .video-pos-top-center, .video-pos-top-right { padding-top: 6rem; }
    .video-pos-bottom-left, .video-pos-bottom-center, .video-pos-bottom-right { padding-bottom: 5rem; }
    .video-pos-top-left .video-content, .video-pos-center-left .video-content, .video-pos-bottom-left .video-content { padding-left: 2rem; }
    .video-pos-top-right .video-content, .video-pos-center-right .video-content, .video-pos-bottom-right .video-content { padding-right: 2rem; }

    /* ── Project detail ── */
    .pd-hero { height: 60vh; }
    .pd-carousel { height: 50vh; }
    .pd-carousel .carousel-slide { padding: 2% 4%; }
    .pd-info { padding: 2rem 4%; }
    .pd-recommended { padding: 2rem 4%; }

    /* ── Catalog ── */
    .catalog-page { padding: 0; }
    .category-block { height: 45vh; min-height: 250px; }
    .category-block__text { padding: 1rem; }
    .category-block__name { font-size: clamp(1.4rem, 6vw, 2rem); }
    .catalog-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: #e5e5e5; }
    .catalog-row { grid-template-columns: 1fr; min-height: auto; aspect-ratio: auto; overflow: hidden; background: #fff; }
    .catalog-row--reverse { direction: ltr; }
    .catalog-row__cutout { padding: 1.5rem 1rem 1.2rem; min-height: 0; max-height: none; display: flex; flex-direction: column; align-items: center; justify-content: center; }
    .catalog-row__cutout img { max-width: 80%; max-height: 240px; object-fit: contain; }
    .catalog-row__name { display: block; font-size: 1rem; margin-top: .8rem; text-align: center; letter-spacing: .08em; line-height: 1.3; }
    .catalog-row__price { display: block; font-size: .85rem; margin-top: .25rem; text-align: center; }
    .catalog-row__render { display: none; }
    .category-hero { height: calc(50vh + var(--header-h, 5rem)); min-height: 280px; }
    .category-hero__content { padding: 1.5rem; }
    .category-hero__title { font-size: clamp(1.8rem, 8vw, 3rem); }
    .catalog-toolbar { flex-direction: row; align-items: stretch; padding: 0 1rem; }
    .catalog-back { width: 42px; }
    .search-input-wrapper { padding: .6rem .8rem; border-left: none; }
    .search-input-wrapper input { font-size: .85rem; }
    .catalog-view-section { padding: 1.5rem 0 2rem; }

    /* ── Product page ── */
    .product-hero { height: 65vh; }
    .product-hero__content { bottom: 10%; left: 5%; }
    .product-hero__back {
        top: calc(var(--header-h, 60px) + 1rem);
        left: 1rem;
        font-size: .65rem;
    }
    .product-hero__title { font-size: clamp(2rem, 8vw, 3rem); }
    .product-scroll-video { height: 320vh; }
    .product-scroll-video__hint { bottom: 1.25rem; font-size: .68rem; }
    .product-carousel { height: 45vh; }
    .product-carousel .carousel-slide { padding: 2% 4%; }
    .section-carousel { height: 45vh; }
    .section-carousel .carousel-slide { padding: 2% 4%; }
    .carousel-counter { bottom: .45rem; font-size: .72rem; }
    .carousel-btn { width: 48px; height: 64px; }
    .carousel-btn svg { width: 26px; height: 26px; }
    .carousel-prev { left: .5rem; }
    .carousel-next { right: .5rem; }
    .product-showcase { padding: 2.5rem 5% 2.5rem; }
    .product-showcase__row { flex-direction: column; gap: 2rem; }
    .product-showcase__image { display: none; }
    .product-showcase__desc { font-size: .92rem; }
    .product-downloads__inner { padding: 0 1.2rem; }

    /* ── Social ── */
    .section--social { padding: 2rem 1rem; }
    .social-links { flex-wrap: wrap; gap: .15rem; }
    .social-link { font-size: .6rem; padding: .3rem .2rem; gap: .3rem; }
    .social-icon { width: 14px; height: 14px; }
    .social-sep { margin: 0 .1rem; font-size: .65rem; }

    /* ── Cookie banner ── */
    .cookie-banner { padding: 1rem; gap: .8rem; flex-direction: column; align-items: stretch; text-align: center; }
    .cookie-buttons { justify-content: center; }

    /* ── Hero scroll hint: hide on mobile ── */
    .scroll-hint { display: none; }
    .hero-pos-bottom-left, .hero-pos-bottom-center, .hero-pos-bottom-right { padding-bottom: 2rem; }

    /* ── Catalog subcategory tabs: horizontal scroll on mobile ── */
    .catalog-subcats {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0 1rem 1.5rem;
        gap: 0;
        scrollbar-width: none;
    }
    .catalog-subcats::-webkit-scrollbar { display: none; }
    .catalog-subcat {
        flex-shrink: 0;
        padding: .6rem 1.2rem;
        font-size: .7rem;
    }

    /* ── Mobile: reduce spacing, increase fonts ── */
    /* Mobile: header always pinned, topbar visible */
    .header.topbar-hidden .topbar { transform: none !important; height: auto !important; opacity: 1 !important; overflow: visible !important; }
    .text-inner h2 { font-size: clamp(.95rem, 3.8vw, 1.25rem) !important; line-height: 1.45; overflow-wrap: break-word; word-break: break-word; hyphens: auto; padding: 0 .25rem; }
    .section--text p, .text-inner p { font-size: .9rem !important; line-height: 1.6 !important; overflow-wrap: break-word; word-break: break-word; hyphens: auto; letter-spacing: .01em !important; max-width: 100%; }
    .section--text .label, .text-inner .label { font-size: .62rem !important; letter-spacing: .18em; margin-bottom: 1rem; overflow-wrap: break-word; }
    .text2col-col { padding: 1.5rem 1rem; }
    .text2col-title { font-size: clamp(1.1rem, 4vw, 1.5rem); }
    .text2col-body { font-size: .95rem; }
    .section--image { height: 42vh; min-height: 300px; }
    .section--gallery { height: auto; min-height: 0; padding: 1.5rem 0 1.25rem; }
    .gallery-title { font-size: 1.25rem; padding: .4rem 0 .4rem; }
    .section--split { height: auto; max-height: none; }
    .split-text { padding: 1.5rem 1.25rem; }
    .split-title { font-size: clamp(1.4rem, 5vw, 2rem); margin-bottom: .75rem; }
    .split-body { font-size: .95rem; }
    .split-image { height: 45vw; min-height: 200px; }
    .quote-text { font-size: clamp(.95rem, 3.5vw, 1.15rem); }
    .label { font-size: .7rem; margin-bottom: .6rem; }
    .cta { padding: .7rem 1.8rem; font-size: .8rem; }
    .section--video { height: 42vh; min-height: 300px; }
    .section--text { padding: 1.25rem 1rem; min-height: 0; }
    .section--text2col { padding: 1.5rem 1rem; }
    .text-inner { padding: .25rem 0; max-width: 100%; width: 100%; }
    .section--social { padding: 1rem 1rem; }
    .section--text-buttons { padding: 1.25rem 1rem !important; }
    /* Kill any residual vertical breathing between adjacent blocks on mobile */
    .section + .section { margin-top: 0; }
    /* About & inner pages: kill full-screen text sections on mobile */
    .page-about .section--text { height: auto !important; min-height: 0 !important; padding: 1.25rem 1rem !important; }
    .page-about .text-inner { padding: .25rem 0 !important; max-width: 100%; }
    .page-about .label { margin-bottom: .6rem; }
    .page-inner .section--text,
    .page-inner .section--text2col { height: auto; min-height: 0; padding: 1.25rem 1rem; }
}

/* ─── Section Image Error ─── */
.section--image-error { display: flex; align-items: center; justify-content: center; min-height: 300px; background: #f5f0eb; }
.section-error { font-size: 14px; color: #999; letter-spacing: 1px; }

/* ═══════════════════════════════════════════════════════
   DESIGNER SYSTEM STYLES
   ═══════════════════════════════════════════════════════ */

/* ─── Designer Form Section ─── */
.section--designer-form { padding: 5rem 2rem; }
.designer-form-inner { max-width: 700px; margin: 0 auto; text-align: center; }
.designer-form-title { font-size: 2rem; font-weight: 300; letter-spacing: 4px; color: var(--brand); margin: 0 0 1rem; }
.designer-form-desc { font-size: 1rem; color: #666; line-height: 1.6; margin: 0 0 2.5rem; }
.designer-form-fields { text-align: left; }

/* ─── Designer Apply Page ─── */
.designer-apply-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 6rem 2rem 4rem; }
.designer-apply-inner { max-width: 700px; width: 100%; }
.designer-apply-title { font-size: 2.2rem; font-weight: 300; letter-spacing: 4px; color: var(--brand); margin: 0 0 1rem; text-align: center; }
.designer-apply-desc { font-size: 1rem; color: #666; line-height: 1.6; text-align: center; margin: 0 0 2.5rem; }

/* ─── Shared Designer Apply Form Fields ─── */
.daf-row { display: flex; gap: 1.2rem; margin-bottom: 1.2rem; }
.daf-field { flex: 1; }
.daf-field label { display: block; font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.daf-field input { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: 3px; font-size: 15px; font-family: inherit; transition: border-color .2s; box-sizing: border-box; background: #fff; }
.daf-field input:focus { outline: none; border-color: var(--brand); }
/* ─── Unified privacy/GDPR consent checkbox (public forms) ─── */
.form-consent { display:flex; align-items:flex-start; gap:.75rem; margin:1.25rem 0 .5rem; font-size:.85rem; line-height:1.5; color:#555; cursor:pointer; user-select:none }
.form-consent input[type="checkbox"] { -webkit-appearance:none; appearance:none; width:20px; height:20px; border:1px solid #d4d4d4; border-radius:0; background:#fff; flex-shrink:0; margin:0; margin-top:.1rem; cursor:pointer; position:relative; transition:border-color .15s ease, background .15s ease }
.form-consent input[type="checkbox"]:hover { border-color:#1a1a1a }
.form-consent input[type="checkbox"]:checked { background:#1a1a1a; border-color:#1a1a1a }
.form-consent input[type="checkbox"]:checked::after { content:''; position:absolute; left:50%; top:50%; width:5px; height:10px; border:solid #fff; border-width:0 2px 2px 0; transform:translate(-50%, -60%) rotate(45deg) }
.form-consent input[type="checkbox"]:focus-visible { outline:2px solid #1a1a1a; outline-offset:2px }
.form-consent a { color:#1a1a1a; text-decoration:underline; text-underline-offset:2px }
.form-consent a:hover { color:#5a3e29 }
.section--dark .form-consent { color:#ddd }
.section--dark .form-consent input[type="checkbox"] { background:transparent; border-color:rgba(255,255,255,.4) }
.section--dark .form-consent input[type="checkbox"]:hover { border-color:#f5f0eb }
.section--dark .form-consent input[type="checkbox"]:checked { background:#f5f0eb; border-color:#f5f0eb }
.section--dark .form-consent input[type="checkbox"]:checked::after { border-color:#1a1a1a }
.section--dark .form-consent a { color:#f5f0eb }
.daf-submit { display: block; width: auto; padding: 14px 3rem; background: #1a1a1a; color: #fff; border: none; border-radius: 3px; font-size: 15px; font-family: inherit; cursor: pointer; letter-spacing: 1px; transition: background .2s; margin-top: .5rem; margin-left: auto; }
.daf-submit:hover { background: #000; }
.daf-submit:disabled { opacity: .6; cursor: not-allowed; }
.daf-success { text-align: center; padding: 2rem 0; }
.daf-success-icon { width: 48px; height: 48px; margin: 0 auto 16px; color: #27ae60; }
.daf-success-icon svg { width: 48px; height: 48px; }
.daf-success h3 { font-size: 1.3rem; color: #333; margin: 0 0 8px; }
.daf-success p { font-size: 15px; color: #666; line-height: 1.6; }
.daf-error { background: #fff0f0; color: #c0392b; padding: 12px 16px; border-radius: 3px; margin-top: 12px; font-size: 14px; }
@media (max-width: 600px) {
    .daf-row { flex-direction: column; gap: .8rem; }
}

/* ─── Product Favorite Button ─── */
.product-showcase__header { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.product-fav-btn { background: none; border: none; cursor: pointer; color: #ccc; width: 32px; height: 32px; padding: 0; transition: color .2s, transform .2s; }
.product-fav-btn:hover { color: var(--brand); transform: scale(1.15); }
.product-fav-btn.active { color: #c0392b; }
.product-fav-btn svg { width: 24px; height: 24px; }

/* ─── Downloads Locked State ─── */
.product-downloads__locked { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #999; padding: 1rem 0; }
.product-downloads__locked a { color: var(--brand); text-decoration: none; }
.product-downloads__locked a:hover { text-decoration: underline; }

/* ─── Designer Dashboard ─── */
.dash { min-height: 60vh; padding: 8rem 2rem 4rem; }
.dash-inner { max-width: 900px; margin: 0 auto; }
.dash-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2rem; }
.dash-title { font-size: 1.8rem; font-weight: 300; letter-spacing: 2px; color: var(--brand); margin: 0; }
.dash-logout { font-size: 13px; color: #999; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; }
.dash-logout:hover { color: var(--brand); }
.dash-flash { padding: 12px 16px; border-radius: 3px; margin-bottom: 16px; font-size: 14px; }
.dash-flash.error { background: #fff0f0; color: #c0392b; }
.dash-flash.success { background: #f0fff0; color: #27ae60; }

/* Tabs */
.dash-tabs { display: flex; gap: 0; border-bottom: 1px solid #ddd; margin-bottom: 2rem; }
.dash-tab { background: none; border: none; border-bottom: 2px solid transparent; padding: 10px 20px; font-size: 14px; font-family: inherit; color: #999; cursor: pointer; transition: all .2s; letter-spacing: .5px; }
.dash-tab:hover { color: #333; }
.dash-tab.active { color: var(--brand); border-bottom-color: var(--brand); }

/* Panels */
.dash-panel { display: none; }
.dash-panel.active { display: block; }

/* Form styles */
.dash-form-row { display: flex; gap: 1.5rem; margin-bottom: 1.2rem; }
.dash-form-field { flex: 1; }
.dash-form-field label { display: block; font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.dash-form-field input { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 3px; font-size: 14px; font-family: inherit; box-sizing: border-box; transition: border-color .2s; }
.dash-form-field input:focus { outline: none; border-color: var(--brand); }
.dash-form-field input:disabled { background: #f5f5f5; color: #999; }
.dash-btn { display: inline-block; padding: 10px 28px; background: var(--brand); color: #fff; border: none; border-radius: 3px; font-size: 14px; font-family: inherit; cursor: pointer; letter-spacing: .5px; transition: background .2s; }
.dash-btn:hover { background: #4a3020; }
.dash-hint { display: block; font-size: 12px; color: #999; margin-top: 4px; }

/* Favorites grid */
.dash-fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.2rem; }
.dash-fav-card { text-decoration: none; color: inherit; }
.dash-fav-img { aspect-ratio: 1; background-size: cover; background-position: center; border-radius: 4px; background-color: #f0f0f0; }
.dash-fav-name { display: block; font-size: 13px; color: #333; margin-top: 8px; }
.dash-empty { font-size: 14px; color: #999; }

/* History table */
.dash-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dash-table th { text-align: left; padding: 8px 12px; border-bottom: 2px solid #ddd; font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: #999; }
.dash-table td { padding: 8px 12px; border-bottom: 1px solid #eee; }

/* ─── Topbar designer name ─── */
.topbar-designer-name { color: rgba(255,255,255,.85) !important; letter-spacing: 1px; font-size: .75rem; text-transform: uppercase; }
.topbar-designer-name:hover { color: #fff !important; }

@media (max-width: 768px) {
    .dash { padding: 5rem 1.2rem 2rem; }
    .dash-form-row { flex-direction: column; gap: .8rem; }
    .dash-form-field input { font-size: 16px; }
    .dash-tabs { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .dash-tab { white-space: nowrap; padding: 8px 14px; font-size: 13px; }
    .dash-header { flex-direction: column; align-items: flex-start; gap: .5rem; }
    .dash-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .dash-fav-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }
}

/* ─── Showrooms section (Minotti style) ─── */
.section--showrooms {
    padding: 6rem 1rem;
}
.showrooms-inner {
    max-width: 1320px;
    margin: 0 auto;
}
.showrooms-heading {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 300;
    letter-spacing: .03em;
    text-align: center;
    margin-bottom: 3.5rem;
    color: #1a1a1a;
}
.showrooms-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    justify-content: stretch;
}
.showrooms-list:has(.showroom-item:only-child) {
    display: block;
}
.showrooms-list:has(.showroom-item:only-child) .showroom-item {
    border: none;
    max-width: 600px;
}
.showrooms-list:has(.showroom-item:only-child) .showroom-name {
    text-align: center;
}
.showrooms-list:has(.showroom-item:only-child) .showroom-info {
    align-items: center;
}
.showrooms-list:has(.showroom-item:only-child) .showroom-line {
    justify-content: center;
    text-align: center;
}
/* If single showroom has a map — kill the centered/narrow constraint */
.showrooms-list:has(.showroom-item:only-child) .showroom-item:has(.showroom-map) {
    max-width: none;
}
.showrooms-list:has(.showroom-item:only-child) .showroom-item:has(.showroom-map) .showroom-name {
    text-align: left;
}
.showrooms-list:has(.showroom-item:only-child) .showroom-item:has(.showroom-map) .showroom-info {
    align-items: stretch;
}
.showrooms-list:has(.showroom-item:only-child) .showroom-item:has(.showroom-map) .showroom-line {
    justify-content: flex-start;
    text-align: left;
}
.showroom-item {
    padding: 2.5rem 1rem;
}
.showroom-item--bordered {
    border-bottom: none;
}
.showroom-name {
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}
.showroom-info {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.showroom-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: .9rem;
    margin-top: .25rem;
    border-top: 1px solid rgba(0,0,0,.08);
}
.showroom-group:first-child { padding-top: 0; margin-top: 0; border-top: none; }
.showroom-group__label {
    font-size: .65rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #5a3e29;
    margin-bottom: .35rem;
    font-weight: 500;
}
.showroom-map {
    margin-top: 1.6rem;
    overflow: hidden;
    background: #f5f0eb;
    filter: grayscale(.15) saturate(.95);
    transition: filter .35s ease;
}
.showroom-map:hover { filter: none; }
.showroom-map iframe {
    display: block;
    width: 100%;
    border: 0;
}
.section--dark .showroom-map { background: rgba(255,255,255,.04); }

/* Desktop: each showroom = text block on the left, map on the right */
@media (min-width: 769px) {
    .showroom-item:has(.showroom-map) {
        display: grid;
        grid-template-columns: minmax(260px, 1fr) 1.4fr;
        column-gap: 3rem;
        align-items: start;
    }
    .showroom-item:has(.showroom-map) > .showroom-text {
        grid-column: 1;
    }
    .showroom-item:has(.showroom-map) > .showroom-map {
        grid-column: 2;
        margin-top: 0;
        align-self: start;
    }
    .showroom-item:has(.showroom-map) > .showroom-map iframe {
        height: 320px;
    }
}
@media (max-width: 768px) {
    .showroom-map iframe { height: 220px; }
}
.showroom-line {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    font-size: .9rem;
    line-height: 1.6;
    color: #666;
}
.showroom-ico {
    width: 17px;
    height: 17px;
    min-width: 17px;
    margin-top: 3px;
    opacity: .4;
}
.showroom-link {
    color: inherit;
    text-decoration: none;
    transition: color .25s;
}
.showroom-link:hover {
    color: #5a3e29;
}

/* 2 columns on desktop */
@media (min-width: 700px) {
    .showroom-item {
        padding: 2.5rem;
    }
}

/* Dark theme */
.section--dark .showrooms-heading { color: #f5f0eb; }
.section--dark .showroom-name { color: #f5f0eb; }
.section--dark .showroom-line { color: #999; }
.section--dark .showroom-ico { opacity: .35; }
.section--dark .showroom-link:hover { color: #c9a96e; }
.section--dark .showroom-item--bordered { border-color: rgba(255,255,255,.08); }

@media (max-width: 699px) {
    .section--showrooms { padding: 4rem 1.5rem; }
    .showrooms-heading { margin-bottom: 2.5rem; }
    .showroom-item { padding: 2rem 0; }
}

/* ═══════════ Text + Buttons section ═══════════ */
.section--text-buttons {
    padding: 6rem 2rem;
    text-align: center;
    flex-direction: column;
    background: #f5f0eb;
}
.text-buttons-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.text-buttons-title {
    font-family: 'Raleway', sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    color: #1a1a1a;
}
.text-buttons-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: .5rem 0;
}
.text-buttons-sep {
    display: inline-block;
    width: 4rem;
    text-align: center;
    color: #999;
    font-size: .85rem;
    user-select: none;
}
.text-buttons-item {
    font-family: 'Raleway', sans-serif;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    padding: .4rem .2rem;
    transition: color .25s;
    cursor: default;
}
a.text-buttons-item {
    cursor: pointer;
}
a.text-buttons-item:hover {
    color: #5a3e29;
}
.section--dark .text-buttons-title { color: #f5f0eb; }
.section--dark .text-buttons-item { color: #ccc; }
.section--dark a.text-buttons-item:hover { color: #c9a96e; }
.section--dark .text-buttons-sep { color: #555; }

/* ═══════════ People / contact cards section ═══════════ */
.section--people { padding: 5rem 2rem; }
.ppl-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.ppl-title { font-family: 'Raleway', sans-serif; font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 300; letter-spacing: -.02em; color: #1a1a1a; margin: 0 0 1rem; }
.ppl-lead { font-size: .85rem; color: #666; max-width: 600px; margin: 0 auto 3rem; line-height: 1.65; }
.ppl-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; max-width: 820px; margin: 0 auto; }
.ppl-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.ppl-card__photo { width: 100%; max-width: 340px; aspect-ratio: 4/5; overflow: hidden; background: #f5f0eb; margin-bottom: 1.5rem; }
.ppl-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ppl-card:hover .ppl-card__photo img { transform: scale(1.04); }
.ppl-card__body { max-width: 280px; }
.ppl-card__name { font-family: 'Raleway', sans-serif; font-size: 1.25rem; font-weight: 400; color: #1a1a1a; margin: 0 0 .35rem; letter-spacing: .01em; }
.ppl-card__role { font-size: .68rem; color: #888; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1.1rem; }
.ppl-card__contacts { display: flex; flex-direction: column; gap: .4rem; align-items: center; }
.ppl-card__link { font-size: .85rem; color: #5a3e29; text-decoration: none; letter-spacing: .02em; display: inline-flex; align-items: center; gap: .5rem; transition: color .2s; }
.ppl-card__link span { color: #c9a96e; font-size: .95em; }
.ppl-card__link:hover { color: #1a1a1a; }
.section--people.section--dark .ppl-title { color: #f5f0eb; }
.section--people.section--dark .ppl-lead { color: #bdb5ab; }
.section--people.section--dark .ppl-card__name { color: #f5f0eb; }
.section--people.section--dark .ppl-card__role { color: #a19890; }
.section--people.section--dark .ppl-card__link { color: #c9a96e; }
.section--people.section--dark .ppl-card__link:hover { color: #f5f0eb; }
@media (max-width:720px) {
    .section--people { padding: 3.5rem 1rem; }
    .ppl-grid { grid-template-columns: 1fr; gap: 3rem; max-width: 420px; }
    .ppl-card__photo { max-width: 100%; aspect-ratio: 4/5; margin-bottom: 1.2rem; }
    .ppl-card__body { max-width: 100%; }
    .ppl-title { font-size: clamp(1.6rem, 5vw, 2.2rem); margin-bottom: .75rem; }
    .ppl-lead { margin-bottom: 2rem; }
    .ppl-card__name { font-size: 1.1rem; }
}

@media (max-width: 699px) {
    .section--text-buttons { padding: 2.5rem 1rem; position: relative; z-index: 5; }
    .text-buttons-title { font-size: 1.8rem; margin-bottom: 1rem; }
    .text-buttons-row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: .3rem .15rem;
        position: relative;
        z-index: 2;
    }
    .text-buttons-sep { width: 1.5rem; font-size: .7rem; pointer-events: none; }
    a.text-buttons-item { font-size: .7rem; letter-spacing: .08em; padding: .7rem .4rem; position: relative; z-index: 3; -webkit-tap-highlight-color: rgba(90,62,41,.15); }
    span.text-buttons-item { font-size: .7rem; letter-spacing: .08em; }
}

/* ─── Materials Public Page ─── */
/* Materials page — designer/admin only, Minotti style */
.page-materials { background: #fafaf8; }
.page-materials .page-hero { height: 50vh; min-height: 360px; }
.page-materials .page-hero__title { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 300; letter-spacing: .14em; text-transform: uppercase; color: #fff; }

.mat-private { text-align: center; padding: .8rem 2rem; font-size: .65rem; letter-spacing: .26em; text-transform: uppercase; color: #fff; background: #1a1a1a; border-bottom: 1px solid #2a2a2a; }
.mat-private__dot { display: inline-block; width: 5px; height: 5px; background: #5a3e29; border-radius: 50%; vertical-align: middle; margin: 0 .8rem; }

.mat-tabs { display: flex; gap: 0; justify-content: center; padding: 0 2rem; border-bottom: 1px solid rgba(0,0,0,.08); background: #fafaf8; position: sticky; top: 0; z-index: 10; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mat-tabs__item { padding: 1.4rem 2rem; font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 400; color: #999; text-decoration: none; border-bottom: 1px solid transparent; transition: color .25s ease, border-color .25s ease; white-space: nowrap; display: flex; align-items: center; gap: .55rem; }
.mat-tabs__item:hover { color: #1a1a1a; }
.mat-tabs__item--active { color: #5a3e29; border-bottom-color: #5a3e29; }
.mat-tabs__count { font-size: .58rem; color: #b5b5b5; font-feature-settings: "tnum" 1; }
.mat-tabs__item--active .mat-tabs__count { color: rgba(90,62,41,.55); }

.mat-grid-section { max-width: 1480px; margin: 0 auto; padding: 4rem 4rem 8rem; }
.mat-collection-title { font-size: clamp(1.6rem, 2.5vw, 2.4rem); font-weight: 300; letter-spacing: .04em; color: #1a1a1a; margin: 5rem 0 2rem; padding: 0; border: 0; }
.mat-collection-title:first-child { margin-top: 2rem; }
.mat-collection-title::after { content: ''; display: block; width: 32px; height: 1px; background: #5a3e29; margin-top: 1.2rem; }

.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem 1.5rem; margin-bottom: 1rem; }
.mat-card { text-align: left; }
.mat-card__swatch { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; cursor: pointer; background: #ece7e0; }
.mat-card__swatch img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.mat-card__color { width: 100%; height: 100%; }
.mat-card__swatch:hover img { transform: scale(1.06); }
.mat-card__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,26,26,.85) 0%, rgba(26,26,26,.45) 60%, rgba(26,26,26,0) 100%); display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .25rem; opacity: 0; transition: opacity .35s cubic-bezier(.2,.7,.2,1); padding: 1rem 1.2rem; }
.mat-card__swatch:hover .mat-card__overlay { opacity: 1; }
.mat-card__collection { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.mat-card__comp { font-size: .7rem; line-height: 1.5; color: rgba(255,255,255,.85); }
.mat-card__sku { font-size: .58rem; color: rgba(255,255,255,.55); letter-spacing: .12em; font-feature-settings: "tnum" 1; }
.mat-card__name { display: block; margin-top: .85rem; font-size: .82rem; font-weight: 400; color: #1a1a1a; letter-spacing: .02em; }

.mat-search { background: #fafaf8; border-bottom: 1px solid rgba(0,0,0,.06); }
.mat-search__inner { max-width: 720px; margin: 0 auto; padding: 1.4rem 2rem; display: flex; align-items: center; gap: .8rem; position: relative; }
.mat-search__icon { color: #888; flex-shrink: 0; }
.mat-search__input { flex: 1; padding: .55rem 0; border: 0; background: transparent; border-bottom: 1px solid rgba(0,0,0,.12); font-size: .92rem; font-family: inherit; font-weight: 300; color: #1a1a1a; outline: none; transition: border-color .25s ease; letter-spacing: .01em; }
.mat-search__input:focus { border-bottom-color: #5a3e29; }
.mat-search__input::placeholder { color: #aaa; font-weight: 300; }
.mat-search__input::-webkit-search-cancel-button { display: none; }
.mat-search__clear { background: transparent; border: 0; color: #888; cursor: pointer; font-size: 1.4rem; line-height: 1; padding: 0 .4rem; transition: color .2s; font-family: inherit; }
.mat-search__clear:hover { color: #1a1a1a; }
.mat-search__empty { text-align: center; padding: 0 2rem 1.4rem; color: #888; font-size: .85rem; font-weight: 300; letter-spacing: .04em; }

@media (max-width: 768px) {
    .mat-search__inner { padding: 1rem 1.25rem; gap: .55rem; }
    .mat-search__input { font-size: 16px; }
}

.mat-card[data-mid] { cursor: pointer; }
.mat-card__count { position: absolute; top: .55rem; right: .55rem; display: flex; align-items: center; gap: .25rem; padding: .28rem .5rem; background: rgba(26,26,26,.78); color: #fff; font-size: .6rem; letter-spacing: .04em; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; z-index: 3; opacity: .9; transition: opacity .25s; font-feature-settings: "tnum" 1; }
.mat-card__count svg { stroke: currentColor; opacity: .85; }
.mat-card__swatch:hover .mat-card__count { opacity: 1; background: rgba(26,26,26,.92); }

.lightbox-counter { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); padding: .5rem 1rem; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); font-size: .72rem; letter-spacing: .14em; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.1); font-feature-settings: "tnum" 1, "lnum" 1; }

.mat-empty { text-align: center; padding: 8rem 2rem; color: #888; font-size: 1rem; font-weight: 300; }

@media (max-width: 1280px) {
    .mat-grid-section { padding: 3.5rem 3rem 6rem; }
    .mat-grid { grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.25rem; }
}
@media (max-width: 1024px) {
    .mat-grid-section { padding: 3rem 2.5rem 5rem; }
    .mat-grid { grid-template-columns: repeat(3, 1fr); gap: 1.4rem 1rem; }
    .mat-collection-title { margin-top: 4rem; }
}
@media (max-width: 768px) {
    .mat-grid-section { padding: 2rem 1.25rem 4rem; }
    .mat-collection-title { font-size: 1.4rem; margin: 3rem 0 1.4rem; }
    .mat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.2rem .75rem; }
    .mat-tabs__item { padding: 1rem 1.1rem; font-size: .58rem; letter-spacing: .18em; }
    .mat-private { font-size: .58rem; letter-spacing: .2em; padding: .6rem 1rem; }
}
@media (max-width: 480px) {
    .mat-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem .55rem;}
    .mat-card__name { font-size:.65rem; }
}

/* ─────────────── Landing Callback Form ─────────────── */
.landing-callback {
    background: #f5f0eb;
    padding: 5rem 2rem;
}
.landing-callback__inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.landing-callback__title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    letter-spacing: .1em;
    color: #1a1a1a;
    margin: 0 0 .75rem;
}
.landing-callback__desc {
    color: #666;
    font-size: .95rem;
    margin: 0 0 2rem;
}
.landing-callback__fields {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    justify-content: center;
}
.landing-callback__input {
    flex: 1 1 200px;
    max-width: 280px;
    padding: .85rem 1.2rem;
    border: 1px solid #ccc;
    border-radius: 0;
    font-family: 'Raleway', sans-serif;
    font-size: .95rem;
    background: #fff;
    transition: border-color .3s;
}
.landing-callback__input:focus {
    outline: none;
    border-color: #1a1a1a;
}
.landing-callback__btn {
    padding: .85rem 2.5rem;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    font-family: 'Raleway', sans-serif;
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: .05em;
    cursor: pointer;
    transition: background .2s, color .2s;
}
.landing-callback__btn:hover { background: #fff; color: #1a1a1a; }
.landing-callback__btn:disabled { opacity: .6; cursor: wait; }
.landing-callback__status {
    margin-top: 1rem;
    font-size: .9rem;
}
.landing-callback__status--ok { color: #2e7d32; }
.landing-callback__status--err { color: #c62828; }
.landing-callback__success {
    max-width: 600px;
    margin: 1rem auto 0;
    padding: 2.5rem 2rem;
    text-align: center;
    color: #1a1a1a;
}
.landing-callback__success-icon {
    color: #5a3e29;
    margin-bottom: 1.2rem;
    display: inline-flex;
}
.landing-callback__success-title {
    font-family: 'Raleway', sans-serif;
    font-weight: 300;
    font-size: 1.6rem;
    letter-spacing: .04em;
    margin: 0 0 .8rem;
}
.landing-callback__success-text {
    font-size: 1rem;
    line-height: 1.6;
    opacity: .8;
    margin: 0;
}

@media (max-width: 600px) {
    .landing-callback__fields { flex-direction: column; align-items: center; }
    .landing-callback__input { max-width: 100%; width: 100%; }
    .landing-callback__btn { width: 100%; }
}

/* ─────────────── Site Footer ─────────────── */

.site-footer {
    background: #1a1a1a;
    color: rgba(255,255,255,.75);
    padding: 5rem 0 0;
    font-size: .85rem;
    line-height: 1.7;
    letter-spacing: .02em;
}

.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* ── Top: logo + description ── */
.footer-top {
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.2rem;
}

.footer-logo img {
    height: 28px;
    filter: brightness(0) invert(1);
}

.footer-desc {
    color: rgba(255,255,255,.65);
    font-size: .8rem;
    line-height: 1.8;
    letter-spacing: .03em;
}

/* ── Columns ── */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 3rem;
    padding: 2rem 0 3rem;
}

.footer-heading {
    font-size: .7rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-bottom: 1.4rem;
    font-weight: 400;
}

/* ── Showrooms row ── */
.footer-showrooms-row {
    padding: 3rem 0 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.footer-showrooms-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
}

/* ── Showroom card ── */
.footer-showroom {
    margin-bottom: 1.5rem;
}

.footer-showroom:last-child {
    margin-bottom: 0;
}

.footer-city {
    display: block;
    color: #fff;
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: .3rem;
}

.footer-address {
    display: block;
    color: rgba(255,255,255,.65);
    font-size: .8rem;
}

.footer-contact-group {
    display: block;
    margin-top: .75rem;
    padding-top: .55rem;
    border-top: 1px solid rgba(255,255,255,.08);
}
.footer-contact-group:first-of-type {
    margin-top: .5rem;
    padding-top: 0;
    border-top: none;
}
.footer-contact-group__label {
    display: block;
    color: rgba(255,255,255,.65);
    font-size: .62rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: .35rem;
}

.footer-phone,
.footer-email {
    display: block;
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .8rem;
    transition: color .3s;
}

.footer-phone:hover,
.footer-email:hover {
    color: #fff;
}

/* ── Link columns ── */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .6rem;
}

.footer-links a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .8rem;
    letter-spacing: .03em;
    transition: color .3s;
}

.footer-links a:hover {
    color: #fff;
}

/* ── Bottom bar ── */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    border-top: 1px solid rgba(255,255,255,.1);
}

/* Newsletter subscribe form in footer */
.footer-newsletter {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}
.footer-newsletter__label {
    font-family: 'Raleway', sans-serif;
    font-size: .78rem;
    font-weight: 300;
    letter-spacing: .08em;
    color: rgba(255,255,255,.7);
    margin: 0;
    max-width: 760px;
    line-height: 1.6;
}
.footer-newsletter__form {
    display: flex;
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 460px;
    border: 1px solid rgba(255,255,255,.18);
    transition: border-color .3s ease;
}
.footer-newsletter__form:focus-within {
    border-color: rgba(255,255,255,.5);
}
.footer-newsletter__input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: .95rem 1.2rem;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: .78rem;
    letter-spacing: .05em;
}
.footer-newsletter__input::placeholder {
    color: rgba(255,255,255,.35);
    letter-spacing: .05em;
}
.footer-newsletter__btn {
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255,255,255,.18);
    color: #fff;
    padding: 0 1.6rem;
    font-family: 'Raleway', sans-serif;
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s ease, color .3s ease;
}
.footer-newsletter__btn:hover {
    background: rgba(255,255,255,.08);
}
.footer-newsletter__btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.footer-newsletter__consent {
    display: flex;
    align-items: center;
    gap: .6rem;
    max-width: 760px;
    margin: .9rem 0 .4rem;
    font-size: .72rem;
    line-height: 1.55;
    color: rgba(255,255,255,.55);
    cursor: pointer;
    user-select: none;
    letter-spacing: .03em;
}
.footer-newsletter__consent input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    position: relative;
    transition: border-color .2s ease, background .2s ease;
}
.footer-newsletter__consent input[type="checkbox"]:hover {
    border-color: rgba(255,255,255,.7);
}
.footer-newsletter__consent input[type="checkbox"]:checked {
    background: #f5f0eb;
    border-color: #f5f0eb;
}
.footer-newsletter__consent input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4px;
    height: 8px;
    border: solid #1a1a1a;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -60%) rotate(45deg);
}
.footer-newsletter__consent a {
    color: rgba(255,255,255,.85);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.footer-newsletter__consent a:hover {
    color: #f5f0eb;
}
.footer-newsletter__msg {
    min-height: 1.2rem;
    font-size: .75rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .05em;
}
.footer-newsletter__msg.is-error {
    color: #d97757;
}
.footer-newsletter__msg.is-success {
    color: rgba(255,255,255,.85);
}
.footer-newsletter.is-hidden {
    display: none;
}
@media (max-width: 600px) {
    .footer-newsletter {
        padding: 2rem 1rem;
    }
    .footer-newsletter__form {
        flex-direction: column;
    }
    .footer-newsletter__btn {
        border-left: none;
        border-top: 1px solid rgba(255,255,255,.18);
        padding: .9rem;
    }
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255,255,255,.45);
    transition: color .3s;
}

.footer-social:hover {
    color: #fff;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-copy {
    font-size: .72rem;
    color: rgba(255,255,255,.6);
    letter-spacing: .06em;
}

/* ── Footer responsive ── */
@media (max-width: 1024px) {
    .footer-showrooms-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .site-footer { padding: 3rem 0 0; }
    .footer-inner { padding: 0 1.5rem; }
    .footer-showrooms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-columns {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-showrooms-grid {
        grid-template-columns: 1fr;
    }
    .footer-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ─── Legal Pages (Minotti style) ─── */
.legal-page {
    padding-top: 0;
}
.legal-hero {
    display: none;
}
.legal-content {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 2rem 100px;
}
.legal-body {
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.95rem;
    line-height: 1.85;
    color: #333;
}
.legal-body h2 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin: 3rem 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid #e0e0e0;
}
.legal-body h2:first-child {
    margin-top: 0;
}
.legal-body h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    margin: 2rem 0 0.8rem;
}
.legal-body p {
    margin: 0 0 1em;
}
.legal-body ul, .legal-body ol {
    margin: 0.5em 0 1.2em 1.5em;
    padding: 0;
}
.legal-body li {
    margin-bottom: 0.4em;
}
.legal-body a {
    color: #5a3e29;
    text-decoration: none;
    border-bottom: 1px solid rgba(90,62,41,0.3);
    transition: border-color 0.2s;
}
.legal-body a:hover {
    border-color: #5a3e29;
}
.legal-body strong {
    font-weight: 600;
    color: #1a1a1a;
}
.legal-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.9rem;
}
.legal-body table th,
.legal-body table td {
    padding: 0.7em 1em;
    border: 1px solid #e0e0e0;
    text-align: left;
}
.legal-body table th {
    background: #fafafa;
    font-weight: 600;
}

/* Legal sidebar nav */
.legal-nav {
    position: sticky;
    top: 100px;
    align-self: start;
}
.legal-nav h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
    margin: 0 0 1rem;
}
.legal-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.legal-nav li {
    margin-bottom: 0.5rem;
}
.legal-nav li a {
    font-size: 0.85rem;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
    display: block;
    padding: 0.3rem 0;
    border-left: 2px solid transparent;
    padding-left: 12px;
}
.legal-nav li a:hover {
    color: #1a1a1a;
}
.legal-nav li.active a {
    color: #5a3e29;
    font-weight: 600;
    border-left-color: #5a3e29;
}

/* Legal responsive */
@media (max-width: 900px) {
    .legal-hero {
        padding: 100px 0 40px;
    }
    .legal-hero h1 {
        font-size: 1.6rem;
    }
    .legal-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 1.5rem 60px;
    }
    .legal-nav {
        position: static;
        order: -1;
        border-bottom: 1px solid #eee;
        padding-bottom: 1.5rem;
    }
}
@media (max-width: 480px) {
    .legal-hero {
        padding: 90px 0 30px;
    }
    .legal-hero h1 {
        font-size: 1.3rem;
        letter-spacing: 0.08em;
    }
    .legal-content {
        padding: 30px 1rem 40px;
    }
    .legal-body {
        font-size: 0.9rem;
    }
}

/* ═══════════════ Floating Chat Button ═══════════════ */
.chat-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    transition: transform .2s, background .2s;
    text-decoration: none;
    color: #fff;
}
.chat-float:hover {
    transform: scale(1.08);
    background: #333;
}
.chat-float svg {
    width: 24px;
    height: 24px;
    stroke: #fff;
    fill: none;
}

@media (max-width: 600px) {
    .chat-float {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 46px;
        height: 46px;
    }
    .chat-float svg {
        width: 20px;
        height: 20px;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 5.5rem;
    right: 2rem;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,.25);
    transition: transform .2s, background .2s;
    text-decoration: none;
}
.whatsapp-float:hover {
    transform: scale(1.08);
    background: #1ebd57;
}
.whatsapp-float svg {
    width: 26px;
    height: 26px;
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 4.4rem;
        right: 1.2rem;
        width: 46px;
        height: 46px;
    }
    .whatsapp-float svg {
        width: 22px;
        height: 22px;
    }
}

/* ── Page Hero (dark gradient, title bottom-right) ── */
.page-inner .page-hero {
    padding-top: var(--header-h, 100px);
    height: calc(75vh + var(--header-h, 100px));
}

.page-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    background: #1a1a1a;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    overflow: hidden;
}
.page-hero[style*="background-image"]::before {
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(90,62,41,.15) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero__title {
    position: relative;
    z-index: 1;
    font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 300;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #fff;
    padding: 2rem 4rem;
    line-height: 1.2;
}
@media (max-width: 768px) {
    .page-hero {
        height: 35vh;
        min-height: 200px;
        max-height: 300px;
    }
    .page-hero__title {
        padding: 1.5rem 2rem;
        font-size: clamp(1.2rem, 5vw, 1.8rem);
    }
}

/* ═══ Product Specs ═══ */
.pv3-chars{max-width:780px;margin:0 auto;padding:3rem 1.5rem}
.pv3-chars__heading{font-size:.72rem;font-weight:500;text-transform:uppercase;letter-spacing:.12em;color:#999;margin:0 0 1.25rem;padding-bottom:.5rem;border-bottom:1px solid #e8e8e8}
.pv3-chars__price{margin-bottom:2.5rem;display:flex;align-items:baseline;gap:.4rem}
.pv3-chars__price-label{font-size:.8rem;color:#999;text-transform:uppercase;letter-spacing:.08em}
.pv3-chars__price-val{font-family:'Fraunces',Georgia,serif;font-size:2.8rem;font-weight:300;line-height:1;color:#1a1a1a}
.pv3-chars__price-cur{font-size:.9rem;color:#999}
.pv3-chars__dims{margin-bottom:2.5rem}
.pv3-dims-grid{display:flex;gap:0}
.pv3-dim{flex:1;text-align:center;padding:1.2rem .5rem;border-right:1px solid #e8e8e8}
.pv3-dim:last-child{border-right:none}
.pv3-dim__val{display:block;font-family:'Fraunces',Georgia,serif;font-size:2.2rem;font-weight:300;line-height:1.2;color:#1a1a1a}
.pv3-dim__label{display:block;font-size:.68rem;text-transform:uppercase;letter-spacing:.1em;color:#999;margin-top:.3rem}
.pv3-chars__specs{margin-bottom:2.5rem}
.pv3-specs-grid{display:grid;grid-template-columns:1fr 1fr;gap:0}
.pv3-spec-row{display:contents}
.pv3-spec-key{padding:.85rem 0;border-bottom:1px solid #f0f0f0;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#999}
.pv3-spec-val{padding:.85rem 0;border-bottom:1px solid #f0f0f0;font-size:.88rem;color:#1a1a1a;font-weight:400}
.pv3-spec-row--last .pv3-spec-key,.pv3-spec-row--last .pv3-spec-val{border-bottom:none}
.pv3-chars__fabrics{margin-bottom:2.5rem}
.pv3-chars__fabrics-text{font-size:.88rem;line-height:1.65;color:#1a1a1a;white-space:pre-line}
.pv3-chars__badges{margin-bottom:2rem}
.pv3-badges{display:flex;flex-wrap:wrap;gap:.5rem}
.pv3-badge{padding:.5rem 1.1rem;border:1px solid #d0d0d0;border-radius:0;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:#1a1a1a;white-space:nowrap}
.pv3-chars__note{font-size:.82rem;color:#888;font-style:italic;line-height:1.5;margin:0}
@media(max-width:600px){
    .pv3-chars{padding:2rem 1rem}
    .pv3-chars__price-val{font-size:2rem}
    .pv3-dim__val{font-size:1.6rem}
    .pv3-specs-grid{grid-template-columns:1fr}
    .pv3-spec-key{padding:.6rem 0 .15rem;border-bottom:none}
    .pv3-spec-val{padding:.15rem 0 .6rem}
}
