:root {
    --color-primary: #c9972b;
    --color-secondary: #0f1c2f;
    --color-bg: #f5f5f2;
    --color-text: #111112;
    --header-height: 72px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: var(--color-text);
    background-color: #fff;
    line-height: 1.6;
}

body.lightbox-open {
    overflow: hidden;
}

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

/* Un elemento con l'attributo hidden deve restare nascosto anche se più sotto
   gli diamo un display (flex, grid...): le regole di questo foglio battono
   quella del browser, ed è così che un overlay finisce steso sulla pagina. */
[hidden] {
    display: none !important;
}
img.logo {
    max-width: none;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
}

.logo img {
    height: 64px;
    animation: logoHuePulse 6s ease-in-out infinite;
}

@keyframes logoHuePulse {
    0% {
        filter: hue-rotate(0deg) saturate(1);
    }
    50% {
        filter: hue-rotate(-40deg) saturate(1.25);
    }
    100% {
        filter: hue-rotate(-80deg) saturate(1);
    }
}

.nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background-color: var(--color-secondary);
}

.main-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    background-color: #fff;
    width: 100%;
    padding: 1.5rem;
    display: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.main-nav.is-open {
    display: block;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: right;
}

.main-nav a {
    font-weight: 500;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    display: inline-block;
}

.main-nav a.active,
.main-nav a:hover {
    border-bottom-color: var(--color-primary);
}

.lang-switcher {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.lang-switcher a {
    border: 1px solid #d5daf2;
    border-radius: 999px;
    padding: 0.15rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1f2a65;
}

.lang-switcher a.is-active {
    background-color: #1f2a65;
    border-color: #1f2a65;
    color: #fff;
}

.hero {
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.hero-home {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--hero-home-image, url('../../../uploads/foto/sede.jpg'));
    background-repeat: no-repeat;
}

.hero-content {
    padding: 6rem 0 5rem;
}

.tagline {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    margin-bottom: 1rem;
}

.hero-cta {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.section {
    padding: 4rem 0;
}

.bg-light {
    background-color: var(--color-bg);
}

.page-hero {
    background-color: var(--color-bg);
    text-align: center;
    padding: 4.5rem 0 3rem;
}

.page-hero h1 {
    margin-bottom: 0.5rem;
}

.page-hero--media {
    position: relative;
    overflow: hidden;
    color: #fff;
    background-color: #0f1c2f;
    height: 24rem;
}

.page-hero--media .container {
    position: relative;
    z-index: 2;
}

.hero-media-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.65;
    pointer-events: none;
}

.hero-media-layer--texture {
    opacity: 0.25;
    mix-blend-mode: screen;
}

.hero-media-layer--shade {
    opacity: 1;
    background: linear-gradient(120deg, rgba(7, 12, 24, 0.85), rgba(15, 28, 47, 0.75));
}

.contact-hero,
.about-hero {
    padding: 5rem 0 4rem;
}

.contact-body {
    position: relative;
    background-color: rgba(244, 246, 250, 0.95);
    overflow: hidden;
    color: #fff;
}

.contact-body::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--contact-texture);
    background-size: cover;
    background-position: center;
    opacity: 0.8;
    pointer-events: none;
}

.contact-body::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
}

.contact-body > .container {
    position: relative;
    z-index: 1;
}

.contact-body h2,
.contact-body p,
.contact-body label,
.contact-body .tagline,
.contact-body .contact-details a {
    color: #fff;
}

.contact-body .contact-details a {
    text-decoration: underline;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 1.75rem;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
}

.card img {
    border-radius: 12px;
    margin-bottom: 1rem;
}

.custom-block {
    padding: 3rem 8vw;
    background: #fffaf4;
}

.custom-block .container {
    max-width: none;
    padding: 0;
}

.custom-block h2 {
    margin: 0 0 1.25rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 1.8vw, 2rem);
    font-weight: 400;
    color: #17120e;
}

.custom-block > .container > p {
    margin: 0 0 2rem;
    max-width: 920px;
    color: #17120e;
    line-height: 1.75;
}

.custom-block__media {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.custom-block__media img {
    display: block;
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
}

.project-card img {
    height: 200px;
    object-fit: cover;
}

.btn,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn {
    background-color: var(--color-primary);
    color: #1b150a;
    box-shadow: 0 20px 35px rgba(201, 151, 43, 0.35);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
}

.hero .btn-secondary {
    color: #fff;
    border-color: #fff;
}

.hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: #fff;
}

.cta {
    background-color: var(--color-secondary);
    color: #fff;
}

.cta-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.site-footer {
    background-color: #0b1421;
    color: #dfe3ea;
    padding: 3rem 0;
}

.footer-grid {
    display: grid;
    gap: 2rem;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.footer-brand {
    font-weight: 600;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.two-cols {
    display: grid;
    gap: 2rem;
}

.steps {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    gap: 1.25rem;
}

.steps li {
    border-left: 4px solid var(--color-primary);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    gap: 2.5rem;
}

.contact-form {
    display: grid;
    gap: 0.85rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-family: inherit;
    font-size: 1rem;
}

.contact-lux-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-lux-form input,
.contact-lux-form select,
.contact-lux-form textarea {
    border-radius: 0;
    border-color: var(--lux-line);
    background: rgba(255, 255, 255, 0.66);
    min-height: 48px;
    padding: 0.8rem 1rem;
}

.contact-lux-form__field {
    display: block;
    margin: 0;
}

.contact-lux-form__field--wide,
.contact-lux-form .alert,
.contact-lux-form small {
    grid-column: 1 / -1;
}

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

.contact-details {
    background: rgba(0, 0, 0, 0.8);
    padding: 2rem;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.alert {
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    font-weight: 500;
}

.alert.success {
    border-color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.15);
}

.alert.error {
    border-color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.15);
}

.alert.warning {
    border-color: #f39c12;
    background-color: rgba(243, 156, 18, 0.15);
}

.alert ul {
    margin: 0;
    padding-left: 1.25rem;
}

.categories-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
}

/* Utility helpers */
.u-m-0 { margin: 0 !important; }
.u-mt-05 { margin-top: 0.5rem !important; }
.u-mt-075 { margin-top: 0.75rem !important; }
.u-mt-1 { margin-top: 1rem !important; }
.u-mt-14 { margin-top: 14px !important; }
.u-mt-15 { margin-top: 1.5rem !important; }
.u-mt-2 { margin-top: 2rem !important; }
.u-mt-20 { margin-top: 20px !important; }
.u-mb-1 { margin-bottom: 1rem !important; }
.u-mb-15 { margin-bottom: 1.5rem !important; }

.u-flex { display: flex !important; }
.u-flex-column { flex-direction: column !important; }
.u-flex-wrap { flex-wrap: wrap !important; }
.u-align-center { align-items: center !important; }
.u-justify-between { justify-content: space-between !important; }
.u-gap-6 { gap: 6px !important; }
.u-gap-08 { gap: 8px !important; }
.u-gap-10 { gap: 10px !important; }
.u-gap-12 { gap: 12px !important; }

.u-fw-600 { font-weight: 600 !important; }

.grid-autofit-320 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.categories-list li {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 500;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.collection-card {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.collection-media {
    position: relative;
    cursor: zoom-in;
}

.collection-media img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7));
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-media:hover .media-overlay,
.collection-media:focus-within .media-overlay {
    opacity: 1;
}

.collection-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.collection-features {
    list-style: disc;
    padding-left: 1.25rem;
    margin: 0;
}

.link-arrow {
    font-weight: 600;
    color: var(--color-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.link-arrow::after {
    content: '->';
    transition: transform 0.2s ease;
}

.link-arrow:hover::after {
    transform: translateX(3px);
}

.gallery-head {
    margin-bottom: 2rem;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.lightbox.is-active {
    display: flex;
}

.lightbox-overlay {
    position: absolute;
    inset: 0;
}

.lightbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    color: #fff;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 1rem;
}

.lightbox-content {
    min-height: 0;
    display: grid;
    place-items: center;
}

.lightbox-content img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: calc(100vh - 150px);
    object-fit: contain;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
}

.lightbox-caption {
    justify-self: center;
    max-width: 860px;
    text-align: center;
    color: rgba(255, 255, 255, 0.78);
}

.lightbox-title {
    margin: 0 0 0.35rem;
    color: #fff;
}

.lightbox-description {
    margin: 0;
}

[data-lightbox-trigger] {
    cursor: pointer;
}

.lightbox-prev[hidden],
.lightbox-next[hidden] {
    display: none;
}

.lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    cursor: pointer;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
}

.lightbox-prev {
    left: 0;
}

.lightbox-next {
    right: 0;
}

.gallery-head a {
    font-weight: 600;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    background-color: #fff;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.product-card__media img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.product-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.product-card__subtitle {
    font-weight: 500;
    color: #4b4d52;
}

.product-hero {
    color: #fff;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
}

.product-hero--full {
    min-height: 75vh;
}

.product-hero__content {
    padding: 6rem 0 5rem;
    max-width: 720px;
}

.product-hero__subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-hero__excerpt {
    font-size: 1.05rem;
    max-width: 620px;
}

/* Prezzo in scheda prodotto: compare solo se il prodotto è dichiarato «prezzo
   pubblico» in amministrazione. */
.product-hero__price {
    margin: 0.6rem 0 0;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 700;
    color: var(--color-primary, #b9915b);
    letter-spacing: 0.01em;
}
.product-hero__price-note {
    display: inline-block;
    margin-left: 0.45rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.65;
}

.product-overview__grid {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: center;
}

.product-overview__media img {
    border-radius: 24px;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.18);
    width: 100%;
}

.product-description p {
    margin-bottom: 1rem;
}

.section-heading {
    margin-bottom: 2rem;
}

.product-finishes__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}

.product-variants__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.variant-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    gap: 0.75rem;
    background-color: #fff;
}

.variant-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.variant-card strong {
    display: inline-block;
    margin-bottom: 0.25rem;
}

.finish-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    background-color: #fff;
}

.finish-card__swatch {
    width: 48px;
    height: 48px;
    display: inline-block;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.06);
}

.finish-card__badge {
    display: inline-block;
    margin-top: 0.4rem;
    padding: 0.15rem 0.6rem;
    font-size: 0.75rem;
    background-color: rgba(201, 151, 43, 0.13);
    border-radius: 999px;
    color: var(--color-secondary);
}

.finish-card--default {
    border-color: var(--color-primary);
}

.product-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.product-gallery__item img {
    border-radius: 18px;
    height: 260px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.product-gallery__item figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #4b4d52;
}

.product-ambient__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.product-ambient__item img {
    border-radius: 22px;
    width: 100%;
    height: 360px;
    object-fit: cover;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}

.product-ambient__item figcaption {
    display: none;
}

.product-story {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 85% 8%, rgba(197, 150, 73, 0.18), transparent 32%),
        linear-gradient(145deg, #101722 0%, #172231 58%, #0b1018 100%);
    color: #f8f5ee;
}

#ambientazioni,
#configuratore {
    scroll-margin-top: calc(var(--header-height) + 18px);
}

.product-story::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.15;
    pointer-events: none;
    background-image: repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(255, 255, 255, 0.08) 80px);
}

.product-story .container {
    position: relative;
}

.product-story__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: end;
    margin-bottom: 2.5rem;
}

.product-story__heading h2 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.2rem, 5vw, 4.7rem);
    line-height: 0.98;
}

.product-story__heading p {
    margin: 0;
    color: rgba(255, 255, 255, 0.74);
    font-size: 1.05rem;
}

.product-story__text-link {
    display: inline-flex;
    gap: 0.55rem;
    margin-top: 1.25rem;
    color: #e4bd70;
    font-weight: 700;
}

.product-story__gallery {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-rows: 140px;
    gap: 0.9rem;
}

.product-story__item {
    position: relative;
    grid-column: span 4;
    grid-row: span 2;
    min-height: 280px;
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    cursor: zoom-in;
    background: #202936;
}

.product-story__item--1 {
    grid-column: span 7;
    grid-row: span 4;
}

.product-story__item--2,
.product-story__item--3 {
    grid-column: span 5;
    grid-row: span 2;
}

.product-story__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
}

.product-story__item::after {
    content: '';
    position: absolute;
    inset: 45% 0 0;
    background: linear-gradient(transparent, rgba(4, 9, 15, 0.78));
    pointer-events: none;
}

.product-story__item:hover img,
.product-story__item:focus img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.product-story__item figcaption {
    position: absolute;
    z-index: 1;
    right: 1rem;
    bottom: 0.9rem;
    left: 1rem;
    color: #fff;
    font-weight: 600;
}

.product-story__video {
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 22px;
    background: #05080c;
    aspect-ratio: 16 / 9;
}

.product-story__video-trigger {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: #05080c;
    cursor: pointer;
}

.product-story__video-trigger img,
.product-story__video iframe,
.product-story__video video {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.product-story__video-trigger::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(3, 7, 12, 0.58), rgba(3, 7, 12, 0.08));
}

.product-story__play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: 76px;
    height: 76px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(8px);
    transform: translate(-50%, -50%);
}

.product-story__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 53%;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #fff;
    transform: translate(-45%, -50%);
}

.product-story__video-label {
    position: absolute;
    z-index: 2;
    right: 1.3rem;
    bottom: 1.2rem;
    left: 1.3rem;
    color: #fff;
    font-size: clamp(1.1rem, 2vw, 1.55rem);
    font-weight: 700;
    text-align: left;
}

.product-configurator-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 2rem;
    align-items: end;
}

.product-configurator-heading h2 {
    margin-bottom: 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.product-configurator-heading > p {
    margin: 0;
    color: #5b6470;
    font-size: 1.05rem;
}

.product-configurator-sticky {
    display: none;
}

@media (max-width: 768px) {
    .product-ambient__grid {
        grid-template-columns: 1fr;
    }

    .product-story__heading,
    .product-configurator-heading {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .product-story__gallery {
        display: flex;
        gap: 0.8rem;
        margin-right: -1rem;
        padding-right: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .product-story__item,
    .product-story__item--1,
    .product-story__item--2,
    .product-story__item--3 {
        flex: 0 0 84%;
        min-height: 380px;
        scroll-snap-align: start;
    }

    .product-story__play {
        width: 62px;
        height: 62px;
    }

    .product-configurator-sticky {
        position: fixed;
        z-index: 1050;
        right: 1rem;
        bottom: 1rem;
        left: 1rem;
        display: block;
        padding: 0.95rem 1.25rem;
        border-radius: 999px;
        background: #b88920;
        color: #fff;
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.28);
        font-weight: 700;
        text-align: center;
        transition: transform 0.25s ease, opacity 0.25s ease;
    }

    .product-configurator-sticky.is-hidden {
        transform: translateY(130%);
        opacity: 0;
        pointer-events: none;
    }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.products-toggle {
    display: inline-flex;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.products-toggle a {
    padding: 0.45rem 1.5rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.products-toggle a.is-active {
    background-color: var(--color-secondary);
    color: #fff;
}

.family-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    margin-top: 2rem;
}
.gallery-grid--custom {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
.gallery-card img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.gallery-card__media img {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.gallery-card figcaption {
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: #4e4e4e;
}

.family-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.family-card--overlay,
.product-card--overlay {
    position: relative;
    display: block;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    min-height: 360px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 22px 45px rgba(12, 18, 32, 0.25);
}

.family-card--overlay .family-card__media,
.product-card--overlay .product-card__media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.35s ease;
    min-height: 360px;
}

.family-card--overlay .family-card__media::after,
.product-card--overlay .product-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.65) 100%);
    transition: opacity 0.35s ease;
}

.family-card--overlay:hover .family-card__media,
.product-card--overlay:hover .product-card__media {
    transform: scale(1.05);
}

.family-card__overlay,
.product-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    padding: 1.1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.family-card__overlay h2,
.product-card__overlay h3,
.product-card__overlay h2 {
    color: #fff;
    margin: 0;
}

.family-card__overlay p,
.product-card__overlay p,
.product-card__overlay span {
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

.family-card__count,
.product-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-card__overlay .product-card__excerpt {
    font-size: 0.9rem;
    line-height: 1.4;
}

.products-filter select {
    margin-left: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.product-grid__item {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background-color: #000;
    margin: 0;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.product-grid__item.is-selected::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 3px solid #2f9bff;
    border-radius: 16px;
    pointer-events: none;
}

.product-grid__item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: top;
    transition: transform 0.4s ease;
}

.product-grid__fallback {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.42), rgba(0, 0, 0, 0.16)),
        var(--variant-color);
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(2.25rem, 6vw, 5rem);
    font-weight: 700;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.24);
    transition: transform 0.4s ease;
}

.product-grid__item:hover img,
.product-grid__item:focus-within img,
.product-grid__item:hover .product-grid__fallback,
.product-grid__item:focus-within .product-grid__fallback {
    transform: scale(1.08);
}

.product-grid__item:hover,
.product-grid__item:focus-within {
    transform: scale(1.08);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.product-selection-panel {
    position: fixed;
    top: 120px;
    right: 24px;
    width: min(360px, 85vw);
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.15);
    transform: translateX(140%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.3s ease;
    z-index: 1200;
}

.product-selection-panel.is-open {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
}
/* Stato compatto: solo una piccola linguetta discreta sul bordo destro. */
.product-selection-panel.is-collapsed {
    top: auto;
    bottom: 96px;
    right: 0;
    width: auto;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
}

.product-selection-panel__rail {
    display: none;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 86px;
    padding: 10px;
    border: 0;
    border-radius: 20px 0 0 20px;
    background: #fff;
    overflow-y: auto;
    cursor: pointer;
    box-shadow: -12px 18px 35px rgba(0, 0, 0, 0.16);
}

.product-selection-panel.is-collapsed .product-selection-panel__rail {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    width: auto;
    height: auto;
    padding: 12px 9px;
    border-radius: 13px 0 0 13px;
    background: #e07b1a;
    overflow: visible;
    box-shadow: -5px 8px 22px rgba(0, 0, 0, 0.22);
    transition: padding-right 0.18s ease, background-color 0.18s ease;
}

.product-selection-panel.is-collapsed .product-selection-panel__rail::before {
    content: "";
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-right: 5px solid rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.product-selection-panel.is-collapsed .product-selection-panel__rail:hover {
    padding-right: 13px;
    background: #c96a10;
}

/* Nello stato compatto si mostra solo il numero, non le miniature. */
.product-selection-panel.is-collapsed .product-selection-panel__rail img {
    display: none;
}

.product-selection-panel.is-collapsed .product-selection-panel__rail-count {
    width: auto;
    min-width: 22px;
    height: auto;
    padding: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
    line-height: 1;
}
.product-selection-panel__rail-label {
    display: none;
}
.product-selection-panel.is-collapsed .product-selection-panel__rail-label {
    display: block;
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 2px;
}

.product-selection-panel__rail img {
    display: block;
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
    border-radius: 9px;
    object-fit: cover;
}

.product-selection-panel__rail-count {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 28px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #e07b1a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.product-selection-panel.is-collapsed > :not(.product-selection-panel__rail) {
    display: none;
}

.product-selection-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}
.product-selection-panel__header-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.product-selection-panel__close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}
.product-selection-panel__clear {
    border: none;
    background: transparent;
    color: #c0392b;
    cursor: pointer;
    font-size: 0.85rem;
}

.product-selection-panel__body {
    margin-top: 1rem;
    max-height: 320px;
    overflow-y: auto;
}

.product-selection-panel__note {
    margin: 0 0 12px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #5f574f;
}

.product-selection-panel__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.product-selection-panel__item {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: end;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 0.6rem;
    font-size: 0.9rem;
    gap: 0.75rem;
}

.product-selection-panel__group {
    font-weight: 600;
    margin-top: 1rem;
}

.product-selection-panel__label {
    margin-top: 0.35rem;
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: center;
}

.product-selection-panel__choice img {
    display: block;
    width: 92px;
    height: 78px;
    border-radius: 9px;
    object-fit: cover;
}

.product-selection-panel__qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.product-selection-panel__qty input {
    width: 70px;
    padding: 0.25rem 0.4rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.product-selection-panel__qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background-color: #fff;
    color: #333;
    cursor: pointer;
}

.product-selection-panel__qty button[data-selection-remove] {
    border: none;
    color: #c0392b;
}

.product-selection-panel__empty {
    font-size: 0.9rem;
    color: #666;
}

.product-selection-panel__footer {
    margin-top: 1rem;
    text-align: right;
}

.product-selection-layout {
    position: relative;
}

.product-variant-preview {
    position: fixed;
    z-index: 1150;
    inset: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    place-items: center;
    gap: 0.9rem;
    padding: calc(var(--header-height) + 1rem) 2rem 1rem;
    background: rgba(7, 12, 18, 0.72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.product-variant-preview.is-visible {
    opacity: 1;
    visibility: visible;
}

.product-variant-preview__content {
    width: min(75vw, 1200px);
    max-height: 100%;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    transform: scale(0.94);
    transition: transform 0.22s ease;
}

.product-variant-preview.is-visible .product-variant-preview__content {
    transform: scale(1);
}

.product-variant-preview__content img {
    display: block;
    width: 100%;
    max-height: calc(100vh - var(--header-height) - 220px);
    object-fit: contain;
}

.product-variant-preview__content p {
    margin: 0;
    padding: 1.15rem 1.5rem;
    background: #fff;
    color: #172231;
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    font-weight: 700;
    text-align: center;
}

.product-variant-preview__nav {
    display: flex;
    justify-content: safe center;
    gap: 0.65rem;
    width: min(92vw, 1200px);
    padding: 0.65rem;
    overflow-x: auto;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    pointer-events: auto;
    scrollbar-width: thin;
}

.product-variant-preview__nav button {
    width: 92px;
    flex: 0 0 92px;
    padding: 0;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 11px;
    background: #fff;
    cursor: pointer;
    opacity: 0.72;
    transition: border-color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.product-variant-preview__nav button:hover,
.product-variant-preview__nav button:focus,
.product-variant-preview__nav button.is-active {
    border-color: #c9972b;
    opacity: 1;
    outline: none;
    transform: translateY(-3px);
}

.product-variant-preview__nav img {
    width: 100%;
    height: 72px;
    object-fit: cover;
}

.product-variant-preview__nav span {
    display: block;
    padding: 0.3rem 0.25rem;
    overflow: hidden;
    color: #172231;
    font-size: 0.64rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 900px) {
    .product-selection-panel {
        right: 1rem;
        left: 1rem;
        bottom: 1rem;
        top: auto;
        width: auto;
    }

    .product-variant-preview {
        display: none;
    }
}

.product-grid__item,
.product-grid__item figcaption {
    margin: 0;
}

.product-grid__item figcaption {
    position: absolute;
    bottom: 0.65rem;
    left: 0.75rem;
    right: 0.75rem;
    font-size: 0.75rem;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .main-nav:not(.luxury-main-nav) {
        position: static;
        display: flex !important;
        align-items: center;
        gap: 1.5rem;
        width: auto;
        padding: 0;
        box-shadow: none;
    }

    .main-nav:not(.luxury-main-nav) ul {
        flex-direction: row;
        gap: 1.5rem;
        align-items: center;
        flex: 1;
    }

    .lang-switcher {
        margin-top: 0;
    }

    .nav-toggle:not(.luxury-nav-toggle) {
        display: none;
    }

    .cta-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

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

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

    .contact-grid {
        grid-template-columns: 2fr 1fr;
    }

    .lightbox-inner {
        grid-template-columns: auto;
        align-items: center;
    }
}

@media (max-width: 600px) {
    .hero-content {
        padding-top: 4.5rem;
    }

    .collections-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

.orders-cart {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    padding: 1.5rem;
    background-color: #fff;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.08);
}

.orders-cart__product {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}
.orders-cart__product-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.orders-cart__thumb {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fafafa;
}
.orders-cart__variant-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.1);
    background: #fafafa;
}

.orders-cart__product:last-child {
    border-bottom: none;
}

.orders-cart__table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

.orders-cart__table th,
.orders-cart__table td {
    padding: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: left;
}

.orders-cart__table input {
    width: 80px;
    padding: 0.35rem 0.45rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.orders-cart__table button {
    border: none;
    background: transparent;
    color: #c0392b;
    cursor: pointer;
    font-size: 1rem;
}

.orders-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    gap: 1rem;
    flex-wrap: wrap;
}
/* Luxury public interface */
:root {
    --lux-black: #080807;
    --lux-ink: #151311;
    --lux-paper: #f8f3ec;
    --lux-cream: #efe6da;
    --lux-gold: #a9824f;
    --lux-gold-text: #7d5c34; /* variante scura di --lux-gold: contrasto AA (>=4.5:1) per testo su sfondi chiari */
    --lux-muted: #574f47;
    --lux-line: rgba(30, 24, 18, 0.14);
}

body {
    background: var(--lux-paper);
}

h1,
h2,
h3,
.lux-brand span,
.footer-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 0;
}

.site-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
    border-bottom: 0;
    color: #fff;
    backdrop-filter: none;
}

.header-inner {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 4vw;
    min-height: 86px;
    display: grid;
    grid-template-columns: minmax(170px, 280px) 1fr;
    gap: 2rem;
}

.lux-brand {
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 1;
    text-transform: uppercase;
}

.lux-brand img,
.logo img {
    display: block;
    width: auto;
    height: 58px;
    max-width: 260px;
    object-fit: contain;
    animation: none;
    filter: none;
}

.nav-toggle {
    border-color: rgba(255, 255, 255, 0.45);
}

.nav-toggle span {
    background: #fff;
}

.main-nav a,
.main-nav a:hover {
    color: inherit;
}

.main-nav a {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

.main-nav a.active,
.main-nav a:hover {
    border-bottom-color: currentColor;
    text-decoration: none;
}

.header-catalog-cta,
.lux-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid currentColor;
    padding: 0 1.45rem;
    text-transform: uppercase;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    border-radius: 0;
}

.header-catalog-cta {
    margin-left: 1.4rem;
    color: #fff;
}

.lux-btn--fill {
    background: #e2d3be;
    border-color: #e2d3be;
    color: #100f0d;
}

.lux-btn--dark,
.lux-btn--black {
    background: rgba(0, 0, 0, 0.36);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

.lux-btn--black {
    background: #0c0b0a;
    border-color: #0c0b0a;
}

.lux-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.lux-hero,
.lux-page-hero {
    position: relative;
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)), var(--lux-hero-image) center / cover no-repeat;
}

/* Su schermi piccoli usa la variante leggera -640w quando la pagina la
   fornisce (--lux-hero-image-sm): meno banda su mobile = LCP più basso. */
@media (max-width: 767.98px) {
    .lux-hero,
    .lux-page-hero {
        background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.22) 100%), var(--lux-hero-image-sm, var(--lux-hero-image));
    }

    .lux-page-hero:has(.lux-page-hero__image)::after {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.55) 48%, rgba(0, 0, 0, 0.22) 100%);
    }
}

.lux-page-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.lux-page-hero:has(.lux-page-hero__image) {
    background: none;
}

.lux-page-hero:has(.lux-page-hero__image)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));
    pointer-events: none;
}

.lux-hero-slider {
    overflow: hidden;
    background-image: none !important;
}

.lux-hero-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 32%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0) 100%);
    pointer-events: none;
}

.lux-hero-slides,
.lux-hero-slide {
    position: absolute;
    inset: 0;
}

.lux-hero-slides {
    z-index: 0;
}

.lux-hero-slide {
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity 700ms ease;
}

.lux-hero-slide.is-active {
    opacity: 1;
}

.lux-hero {
    min-height: 500px;
    height: 60vh;
    display: flex;
    align-items: center;
    padding: 92px 8vw 70px;
}

.lux-hero__content,
.lux-page-hero__content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 760px;
    min-width: 0;
}

.lux-hero h1 {
    max-width: 760px;
    font-size: clamp(2rem, 4.2vw, 4.2rem);
    line-height: 1.02;
    margin: 0 0 1.5rem;
}

.lux-hero p {
    max-width: 580px;
    color: #f1e8dc;
    font-size: clamp(1rem, 1.45vw, 1.2rem);
    line-height: 1.6;
    margin: 0 0 2rem;
}

.lux-scroll {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    transform: translateX(-50%);
}

.lux-page-hero {
    min-height: 470px;
    display: flex;
    align-items: center;
    padding: 92px 7vw 70px;
}

.lux-page-hero--short {
    min-height: 360px;
}

.lux-page-hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1;
    margin: 0 0 1.3rem;
}

.lux-page-hero p {
    max-width: 680px;
    width: 100%;
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.lux-breadcrumb {
    font-size: 0.82rem;
    color: #eee2d3;
}

.lux-audience-section {
    background: #fffaf4;
    padding: 18px 4vw 44px;
}

.lux-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1360px;
    width: 100%;
    margin: 0 auto 28px;
    background: transparent;
    padding: 0;
}

.lux-stat {
    text-align: center;
    padding: 0 1.8rem;
    border-right: 1px solid var(--lux-line);
}

.lux-stat:last-child {
    border-right: 0;
}

.lux-stat strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 31px;
    font-weight: 400;
    line-height: 1;
}

.lux-stat__main {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lux-stat__main img {
    width: auto;
    max-width: 38px;
    max-height: 24px;
    object-fit: contain;
    display: block;
}

.lux-stat span {
    display: block;
    margin-top: 8px;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0;
}

.lux-audience-heading {
    margin: 0 0 14px;
    text-align: center;
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

.lux-section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 6vw;
}

.lux-section--paper {
    background: #fffaf4;
}

.lux-section-title {
    max-width: 760px;
    margin-bottom: 2.7rem;
}

.lux-section-title--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.lux-section-title h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05;
    margin: 0;
}

.lux-section-title p {
    color: var(--lux-muted);
    line-height: 1.7;
}

.lux-section-title--light h2,
.lux-section-title--light p {
    color: #fff;
}

.lux-audience-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
}

.lux-audience-card {
    background: transparent;
}

.lux-audience-card img {
    width: 100%;
    height: clamp(150px, 13.2vw, 205px);
    object-fit: cover;
}

.lux-audience-card h3 {
    margin: 14px 14px 9px;
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
}

.lux-audience-card p {
    margin: 0 14px 7px;
    color: #111;
    font-size: 11px;
    line-height: 1.55;
}

.lux-audience-card a {
    display: block;
    margin: 0 14px;
    font-size: 21px;
    line-height: 1;
}

.lux-collections-band {
    background: #080807;
    padding: 28px 5.4vw 68px;
}

.lux-collections-band .lux-section-title {
    margin-bottom: 28px;
}

.lux-collections-band .lux-section-title h2 {
    font-size: clamp(1.4rem, 1.9vw, 2rem);
    letter-spacing: 0;
}

.lux-collections-band .lux-section-title h2 a {
    color: inherit;
    text-decoration: none;
}

.lux-collections-band .lux-section-title p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 720px;
    margin: 12px auto 0;
}

.lux-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.lux-collection-grid:has(.lux-collection-tile:nth-child(1):nth-last-child(-n + 2)) {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 320px));
    justify-content: center;
}

.lux-collection-tile {
    position: relative;
    min-height: 0;
    aspect-ratio: 1.52;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #111;
    color: #fff;
    text-decoration: none;
}

.lux-collection-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.86;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.lux-collection-tile:hover img {
    transform: scale(1.04);
    opacity: 0.96;
}

.lux-collection-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.05));
}

.lux-collection-tile div {
    position: absolute;
    z-index: 2;
    left: 30px;
    right: 28px;
    bottom: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    color: #fff;
}

.lux-collection-tile h3 {
    margin: 0;
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 1.35vw, 1.55rem);
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.lux-collection-tile span {
    display: inline-grid;
    width: 38px;
    height: 26px;
    place-items: center;
    color: #f4eee8;
    font-size: 30px;
    line-height: 1;
}

.lux-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 68px;
}

#servizi.lux-section {
    background: #f7f3ec;
    padding: 42px 7vw 64px;
}

#servizi .lux-section-title {
    margin-bottom: 34px;
}

#servizi .lux-section-title h2 {
    font-size: clamp(1.35rem, 1.9vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
}

.lux-process-grid article {
    position: relative;
    text-align: center;
}

.lux-process-grid article:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -46px;
    top: 38px;
    color: rgba(20, 20, 20, 0.42);
    font-size: 38px;
    line-height: 1;
}

.lux-process-grid span {
    display: inline-grid;
    width: 74px;
    height: 74px;
    place-items: center;
    border: 2px solid rgba(202, 190, 171, 0.65);
    border-radius: 999px;
    color: #6b5836;
    margin-bottom: 28px;
    font-size: 16px;
    font-weight: 600;
}

.lux-process-grid span img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.lux-process-grid h3 {
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0 0 16px;
}

.lux-process-grid p {
    color: #222;
    max-width: 260px;
    margin: 0 auto;
    font-size: 0.95rem;
    line-height: 1.75;
}

.lux-split-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.lux-split {
    min-height: 320px;
    padding: clamp(42px, 4.6vw, 96px);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lux-split span,
.lux-lead-intro span,
.lux-lead-form-copy span {
    display: block;
    color: var(--lux-gold);
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

/* .lux-lead-intro/.lux-lead-form-copy sono sempre su sfondo chiaro (vedi
   .lux-lead-intro, .lux-lead-form-section background): usano la variante
   scura per il contrasto AA. .lux-split invece cambia sfondo con
   --dark/--light, quindi solo la variante --light va scurita. */
.lux-lead-intro span,
.lux-lead-form-copy span,
.lux-split--light span {
    color: var(--lux-gold-text);
}

.lux-split h2,
.lux-lead-intro h2,
.lux-lead-form-copy h2 {
    font-size: clamp(1.55rem, 2.1vw, 2.25rem);
    line-height: 1.08;
    margin: 0 0 24px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.lux-split-title-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.lux-split-title-with-icon span {
    display: inline;
    margin: 0;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.lux-split-title-with-icon img {
    width: auto;
    max-width: 46px;
    max-height: 30px;
    object-fit: contain;
    display: block;
}

.lux-split p,
.lux-lead-intro p,
.lux-lead-form-copy p {
    color: var(--lux-muted);
    line-height: 1.72;
    font-size: 1rem;
    max-width: 430px;
}

.lux-split a {
    display: inline-flex;
    align-items: center;
    margin-top: 26px;
    color: inherit;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
}

.lux-split--dark {
    background: #080807;
    color: #fff;
}

.lux-split--dark p {
    color: #d8ccbd;
}

.lux-split--light {
    background: #f3efe8;
}

/* Ambientazioni in home: mosaico asimmetrico, una foto grande che apre la
   composizione e quattro tessere attorno. Niente cornici bianche: comandano
   le immagini. */
.lux-project-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 150px;
    gap: 10px;
    max-width: 1280px;
    margin: 0 auto;
}

/* La tessera grande solo quando il conto torna (5 o 9 immagini riempiono
   esattamente le righe): con altri numeri resterebbero buchi, meglio tessere
   tutte uguali. Il numero si imposta dalle Sezioni pagine. */
.lux-project-strip article:first-child:nth-last-child(5),
.lux-project-strip article:first-child:nth-last-child(9) {
    grid-column: span 2;
    grid-row: span 2;
}

.lux-project-card {
    background: #fff;
}

.lux-project-strip .lux-project-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #ded9d0;
}

.lux-project-strip__card {
    position: relative;
    overflow: hidden;
}

.lux-project-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.75s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.5s ease;
}

/* Velo scuro dal basso: dà profondità e regge il badge senza fasce bianche. */
.lux-project-strip .lux-project-link::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 45%;
    background: linear-gradient(to top, rgba(12, 11, 10, 0.55), rgba(12, 11, 10, 0));
    opacity: 0.85;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.lux-project-strip .lux-project-link:hover img,
.lux-project-strip .lux-project-link:focus-visible img {
    transform: scale(1.06);
}

.lux-project-strip .lux-project-link:hover::after {
    opacity: 1;
}

.lux-project-strip .lux-project-link:focus-visible {
    outline: 2px solid var(--lux-gold, #b79a5b);
    outline-offset: 3px;
}

/* Il badge di trasparenza sta sull'immagine, in basso, non più su una fascia. */
.lux-project-strip .ai-origin-row--card {
    position: absolute;
    left: 10px;
    bottom: 9px;
    z-index: 2;
    margin: 0;
    opacity: 0.9;
}

.lux-project-strip .ai-origin-row--card .ai-origin-chip {
    background: rgba(12, 11, 10, 0.55);
    border-color: rgba(255, 255, 255, 0.3);
    color: #f4f1ec;
    backdrop-filter: blur(2px);
}

@media (prefers-reduced-motion: reduce) {
    .lux-project-strip img {
        transition: none;
    }
    .lux-project-strip .lux-project-link:hover img {
        transform: none;
    }
}

.lux-project-strip h3,
.lux-project-card h2 {
    margin: 1rem 0.9rem 0.25rem;
    text-transform: uppercase;
    font-size: 1rem;
}

.lux-project-strip p,
.lux-project-card p {
    margin: 0 0.9rem 1rem;
    color: var(--lux-muted);
    font-size: 0.86rem;
}

.lux-center-link {
    text-align: center;
    margin-top: 1.8rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.lux-final-cta {
    /* --cta-bg: impostata dalla pagina quando la sezione admin indica un'immagine;
       senza di essa resta lo scatto predefinito, uguale per tutte le pagine. */
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.62)),
        var(--cta-bg, url("../../../uploads/foto/IMG-20251113-WA0038.jpg")) center / cover;
    color: #fff;
    padding: 4rem 8vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.lux-final-cta--compact {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.lux-final-cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    margin: 0 0 0.75rem;
}

.lux-final-cta p {
    color: #e6dacb;
    margin: 0;
}

.lux-alternate-grid {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    display: grid;
    gap: 0;
}

.lux-alt-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f5eee6;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
}

.lux-alt-card--reverse .lux-alt-card__image {
    order: 2;
}

.lux-alt-card__image {
    position: relative;
    min-width: 0;
    min-height: 310px;
}

.lux-alt-card__image a {
    display: block;
    height: 100%;
}

.lux-alt-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
}

.lux-alt-card__body {
    padding: clamp(2rem, 4vw, 4rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    min-height: 310px;
}

.lux-alt-card__body span {
    color: var(--lux-gold);
    letter-spacing: 0.12em;
}

.lux-alt-card__body h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    margin: 1rem 0;
}

.lux-alt-card__body p {
    color: var(--lux-muted);
}

.lux-alt-card__body a,
.lux-alt-card__body .lux-card-link {
    margin-top: 1.4rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
}

/* Collezioni: sotto i 900px la card affiancata non regge (immagine dimezzata e
   testo in colonna strettissima), quindi si impila prima del breakpoint
   generale a 720px. */
@media (max-width: 900px) {
    .lux-alt-card {
        grid-template-columns: 1fr;
    }

    .lux-alt-card__image,
    .lux-alt-card--reverse .lux-alt-card__image {
        display: block;
        order: 0;
        min-height: 0;
    }

    .lux-alt-card__image img {
        min-height: 0;
        aspect-ratio: 3 / 2;
        height: auto;
    }

    .lux-alt-card__body {
        min-height: 0;
        padding: 1.8rem 1.5rem 2.2rem;
    }

    .lux-alt-card__body h2 {
        font-size: clamp(1.7rem, 7vw, 2.3rem);
        margin: 0.7rem 0;
    }

    .lux-alt-card__body a,
    .lux-alt-card__body .lux-card-link {
        margin-top: 1.1rem;
    }
}

.lux-company-hero {
    position: relative;
    overflow: hidden;
    min-height: 690px;
    display: flex;
    align-items: center;
    padding: 140px 10.5vw 86px;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.54)), var(--company-hero-image);
    background-size: cover;
    background-position: center;
}

.lux-company-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.lux-company-hero:has(.lux-company-hero__image) {
    background-image: none;
}

.lux-company-hero:has(.lux-company-hero__image)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.54));
    pointer-events: none;
}

.lux-company-hero__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.lux-company-hero h1,
.lux-company-story h2,
.lux-company-atelier h2,
.lux-company-team h2,
.lux-company-cta h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: 0;
}

.lux-company-hero h1 {
    font-size: clamp(3rem, 5.6vw, 5.9rem);
    line-height: 0.96;
}

.lux-company-hero p {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    line-height: 1.62;
}

.lux-company-hero a,
.lux-company-story a,
.lux-company-atelier a,
.lux-company-team a,
.lux-company-cta a {
    display: inline-flex;
    align-items: center;
    margin-top: 28px;
    color: inherit;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
}

.lux-company-hero a,
.lux-company-cta a {
    min-width: 230px;
    justify-content: center;
    padding: 18px 24px;
    background: #efe5d8;
    color: #17120e;
}

.lux-company-story {
    display: grid;
    grid-template-columns: 0.9fr 1.15fr 1fr;
    gap: 6px;
    padding: 34px 10.5vw 28px;
    background: #f6f1ea;
    align-items: stretch;
}

.lux-company-story__copy {
    padding: 0 34px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lux-company-story span,
.lux-company-atelier span,
.lux-company-team span {
    display: block;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.82rem;
    letter-spacing: 0;
}

.lux-company-story h2,
.lux-company-team h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.04;
}

.lux-company-story p,
.lux-company-team p {
    margin: 24px 0 0;
    color: #17120e;
    font-size: 0.93rem;
    line-height: 1.72;
}

.lux-company-story__image {
    min-height: 250px;
    overflow: hidden;
}

.lux-company-story__image img,
.lux-company-team img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-company-values {
    padding: 28px 10vw 40px;
    background: #080807;
    color: #fff;
    text-align: center;
}

.lux-company-values h2,
.lux-company-process h2 {
    margin: 0 0 26px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.35rem, 1.8vw, 2rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
}

.lux-company-values__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lux-company-values article {
    padding: 0 42px;
    border-right: 1px solid rgba(255, 255, 255, 0.38);
}

.lux-company-values article:last-child {
    border-right: 0;
}

.lux-company-values article > span {
    display: inline-grid;
    width: 58px;
    height: 58px;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(218, 198, 168, 0.65);
    border-radius: 999px;
    color: #d8c5a4;
    font-size: 24px;
}

.lux-company-values h3 {
    margin: 0 0 12px;
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.02rem;
    font-weight: 400;
}

.lux-company-values p {
    margin: 0 auto;
    max-width: 250px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.86rem;
    line-height: 1.7;
}

.lux-company-process {
    padding: 30px 8vw 46px;
    background: #f7f3ec;
    text-align: center;
}

.lux-company-process__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 44px;
}

.lux-company-process article {
    position: relative;
}

.lux-company-process article:not(:last-child)::after {
    content: "→";
    position: absolute;
    right: -34px;
    top: 32px;
    color: rgba(20, 20, 20, 0.5);
    font-size: 34px;
}

.lux-company-process article > span {
    display: inline-grid;
    width: 64px;
    height: 64px;
    place-items: center;
    margin-bottom: 18px;
    border: 1px solid rgba(196, 174, 142, 0.7);
    border-radius: 999px;
    color: rgba(125, 99, 68, 0.85);
    font-size: 0.85rem;
}

.lux-company-process article > span img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.lux-company-process h3 {
    margin: 0 0 10px;
    text-transform: uppercase;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.92rem;
    font-weight: 400;
}

.lux-company-process p {
    margin: 0 auto;
    max-width: 210px;
    color: #17120e;
    font-size: 0.8rem;
    line-height: 1.65;
}

.lux-service-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-top: 1px solid var(--lux-line);
    border-left: 1px solid var(--lux-line);
}

.lux-service-steps article {
    min-height: 300px;
    padding: clamp(1.8rem, 3vw, 3rem);
    border-right: 1px solid var(--lux-line);
    border-bottom: 1px solid var(--lux-line);
    background: #fffaf4;
}

.lux-service-steps__mark {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin-bottom: 1.4rem;
    border: 1px solid rgba(196, 174, 142, 0.7);
    border-radius: 999px;
    color: rgba(125, 99, 68, 0.9);
    font-family: Georgia, "Times New Roman", serif;
}

.lux-service-steps__mark img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.lux-service-steps h3,
.lux-service-focus h2 {
    margin: 0 0 14px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
}

.lux-service-steps h3 {
    font-size: 1.08rem;
}

.lux-service-steps p,
.lux-service-focus p {
    margin: 0;
    color: #17120e;
    font-size: 0.92rem;
    line-height: 1.72;
}

.lux-service-focus {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 6px 10.5vw 42px;
    background: #f6f1ea;
}

.lux-service-focus article {
    padding: clamp(2rem, 3.5vw, 3.6rem);
    background: #080807;
    color: #fff;
}

.lux-service-focus h2 {
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 2rem);
}

.lux-service-focus p {
    color: rgba(255, 255, 255, 0.82);
}

.lux-material-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.lux-material-grid article {
    background: #fff;
    min-width: 0;
}

.lux-material-grid img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.lux-material-grid div {
    padding: clamp(1.4rem, 2.6vw, 2.4rem);
}

.lux-material-grid h2,
.lux-material-values h2 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0;
}

.lux-material-grid h2 {
    font-size: clamp(1.25rem, 1.8vw, 1.8rem);
}

.lux-material-grid p {
    margin: 0;
    color: #17120e;
    font-size: 0.92rem;
    line-height: 1.72;
}

.lux-material-values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    background: #080807;
    color: #fff;
}

.lux-material-values article {
    padding: clamp(2rem, 3.8vw, 4rem);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.lux-material-values article:last-child {
    border-right: 0;
}

.lux-material-values h2 {
    color: #fff;
    font-size: clamp(1.2rem, 1.7vw, 1.7rem);
}

.lux-material-values p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.88rem;
    line-height: 1.7;
}

.lux-company-atelier {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    background: #080807;
    color: #fff;
}

.lux-company-atelier__image {
    min-height: 355px;
    overflow: hidden;
}

.lux-company-atelier__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 355px;
    object-fit: cover;
}

.lux-company-atelier__copy {
    padding: clamp(45px, 6vw, 86px) 10vw clamp(45px, 6vw, 86px) 72px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lux-company-atelier h2 {
    font-size: clamp(2rem, 3.6vw, 4rem);
    line-height: 1.04;
}

.lux-company-atelier p {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.72;
}

.lux-company-team {
    display: grid;
    grid-template-columns: 0.95fr repeat(3, 1fr);
    gap: 6px;
    padding: 6px 10.5vw;
    background: #f6f1ea;
}

.lux-company-team__copy {
    padding: 34px 34px 34px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lux-company-team img {
    min-height: 255px;
}

.lux-company-cta {
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 38px;
    align-items: center;
    padding: 46px 14vw;
    background: #0b0a09;
    color: #fff;
    background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.72)), var(--company-cta-image, url("../../../uploads/foto/IMG-20251113-WA0038.jpg"));
    background-size: cover;
    background-position: center;
}

.lux-company-cta h2 {
    font-size: clamp(2rem, 3.2vw, 3.8rem);
}

.lux-company-cta p {
    max-width: 720px;
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.6;
}

@media (max-width: 1150px) {
    .lux-company-story,
    .lux-company-team {
        padding-left: 6vw;
        padding-right: 6vw;
    }

    .lux-company-values__grid,
    .lux-company-process__grid,
    .lux-service-steps,
    .lux-service-focus,
    .lux-material-grid,
    .lux-material-values {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .lux-company-values article:nth-child(2) {
        border-right: 0;
    }

    .lux-company-process article::after {
        display: none;
    }

    .lux-company-team {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .lux-company-hero {
        min-height: 620px;
        padding: 118px 6vw 62px;
        align-items: flex-end;
    }

    .lux-company-hero h1 {
        font-size: clamp(2.7rem, 13vw, 4.2rem);
    }

    .lux-company-story,
    .lux-company-atelier,
    .lux-company-team,
    .lux-company-cta,
    .lux-service-steps,
    .lux-service-focus,
    .lux-material-grid,
    .lux-material-values {
        grid-template-columns: 1fr;
    }

    .lux-material-values article {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .lux-company-story {
        padding: 34px 6vw;
    }

    .lux-company-story__copy,
    .lux-company-team__copy,
    .lux-company-atelier__copy {
        padding: 34px 0;
    }

    .lux-company-values__grid,
    .lux-company-process__grid {
        grid-template-columns: 1fr;
    }

    .lux-company-values article {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.24);
        padding: 0 0 28px;
    }

    .lux-company-values article:last-child {
        border-bottom: 0;
    }

    .lux-company-cta {
        padding: 42px 6vw;
    }
}

.lux-value-row {
    max-width: 1180px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.lux-value-row article {
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid var(--lux-line);
}

.lux-value-row article:last-child {
    border-right: 0;
}

.lux-value-row span {
    display: block;
    color: var(--lux-gold);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.lux-value-row h3 {
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.lux-value-row p {
    color: var(--lux-muted);
    font-size: 0.85rem;
}

.lux-filter-row {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2.5vw, 1.75rem);
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.lux-filter-btn {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0.35rem 0;
    margin: 0;
    font: inherit;
    text-transform: inherit;
    letter-spacing: 0.04em;
    color: inherit;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}

.lux-filter-btn:hover,
.lux-filter-btn:focus-visible {
    color: var(--lux-gold, #c9972b);
}

.lux-filter-btn:focus-visible {
    outline: 2px solid rgba(201, 151, 43, 0.45);
    outline-offset: 3px;
}

.lux-filter-row .is-active,
.lux-filter-btn.is-active {
    color: var(--lux-gold, #c9972b);
    border-bottom-color: currentColor;
}

.lux-filter-row__hint,
.lux-filter-row span {
    margin-left: auto;
    opacity: 0.55;
}

.lux-project-card.is-filtered-out,
.lux-project-card[hidden] {
    display: none !important;
}

.lux-filter-empty {
    margin: 1.5rem 0 0;
    color: #6f665d;
    text-align: center;
}

.lux-project-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.lux-project-card__media {
    position: relative;
    display: block;
    overflow: hidden;
}

/* Galleria a mosaico: ogni foto tiene il proprio rapporto (niente ritagli) e
   l'altezza nasce dallo --span calcolato lato server. */
.lux-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 10px;
    gap: 14px;
    padding: 0 1.2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.lux-gallery__item {
    grid-row: span var(--span, 24);
    margin: 0;
    overflow: hidden;
    background: #f2f0ec;
}

.lux-gallery__open {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

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

.lux-gallery__open:hover img,
.lux-gallery__open:focus-visible img {
    transform: scale(1.04);
}

.lux-gallery__open:focus-visible {
    outline: 2px solid var(--lux-gold, #b79a5b);
    outline-offset: 3px;
}

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

@media (max-width: 560px) {
    .lux-gallery {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lux-gallery__open img {
        transition: none;
    }
    .lux-gallery__open:hover img,
    .lux-gallery__open:focus-visible img {
        transform: none;
    }
}

/* Ingrandimento della foto.
   Il display:flex qui sotto batte il display:none che il browser dà a [hidden]:
   senza questa riga l'overlay resterebbe sempre sullo schermo, nero e vuoto. */
.lux-lightbox[hidden] {
    display: none;
}

.lux-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(12, 11, 10, 0.96);
    padding: 0.75rem;
}

/* La foto prende quasi tutto lo schermo: frecce e contatore le stanno sopra,
   in overlay, invece di rubarle spazio in larghezza. */
.lux-lightbox__figure {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lux-lightbox__figure img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lux-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 0.6rem;
    transform: translateX(-50%);
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    background: rgba(12, 11, 10, 0.55);
    color: #cfc9bd;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
}

.lux-lightbox__close,
.lux-lightbox__nav {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
}

.lux-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
}

.lux-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    flex: 0 0 auto;
}

.lux-lightbox__nav--prev {
    left: 0.8rem;
}

.lux-lightbox__nav--next {
    right: 0.8rem;
}

.lux-lightbox__close {
    z-index: 2;
}

.lux-lightbox__close:hover,
.lux-lightbox__nav:hover,
.lux-lightbox__close:focus-visible,
.lux-lightbox__nav:focus-visible {
    background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 560px) {
    .lux-lightbox {
        padding: 0.35rem;
    }
    .lux-lightbox__nav {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .lux-lightbox__nav--prev {
        left: 0.35rem;
    }
    .lux-lightbox__nav--next {
        right: 0.35rem;
    }
}

.lux-project-card img,
.lux-project-card__media img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.lux-project-card > div:not(.lux-project-card__media) {
    position: relative;
    padding-bottom: 1.1rem;
}

.lux-project-card span {
    display: block;
    margin: 0 0.9rem;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.lux-project-card a {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
}

.lux-lead-intro,
.lux-lead-form-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4vw;
    padding: 4rem 6vw;
    background: #fffaf4;
    align-items: center;
}

.lux-lead-intro--reverse {
    grid-template-columns: 1fr 1.2fr;
}

/* Fascia intro senza immagine: il testo prende tutta la larghezza invece di
   lasciare mezza sezione vuota. */
.lux-lead-intro--single {
    grid-template-columns: 1fr;
}

.lux-lead-intro__image img,
.lux-lead-form-image {
    width: 100%;
    min-height: 360px;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}

.lux-lead-intro ul {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

.lux-lead-intro li::before {
    content: "◇";
    color: var(--lux-gold);
    margin-right: 0.6rem;
}

.lux-lead-form-section {
    align-items: stretch;
    background: #f2eadf;
}

.contact-lux-section {
    grid-template-columns: 1.35fr 0.85fr;
}

.contact-lux-section .lux-lead-form-copy {
    align-self: center;
}

.contact-lux-details {
    border-radius: 0;
    box-shadow: none;
    background: #090807;
    color: #fff;
    padding: clamp(2rem, 4vw, 3.5rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
}

.contact-lux-details h2 {
    margin: 0 0 1.2rem;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.08;
    text-transform: uppercase;
    letter-spacing: 0;
}

.contact-lux-details p {
    margin: 0 0 1.1rem;
    color: #dfd4c5;
    line-height: 1.65;
}

.contact-lux-details a {
    color: #fff;
    text-decoration: none;
}

.contact-lux-details a:hover {
    color: var(--lux-gold);
}

.contact-lux-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.2rem;
}

.contact-lux-detail-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(239, 229, 216, 0.45);
    text-transform: uppercase;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}


.lux-lead-form-section--split {
    grid-template-columns: 1.4fr 0.9fr;
}

.lux-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1.3rem;
}

.lux-form input,
.lux-form select,
.lux-form textarea {
    width: 100%;
    border: 1px solid var(--lux-line);
    background: rgba(255, 255, 255, 0.66);
    min-height: 48px;
    padding: 0.8rem 1rem;
    border-radius: 0;
    font: inherit;
}

.lux-form textarea,
.lux-checkbox,
.lux-form button,
.lux-form .cf-turnstile,
.lux-form__turnstile {
    grid-column: 1 / -1;
}

.lux-form .cf-turnstile,
.contact-lux-form .cf-turnstile {
    margin: 0.35rem 0 0.15rem;
}

.lux-form textarea {
    min-height: 120px;
}

/* Titolo del gruppo di campi: sta sopra la prima voce del gruppo
   (es. "Come desideri essere contattato?" sopra alle spunte del form). */
.lux-form__grouptitle {
    margin: 0.9rem 0 0.1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--lux-ink, #11100f);
}

.lux-checkbox {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    font-size: 0.82rem;
    color: var(--lux-muted);
}

.lux-checkbox input {
    width: 24px;
    height: 24px;
    min-height: 24px;
    flex-shrink: 0;
    accent-color: var(--lux-gold);
}

.lux-consult-box {
    background: #11100f;
    color: #fff;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    align-self: end;
}

.lux-consult-box article {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.lux-consult-box span {
    color: #d8ccbd;
    font-size: 0.9rem;
}

.lux-footer {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.05) 0 1px, transparent 1px 120px),
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.08), transparent 1px 42%),
        radial-gradient(circle at 75% 60%, rgba(255,255,255,0.05), transparent 1px 38%),
        #080807;
    color: #d8c5a5;
    padding: 3.4rem 4.8vw 2.2rem;
}

.lux-footer .footer-grid {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.7fr 0.75fr 0.9fr 0.85fr 1.2fr;
    gap: clamp(2rem, 5vw, 5.5rem);
    align-items: start;
}

.lux-footer a,
.lux-footer p {
    color: #cbbca7;
    font-size: 0.9rem;
    line-height: 1.8;
    margin: 0;
}

.lux-footer .footer-title,
.lux-footer .footer-brand {
    color: #fff;
}

.lux-footer .footer-brand {
    margin-bottom: 1.1rem;
    text-transform: uppercase;
    font-size: 1.25rem;
    letter-spacing: 0.12em;
    line-height: 1.1;
}

.lux-footer .footer-about {
    max-width: 300px;
}

.lux-footer .footer-title {
    margin: 0 0 0.8rem;
    text-transform: uppercase;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.lux-footer ul {
    display: grid;
    gap: 0.35rem;
}

.lux-footer a {
    text-decoration: none;
}

.lux-footer a:hover {
    color: #fff;
    text-decoration: none;
}

.lux-footer .social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.lux-footer .copyright {
    max-width: 1440px;
    margin: 2.4rem auto 0;
    color: rgba(203, 188, 167, 0.6);
    font-size: 0.78rem;
}

@media (min-width: 980px) {
    .nav-toggle:not(.luxury-nav-toggle) {
        display: none;
    }

    .main-nav:not(.luxury-main-nav) {
        position: static;
        width: auto;
        display: flex;
        align-items: center;
        padding: 0;
        box-shadow: none;
        background: transparent;
    }

    .main-nav:not(.luxury-main-nav) ul {
        flex-direction: row;
        align-items: center;
        gap: clamp(1.1rem, 2.3vw, 2.1rem);
        text-align: left;
    }

    .lang-switcher {
        margin: 0 0 0 1rem;
    }

    .lang-switcher a {
        border-color: rgba(255, 255, 255, 0.3);
        color: #fff;
        border-radius: 0;
    }

    .lang-switcher a.is-active {
        background: transparent;
        border-color: transparent;
        color: #fff;
    }
}

@media (max-width: 1150px) {
    .lux-audience-grid,
    .lux-project-strip,
    .lux-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lux-collection-grid,
    .lux-process-grid,
    .lux-split-section,
    .lux-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .lux-stats {
        max-width: none;
        grid-template-columns: repeat(2, 1fr);
        row-gap: 18px;
    }

    .lux-stat:nth-child(2) {
        border-right: 0;
    }

    .lux-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (max-width: 979px) {
    .main-nav:not(.luxury-main-nav) {
        background: rgba(8, 8, 7, 0.98);
        color: #fff;
    }

    .header-catalog-cta {
        margin: 1rem 0 0 auto;
    }
}

@media (max-width: 720px) {
    .lux-hero {
        min-height: 680px;
        padding: 108px 6vw 70px;
    }

    .lux-hero h1,
    .lux-page-hero h1 {
        font-size: clamp(2.6rem, 14vw, 4.2rem);
    }

    .lux-page-hero p {
        font-size: 1rem;
        max-width: 22rem;
    }

    .lux-stats {
        grid-template-columns: 1fr 1fr;
    }

    .lux-stat {
        border-right: 0;
        border-bottom: 1px solid var(--lux-line);
    }

    .lux-audience-grid,
    .lux-collection-grid,
    .lux-process-grid,
    .lux-split-section,
    .lux-project-strip,
    .lux-alt-card,
    .lux-value-row,
    .lux-project-grid,
    .lux-lead-intro,
    .lux-lead-intro--reverse,
    .lux-lead-form-section,
    .lux-lead-form-section--split,
    .lux-footer .footer-grid {
        grid-template-columns: 1fr;
    }

    .lux-process-grid article::after {
        display: none;
    }

    /* In colonna unica l'inversione non ha senso, ma l'immagine deve restare:
       nascosta, una collezione su due si presentava senza foto. */
    .lux-alt-card--reverse .lux-alt-card__image {
        display: block;
        order: 0;
    }

    .lux-final-cta {
        display: block;
    }

    .lux-final-cta .lux-actions {
        margin-top: 1.5rem;
    }

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

    .lux-value-row article {
        border-right: 0;
        border-bottom: 1px solid var(--lux-line);
        padding: 1.2rem 0;
    }
}

/* Header final overrides */
.luxury-site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    width: 100%;
    height: 64px;
    color: #fff;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0));
    border: 0;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

/* Stato "scrollato": sfondo solido scuro così il menu resta leggibile
   anche sopra i contenuti chiari della pagina. */
.luxury-site-header.is-scrolled {
    background: rgba(11, 11, 10, 0.95);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.luxury-header-inner {
    width: 100%;
    height: 64px;
    padding: 0 4.2vw;
    display: grid;
    grid-template-columns: 270px 1fr auto;
    align-items: center;
    gap: 2rem;
}

.luxury-site-header .lux-brand {
    justify-self: start;
    width: 270px;
}

.luxury-site-header .lux-brand img {
    display: block;
    width: auto;
    height: 72px;
    max-width: 220px;
    object-fit: contain;
    filter: none;
    animation: none;
}

.luxury-site-header .luxury-main-nav {
    position: static;
    width: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.7rem, 1.25vw, 1.15rem);
    background: transparent;
    box-shadow: none;
    color: #fff;
}

.luxury-site-header .luxury-main-nav ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: clamp(0.95rem, 2vw, 1.8rem);
    margin: 0;
    padding: 0;
    text-align: left;
}

.luxury-header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.35rem;
}

.luxury-site-header .luxury-main-nav a {
    color: #fff;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
   
    border-bottom: 1px solid transparent;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.82rem;
    font-weight: 100;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.luxury-site-header .luxury-main-nav a.active,
.luxury-site-header .luxury-main-nav a:hover {
    border-bottom-color: currentColor;
}

.luxury-site-header .lang-switcher {
    margin: 0;
    position: relative;
    flex-shrink: 0;
}
.luxury-site-header .lang-switcher--compact {
    display: block;
}
.luxury-site-header .lang-switcher__current {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    cursor: pointer;
}
.luxury-site-header .lang-switcher__current::-webkit-details-marker,
.luxury-site-header .lang-switcher__current::marker {
    display: none;
}
.luxury-site-header .lang-switcher__chevron {
    width: 0;
    height: 0;
    border-left: 3.5px solid transparent;
    border-right: 3.5px solid transparent;
    border-top: 4px solid rgba(255, 255, 255, 0.8);
}
.luxury-site-header .lang-switcher--compact[open] .lang-switcher__chevron {
    transform: rotate(180deg);
}
.luxury-site-header .lang-switcher__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    min-width: 52px;
    padding: 8px;
    background: rgba(11, 11, 10, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.luxury-site-header .lang-switcher__menu .lang-pill {
    width: 100%;
}

.luxury-site-header .lang-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 28px;
    padding: 0 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.luxury-site-header .lang-pill:hover {
    color: #fff;
    border-color: #fff;
    text-decoration: none;
}

.luxury-site-header .lang-pill.is-active {
    background: #fff;
    border-color: #fff;
    color: var(--color-secondary);
}

.luxury-site-header .header-catalog-cta {
    min-height: 34px;
    margin: 0;
    padding: 0 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    color: #fff;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.82) !important;
    font-size: 0.72rem;
    line-height: 1;
    box-shadow: inset 0 0 0 0 rgba(255,255,255,0);
}

.luxury-site-header .header-catalog-cta:hover {
    border-color: #fff;
    border-bottom-color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.luxury-site-header .header-admin-link {
    color: rgba(255, 255, 255, 0.54);
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border-bottom: 1px solid transparent;
    font-size: 0.66rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.luxury-site-header .header-admin-link:hover,
.luxury-site-header .header-admin-link:focus {
    color: #fff;
    border-bottom-color: currentColor;
    outline: none;
    text-decoration: none;
}

/* Richiamo architetti nell'header: pill accent crema del brand, evidente. */
.luxury-site-header .header-arch-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 34px;
    padding: 0 1.05rem;
    border-radius: 999px;
    background: #e2d3be;
    color: #100f0d;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
    transition: background-color 0.18s ease, transform 0.18s ease;
}
.luxury-site-header .header-arch-cta svg {
    flex: 0 0 auto;
}
.luxury-site-header .header-arch-cta:hover,
.luxury-site-header .header-arch-cta:focus {
    background: #fff;
    transform: translateY(-1px);
    outline: none;
}

/* Riquadro invito architetti nella pagina di login. */
.login-arch-invite {
    margin-top: 1.75rem;
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    background: linear-gradient(135deg, #faf6ef, #f1e7d6);
    text-align: center;
}
.login-arch-invite strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}
.login-arch-invite p {
    margin: 0 0 1rem;
    color: #4a4640;
    font-size: 0.95rem;
}
.login-arch-invite .btn {
    display: inline-block;
}

.privacy-hero {
    background:
        linear-gradient(120deg, rgba(8, 8, 7, 0.84), rgba(18, 16, 13, 0.72)),
        url('../../../uploads/foto/sede.jpg') center / cover;
}

.privacy-policy {
    display: grid;
    grid-template-columns: minmax(180px, 260px) minmax(0, 860px);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
    padding: clamp(3rem, 7vw, 5.5rem) 6vw;
    background: #fffaf4;
}

.privacy-policy__summary {
    position: sticky;
    top: 88px;
    border-top: 1px solid rgba(20, 18, 14, 0.24);
    padding-top: 1rem;
}

.privacy-policy__eyebrow,
.privacy-policy__updated {
    margin: 0 0 1rem;
    color: #6d6257;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.privacy-policy__summary ul {
    display: grid;
    gap: 0.55rem;
}

.privacy-policy__summary a {
    color: #17130e;
    font-size: 0.9rem;
    text-decoration: none;
}

.privacy-policy__summary a:hover {
    text-decoration: underline;
}

.privacy-policy__content {
    color: #17130e;
}

.privacy-policy__content section {
    padding: 0 0 2rem;
    margin: 0 0 2rem;
    border-bottom: 1px solid rgba(20, 18, 14, 0.12);
}

.privacy-policy__content h2,
.privacy-policy__content h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    line-height: 1.14;
}

.privacy-policy__content h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.privacy-policy__content h3 {
    margin: 1.45rem 0 0.55rem;
    font-size: 1.2rem;
}

.privacy-policy__content p,
.privacy-policy__content li,
.privacy-policy__content td,
.privacy-policy__content th {
    font-size: 0.98rem;
    line-height: 1.78;
}

.privacy-policy__content p {
    margin: 0 0 1rem;
}

.privacy-policy__content ul {
    margin: 0 0 1.2rem;
    padding-left: 1.2rem;
    list-style: disc;
}

.privacy-policy__content a {
    color: #17130e;
    text-decoration: underline;
}

.privacy-policy__table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.4rem;
    background: #fff;
}

.privacy-policy__table th,
.privacy-policy__table td {
    border: 1px solid rgba(20, 18, 14, 0.14);
    padding: 0.9rem 1rem;
    text-align: left;
    vertical-align: top;
}

.privacy-policy__table th {
    background: #17130e;
    color: #fff;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.luxury-nav-toggle {
    display: none;
}

@media (min-width: 1200px) {
    .luxury-header-inner {
        grid-template-columns: 270px minmax(0, 1fr) auto;
    }

    .luxury-site-header .luxury-main-nav {
        grid-column: 2;
        justify-self: center;
        justify-content: center;
        width: 100%;
        height: auto;
        max-height: none;
        position: static;
        display: flex;
        background: transparent;
        transform: none;
        visibility: visible;
        pointer-events: auto;
        overflow: visible;
        box-shadow: none;
    }

    .luxury-header-actions {
        grid-column: 3;
        justify-self: end;
    }

    .luxury-nav-toggle {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    .luxury-header-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 5vw;
        gap: 0.8rem;
    }

    .luxury-site-header .lux-brand {
        width: auto;
        max-width: 200px;
        flex: 0 1 auto;
    }

    .luxury-site-header .lux-brand img {
        height: 38px;
        max-width: 180px;
    }

    .luxury-header-actions {
        margin-left: auto;
        margin-right: 0;
        gap: 0.55rem;
        flex-shrink: 0;
    }

    .luxury-nav-toggle {
        display: inline-flex !important;
        flex-shrink: 0;
        order: 2;
    }

    .luxury-site-header .lang-switcher {
        order: 1;
        margin: 0;
        flex-shrink: 0;
    }

    /* Menu compatto: tendina a tutta larghezza sotto l'header, voci in fila e
       allineate a sinistra. Il pannello laterale copriva mezza pagina e
       rimandava le voci nell'angolo opposto a dove si legge. */
    .luxury-site-header .luxury-main-nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        max-height: calc(100vh - 64px);
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 1.1rem clamp(1rem, 5vw, 2.5rem) 1.3rem;
        overflow-x: hidden;
        overflow-y: auto;
        background: rgba(8, 8, 7, 0.98);
        box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateY(-14px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1100;
        transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s ease;
    }

    .luxury-site-header .luxury-main-nav.is-open {
        display: flex;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .luxury-site-header .luxury-main-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 0.55rem clamp(1.1rem, 3.5vw, 2.2rem);
        width: 100%;
    }

    .luxury-site-header .luxury-main-nav > ul > li > a {
        justify-content: flex-start;
        text-align: left;
    }

    /* Il sottomenu delle collezioni, quando è aperto, prende una riga tutta sua
       e scorre nel flusso: sospeso in assoluto coprirebbe le voci accanto. */
    .luxury-site-header .luxury-main-nav > ul > li.nav-has-mega.is-open {
        flex: 1 0 100%;
    }

    .luxury-site-header .luxury-main-nav .nav-mega {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none;
        margin-top: 0.6rem;
    }

    .luxury-site-header .header-catalog-cta {
        padding: 0 0.9rem;
        min-height: 32px;
        font-size: 0.68rem;
        margin: 0;
    }

    .luxury-site-header .header-admin-link {
        font-size: 0.62rem;
        min-height: 24px;
    }

    .privacy-policy {
        grid-template-columns: 1fr;
        padding: 3rem 5vw;
    }

    .privacy-policy__summary {
        position: static;
    }

    .privacy-policy__content {
        overflow-x: auto;
    }
}

@media (max-width: 720px) {
    .luxury-site-header .header-catalog-cta,
    .luxury-site-header .header-arch-cta {
        display: none;
    }
}

/* Footer exact mockup override */
.luxury-footer {
    min-height: 160px;
    padding: 44px 46px 36px;
    background:
        linear-gradient(115deg, transparent 0 17%, rgba(255,255,255,0.045) 17.08%, transparent 17.35% 53%, rgba(255,255,255,0.04) 53.08%, transparent 53.32%),
        linear-gradient(18deg, transparent 0 71%, rgba(255,255,255,0.035) 71.08%, transparent 71.35%),
        #0b0b0a;
    color: #fff;
}

/* Sfondo del footer con immagine (Sezioni pagine -> Navigazione -> Sfondo del footer):
   sopra la foto resta un velo scuro regolabile, senza il quale il testo chiaro
   diventerebbe illeggibile sulle zone chiare dell'immagine. */
.luxury-footer--image {
    background-image:
        linear-gradient(rgba(11,11,10,var(--footer-shade,0.78)), rgba(11,11,10,var(--footer-shade,0.78))),
        var(--footer-bg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.luxury-footer .footer-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1.1fr 1fr 1.4fr;
    column-gap: 48px;
    row-gap: 34px;
    align-items: start;
}

.luxury-footer .footer-about {
    max-width: 250px;
}

.luxury-footer .footer-brand {
    margin: 0 0 22px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 0.95;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.luxury-footer .footer-brand::after {
    content: "INTERIORS";
    display: block;
    margin-top: 6px;
    padding-left: 37px;
    font-size: 9px;
    letter-spacing: 0.26em;
}

.luxury-footer .footer-logo-image {
    display: block;
    width: auto;
    height: 72px;
    max-width: 150px;
    object-fit: contain;
    margin: 0 0 22px;
}

.luxury-footer .footer-about p:not(.footer-brand) {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.luxury-footer .footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.luxury-footer .footer-legal-data {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 8px;
    row-gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.luxury-footer .footer-legal-data li {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.5;
}

.luxury-footer .footer-legal-data li + li::before {
    content: "\00B7";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.35);
}

.luxury-footer .footer-legal-data a {
    color: inherit;
    font-size: inherit;
}

.luxury-footer .footer-title {
    margin: 0 0 16px;
    color: #fff;
    font-size: 13px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.luxury-footer ul {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
}

.luxury-footer li {
    line-height: 1.4;
}

.luxury-footer a,
.luxury-footer .footer-ai-origin-link,
.luxury-footer p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    text-decoration: none;
}

.luxury-footer a:hover,
.luxury-footer .footer-ai-origin-link:hover {
    color: #d6c1a0;
}

.luxury-footer .social-links {
    display: flex;
    gap: 18px;
    margin-top: 16px;
}

.luxury-footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: inherit;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.luxury-footer .social-links a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    text-decoration: none;
}

.luxury-footer .social-links svg {
    display: block;
}

@media (max-width: 1200px) {
    .luxury-footer .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        row-gap: 34px;
        column-gap: 40px;
    }

    .luxury-footer .footer-about {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 900px) {
    .luxury-footer {
        min-height: auto;
        padding: 36px 6vw;
    }

    .luxury-footer .footer-grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
        column-gap: 34px;
    }
}

@media (max-width: 560px) {
    .luxury-footer .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Mega-menu "Collezioni" nell'header ===== */
.nav-mega-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
    padding: 2px 5px;
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    font-size: 0.7em;
    line-height: 1;
    transition: transform 0.15s ease;
}

.nav-mega-toggle[aria-expanded="true"] {
    transform: rotate(180deg);
}

/* Pannello sempre "a scheda bianca": leggibile sia sull'header che nel menu mobile scuro. */
.luxury-main-nav .nav-mega {
    display: none;
    background: #fff;
    color: #1c1c1a;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    padding: 18px 20px;
    text-align: left;
    text-transform: none;
    letter-spacing: 0;
}

.nav-has-mega.is-open > .nav-mega {
    display: block;
}

.nav-mega__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

/* Elenco collezioni (livello 1). Su mobile sono pill che vanno a capo. */
.nav-mega__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.nav-mega__cat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #1c1c1a;
    font: inherit;
    font-size: 0.88rem;
    line-height: 1.1;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.luxury-main-nav .nav-mega .nav-mega__cat {
    color: #1c1c1a;
    font-size: 0.88rem;
    font-weight: 400;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
    border: 1px solid rgba(0, 0, 0, 0.12);
    min-height: 0;
}

.luxury-main-nav .nav-mega .nav-mega__cat:hover {
    text-decoration: none;
    border-color: rgba(0, 0, 0, 0.3);
}

.nav-mega__cat small {
    font-size: 0.7rem;
    font-weight: 600;
    color: #8a8a8a;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 999px;
    padding: 1px 7px;
}

.nav-mega__cat:hover {
    border-color: rgba(0, 0, 0, 0.3);
}

.nav-mega__cat.is-active {
    background: #0b0b0a;
    border-color: #0b0b0a;
    color: #fff;
}

.luxury-main-nav .nav-mega .nav-mega__cat.is-active {
    color: #fff;
    border-color: #0b0b0a;
}

.nav-mega__cat.is-active small {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
}

/* Pannelli prodotti (livello 2): visibile solo quello della collezione attiva. */
.nav-mega__panel {
    display: none;
}

.nav-mega__panel.is-active {
    display: block;
}

.nav-mega__panel-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.luxury-main-nav .nav-mega .nav-mega__title {
    margin: 0;
    color: #0b0b0a;
    font-size: 0.98rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    white-space: normal;
    text-decoration: none;
    border: 0;
}

.luxury-main-nav .nav-mega .nav-mega__title:hover {
    color: #9a7b3f;
}

.nav-mega__all {
    font-size: 0.8rem;
    color: #9a7b3f;
    white-space: nowrap;
    text-decoration: none;
}

.nav-mega__all:hover {
    text-decoration: underline;
}

.nav-mega__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    /* Tutti i prodotti della collezione: griglia scrollabile se ne ci sono molti */
    max-height: min(62vh, 520px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    -webkit-overflow-scrolling: touch;
}

.luxury-main-nav .nav-mega .nav-mega__product {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #1c1c1a;
    text-decoration: none;
    border: 0;
    min-height: 0;
}

.nav-mega__thumb {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #f2efea;
}

.nav-mega__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.nav-mega__product:hover .nav-mega__thumb img {
    transform: scale(1.05);
}

.nav-mega__name {
    font-size: 0.84rem;
    line-height: 1.3;
}

.nav-mega__product:hover .nav-mega__name {
    color: #9a7b3f;
}

.nav-mega__empty {
    margin: 0;
    color: #8a8a8a;
    font-size: 0.9rem;
}

@media (min-width: 980px) {
    .luxury-main-nav .nav-mega-toggle {
        display: none;
    }

    .luxury-main-nav .nav-has-mega {
        position: relative;
    }

    .luxury-main-nav .nav-mega {
        display: block;
        position: absolute;
        top: calc(100% + 14px);
        left: 0;
        z-index: 90;
        width: min(960px, calc(100vw - 48px));
        padding: 24px 26px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    }

    .nav-has-mega:hover > .nav-mega,
    .nav-has-mega:focus-within > .nav-mega,
    .nav-has-mega.is-open > .nav-mega {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-mega__inner {
        grid-template-columns: 240px 1fr;
        gap: 0 28px;
        align-items: start;
    }

    .nav-mega__cats {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 2px;
        max-height: 60vh;
        overflow-y: auto;
        padding-right: 16px;
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    .nav-mega__cat {
        width: 100%;
        justify-content: space-between;
        border: 0;
        border-radius: 8px;
        padding: 9px 12px;
        font-size: 0.9rem;
    }

    .luxury-main-nav .nav-mega .nav-mega__cat {
        border: 0;
        font-size: 0.9rem;
    }

    .nav-mega__cat:hover {
        background: #f4f1ec;
    }

    .nav-mega__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

/* ===== Navigazione contestuale nella pagina prodotto ===== */
.product-cross-nav {
    background: #faf8f5;
}

.product-cross-nav__block + .product-cross-nav__block {
    margin-top: 2.6rem;
}

.product-cross-nav__title {
    font-size: clamp(1.3rem, 2.4vw, 1.8rem);
    margin: 0 0 1.3rem;
}

.product-cross-nav__title span {
    color: #9a7b3f;
}

.product-cross-nav__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
}

.product-cross-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.product-cross-card__img {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background: #ece8e2;
}

.product-cross-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-cross-card:hover .product-cross-card__img img {
    transform: scale(1.05);
}

.product-cross-card__name {
    font-weight: 600;
    font-size: 0.98rem;
}

.product-cross-nav__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-cross-chip {
    display: inline-flex;
    padding: 9px 18px;
    border: 1px solid rgba(0, 0, 0, 0.16);
    border-radius: 999px;
    text-decoration: none;
    color: #1c1c1a;
    font-size: 0.92rem;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.product-cross-chip:hover {
    background: #0b0b0a;
    border-color: #0b0b0a;
    color: #fff;
}

/* =========================================================================
   Accessibilità trasversale (WCAG 2.2) — applicata a tutte le pagine pubbliche
   ========================================================================= */

/* Skip-link: saltare l'header con la tastiera (WCAG 2.4.1 Bypass Blocks).
   Nascosto visivamente finché non riceve il focus. */
.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    padding: 0.7rem 1.2rem;
    background: var(--color-secondary);
    color: #fff;
    border-radius: 0 0 8px 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.18s ease;
}

.skip-link:focus {
    top: 0;
    text-decoration: none;
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Focus da tastiera sempre visibile (WCAG 2.4.7 Focus Visible).
   Usa :focus-visible così il contorno appare solo per chi naviga da
   tastiera, non al clic del mouse. Vince sui vari "outline: none". */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Il <main> riceve focus dallo skip-link ma non deve mostrare il contorno. */
main:focus,
main:focus-visible {
    outline: none;
}

/* Rispetto delle preferenze di movimento ridotto (WCAG 2.3.3).
   Disattiva animazioni infinite (es. logo) e transizioni superflue per
   chi soffre di vestibolarità o ha attivato "riduci movimento". */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .logo img {
        animation: none !important;
    }
}

/* ===== Viewer 3D prodotto (STL/OBJ) ===== */
.product-3d-section__title {
    margin: 0 0 0.25rem;
}

.product-3d-section__hint {
    margin: 0 0 1rem;
    color: #6b6b6b;
    font-size: 0.92rem;
}

.product-3d-viewer {
    position: relative;
    width: 100%;
    height: clamp(320px, 50vh, 520px);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, #f1ede7 0%, #e3ddd3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
}

.product-3d-viewer:active {
    cursor: grabbing;
}

.product-3d-viewer canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* Selettore discendente e non classe secca: in admin la regola generica
   «.admin-card span { display: block }» e' piu' specifica e faceva comparire
   il messaggio d'errore sopra un modello caricato correttamente. */
.product-3d-viewer .product-3d-viewer__fallback {
    display: block;
    color: #8a8276;
    font-size: 0.95rem;
    font-weight: 400;
    margin-top: 0;
}

.product-3d-viewer.is-loaded .product-3d-viewer__fallback,
.product-3d-viewer.is-error .product-3d-viewer__fallback {
    display: none;
}

.product-3d-viewer .product-3d-viewer__error {
    display: none;
    padding: 0 1.5rem;
    text-align: center;
    color: #8a3b3b;
    font-size: 0.95rem;
    font-weight: 400;
    margin-top: 0;
}

.product-3d-viewer.is-error .product-3d-viewer__error {
    display: block;
}

/* --- FAQ prodotto (GEO) --- */
.product-faq__summary {
    max-width: 720px;
    margin: 0.6rem auto 0;
    color: var(--lux-muted, #6f665d);
    line-height: 1.6;
}
.product-faq__list {
    max-width: 820px;
    margin: 2rem auto 0;
    display: grid;
    gap: 0.75rem;
}
.product-faq__item {
    border: 1px solid var(--lux-line, rgba(30, 24, 18, 0.14));
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}
.product-faq__question {
    list-style: none;
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 600;
    color: var(--lux-ink, #151311);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.product-faq__question::-webkit-details-marker { display: none; }
.product-faq__question::after {
    content: "+";
    font-size: 1.3rem;
    line-height: 1;
    color: var(--lux-gold, #a9824f);
    transition: transform 0.2s ease;
}
.product-faq__item[open] .product-faq__question::after {
    content: "−";
}
.product-faq__answer {
    padding: 0 1.25rem 1.15rem;
    color: var(--lux-muted, #6f665d);
    line-height: 1.65;
}
.product-faq__answer p { margin: 0; }
@media (prefers-reduced-motion: reduce) {
    .product-faq__question::after { transition: none; }
}

/* ---- Marchio certificazione contract (CATAS) ---- */
.product-hero { position: relative; }

.cert-badge {
    position: absolute;
    top: calc(var(--header-height, 72px) + 14px);
    right: clamp(14px, 4vw, 40px);
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(54px, 7vw, 80px);
    padding: 8px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.cert-badge:hover,
.cert-badge:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}
.cert-badge img { width: 100%; height: auto; display: block; }

.lux-hero-home .cert-badge {
    opacity: 0.5;
}

/* Badge sulle card catalogo/collezioni */
.product-card { position: relative; }
.product-card__cert,
.lux-alt-card__cert {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    width: 46px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 9px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    pointer-events: none;
}
.product-card__cert img,
.lux-alt-card__cert img { width: 100%; height: auto; display: block; }
.lux-alt-card { position: relative; }

@media (max-width: 640px) {
    .cert-badge { top: calc(var(--header-height, 72px) + 8px); }
}
@media (prefers-reduced-motion: reduce) {
    .cert-badge { transition: none; }
}

/* Sezione certificazioni e prove nella pagina prodotto */
.product-certification__head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.product-certification__logo {
    width: 72px;
    height: auto;
    flex: 0 0 auto;
}
.product-certification__standard {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}
.product-certification__doc,
.product-certification__test-doc {
    font-weight: 600;
    text-decoration: none;
    color: #0f766e;
}
.product-certification__doc:hover,
.product-certification__test-doc:hover { text-decoration: underline; }
.product-certification__note {
    margin: 0 0 14px;
    padding: 10px 14px;
    border-left: 3px solid #0f766e;
    background: rgba(15, 118, 110, .06);
    font-size: .92rem;
    color: #334155;
}
.product-certification__tests {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.product-certification__test {
    border: 1px solid rgba(15, 23, 42, .1);
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
}
.product-certification__test-main {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: baseline;
}
.product-certification__test-label { font-weight: 600; }
.product-launch-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(23, 18, 14, 0.88);
    color: #fffaf4;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.product-card--coming-soon,
.product-card--pre-launch,
.lux-alt-card--coming-soon,
.lux-alt-card--pre-launch {
    position: relative;
}

.lux-alt-card__image-wrap {
    position: relative;
    height: 100%;
    min-height: 310px;
}

.lux-alt-card__image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
}

.product-launch-badge--on-image {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    box-shadow: 0 8px 24px rgba(12, 18, 32, 0.28);
}

.product-launch-badge--prelaunch {
    background: linear-gradient(135deg, #8b6914 0%, #b9915b 100%);
    color: #fffaf4;
}

.product-card--coming-soon .product-card__media,
.product-card--pre-launch .product-card__media {
    position: relative;
}

/* ---- Pulsante WhatsApp flottante ---- */
/* Cloudflare: icona nel footer a sinistra di «Mostra telefono» (non nei form) */
.footer-phone-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.cf-protect-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    flex: 0 0 auto;
}
.cf-protect-mark img,
.cf-protect-mark .cf-protect-svg {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
}
.cf-protect-mark--footer {
    opacity: 0.95;
    pointer-events: none;
}

/* Telefono protetto anti-bot: bottone finché non c'è un click umano */
.phone-protect {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.15em;
    text-align: inherit;
}
.phone-protect:hover,
.phone-protect:focus-visible {
    opacity: 0.85;
    outline: none;
}
.phone-protect--footer {
    color: inherit;
}
/* Specificità alta: non deve ereditare background:none da .phone-protect */
.whatsapp-fab,
button.whatsapp-fab,
a.whatsapp-fab,
button.whatsapp-fab.phone-protect,
a.whatsapp-fab.phone-protect {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 90;
    width: 3.4rem;
    height: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    padding: 0;
    margin: 0;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(18, 63, 33, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    opacity: 1;
}

.whatsapp-fab svg,
button.whatsapp-fab svg,
a.whatsapp-fab svg { width: 1.9rem; height: 1.9rem; fill: currentColor; }

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible,
button.whatsapp-fab:hover,
button.whatsapp-fab:focus-visible,
a.whatsapp-fab:hover,
a.whatsapp-fab:focus-visible {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 14px 32px rgba(18, 63, 33, 0.4);
    color: #fff;
    opacity: 1;
    background: #25d366;
}

html[dir="rtl"] .whatsapp-fab { right: auto; left: 1.25rem; }

@media (prefers-reduced-motion: reduce) {
    .whatsapp-fab { transition: none; }
    .whatsapp-fab:hover, .whatsapp-fab:focus-visible { transform: none; }
}

/* ================= Assistente commerciale (chat pubblica) =================
   Pulsante azzurro alla sinistra di quello WhatsApp e finestra di conversazione
   con lo stesso impianto di una chat di messaggistica, in blu. */
.assistant-fab {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 91;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 3.4rem;
    padding: 0 1.05rem;
    border: 0;
    border-radius: 999px;
    background: #1d7fd7;
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(13, 62, 110, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

/* Con WhatsApp presente si sposta a sinistra, lasciandogli il suo angolo. */
.assistant-fab--with-whatsapp {
    right: calc(1.25rem + 3.4rem + 0.7rem);
}

.assistant-fab svg {
    width: 1.5rem;
    height: 1.5rem;
    flex: 0 0 auto;
}

.assistant-fab:hover,
.assistant-fab:focus-visible {
    background: #1668b0;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 32px rgba(13, 62, 110, 0.42);
}

.assistant-panel {
    position: fixed;
    right: 5.25rem;
    bottom: calc(1.25rem + 3.4rem + 0.8rem);
    z-index: 1150;
    width: min(480px, calc(100vw - 2rem));
    height: min(680px, calc(100vh - 7rem));
    max-height: calc(100vh - 7rem);
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #eef3f8;
    box-shadow: 0 24px 60px rgba(12, 30, 50, 0.32);
}

.assistant-panel[hidden] {
    display: none;
}

.assistant-panel__head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem 0.9rem;
    background: #12608f;
    color: #fff;
}

.assistant-panel__avatar {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.95rem;
}

.assistant-panel__titles {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    flex: 1 1 auto;
    min-width: 0;
}

.assistant-panel__titles strong { font-size: 0.92rem; }
.assistant-panel__titles small { font-size: 0.74rem; opacity: 0.85; }

.assistant-panel__close {
    background: none;
    border: 0;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.2rem 0.35rem;
    border-radius: 6px;
}

.assistant-panel__close:hover,
.assistant-panel__close:focus-visible { background: rgba(255, 255, 255, 0.16); }

.assistant-panel__body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1rem 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background-color: #e7eef6;
    background-image:
        radial-gradient(rgba(18, 96, 143, 0.07) 1px, transparent 1px),
        radial-gradient(rgba(18, 96, 143, 0.05) 1px, transparent 1px);
    background-size: 22px 22px, 22px 22px;
    background-position: 0 0, 11px 11px;
}

/* Bolle come in una chat di messaggistica: l'assistente a sinistra, chi scrive
   a destra, con la codina verso il proprio lato e l'orario in basso. */
.assistant-msg {
    position: relative;
    max-width: 78%;
    padding: 0.55rem 0.75rem 1.15rem;
    border-radius: 14px;
    font-size: 0.92rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: 0 1px 1px rgba(16, 49, 76, 0.12);
}

.assistant-msg__time {
    position: absolute;
    right: 0.6rem;
    bottom: 0.3rem;
    font-size: 0.66rem;
    opacity: 0.55;
    letter-spacing: 0.02em;
}

.assistant-msg--bot {
    align-self: flex-start;
    background: #fff;
    color: #16202b;
    border-top-left-radius: 4px;
}

.assistant-msg--bot::after {
    content: "";
    position: absolute;
    top: 0;
    left: -7px;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-top-color: #fff;
    border-right: 0;
}

.assistant-msg--me {
    align-self: flex-end;
    background: #cce8ff;
    color: #0f2f49;
    border-top-right-radius: 4px;
}

.assistant-msg--me::after {
    content: "";
    position: absolute;
    top: 0;
    right: -7px;
    width: 0;
    height: 0;
    border: 7px solid transparent;
    border-top-color: #cce8ff;
    border-left: 0;
}

.assistant-msg--action {
    padding-bottom: 0.55rem;
}

.assistant-msg--action a {
    color: #12608f;
    font-weight: 600;
}

.assistant-msg--typing {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    padding: 0.7rem 0.85rem;
    min-height: 0;
}

.assistant-msg--typing::after { display: none; }

.assistant-msg--typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #9bb3c7;
    animation: assistant-blink 1.2s infinite ease-in-out;
}

.assistant-msg--typing span:nth-child(2) { animation-delay: 0.18s; }
.assistant-msg--typing span:nth-child(3) { animation-delay: 0.36s; }

@keyframes assistant-blink {
    0%, 80%, 100% { opacity: 0.3; }
    40% { opacity: 1; }
}

/* Pulsante fisso verso la pagina di scelta prodotti: resta lì finché il
   visitatore non l'ha usata, così l'assistente non deve ripetere il link. */
.assistant-panel__cta {
    padding: 0.55rem 0.8rem 0;
    background: #fff;
}

.assistant-cta__link {
    display: block;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    background: #0284c7;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.assistant-cta__link:hover,
.assistant-cta__link:focus-visible {
    background: #0369a1;
    color: #fff;
}

.assistant-panel__form {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.6rem 0.7rem 0.35rem;
    background: #fff;
}

.assistant-panel__form textarea {
    flex: 1 1 auto;
    resize: none;
    border: 1px solid #d6e0ea;
    border-radius: 18px;
    padding: 0.65rem 0.9rem;
    font: inherit;
    font-size: 0.92rem;
    line-height: 1.35;
    max-height: 120px;
    background: #f7fafd;
}

.assistant-panel__form textarea:focus {
    outline: none;
    border-color: #1d7fd7;
    background: #fff;
}

.assistant-panel__send {
    flex: 0 0 auto;
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 50%;
    background: #1d7fd7;
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.assistant-panel__send svg { width: 1.1rem; height: 1.1rem; }
.assistant-panel__send:hover,
.assistant-panel__send:focus-visible { background: #1668b0; }

.assistant-panel__note {
    margin: 0;
    padding: 0 0.8rem 0.65rem;
    background: #fff;
    color: #7d8ea0;
    font-size: 0.68rem;
    line-height: 1.35;
}

@media (max-width: 560px) {
    .assistant-fab__label { display: none; }
    .assistant-fab {
        width: 3.4rem;
        padding: 0;
        justify-content: center;
    }
    .assistant-panel {
        right: 0.5rem;
        left: 0.5rem;
        width: auto;
        bottom: calc(1.25rem + 3.4rem + 0.6rem);
        height: calc(100vh - 6.5rem);
        max-height: calc(100vh - 6.5rem);
    }

    .assistant-msg {
        max-width: 85%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .assistant-fab { transition: none; }
    .assistant-fab:hover, .assistant-fab:focus-visible { transform: none; }
    .assistant-msg--typing span { animation: none; }
}

html[dir="rtl"] .assistant-fab { right: auto; left: 1.25rem; }
html[dir="rtl"] .assistant-fab--with-whatsapp { left: calc(1.25rem + 3.4rem + 0.7rem); right: auto; }
html[dir="rtl"] .assistant-panel { right: auto; left: 1.25rem; }

/* ---- Listino: lookbook luxury, capitoli per collezione ---- */
.listino-section.lux-section {
    padding-top: clamp(2.4rem, 5vw, 4.2rem);
    padding-bottom: clamp(3.5rem, 7vw, 6rem);
}

.listino-section__inner {
    width: min(1320px, 92%);
    margin: 0 auto;
}

.listino-empty {
    margin: 0;
    color: var(--lux-muted);
    font-size: 1.05rem;
}

.listino-toolbar {
    position: sticky;
    top: 64px;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.5rem;
    margin: 0 0 2.8rem;
    padding: 0.85rem 0 0.95rem;
    background: #fffaf4;
    border-bottom: 1px solid var(--lux-line);
}

.listino-index {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.35rem 1.35rem;
}

.listino-index a {
    display: inline-flex;
    align-items: baseline;
    gap: 0.45rem;
    color: var(--lux-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.listino-index a:hover,
.listino-index a:focus-visible {
    border-bottom-color: currentColor;
    text-decoration: none;
}

.listino-index em {
    font-style: normal;
    font-family: Inter, Arial, sans-serif;
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    color: var(--lux-gold-text);
}

.listino-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.listino-filters button {
    margin: 0;
    padding: 0.4rem 0.85rem;
    border: 0;
    background: transparent;
    color: var(--lux-muted);
    font: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
}

.listino-filters button:hover,
.listino-filters button:focus-visible {
    color: var(--lux-ink);
}

.listino-filters button.is-active {
    color: var(--lux-ink);
    box-shadow: inset 0 -1px 0 var(--lux-ink);
}

.listino-family {
    margin-bottom: 4.2rem;
    scroll-margin-top: 132px;
}

.listino-family:last-of-type {
    margin-bottom: 0;
}

.listino-family__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 0.85rem 1.2rem;
    margin-bottom: 1.8rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--lux-line);
}

.listino-family__num {
    margin: 0;
    color: var(--lux-gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.listino-family__copy {
    display: flex;
    align-items: baseline;
    gap: 0.85rem;
    min-width: 0;
}

.listino-family__title {
    margin: 0;
    color: var(--lux-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0;
    text-transform: none;
}

.listino-family__count {
    margin: 0;
    color: var(--lux-muted);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
}

.listino-family__link {
    color: var(--lux-ink);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

.listino-family__link:hover,
.listino-family__link:focus-visible {
    color: var(--lux-gold-text);
    text-decoration: none;
}

.listino-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.4rem 1.6rem;
}

.listino-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: inherit;
    background: transparent;
    text-decoration: none;
}

.listino-card:hover,
.listino-card:focus-visible {
    text-decoration: none;
}

.listino-card:focus-visible {
    outline: 2px solid rgba(169, 130, 79, 0.7);
    outline-offset: 4px;
}

.listino-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: var(--lux-cream);
    contain: layout paint;
}

.listino-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.listino-card:hover .listino-card__media img,
.listino-card:focus-visible .listino-card__media img {
    transform: scale(1.04);
}

.listino-card__cert {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 2;
    width: 2.1rem;
    height: 2.1rem;
    padding: 0.28rem;
    background: rgba(255, 250, 244, 0.94);
}

.listino-card__cert img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.listino-card__flag {
    position: absolute;
    left: 0.85rem;
    top: 0.85rem;
    z-index: 2;
    padding: 0.38rem 0.65rem;
    background: rgba(8, 8, 7, 0.78);
    color: #f4eee8;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.listino-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 1rem 0 0;
}

.listino-card__name {
    color: var(--lux-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(1.2rem, 1.6vw, 1.55rem);
    line-height: 1.15;
}

.listino-card__sub {
    color: var(--lux-muted);
    font-size: 0.88rem;
    line-height: 1.4;
}

.listino-card__cta {
    margin-top: 0.35rem;
    color: var(--lux-ink);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.listino-card:hover .listino-card__name,
.listino-card:hover .listino-card__cta,
.listino-card:focus-visible .listino-card__name,
.listino-card:focus-visible .listino-card__cta {
    color: var(--lux-gold-text);
}

.listino-card.is-coming .listino-card__cta {
    color: var(--lux-gold-text);
}

@media (max-width: 1100px) {
    .listino-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.8rem 1.2rem;
    }
}

@media (max-width: 720px) {
    .listino-section.lux-section {
        padding-top: 2rem;
        padding-bottom: 3.2rem;
    }

    .listino-toolbar {
        position: static;
        margin-bottom: 2rem;
    }

    .listino-family {
        margin-bottom: 2.8rem;
        scroll-margin-top: 84px;
    }

    .listino-family__head {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .listino-family__link {
        grid-column: 2;
    }

    .listino-family__title {
        font-size: clamp(1.7rem, 9vw, 2.4rem);
    }

    .listino-grid {
        grid-template-columns: 1fr;
        gap: 1.6rem;
    }

    .listino-card__media {
        aspect-ratio: 4 / 3;
    }
}

@media (prefers-reduced-motion: reduce) {
    .listino-card__media img {
        transition: none;
    }

    .listino-card:hover .listino-card__media img,
    .listino-card:focus-visible .listino-card__media img {
        transform: none;
    }
}

.product-launch-collection-cta {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding: 1.25rem 1.35rem;
    background: #fff;
    border: 1px solid rgba(23, 18, 14, 0.1);
    box-shadow: 0 14px 30px rgba(23, 18, 14, 0.08);
}

.product-launch-collection-cta--prelaunch {
    border-color: rgba(185, 145, 91, 0.45);
    background: linear-gradient(180deg, #fffdf9 0%, #f8f1e7 100%);
}

.product-launch-collection-cta--unlocked {
    border-color: rgba(15, 118, 110, 0.35);
    background: linear-gradient(180deg, #f6fffe 0%, #eefaf8 100%);
}

.product-launch-collection-cta__icon {
    flex: 0 0 auto;
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(23, 18, 14, 0.06);
    color: #17120e;
}

.product-launch-collection-cta--prelaunch .product-launch-collection-cta__icon {
    background: rgba(185, 145, 91, 0.16);
    color: #8b6914;
}

.product-launch-collection-cta__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b6914;
    font-weight: 600;
}

.product-launch-collection-cta__content h3 {
    margin: 0 0 0.5rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.2;
}

.product-launch-collection-cta__content p {
    margin: 0 0 1rem;
    color: #5f574f;
    line-height: 1.6;
}

.product-launch-collection-cta__btn {
    margin-top: 0;
}

.product-launch-access-callout {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
    padding: 1.5rem 1.6rem;
    background: linear-gradient(135deg, #17120e 0%, #2a2118 100%);
    color: #fffaf4;
}

.product-launch-access-callout--unlocked {
    background: linear-gradient(135deg, #0f4c45 0%, #0f766e 100%);
}

.product-launch-access-callout__icon {
    flex: 0 0 auto;
    width: 3.5rem;
    height: 3.5rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 250, 244, 0.12);
}

.product-launch-access-callout__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #b9915b;
    font-weight: 600;
}

.product-launch-access-callout--unlocked .product-launch-access-callout__eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.product-launch-access-callout__content h2 {
    margin: 0 0 0.65rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    line-height: 1.15;
}

.product-launch-access-callout__content p {
    margin: 0;
    color: rgba(255, 250, 244, 0.86);
    line-height: 1.7;
}

.product-launch-access-callout__hint {
    margin-top: 0.75rem !important;
    font-size: 0.92rem;
    color: rgba(255, 250, 244, 0.68) !important;
}

/* Pre-lancio: copy + immagine a sinistra, CTA a destra (come in arrivo) */
.lux-product-teaser--prelaunch-locked .lux-product-teaser__body {
    grid-template-columns: 1.15fr 0.95fr;
    gap: 2.5rem;
}

.product-launch-form-choices__lead {
    margin: 0 0 1rem;
    color: #5f574f;
    font-size: 0.92rem;
}

.product-launch-form-choices {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.product-launch-form-choice {
    display: grid;
    gap: 0.25rem;
    width: 100%;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(23, 18, 14, 0.12);
    background: #fff;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.product-launch-form-choice strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #17120e;
}

.product-launch-form-choice small {
    color: #6f665d;
    line-height: 1.45;
}

.product-launch-form-choice__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b6914;
    font-weight: 600;
}

.product-launch-form-choice--early.is-active,
.product-launch-form-choice--early:hover {
    border-color: rgba(185, 145, 91, 0.55);
    background: linear-gradient(180deg, #fffdf9 0%, #f8f1e7 100%);
    box-shadow: 0 10px 24px rgba(185, 145, 91, 0.14);
}

.product-launch-form-choice--notify.is-active,
.product-launch-form-choice--notify:hover {
    border-color: rgba(23, 18, 14, 0.28);
    box-shadow: 0 10px 24px rgba(23, 18, 14, 0.08);
}

body.product-launch-overlay-open {
    overflow: hidden;
}

.product-launch-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 3vw, 2rem);
}

.product-launch-overlay[hidden] {
    display: none !important;
}

.product-launch-overlay__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(12, 18, 32, 0.62);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.product-launch-overlay__stage {
    position: relative;
    z-index: 1;
    width: min(100%, 540px);
    max-height: calc(100vh - 2rem);
    overflow: auto;
}

.product-launch-overlay__dialog {
    position: relative;
    background: #fff;
    border: 1px solid rgba(23, 18, 14, 0.08);
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 28px 60px rgba(12, 18, 32, 0.28);
    animation: productLaunchOverlayIn 0.24s ease;
}

.product-launch-overlay__dialog[hidden] {
    display: none !important;
}

.product-launch-overlay__dialog h2 {
    margin: 0 2rem 0.5rem 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.product-launch-overlay__dialog > p {
    margin: 0 0 1.25rem;
    color: #5f574f;
    line-height: 1.6;
}

.product-launch-overlay__close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(23, 18, 14, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #17120e;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.product-launch-overlay__close:hover,
.product-launch-overlay__close:focus {
    border-color: rgba(185, 145, 91, 0.55);
    background: #f8f1e7;
}

@keyframes productLaunchOverlayIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lux-product-teaser {
    background: #fffaf4;
}

.lux-product-teaser__hero {
    min-height: min(62vh, 640px);
    background-image: linear-gradient(180deg, rgba(12, 18, 32, 0.28) 0%, rgba(12, 18, 32, 0.72) 100%), var(--teaser-image);
    background-size: cover;
    background-position: center;
    display: grid;
    align-items: end;
}

.lux-product-teaser__overlay {
    padding: 4rem 8vw 3.25rem;
    color: #fff;
    max-width: 920px;
}

.lux-product-teaser__overlay h1 {
    margin: 0.5rem 0 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
}

.lux-product-teaser__family,
.lux-product-teaser__subtitle,
.lux-product-teaser__eta {
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.86);
}

.product-launch-badge--hero {
    margin-bottom: 1rem;
    background: rgba(255, 250, 244, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.lux-product-teaser__body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    padding: 3.25rem 8vw 4.5rem;
    align-items: start;
}

/* Colonna editoriale: 1 immagine chiara + testo di desiderio */
.lux-product-teaser__editorial {
    display: grid;
    gap: 1.75rem;
}

.lux-product-teaser__figure {
    margin: 0;
    border-radius: 4px;
    overflow: hidden;
    background: #efe8dc;
    box-shadow: 0 18px 40px rgba(23, 18, 14, 0.1);
    aspect-ratio: 4 / 3;
}

.lux-product-teaser__figure img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lux-product-teaser__copy p {
    margin: 0 0 1rem;
    line-height: 1.75;
    color: #17120e;
}

.lux-product-teaser__lead {
    margin: 0 0 0.85rem !important;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.45 !important;
    color: #2a241e !important;
}

.lux-product-teaser__story p {
    margin: 0;
    font-size: 1.02rem;
    color: #3a322b;
}

.lux-product-teaser__promises {
    list-style: none;
    margin: 1.35rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.7rem;
}

.lux-product-teaser__promises li {
    position: relative;
    padding: 0.15rem 0 0.15rem 1.35rem;
    color: #2f2923;
    font-size: 0.95rem;
    line-height: 1.45;
}

.lux-product-teaser__promises li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #b9915b;
    box-shadow: 0 0 0 3px rgba(185, 145, 91, 0.18);
}

.lux-product-teaser__note {
    margin-top: 1.25rem !important;
    color: #6f665d;
    font-size: 0.92rem;
}

.lux-product-teaser__access .product-launch-access-callout {
    margin-top: 0.25rem;
}

.lux-product-launch-panel__inner {
    background: #fff;
    border: 1px solid rgba(23, 18, 14, 0.08);
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(23, 18, 14, 0.08);
}

.lux-product-launch-panel__inner h2 {
    margin: 0 0 0.5rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.5rem;
    font-weight: 400;
}

.lux-product-launch-form {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.25rem;
}

.lux-product-launch-form label {
    display: grid;
    gap: 0.35rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lux-product-launch-form input[type="email"],
.lux-product-launch-form input[type="text"],
.lux-product-launch-form select {
    width: 100%;
    min-height: 44px;
    border: 1px solid rgba(23, 18, 14, 0.18);
    padding: 0.65rem 0.8rem;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: normal;
}

.lux-product-launch-form__toggle,
.lux-product-launch-form__privacy {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.88rem;
}

.lux-product-launch-form__feedback {
    margin: 0;
    font-size: 0.9rem;
}

.lux-product-launch-form__feedback.is-success {
    color: #0f766e;
}

.lux-product-launch-form__feedback.is-error {
    color: #b42318;
}

.lux-product-launch-panel__secondary {
    margin-top: 1rem;
}

@media (max-width: 900px) {
    .lux-product-teaser__body,
    .lux-product-teaser--prelaunch-locked .lux-product-teaser__body {
        grid-template-columns: 1fr;
    }

    .lux-product-teaser__hero {
        min-height: 48vh;
    }

    .product-launch-collection-cta {
        flex-direction: column;
    }
}

.product-certification__test-norm {
    font-size: .82rem;
    padding: 1px 8px;
    background: rgba(15, 23, 42, .06);
    border-radius: 99px;
    white-space: nowrap;
}
.product-certification__test-result {
    font-size: .9rem;
    margin-top: 6px;
    color: #334155;
}
.product-certification__test-doc {
    display: inline-block;
    margin-top: 8px;
    font-size: .88rem;
}

/* Logo CATAS nella pagina certificazioni */
.lux-lead-intro__image--logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lux-lead-intro__image--logo img {
    max-width: 260px;
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
}

/* ------------------------------------------------------------------ */
/* AI image origin badges (REAL / REAL+AI / FULL AI)                  */
/* ------------------------------------------------------------------ */
.ai-origin-chip {
    appearance: none;
    border: 0;
    margin: 0;
    padding: 0.22rem 0.5rem;
    font-family: inherit;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #f7f3ec;
    background: rgba(21, 19, 17, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
.ai-origin-chip:hover,
.ai-origin-chip:focus-visible {
    background: rgba(21, 19, 17, 0.78);
    color: #fff;
    outline: none;
}
.ai-origin-chip--static {
    cursor: default;
    pointer-events: none;
}
.ai-origin-chip--overlay {
    position: absolute;
    z-index: 3;
}
/* Default e top: non copre le didascalie in basso sulle ambientazioni */
.ai-origin-chip--overlay-top,
.ai-origin-chip--overlay:not(.ai-origin-chip--overlay-bottom) {
    left: 10px;
    top: 10px;
    bottom: auto;
}
.ai-origin-chip--overlay-bottom {
    left: 10px;
    bottom: 10px;
    top: auto;
}
/* Sopra gradient/caption delle story */
.product-story__item .ai-origin-chip--overlay {
    z-index: 4;
}
/* Didascalia sovrapposta: lascia spazio all'icona in basso a sinistra */
.product-story__item--has-origin figcaption {
    bottom: 2.6rem;
}
.ai-origin-chip--real {
    background: rgba(22, 101, 52, 0.72);
}
.ai-origin-chip--real_ai {
    background: rgba(154, 123, 74, 0.78);
}
.ai-origin-chip--ai {
    background: rgba(67, 56, 48, 0.82);
}
.ai-origin-chip__text {
    display: block;
    white-space: nowrap;
}
/* Scritta accanto all'icona: eredita il colore dal chip, non dalla pillola */
.ai-origin-chip--has-icon .ai-origin-chip__text {
    color: inherit;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    line-height: 1;
}
.ai-origin-chip__text--sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* Icona caricata da admin: PNG trasparente + scritta accanto, nessun riquadro.
   Senza icona resta la pillola testuale definita in .ai-origin-chip. */
.ai-origin-chip--has-icon,
.ai-origin-chip--has-icon:hover,
.ai-origin-chip--has-icon:focus-visible {
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.ai-origin-chip--has-icon {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.38rem;
    padding: 0;
    min-width: 0;
    min-height: 0;
    border-radius: 0;
    color: #6f665d;
    transition: color 0.18s ease, opacity 0.18s ease;
}
.ai-origin-chip--has-icon:hover,
.ai-origin-chip--has-icon:focus-visible {
    color: #8a6a3a;
}
.ai-origin-chip--has-icon:focus-visible {
    outline: 2px solid rgba(138, 106, 58, 0.75);
    outline-offset: 4px;
}
/* Sopra una foto la scritta ha bisogno di contrasto: pillola scura discreta */
.ai-origin-chip--overlay.ai-origin-chip--has-icon {
    padding: 0.2rem 0.55rem 0.2rem 0.3rem;
    border-radius: 999px;
    background: rgba(21, 19, 17, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #f7f3ec;
}
.ai-origin-chip--overlay.ai-origin-chip--has-icon:hover,
.ai-origin-chip--overlay.ai-origin-chip--has-icon:focus-visible {
    background: rgba(21, 19, 17, 0.8);
    color: #fff;
}
/* Selettore a 2 classi: deve battere regole tipo `.lux-project-card__media img`
   (width:100%;height:260px), altrimenti l'icona prende la misura della foto. */
.ai-origin-chip .ai-origin-chip__icon,
.ai-origin-chip--has-icon .ai-origin-chip__icon,
.ai-origin-chip--static .ai-origin-chip__icon {
    display: block;
    width: var(--ai-origin-icon-size, 22px);
    height: var(--ai-origin-icon-size, 22px);
    min-width: 0;
    max-width: none;
    object-fit: contain;
    pointer-events: none;
}

.gallery-card__media,
.custom-block__media,
.lux-product-main,
.product-story__item {
    position: relative;
}
.gallery-card__media {
    display: block;
    border-radius: 18px;
    overflow: hidden;
}
.gallery-card__media img {
    width: 100%;
    border-radius: 18px;
}

.ai-origin-section-note {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    text-transform: none;
    letter-spacing: 0.02em;
}
.ai-origin-section-note--compact {
    gap: 0.55rem;
}
.ai-origin-section-note__text {
    font-size: 0.78rem;
    color: #8a7a63;
    line-height: 1.4;
}
.ai-origin-chip--inline {
    position: static;
    flex-shrink: 0;
    vertical-align: middle;
}
.ai-origin-chip--inline.ai-origin-chip--has-icon {
    min-width: 0;
    min-height: 0;
    padding: 0;
    background: none;
}
/* Badge statico usato in overlay (card che sono interamente un link) */
.ai-origin-chip--inline.ai-origin-chip--overlay {
    position: absolute;
}
.ai-origin-chip--inline:not(.ai-origin-chip--has-icon) {
    padding: 0.2rem 0.5rem;
    font-size: 0.62rem;
}

/* Riga «origine immagine» sotto una foto: icona piccola allineata a sinistra */
.ai-origin-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0.45rem 0 0;
    padding: 0;
    padding-top: 5px;
    line-height: 1;
}
.ai-origin-row--card {
    margin: 0.55rem 0.9rem 0;
}
/* Icona appena sotto il bordo inferiore della foto */
.ai-origin-row--under {
    margin: 0.55rem 0 0.7rem 0.9rem;
}
/* Nel listino l'icona origine sta sotto la foto, senza padding da card-box */
.listino-card > .ai-origin-row--under {
    margin: 0.55rem 0 0;
}
.listino-card > .ai-origin-row--under + .listino-card__body {
    padding-top: 0.45rem;
}

/* Alt-card: la riga origine è una riga propria della griglia, sotto la sola
   colonna immagine. Posizionamento esplicito: la foto resta intera e l'icona
   le sta subito sotto, senza spingere né accorciare nulla. */
.lux-alt-card:has(> .ai-origin-row--under) {
    grid-template-rows: 1fr auto;
}
.lux-alt-card > .ai-origin-row--under {
    grid-column: 1;
    grid-row: 2;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    margin: 0.5rem 0 0.7rem;
    padding: 0 0.9rem;
}

.lux-product-patent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.19rem;
    height: 1.19rem;
    color: #1e1812;
    line-height: 0;
    text-decoration: none;
}

.lux-product-patent svg {
    display: block;
    width: 100%;
    height: 100%;
}

.lux-alt-card .lux-product-patent {
    margin-left: auto;
    flex: 0 0 auto;
    width: 1.015rem;
    height: 1.015rem;
}

.lux-alt-card:hover .lux-product-patent,
.lux-alt-card:focus-visible .lux-product-patent {
    text-decoration: none;
    color: #1e1812;
}
.lux-alt-card:has(> .ai-origin-row--under) > .lux-alt-card__image {
    grid-column: 1;
    grid-row: 1;
}
.lux-alt-card:has(> .ai-origin-row--under) > .lux-alt-card__body {
    grid-column: 2;
    grid-row: 1 / span 2;
}
.lux-alt-card--reverse:has(> .ai-origin-row--under) > .lux-alt-card__image,
.lux-alt-card--reverse > .ai-origin-row--under {
    grid-column: 2;
}
.lux-alt-card--reverse:has(> .ai-origin-row--under) > .lux-alt-card__body {
    grid-column: 1;
}

/* Mobile: colonna unica, la riga torna in flusso subito sotto la foto */
@media (max-width: 900px) {
    .lux-alt-card:has(> .ai-origin-row--under) {
        grid-template-rows: none;
    }
    .lux-alt-card:has(> .ai-origin-row--under) > .lux-alt-card__image,
    .lux-alt-card:has(> .ai-origin-row--under) > .lux-alt-card__body,
    .lux-alt-card:has(> .ai-origin-row--under) > .ai-origin-row--under,
    .lux-alt-card--reverse:has(> .ai-origin-row--under) > .lux-alt-card__image,
    .lux-alt-card--reverse:has(> .ai-origin-row--under) > .lux-alt-card__body,
    .lux-alt-card--reverse > .ai-origin-row--under {
        grid-column: 1;
        grid-row: auto;
    }
    /* Nelle card reverse su mobile la foto è nascosta: via anche la sua icona */
    .lux-alt-card--reverse > .ai-origin-row--under {
        display: none;
    }
}
/* Titolo subito dopo la riga origine: niente doppio stacco */
.ai-origin-row--card + h3,
.ai-origin-row--card + h2 {
    margin-top: 0.5rem;
}
.ai-origin-help-btn {
    appearance: none;
    border: 1px solid rgba(138, 106, 58, 0.45);
    background: #fbf8f1;
    color: #8a6a3a;
    width: 1.35rem;
    height: 1.35rem;
    min-width: 1.35rem;
    border-radius: 50%;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ai-origin-help-btn:hover,
.ai-origin-help-btn:focus-visible {
    background: #8a6a3a;
    border-color: #8a6a3a;
    color: #fff;
    outline: none;
}
.ai-origin-help-btn__mark {
    font-size: 0.78rem;
    font-weight: 600;
    font-family: Georgia, "Times New Roman", serif;
}
.ai-origin-inline-link {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: none;
    color: #8a6a3a;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.ai-origin-inline-link:hover {
    color: #6b5230;
}

.footer-ai-origin-link {
    appearance: none;
    border: 0;
    background: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    text-decoration: none;
}
.footer-ai-origin-link:hover {
    text-decoration: underline;
}
/* Variante «Leggenda» + le 3 icone origine */
.footer-ai-origin-link--icons {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-ai-origin-link--icons:hover {
    text-decoration: none;
}
.footer-ai-origin-link--icons:hover .footer-ai-origin-link__label {
    text-decoration: underline;
}
.footer-ai-origin-link__icons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.footer-ai-origin-link__icon {
    display: block;
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* Legend popover */
body.ai-origin-legend-open {
    overflow: hidden;
}
.ai-origin-legend {
    position: fixed;
    inset: 0;
    z-index: 12050;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1rem;
}
.ai-origin-legend[hidden],
.ai-origin-legend[aria-hidden="true"][hidden] {
    display: none !important;
}
.ai-origin-legend__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 14, 12, 0.45);
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
.ai-origin-legend__card {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
    max-height: min(80vh, 640px);
    overflow: auto;
    background: #fbf8f1;
    color: #151311;
    border-radius: 18px 18px 12px 12px;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.28);
    padding: 1.35rem 1.35rem 1.5rem;
}
.ai-origin-legend__close {
    position: absolute;
    top: 0.55rem;
    right: 0.65rem;
    appearance: none;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #6f665d;
    cursor: pointer;
    padding: 0.2rem 0.45rem;
}
.ai-origin-legend__card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 1.35rem;
    margin: 0 2rem 0.5rem 0;
    color: #151311;
}
.ai-origin-legend__intro {
    margin: 0 0 1rem;
    color: #5c554c;
    font-size: 0.92rem;
    line-height: 1.5;
}
.ai-origin-legend__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}
.ai-origin-legend__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
    align-items: start;
}
.ai-origin-legend__copy strong {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.2rem;
    color: #151311;
}
.ai-origin-legend__copy p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #5c554c;
}
.ai-origin-legend__more {
    margin: 1.15rem 0 0;
    font-size: 0.88rem;
}
.ai-origin-legend__more a {
    color: #8a6a3a;
}

@media (min-width: 720px) {
    .ai-origin-legend {
        align-items: center;
    }
    .ai-origin-legend__card {
        border-radius: 18px;
    }
}


/* --- Ambientazioni in home: coda della sezione e adattamento agli schermi --- */
.lux-strip-foot {
    max-width: 1280px;
    margin: 1.1rem auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.lux-strip-foot__link {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    text-decoration: none;
    color: var(--lux-ink, #11100f);
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.lux-strip-foot__link:hover {
    opacity: 0.6;
}

.lux-strip-foot__note .ai-imagery-note {
    margin: 0;
}

@media (max-width: 1150px) {
    .lux-project-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 170px;
    }
    .lux-project-strip article:first-child:nth-last-child(5),
    .lux-project-strip article:first-child:nth-last-child(9) {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 700px) {
    .lux-project-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 130px;
        gap: 8px;
    }
    .lux-project-strip article:first-child:nth-last-child(5),
    .lux-project-strip article:first-child:nth-last-child(9) {
        grid-column: span 2;
        grid-row: span 1;
    }
    .lux-strip-foot {
        justify-content: center;
        text-align: center;
    }
}


/* ------------------------------------------------------------------
   Pagine con form (contatti, catalogo, consulenza) su schermi stretti.
   In fondo al foglio di proposito: le griglie a due colonne di queste
   sezioni sono dichiarate più sopra e, a parità di specificità,
   vincerebbero su queste regole.
   ------------------------------------------------------------------ */
@media (max-width: 900px) {
    .lux-lead-form-section,
    .lux-lead-form-section--split,
    .contact-lux-section,
    .lux-lead-intro,
    .lux-lead-intro--reverse {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .lux-lead-intro,
    .lux-lead-intro--reverse {
        gap: 2rem;
    }

    .lux-lead-intro__image img,
    .lux-lead-form-image {
        min-height: 0;
        aspect-ratio: 3 / 2;
    }

    /* Il riquadro scuro affiancato al form sale sopra e si stende in
       orizzontale: da colonna che dimezza il form a striscia bassa. */
    .contact-lux-details,
    .lux-consult-box {
        order: -1;
        min-height: 0;
        margin: 0 0 1.6rem;
        padding: 1.15rem clamp(1rem, 5vw, 1.6rem) 1.3rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0.35rem 1.8rem;
    }

    .contact-lux-details h2,
    .lux-consult-box h2,
    .lux-consult-box h3:first-of-type {
        flex: 1 0 100%;
        margin: 0 0 0.45rem;
        font-size: 1.05rem;
        letter-spacing: 0.02em;
    }

    .contact-lux-details p,
    .lux-consult-box p {
        margin: 0;
        flex: 0 1 auto;
        font-size: 0.86rem;
        line-height: 1.5;
    }

    /* Le voci del box consulenza diventano colonne affiancate. */
    .lux-consult-box > div,
    .lux-consult-box li {
        flex: 1 1 200px;
        margin: 0;
        border: 0;
        padding: 0.45rem 0 0;
    }

    .contact-lux-detail-actions {
        flex: 1 0 100%;
        margin-top: 0.75rem;
        gap: 0.6rem;
    }

    .contact-lux-detail-actions a {
        padding: 0.45rem 0.9rem;
        font-size: 0.72rem;
    }

    .lux-form,
    .contact-lux-form {
        gap: 0.75rem;
    }

    /* L'immagine che accompagna il form: affiancata ha senso, impilata in fondo
       diventa solo un blocco da scorrere dopo il pulsante di invio. */
    .lux-lead-form-image {
        display: none;
    }
}

/* Telefono stretto: i campi affiancati diventano illeggibili, uno per riga. */
@media (max-width: 560px) {
    .lux-form,
    .contact-lux-form {
        grid-template-columns: 1fr;
    }
}
