@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&display=swap');

/* Lenis Smooth Scroll Support */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

:root {
    --primary-color: #eceae5;
    --primary-gradient: linear-gradient(135deg, #eceae5 0%, #d8d6d0 100%);
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-muted: #64748b;
    --bg-color: #ffffff;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --container-width: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #eceae5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--dark-color);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Header Design System */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #eceae5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

.announcement-bar {
    background: #111;
    color: white;
    padding: 8px 0;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    width: 100%;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee-scroll 30s linear infinite;
    will-change: transform;
}

.marquee-item {
    flex-shrink: 0;
    padding: 0 2.5rem;
    text-transform: uppercase;
    font-weight: 400;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.header-main {
    padding: 0px 0;
    background: #eceae5;
    transition: padding 0.35s ease;
}

.header-main-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mobile-search-toggle {
    display: none;
    border: none;
    background: transparent;
    color: #111;
    padding: 0;
    cursor: pointer;
    line-height: 0;
}

.header-search {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #555;
    padding: 7px 12px;
    background: #f8f8f8;
    border-radius: 4px;
    width: 220px;
    position: relative;
}

.header-search input {
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.8rem;
    width: 100%;
    color: #333;
}

.header-search-submit {
    border: none;
    background: transparent;
    color: #555;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.header-search-submit:hover {
    color: #111;
}

.header-search-suggestions {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 320px;
    max-width: 75vw;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
    z-index: 1200;
    max-height: 360px;
    overflow-y: auto;
}

.header-search-suggestion-item {
    display: block;
    padding: 10px 12px;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
}

.header-search-suggestion-item:last-child {
    border-bottom: none;
}

.header-search-suggestion-title {
    display: block;
    color: #111;
    font-size: 0.82rem;
    line-height: 1.35;
}

.header-search-suggestion-type {
    display: block;
    margin-top: 2px;
    color: #777;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.header-search-suggestion-item:hover {
    background: #f6f6f6;
}

.header-search-empty {
    padding: 12px;
    color: #777;
    font-size: 0.8rem;
}

.mobile-search-panel {
    display: none;
    background: #eceae5;
    border-top: 1px solid #d8d6d0;
    padding: 10px 0 14px;
}

.mobile-search-panel.is-open {
    display: block;
}

.mobile-search-panel-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-search-close {
    border: none;
    background: transparent;
    color: #111;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
}

.logo-text {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 950;
    color: #000;
    text-decoration: none;
    letter-spacing: -0.06em;
    line-height: 1;
}

.site-branding .custom-logo-link {
    display: block;
    line-height: 0;
}

.site-branding img.custom-logo {
    max-height: 120px;
    width: auto;
    transition: max-height 0.35s ease, filter 0.4s ease;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    color: #333;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.lang-switcher {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    padding: 4px 8px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.lang-switcher:hover {
    border-color: #111;
}

.header-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 16px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.68rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.header-contact-btn:hover {
    background: #111;
    color: #fff;
}

.main-navigation-bottom {
    background: #eceae5;
    border-top: 1px solid #d8d6d0;
    padding: 0px 0;
    transition: padding 0.35s ease;
}

.main-navigation-bottom ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 1.6rem;
    /* Reduced from 3.5rem */
    flex-wrap: nowrap;
    /* Ensure they stay on one line */
}

.main-navigation-bottom li {
    position: relative;
    /* Required for absolute mega menu Positioning */
}

.main-navigation-bottom li a {
    text-decoration: none;
    color: #111;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding: 10px 0;
    /* Increased padding area for easier hover */
    white-space: nowrap;
}

/* Hide Contatti item in main nav (replaced by header button) */
.main-navigation-bottom a[href$="/contatti"],
.main-navigation-bottom a[href$="/contatti/"] {
    display: none !important;
}

/* Mega Menu Styles */
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 100vw;
    max-width: 1400px;
    /* Wide to accommodate 9 items */
    background: white;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #f0f0f0;
    padding: 40px 60px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    pointer-events: none;
}

.main-navigation-bottom li:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.mega-menu-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: nowrap;
}

/* Specific distributions */
.mega-menu-collezioni .mega-menu-grid {
    justify-content: space-between;
}

.mega-menu-wrapper.mega-menu-progetti {
    width: 460px;
    max-width: 460px;
    min-width: 460px;
    padding: 32px 34px;
}

.mega-menu-progetti .mega-menu-grid {
    gap: 36px;
    /* More space between the 3 items */
}

.mega-menu-progetti .mega-menu-container {
    display: flex;
    flex-direction: column;
}

.mega-menu-references-link {
    display: block;
    margin: 12px -34px -32px;
    padding: 9px 12px 10px;
    border-top: 1px solid #111;
    text-align: center;
    text-transform: lowercase;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #111;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.mega-menu-references-link:hover {
    background: #f2f2f2;
    color: #000;
}

.mega-menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #111;
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.mega-menu-item:hover {
    background: #fbfbfb;
    transform: translateY(-5px);
}

.mega-menu-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111;
    transition: all 0.3s ease;
    margin-bottom: 2px;
}

.mega-menu-item:hover .mega-menu-icon {
    color: #000;
    transform: scale(1.1);
}

.mega-menu-item span {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #333;
}

.main-navigation-bottom li a:hover {
    color: #111;
}

.site-header.is-scrolled {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled .header-main {
    padding: 8px 0;
}

.site-header.is-scrolled .site-branding img.custom-logo {
    max-height: 52px;
}

.site-header.is-scrolled .main-navigation-bottom {
    padding: 6px 0;
}

.site-header.is-scrolled .main-navigation-bottom li a {
    padding: 8px 0;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #000;
}

/* Utilities */
.section-padding {
    padding: 8rem 0;
}

.section-padding-bottom {
    padding-bottom: 8rem;
}

.container-wide {
    max-width: 1800px;
    width: 94%;
    margin-left: auto;
    margin-right: auto;
}

/* Bestsellers Section */
.bestsellers-section .container {
    max-width: 1800px;
    width: 94%;
}

.section-header-bestsellers {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.title-serif {
    font-family: 'DM Sans', sans-serif;
    font-size: 6.5rem;
    font-weight: 100;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -3px;
    color: #000;
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.slider-arrows {
    display: flex;
    gap: 20px;
    color: #bbb;
}

.slider-arrows svg {
    cursor: pointer;
    transition: color 0.3s ease;
}

.slider-arrows svg:hover {
    color: #000;
}

.shop-all-link {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid #000;
    padding-bottom: 3px;
    transition: opacity 0.3s ease;
}

.shop-all-link:hover {
    opacity: 0.6;
}

/* Products Grid */
.products-grid-premium {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

.products-grid-premium::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.product-card-premium {
    flex: 0 0 calc(25% - 22.5px);
    /* 4 items per row minus gap */
    scroll-snap-align: start;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

.product-card-premium:hover .product-image img {
    transform: scale(1.08);
}

.product-info-premium {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.product-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #111;
    margin: 0;
    line-height: 1.4;
    text-transform: none;
}

.product-meta {
    display: flex;
    align-items: center;
}

.product-wishlist {
    color: #000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-wishlist:hover {
    transform: scale(1.2);
}

/* Categories Grid */
/* Categories Grid Section */
.categories-grid-section {
    margin-top: 4rem;
    margin-bottom: 0px !important;
}

.categories-grid-section.section-padding-bottom {
    padding-bottom: 2rem;
}

.section-header-categories {
    margin-bottom: 0;
}

.categories-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 16px;
    padding-right: 60px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
}

.categories-grid.is-dragging {
    cursor: grabbing;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 calc(31% - 10px);
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #f0f0f0;
    height: 720px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.category-view-all {
    display: none;
    /* Hidden by default */
    background: var(--primary-gradient);
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.view-all-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: white;
}

.category-view-all .category-name {
    font-size: 0.8rem;
    color: white;
    text-shadow: none;
    line-height: 1.4;
}

.category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.category-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: left center;
}

.category-overlay {
    display: none;
}

.category-name {
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.category-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/* Responsive Categories */
@media (max-width: 1200px) {
    .category-card {
        flex: 0 0 calc(40% - 10px);
    }
}

@media (max-width: 768px) {
    .categories-grid-section .container {
        padding-left: 1rem;
    }

    .categories-grid {
        gap: 12px;
        padding-right: 32px;
    }

    .category-card {
        flex: 0 0 calc(72% - 7px);
        height: 480px;
        scroll-snap-align: start;
    }

    .products-grid-premium {
        gap: 20px;
    }

    .product-card-premium {
        flex: 0 0 calc(45% - 10px);
    }

    .category-view-all {
        display: flex;
        /* Shown only on mobile */
    }
}

/* Responsive Bestsellers */
@media (max-width: 1400px) {
    .title-serif {
        font-size: 5rem;
    }
}

@media (max-width: 992px) {
    .title-serif {
        font-size: 4rem;
    }

    .products-grid-premium {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
        /* Reduced from 4rem */
    }

    .section-padding-bottom {
        padding-bottom: 3rem;
        /* Reduced from 8rem */
    }

    .title-serif {
        font-size: 3rem;
        letter-spacing: -1.5px;
    }

    .header-actions {
        display: none;
    }

    .section-header-bestsellers {
        margin-bottom: 1.5rem;
    }

    .categories-grid-section {
        margin-top: 2rem;
    }

    .section-header-categories {
        margin-bottom: 0;
    }

    .section-header-settori {
        margin-top: 3rem !important;
        /* Reduced from 5rem */
        margin-bottom: 1.5rem !important;
    }

    /* Interior Styling / Contatti */
    .interior-styling-section {
        padding: 3rem 0 !important;
    }

    .styling-header {
        margin-bottom: 2.5rem !important;
    }

    /* Testimonials */
    .testimonial-split-section {
        padding: 3rem 0 !important;
    }

    .testimonial-right {
        padding: 2.5rem 1.5rem !important;
    }

    /* Materials */
    .materials-split-section {
        padding: 0 !important;
        /* Remove section padding since children handle it */
    }

    .materials-content-inner {
        padding: 3rem 0 !important;
    }

    /* Blog News */
    .latest-news-section {
        padding: 3.5rem 0 !important;
    }

    .latest-news-section .section-header {
        margin-bottom: 2.5rem !important;
    }

    /* Newsletter */
    .newsletter-section {
        padding: 3.5rem 0 !important;
    }
}

/* Immersive Hero */
.hero-immersive {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-immersive-inner {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-immersive-title {
    color: white;
    font-size: 5rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.hero-immersive-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-hero-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: white;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-hero-cta:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

/* Responsive Hero */
@media (max-width: 992px) {
    .hero-immersive-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .hero-immersive-title {
        font-size: 2.5rem;
    }

    .hero-immersive-subtitle {
        font-size: 1.1rem;
    }
}

/* Main Content Padding Fix */
.hp-main {
    padding-top: 0 !important;
}

/* Responsive Header */
@media (max-width: 992px) {
    .header-main-inner {
        grid-template-columns: 1fr auto 1fr;
    }

    .header-right {
        grid-column: 1;
        justify-content: flex-start;
    }

    .header-left {
        grid-column: 3;
        justify-content: flex-end;
    }

    .header-search {
        display: none;
    }

    .mobile-search-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-search-panel .header-search {
        display: flex;
        width: 100%;
    }

    .mobile-search-panel .header-search-suggestions {
        width: 100%;
        max-width: none;
    }

    .main-navigation-bottom {
        display: none;
    }

    .menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .header-main {
        padding: 10px 0;
    }

    .header-main-inner {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 10px;
        align-items: center;
    }

    .header-right {
        order: 1;
        grid-column: auto;
        flex: 0 0 auto;
    }

    .site-branding {
        order: 2;
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-left {
        order: 3;
        grid-column: auto;
        flex: 0 0 auto;
    }

    .site-branding {
        justify-self: center;
        text-align: center;
    }

    .site-branding .custom-logo-link {
        display: inline-block;
    }

    .site-branding img.custom-logo {
        max-height: 46px;
    }

    .header-contact-btn {
        padding: 7px 10px;
        font-size: 0.58rem;
        letter-spacing: 0.06em;
        white-space: nowrap;
    }

    .site-header .menu-toggle,
    .site-header .mobile-search-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        color: #111;
        line-height: 0;
    }

    .site-header .menu-toggle svg,
    .site-header .mobile-search-toggle svg {
        width: 20px;
        height: 20px;
    }

    .logo-text {
        font-size: 2rem;
    }

}

/* Mobile Navigation Active State */
.main-navigation-bottom.is-active {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    z-index: 999;
    padding: 2rem 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s ease forwards;
}

.main-navigation-bottom.is-active ul {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.no-scroll {
    overflow: hidden;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

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

/* Main Content */
.site-main {
    padding: 0;
}

article {
    margin-bottom: 4rem;
}

.entry-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-md);
}


.site-info {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-md);
    font-weight: 400;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white !important;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white !important;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.slide-up {
    opacity: 0;
    animation: slideUp 0.8s ease forwards;
}

/* Hero Section */
.hero-section {
    padding: 8rem 0;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, 0.1), transparent);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--box-shadow);
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.hero-glass-card:hover {
    transform: rotate(0deg) scale(1.05);
}

.glass-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e2e8f0;
}

/* Features Section */
.features-section {
    padding: 8rem 0;
    background-color: var(--light-color);
}

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

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.feature-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

/* Latest News Section */
.latest-news-section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
    background: #fff;
}

.flex-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.view-all {
    font-weight: 400;
    margin-bottom: 1rem;
}

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

.news-card {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    background: white;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

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

.news-content {
    padding: 2rem;
}

.news-content h3 a {
    color: #111;
    text-decoration: none;
}

.news-content h3 a:hover {
    color: #111;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 1.2rem;
}

.news-read-btn {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111;
    text-decoration: none;
    border: 1px solid #111;
    padding: 0.55rem 1.5rem;
    transition: background 0.3s ease, color 0.3s ease;
}

.news-read-btn:hover {
    background: #111;
    color: #fff;
}

/* Newsletter Section */
.newsletter-section {
    padding: 6rem 0;
    background: #f7f6f3;
}

.newsletter-card {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.newsletter-card h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #111;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2.5rem;
}

.newsletter-form {
    margin-bottom: 1.2rem;
}

.newsletter-input-group {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border: 1px solid #ccc;
    border-right: none;
    background: #fff;
    font-size: 0.9rem;
    color: #333;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input-group input[type="email"]:focus {
    border-color: #111;
}

.newsletter-btn {
    padding: 0.9rem 2rem;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.newsletter-btn:hover {
    background: #fff;
    color: #111;
}

.newsletter-disclaimer {
    display: block;
    font-size: 0.78rem;
    color: #999;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .features-grid,
    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: var(--primary-gradient);
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: var(--border-radius-sm);
        cursor: pointer;
    }

    .main-navigation ul {
        display: none;
        /* Mobile menu logic should be added with JS */
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .features-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .hp-main .latest-news-section .news-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.4rem;
    }

    .hp-main .latest-news-section .news-grid::-webkit-scrollbar {
        display: none;
    }

    .hp-main .latest-news-section .news-card {
        flex: 0 0 calc(84% - 0.5rem);
        min-width: 260px;
    }

    .newsletter-card h2 {
        font-size: 2rem;
    }

    .newsletter-input-group {
        flex-direction: column;
        max-width: 100%;
    }

    .newsletter-input-group input[type="email"] {
        border-right: 1px solid #ccc;
    }

    .newsletter-btn {
        width: 100%;
    }

    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .hp-main .latest-news-section .news-grid {
        display: flex !important;
        grid-template-columns: unset !important;
        flex-wrap: nowrap;
        gap: 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0.4rem;
    }

    .hp-main .latest-news-section .news-grid::-webkit-scrollbar {
        display: none;
    }

    .hp-main .latest-news-section .news-card {
        flex: 0 0 min(84vw, 360px);
        min-width: 260px;
        max-width: 360px;
    }
}

/* Company Page Header */
.page-header-custom {
    padding: 1rem 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.05), transparent);
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
}

/* Utilities */
.py-80 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.pb-80 {
    padding-bottom: 5rem;
}

.mb-60 {
    margin-bottom: 3.75rem;
}

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

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

.text-white {
    color: white;
}

.container-narrow {
    max-width: 800px;
    margin-inline: auto;
}

.items-center {
    align-items: center;
}

.gap-60 {
    gap: 3.75rem;
}

.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.section-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-weight: 400;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Company Page ===== */

/* Hero */
.company-hero {
    position: relative;
    height: 75vh;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.company-hero-bg {
    position: absolute;
    inset: 0;
}

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

.company-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.1) 60%);
}

.company-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 5rem;
    color: #fff;
}

.company-hero-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.company-hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.15;
    max-width: 700px;
    margin: 0 0 1.5rem;
}

.company-hero-sub {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.75;
    max-width: 550px;
    margin: 0;
}

/* Intro / Philosophy */
.company-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.company-intro-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 1.2;
    color: #111;
    margin: 1rem 0 0;
}

.company-intro-right p {
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    margin: 0 0 1.5rem;
}

/* Image Break */
.company-image-break {
    padding: 0 5%;
}

.company-image-break-inner {
    overflow: hidden;
    max-height: 550px;
}

.company-image-break-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values */
.company-values-header {
    margin-bottom: 4rem;
}

.company-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.company-value-card {
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

.company-value-num {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.4rem;
    color: #bbb;
    margin-bottom: 1.5rem;
}

.company-value-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: #111;
    margin: 0 0 1rem;
}

.company-value-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Stats Band */
.company-stats {
    background: #111;
    padding: 5rem 0;
}

.company-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.company-stat-num {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 3.2rem;
    font-weight: 400;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.6rem;
}

.company-stat-label {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* Process */
.company-process-header {
    margin-bottom: 4rem;
}

.company-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.company-process-step {
    position: relative;
    padding-top: 2rem;
}

.process-step-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
}

.process-step-num {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 1.2rem;
}

.company-process-step h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #111;
    margin: 0 0 0.8rem;
}

.company-process-step p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Quote Section */
.company-quote-section {
    overflow: hidden;
}

.company-quote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 550px;
}

.company-quote-image {
    overflow: hidden;
}

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

.company-quote-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f6f3;
    padding: 5rem;
}

.company-quote-content blockquote {
    max-width: 450px;
    margin: 0;
}

.company-quote-content blockquote p {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
    line-height: 1.4;
    color: #111;
    margin: 0 0 2rem;
}

.company-quote-content blockquote footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-quote-content blockquote footer strong {
    font-size: 0.9rem;
    font-weight: 400;
    color: #111;
}

.company-quote-content blockquote footer span {
    font-size: 0.78rem;
    color: #999;
    letter-spacing: 0.05em;
}

/* Team */
.company-team-header {
    margin-bottom: 4rem;
}

.company-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.company-team-card {
    text-align: center;
}

.company-team-img {
    overflow: hidden;
    aspect-ratio: 3/4;
    margin-bottom: 1.2rem;
}

.company-team-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    filter: grayscale(100%);
}

.company-team-card:hover .company-team-img img {
    transform: scale(1.05);
    filter: grayscale(0%);
}

.company-team-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #111;
    margin: 0 0 4px;
}

.company-team-card span {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* CTA Section */
.company-cta {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.company-cta-bg {
    position: absolute;
    inset: 0;
}

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

.company-cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.company-cta-content {
    position: relative;
    z-index: 2;
}

.company-cta-content h2 {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    margin: 0 0 1rem;
}

.company-cta-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2.5rem;
}

.company-cta-btn {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #111;
    background: #fff;
    padding: 16px 40px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.company-cta-btn:hover {
    background: #111;
    color: #fff;
}

/* Company Responsive */
@media (max-width: 992px) {
    .company-hero-title {
        font-size: 2.6rem;
    }

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

    .company-values-grid,
    .company-process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .company-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .company-quote-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .company-quote-image {
        height: 400px;
    }

    .company-quote-content {
        padding: 4rem 2rem;
    }

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

    .company-cta-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 600px) {
    .company-hero {
        height: 60vh;
    }

    .company-hero-title {
        font-size: 2rem;
    }

    .company-hero-content {
        padding-bottom: 3rem;
    }

    .company-values-grid,
    .company-process-grid {
        grid-template-columns: 1fr;
    }

    .company-stats-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .company-stat-num {
        font-size: 2.5rem;
    }

    .company-quote-content blockquote p {
        font-size: 1.4rem;
    }

    .company-team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .company-cta-content h2 {
        font-size: 1.8rem;
    }

    .company-image-break-inner {
        max-height: 300px;
    }
}

/* Su Misura Page */
.container-small {
    max-width: 900px;
    margin-inline: auto;
}

.mb-30 {
    margin-bottom: 2rem;
}

.mb-100 {
    margin-bottom: 6rem;
}

.bg-primary-gradient {
    background: var(--primary-gradient);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    margin-top: 4rem;
}

.step-card {
    text-align: center;
    position: relative;
}

.step-num {
    width: 60px;
    height: 60px;
    background: white;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 2rem;
    box-shadow: var(--box-shadow);
    z-index: 2;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    border-top: 2px dashed rgba(99, 102, 241, 0.2);
    z-index: 1;
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 0 1rem;
}

/* Check List */
.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
    font-size: 1.15rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Image Mosaic */
.image-mosaic {
    position: relative;
    height: 500px;
}

.image-mosaic img {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    object-fit: cover;
    position: absolute;
}

.image-mosaic .m1 {
    width: 85%;
    height: 80%;
    top: 0;
    left: 0;
    z-index: 1;
}

.image-mosaic .m2 {
    width: 55%;
    height: 55%;
    bottom: 0;
    right: 0;
    z-index: 2;
    border: 8px solid white;
}

/* Responsive Su Misura */
@media (max-width: 992px) {
    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .process-steps::before {
        display: none;
    }
}

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

    .image-mosaic {
        height: 350px;
    }
}

/* Contacts Page */
/* Contact Page - Split Layout */
.contact-split-section {
    padding: 0;
}

.contact-split-inner {
    display: flex;
    min-height: 100vh;
}

.contact-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 6%;
    background: #fff;
}

.contact-form-wrap {
    max-width: 520px;
    width: 100%;
}

.contact-form-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.4rem;
    font-weight: 400;
    color: #111;
    margin-bottom: 1rem;
}

.contact-form-intro {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 2.5rem;
}

.contact-form-premium .form-row {
    display: flex;
    gap: 1rem;
}

.contact-form-premium .form-row .form-field {
    flex: 1;
}

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

.contact-form-premium label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #111;
    margin-bottom: 0.5rem;
}

.contact-form-premium input,
.contact-form-premium textarea,
.contact-form-premium select {
    width: 100%;
    padding: 0.85rem 0;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    font-family: inherit;
    font-size: 0.95rem;
    color: #333;
    transition: border-color 0.3s ease;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 0;
}

.contact-form-premium input:focus,
.contact-form-premium textarea:focus,
.contact-form-premium select:focus {
    border-bottom-color: #111;
}

.contact-form-premium textarea {
    height: 120px;
    resize: vertical;
}

.contact-form-premium select {
    cursor: pointer;
}

.contact-submit-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.9rem 2.5rem;
    background: #111;
    color: #fff;
    border: 1px solid #111;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-submit-btn:hover {
    background: #fff;
    color: #111;
}

/* Right Side: Info & Image */
.contact-info-side {
    flex: 0 0 45%;
    width: 45%;
    display: flex;
    flex-direction: column;
    background: #111;
}

.contact-info-image {
    height: 45%;
    overflow: hidden;
}

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

.contact-info-details {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem;
}

.contact-info-block h4 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.8rem;
}

.contact-info-block p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}

.contact-info-block p a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-block p a:hover {
    color: #fff;
}

.contact-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-social a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-social a:hover {
    color: #fff;
}

/* Map Section */
.contact-map-section {
    position: relative;
}

.contact-map-inner {
    position: relative;
    height: 450px;
    overflow: hidden;
    background: #111;
}

.contact-map-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: grayscale(1);
    transition: opacity 0.5s ease;
}

.contact-map-inner:hover .contact-map-bg {
    opacity: 0.5;
}

.contact-map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    z-index: 2;
}

.contact-map-overlay h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.8rem;
}

.contact-map-overlay p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.contact-map-btn {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    border: 1px solid #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-map-btn:hover {
    background: #fff;
    color: #111;
}

/* Responsive Contacts */
@media (max-width: 992px) {
    .contact-split-inner {
        flex-direction: column;
    }

    .contact-info-side {
        flex: none;
        width: 100%;
    }

    .contact-info-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contact-form-side {
        padding: 3rem 2rem;
    }

    .contact-form-title {
        font-size: 1.8rem;
    }

    .contact-form-premium .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-info-details {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 1.5rem;
    }

    .contact-map-inner {
        height: 350px;
    }

    .contact-map-overlay h3 {
        font-size: 1.8rem;
    }
}

/* Fabrics & Finishes Page */
.fabrics-page .page-header-custom {
    padding: 4.2rem 0 1.4rem;
}

.fabrics-page .page-subtitle {
    margin-bottom: 0;
}

.fabrics-page .filter-section {
    margin-top: 0;
}

.material-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.2rem;
}

.fabrics-page #stoffe-grid {
    padding-top: 2rem;
}

.filter-btn {
    padding: 0.8rem 2.5rem;
    border-radius: 50px;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

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

.swatch-card {
    text-align: center;
   
}


.swatch-img {
    height: 300px;
	width:100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 1.5rem;
}

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



.swatch-info {
    padding: 0;
    text-align: center;
}

.swatch-info h3 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.swatch-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Sample Request CTA */
.sample-request-section {
    padding: 6rem 0;
    background: #f7f6f3;
}

.sample-request-inner {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    background: #111;
    min-height: 480px;
    overflow: hidden;
}

.sample-request-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5rem 6%;
}

.sample-request-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

.sample-request-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.8rem;
    font-weight: 400;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 1.5rem;
}

.sample-request-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    max-width: 420px;
    margin-bottom: 2.5rem;
}

.sample-request-btn {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111;
    background: #fff;
    padding: 0.9rem 2.2rem;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease;
}

.sample-request-btn:hover {
    background: transparent;
    color: #fff;
    outline: 1px solid #fff;
}

.sample-request-image {
    flex: 0 0 45%;
    width: 45%;
}

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

@media (max-width: 768px) {
    .sample-request-inner {
        flex-direction: column;
    }

    .sample-request-image {
        flex: none;
        width: 100%;
        height: 280px;
    }

    .sample-request-content {
        padding: 3rem 2rem;
    }

    .sample-request-title {
        font-size: 2rem;
    }
}

.text-right {
    text-align: right;
}

.opacity-90 {
    opacity: 0.9;
}

/* Responsive Fabrics */
@media (max-width: 992px) {
    .swatches-grid {
        grid-template-columns: 1fr 1fr;
    }

    .text-right {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .swatches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .material-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .material-filters .filter-btn {
        width: auto;
        padding: 0.5rem 1.2rem;
        font-size: 0.75rem;
    }

    .swatch-img {
        height: 260px;
    }
}

/* Catalog Page */
.catalog-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 2rem 0;
    margin-bottom: 3rem;
}

.collections-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
    min-width: 0;
}

.collections-page .container {
    max-width: 1680px;
}

.collections-sidebar {
    position: sticky;
    top: 120px;
    min-width: 0;
}

.collections-page .catalog-filters {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.35rem;
    padding: 0;
    margin: 0 0 1.8rem;
}

.collections-page .catalog-filters-row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
}

.collections-page .catalog-filters-row + .catalog-filters-row {
    margin-top: 0.35rem;
}

.collections-page .catalog-filters .filter-btn {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.filter-btn-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    flex-shrink: 0;
    transition: filter 0.3s ease;
}

.filter-btn.active .filter-btn-icon,
.filter-btn:hover .filter-btn-icon {
    filter: brightness(0) invert(1);
}

.collection-active-info {
    border-top: 1px solid #dcdcd7;
    border-bottom: 1px solid #dcdcd7;
    padding: 1.1rem 0 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.collection-active-title {
    margin: 0 0 0.6rem;
    font-size: 2rem;
    font-weight: 100;
    line-height: 1;
    color: #111;
}

.collection-active-description {
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #575757;
    max-width: 90ch;
}

.collections-content .portfolio-grid {
    margin-top: 0;
}

.collections-content {
    min-width: 0;
}

.collections-page .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    margin-top: 0;
}

.collection-product-card {
    background: transparent;
    margin: 0;
    padding: 0;
    border: none;
}

.collection-product-link {
    display: block;
    text-decoration: none;
    color: #111;
}

.collection-product-image {
    display: block;
    aspect-ratio: 3 / 4;
    background: #fff;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.collection-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.collection-product-card:hover .collection-product-image img {
    transform: scale(1.04);
}

.collection-product-name {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #111;
    transition: color 0.2s;
}

.collection-product-card:hover .collection-product-name {
    color: #555;
}

/* Featured Banner */
.featured-banner {
    background-color: transparent;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    background: var(--dark-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.4);
}

.f-image {
    height: 500px;
}

.f-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.f-content {
    padding: 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.f-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.f-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.f-content p {
    opacity: 0.8;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow);
}

.p-img {
    height: 240px;
    position: relative;
    overflow: hidden;
}

.p-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .p-img img {
    transform: scale(1.08);
}

.p-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.p-badge.new {
    background: var(--primary-gradient);
    color: white;
}

.p-info {
    padding: 1.2rem;
}

.p-cat {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.p-info h3 {
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.p-price {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.p-link {
    font-weight: 400;
    font-size: 0.8rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
}

.product-card:hover .p-link {
    color: var(--primary-color);
}

/* Catalog CTA Extras */
.btn-outline-white {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: white;
    color: var(--dark-color) !important;
}

.cta-btns {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Responsive Catalog */
@media (max-width: 992px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .f-content {
        padding: 3rem;
        text-align: center;
    }

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

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .catalog-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.75rem;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }

    .catalog-filters::-webkit-scrollbar {
        display: none;
    }

    .catalog-filters .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 0.5rem 1.2rem;
        font-size: 0.75rem;
    }

    .cta-btns {
        flex-direction: column;
    }

    .f-content h2 {
        font-size: 2rem;
    }

    .f-image {
        height: 350px;
    }

    /* Collections mobile tabs: 5 + 5, each row has independent horizontal scroll */
    .collections-sidebar {
        overflow-x: hidden;
        overflow-y: visible;
        width: 100%;
        max-width: 100%;
    }

    .collections-page .catalog-filters.catalog-filters-vertical {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .collections-page .catalog-filters-row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 0.55rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        width: 100%;
        max-width: 100%;
        padding-bottom: 0.2rem;
    }

    .collections-page .catalog-filters-row::-webkit-scrollbar {
        display: none;
    }

    .collections-page .catalog-filters-row + .catalog-filters-row {
        margin-top: 0.55rem;
    }

    .collections-page .catalog-filters.catalog-filters-vertical .filter-btn {
        flex: 0 0 calc((100% - (4 * 0.55rem)) / 5);
        min-width: 96px;
        width: auto;
        white-space: nowrap;
        text-align: center;
        justify-content: center;
        padding: 0.55rem 0.85rem;
        font-size: 0.72rem;
    }
}

@media (max-width: 1100px) {
    .collections-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .collections-sidebar {
        position: static;
    }

    .collection-active-info {
        margin-bottom: 1.25rem;
    }

    .collections-page .portfolio-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.5rem 1rem;
    }
}

@media (max-width: 800px) {
    .collections-page .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem 0.75rem;
    }

    .collection-product-name {
        font-size: 0.78rem;
    }
}

@media (max-width: 520px) {
    .collections-page .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.6rem;
    }
}

/* Projects Page (Portfolio) */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 400px;
}

.project-img {
    width: 100%;
    height: 100%;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .project-overlay {
    opacity: 1;
}

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

.overlay-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.p-type {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    color: #fff;
}

.overlay-content h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.overlay-content .btn-white {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.p-loc {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

/* Architects Section */
.arch-visual img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.mt-20 {
    margin-top: 1.25rem;
}

.projects-page .architects-section {
    overflow: hidden;
}

.projects-page .architects-section .grid-2-cols {
    align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.projects-page .arch-content p {
    overflow-wrap: anywhere;
}

/* Responsive Projects */
@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-item {
        height: 350px;
    }

    .project-overlay {
        padding: 2rem;
    }

    .projects-page .architects-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .projects-page .architects-section .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .projects-page .arch-visual {
        order: 1;
    }

    .projects-page .arch-content {
        order: 2;
    }
}

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

    .overlay-content h3 {
        font-size: 1.4rem;
    }

    .projects-page .architects-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .projects-page .arch-content .section-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .projects-page .arch-content p {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .projects-page .arch-content .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Blog Archive & News Cards */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.news-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--box-shadow);
}

.news-card-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.news-card-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card-content h2.entry-title {
    margin-bottom: 1.5rem;
    line-height: 1.4;
    font-size: 1.5rem;
}

.news-card-content h2.entry-title a {
    color: var(--dark-color);
}

.news-card-content h2.entry-title a:hover {
    color: var(--primary-color);
}

.news-card-content .entry-content {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.btn-link {
    font-weight: 400;
    color: var(--primary-color);
    font-size: 0.95rem;
    transition: letter-spacing 0.3s ease;
}

.btn-link:hover {
    letter-spacing: 1px;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 5rem;
    display: flex;
    justify-content: center;
}

.pagination .nav-links {
    display: flex;
    gap: 0.5rem;
}

.pagination .page-numbers {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-weight: 400;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
    width: auto;
    padding: 0 1.5rem;
    border-radius: 50px;
}

/* Responsive Blog */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .news-card-img {
        height: 200px;
    }

    .news-card-content {
        padding: 2rem;
    }
}

/* Single Post Page */
.post-header-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
    background: var(--dark-color);
}

.post-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.post-hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

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

.post-header-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
}

.post-meta-top {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-meta-top .p-category {
    color: var(--primary-color);
}

.post-title {
    font-size: 4rem;
    line-height: 1.1;
    color: white;
    margin-bottom: 2.5rem;
}

.post-author-minimal {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.author-name {
    font-weight: 700;
    border-bottom: 1px solid white;
}

/* Content Reading */
.container-narrow {
    max-width: 850px;
}

.single-post-article {
    background: white;
    margin-top: -100px;
    position: relative;
    z-index: 10;
    padding: 5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.15);
}

.post-page .no-bg {
    height: auto;
    min-height: 350px;
    padding-top: 100px;
}

.post-page .no-bg .post-title {
    color: var(--dark-color);
}

.post-page .no-bg .post-meta-top {
    color: var(--text-muted);
}

.post-page .no-bg .post-author-minimal {
    color: var(--text-muted);
}

.post-page .no-bg .author-name {
    border-color: var(--dark-color);
}

.entry-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #444;
}

.entry-content h2,
.entry-content h3 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

/* Keep media embeds inside the single post content container */
.single-post-article .entry-content {
    overflow: hidden;
}

.single-post-article .entry-content .alignwide,
.single-post-article .entry-content .alignfull {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.single-post-article .entry-content video,
.single-post-article .entry-content iframe,
.single-post-article .entry-content embed,
.single-post-article .entry-content object,
.single-post-article .entry-content .wp-block-video video,
.single-post-article .entry-content .wp-block-embed,
.single-post-article .entry-content .wp-block-embed__wrapper iframe {
    display: block;
    width: 100%;
    max-width: 100%;
}

.single-post-article .entry-content video {
    height: auto;
}

/* Post Footer */
.post-footer-minimal {
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.tag-label,
.share-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-right: 1rem;
    color: var(--dark-color);
}

.post-tags a {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: var(--light-color);
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.post-tags a:hover {
    background: var(--primary-color);
    color: white;
}

.share-links {
    display: inline-flex;
    gap: 1.5rem;
}

.share-links a {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-color);
}

/* Navigation Custom */
.post-navigation-custom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    margin-top: 4rem;
}

.post-navigation-custom .nav-links {
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 2rem;
}

.post-navigation-custom .nav-links a {
    flex: 1;
    max-width: 48%;
}

.post-navigation-custom .nav-subtitle {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.post-navigation-custom .nav-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1.3;
}

.post-navigation-custom .nav-links a:hover .nav-title {
    color: var(--primary-color);
}

/* Responsive Post */
@media (max-width: 992px) {
    .post-title {
        font-size: 3rem;
    }

    .single-post-article {
        padding: 3rem;
        margin-top: -60px;
    }
}

@media (max-width: 768px) {
    .post-header-hero {
        height: auto;
        padding: 100px 0 150px;
    }

    .post-title {
        font-size: 2.2rem;
    }

    .single-post-article {
        padding: 2rem;
        margin-top: -40px;
    }

    .entry-content p {
        font-size: 1.1rem;
    }

    .post-navigation-custom .nav-links {
        flex-direction: column;
    }

    .post-navigation-custom .nav-links a {
        max-width: 100%;
    }
}


/* =====================================================
   FOOTER AWWWARDS — Layout completo
   ===================================================== */

.site-footer-awwwards {
    background: #0a0a0a;
    color: #fff;
    padding: 80px 0 0;
    position: relative;
}

.footer-awwwards-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Grid principale 4 colonne */
.footer-grid-awwwards {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Mobile-only logo container — hidden on desktop */
.footer-logo-mobile {
    display: none;
}

/* Colonna brand */
.footer-logo-awwwards {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
}

.footer-logo-awwwards .custom-logo-link {
    display: block;
    margin: 0;
}

.footer-tagline {
    font-size: 0.8rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
    margin: 0 0 2rem;
}

.footer-info-block {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-company-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 0.6rem;
}

.footer-address,
.footer-vat {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 0.6rem;
}

.footer-contacts {
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 0.6rem;
}

.footer-contacts a {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.25s ease;
    display: block;
}

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

/* Colonne menu */
.footer-menu-col {
    display: flex;
    flex-direction: column;
}

.footer-menu-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0 1.8rem;
}

.footer-nav-awwwards {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.footer-nav-awwwards a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: 1;
}

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

/* Footer bottom bar */
.footer-bottom-awwwards {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.8rem 0;
}

.footer-copyright {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.22);
    margin: 0;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.32);
    text-decoration: none;
    transition: color 0.25s ease;
}

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

.footer-separator {
    color: rgba(255, 255, 255, 0.18);
}

.footer-social-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.2rem;
}

.footer-social-links a {
    color: rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    transition: color 0.25s ease;
}

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

/* Mobile extra links — visibili solo su mobile */
.footer-mobile-extra-links {
    display: none;
}

/* Logo Awwwards */
.site-footer-awwwards .custom-logo-link {
    display: inline-block;
    line-height: 0;
}

.site-footer-awwwards .custom-logo {
    max-height: 84px;
    width: auto;
}

.site-footer-awwwards .footer-logo-text-awwwards {
    font-family: 'DM Sans', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
}

/* Scroll to top button */
.scroll-to-top-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.25s ease;
    z-index: 999;
}

.scroll-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-btn:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Responsive footer */
@media (max-width: 1024px) {
    .footer-grid-awwwards {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 600px) {
    .site-footer-awwwards {
        padding: 60px 0 0;
    }

    .footer-grid-awwwards {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-bottom: 0;
        border-bottom: none;
    }

    /* Logo fuori dalla griglia, centrato */
    .footer-logo-mobile {
        display: block;
        text-align: center;
        padding-bottom: 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        margin-bottom: 2rem;
    }
    .footer-logo-mobile .custom-logo-link,
    .footer-logo-mobile .footer-logo-text-awwwards {
        display: inline-block;
    }
    /* Nascondi logo e tagline dentro la griglia su mobile */
    .footer-logo-awwwards {
        display: none !important;
    }
    .footer-brand-col .footer-tagline {
        display: none;
    }

    .footer-bottom-awwwards {
        display: none;
    }

    .footer-mobile-extra-links {
        display: block;
        margin-top: 2.5rem;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .footer-mobile-copyright {
        font-size: 0.78rem;
        color: rgba(255, 255, 255, 0.22);
        margin: 0 0 1rem;
    }

    .footer-mobile-legal-links {
        display: flex;
        gap: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .footer-mobile-legal-links a {
        color: rgba(255, 255, 255, 0.35);
        font-size: 0.78rem;
        text-decoration: none;
        transition: color 0.25s ease;
    }

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

    .footer-mobile-social-links {
        display: flex;
        gap: 1.5rem;
    }

    .footer-mobile-social-links a {
        color: rgba(255, 255, 255, 0.45);
        font-size: 0.85rem;
        text-decoration: none;
        transition: color 0.25s ease;
    }

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

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(10deg);
}


/* Sticky Stacking Sections */
.sticky-sections-container {
    position: relative;
    z-index: 10;
    margin-top: 4rem;
}

.sticky-section {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #000;
}

.sticky-section-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sticky-section-bg img,
.sticky-section-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

.sticky-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.sticky-section-inner {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.sticky-content-left {
    flex: 0 0 60%;
}

.sticky-title-main {
    font-family: 'DM Sans', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 0.95;
    color: #ffffff;
    /* Rich Dark Red */
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -2px;
}

.hp-main .newsletter-premium-content h2 {
    font-weight: 300;
}

.sticky-content-right {
    flex: 0 0 40%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 15px;
}

.help-action-box {
    background: white;
    padding: 15px 30px;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
}

.help-action-box p {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
    color: #111;
    letter-spacing: 0.5px;
}

.help-action-box a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    margin-left: 15px;
    border-bottom: 1px solid #000;
}

.btn-premium-outline {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 1.5px solid white;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium-outline:hover {
    background: white;
    color: #000;
    transform: translateY(-3px);
}

/* Specific stacking order workaround */
#section-privilege {
    z-index: 11;
}

#section-craft {
    z-index: 12;
}

#section-lifestyle {
    z-index: 13;
}

#section-craft .sticky-title-large,
#section-lifestyle .sticky-title-main {
    font-size: 6.2rem;
    line-height: 0.95;
    letter-spacing: -3px;
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .sticky-title-main,
    #section-craft .sticky-title-large,
    #section-lifestyle .sticky-title-main {
        font-size: 5rem;
    }
}

@media (max-width: 992px) {
    .sticky-section-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .sticky-content-left,
    .sticky-content-right {
        flex: 0 0 100%;
        width: 100%;
    }

    .sticky-content-right {
        justify-content: flex-start;
    }

    .sticky-title-main,
    #section-craft .sticky-title-large,
    #section-lifestyle .sticky-title-main {
        font-size: 3.8rem;
    }
}

@media (max-width: 768px) {
    .sticky-title-main,
    #section-craft .sticky-title-large,
    #section-lifestyle .sticky-title-main {
        font-size: 2.6rem;
        letter-spacing: -2px;
    }
}

/* Settori Section */
.section-header-settori {
    margin-top: 5rem;
    /* Reduced from 10rem to decrease gap */
    margin-bottom: 2.5rem;
}

.settori-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.settore-item {
    position: relative;
    height: 450px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.settore-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.settore-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.2, 1, 0.3, 1);
    opacity: 0.85;
}

.settore-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.4s ease;
    z-index: 2;
}

.settore-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    color: white;
}

.settore-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 15px;
    text-transform: uppercase;
    line-height: 1;
    color: #ffffff !important;
    /* Force white color for visibility */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    /* Stronger shadow for readability */
}

.settore-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.settore-link-action {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid white;
    padding-bottom: 5px;
    transition: opacity 0.3s ease;
}

.settore-absolute-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
}

.settore-item:hover .settore-image img {
    transform: scale(1.1);
}

.settore-item:hover .settore-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.settore-item:hover .settore-link-action {
    opacity: 0.7;
}

/* Responsive Settori */
@media (max-width: 1200px) {
    .settore-item {
        height: 500px;
    }

    .settore-content h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .settori-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 20px;
        padding-bottom: 20px;
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
        padding-left: 20px;
        padding-right: 20px;
        margin-left: -20px;
        margin-right: -20px;
    }

    .settori-grid::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }

    .category-card {
        flex: 0 0 75%;
        height: 400px;
        scroll-snap-align: start;
        border-radius: 12px;
    }

    .settore-item {
        flex: 0 0 85%;
        height: 400px;
        scroll-snap-align: center;
        border-radius: 12px;
    }

    .settore-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) and (min-width: 769px) {
    .settori-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Interior Styling Section */
.interior-styling-section {
    padding: 6rem 0;
    /* Reduced from 12rem */
    text-align: center;
    background: #fff;
}

.styling-header {
    margin-bottom: 4rem;
    /* Reduced from 8rem */
}

.styling-sub {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #888;
    display: block;
    margin-bottom: 1.5rem;
}

.styling-title-huge {
    font-family: 'DM Sans', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: #111;
    margin: 0;
    letter-spacing: -3px;
    text-transform: uppercase;
}

.features-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 4rem;
}

.feature-card {
    padding: 20px;
    transition: transform 0.3s ease;
}

.feature-icon {
    margin-bottom: 2rem;
    color: #111;
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #111;
}

.feature-card p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #666;
    max-width: 240px;
    margin: 0 auto;
}

/* Split Sticky Sections Container */
.split-sections-container {
    position: relative;
}

/* Testimonial Split Section */
.testimonial-split-section {
    display: flex;
    height: 100vh;
    min-height: 600px;
    background: #111;
    position: sticky;
    top: 0;
    z-index: 1;
}

.testimonial-left,
.testimonial-right {
    flex: 0 0 50%;
    width: 50%;
}

.testimonial-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5%;
}

.testimonial-content-inner {
    max-width: 600px;
}

.testimonial-sub {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 3rem;
}

.testimonial-quote {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5rem;
    line-height: 1.3;
    font-weight: 400;
    color: white;
    margin: 0;
    border: none;
    padding: 0;
}

/* Materials Sticky Wrapper */
.materials-sticky-wrapper {
    height: 200vh;
}

/* Materials Split Section */
.materials-split-section {
    display: flex;
    height: 100vh;
    min-height: 700px;
    background: #fff;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 2;
}

.materials-left {
    flex: 0 0 50%;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    position: relative;
}

.materials-content-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 12% 0;
}

.materials-title-huge {
    font-family: 'DM Sans', sans-serif;
    font-size: 6rem;
    font-weight: 100;
    line-height: 0.9;
    color: #111;
    margin: 0;
    text-transform: uppercase;
}

.materials-footer-content {
    max-width: 450px;
    display: flex;
    flex-direction: column;
}

.materials-footer-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
}

.btn-underline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #111;
    text-decoration: none;
    border-bottom: 2px solid #111;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.materials-footer-content .btn-underline {
    align-self: flex-end;
    margin-top: 1.1rem;
    font-size: 1.2rem;
    letter-spacing: 2.8px;
    border-bottom-width: 2px;
    padding-bottom: 7px;
}

.btn-underline:hover {
    color: #888;
    border-color: #888;
}

.materials-right {
    flex: 0 0 50%;
    width: 50%;
}

.materials-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .styling-title-huge {
        font-size: 4rem;
    }

    .testimonial-quote {
        font-size: 2rem;
    }

    .materials-title-huge {
        font-size: 4.5rem;
    }
}

@media (max-width: 992px) {
    .features-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }

    .testimonial-split-section,
    .materials-split-section {
        flex-direction: column;
        height: auto;
    }

    .testimonial-left,
    .testimonial-right,
    .materials-left,
    .materials-right {
        flex: 0 0 100%;
        width: 100%;
    }

    .testimonial-left,
    .materials-right {
        height: 50vh;
    }

    .materials-left {
        order: 2;
        padding: 60px 40px;
    }

    .materials-right {
        order: 1;
    }

    .testimonial-right {
        padding: 80px 40px;
    }

    .materials-content-inner {
        padding: 0;
    }
}

@media (max-width: 768px) {
    .styling-title-huge {
        font-size: 3rem;
        letter-spacing: -1px;
    }

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

    .testimonial-quote {
        font-size: 1.8rem;
    }
}

/* Home Contact Section */
.home-contact-section {
    padding: 100px 0;
    background: #fff;
    border-top: 1px solid #f0f0f0;
}

.contact-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    text-align: center;
}

.contact-col h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    color: #111;
    font-weight: 400;
}

.contact-col p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #666;
    margin: 0;
}

@media (max-width: 992px) {
    .home-contact-section {
        padding: 80px 0;
    }

    .contact-grid-premium {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

/* ===== Novità Page ===== */
.novita-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding-top: 20px;
}

.novita-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.novita-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.novita-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

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

.novita-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #111;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 14px;
}

.novita-info {
    padding: 24px 0 10px;
}

.novita-cat {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 8px;
}

.novita-info h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: #111;
    margin: 0 0 10px;
    line-height: 1.3;
}

.novita-desc {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px;
}

.novita-link {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.novita-link:hover {
    color: #555;
    border-color: #555;
}

@media (max-width: 992px) {
    .novita-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .novita-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .novita-image {
        aspect-ratio: 3/4;
    }

    .novita-info h3 {
        font-size: 0.95rem;
    }
}

/* Product Single Page */
.product-single-page {
    background: #fff;
    color: #333;
}

.product-single-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

/* Gallery Column */
.product-main-image {
    width: 100%;
    aspect-ratio: 1/1;
    background: #fdfdfd;
    margin-bottom: 20px;
    overflow: hidden;
}

.product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.thumb-item {
    aspect-ratio: 1/1;
    cursor: pointer;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    background: #fdfdfd;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: #333;
    opacity: 0.8;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info Column */
.product-breadcrumb {
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-breadcrumb a {
    color: #999;
}

.product-title-large {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.1;
    color: #111;
}

.product-description-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 3rem;
}

.product-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
}

.btn-product {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: none;
    transition: all 0.3s ease;
}

.btn-product .btn-icon {
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    padding: 8px;
    border-radius: 4px;
}

.btn-red {
    background-color: #e56b5a;
    /* A vibrant reddish color as in the screenshot */
    color: white !important;
}

.btn-red:hover {
    background-color: #d15a4a;
    transform: translateY(-2px);
}

.btn-dark {
    background-color: #1a1a1b;
    color: white !important;
}

.btn-dark:hover {
    background-color: #000;
    transform: translateY(-2px);
}

/* Extra Sections */
.mt-100 {
    margin-top: 100px;
}

.mt-80 {
    margin-top: 80px;
}

.section-header-compact {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.title-medium {
    font-size: 2rem;
    font-weight: 400;
    color: #111;
}

.product-grid-simple {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.product-card-minimal .p-card-img {
    aspect-ratio: 1/1;
    background: #f9f9f9;
    margin-bottom: 15px;
    overflow: hidden;
}

.product-card-minimal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

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

.p-card-title {
    font-size: 1rem;
    font-weight: 400;
    color: #333;
    margin: 0;
}

/* Responsive Product Page */
@media (max-width: 1024px) {
    .product-single-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-title-large {
        font-size: 2.5rem;
    }
}

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

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

/* Flipbook Container */
/* Product Single Page - Visual Refresh */
.product-single-page {
    background: #f3f3f1;
    color: #111;
}

.product-hero-shell {
    padding-top: 5rem;
    padding-bottom: 4rem;
}

.product-shell-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.75fr);
    gap: 3rem;
    align-items: start;
}

.product-media-stack {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.product-media-main {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: transparent;
    overflow: hidden;
    border: none;
}

.product-media-main a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-media-anchor {
    position: relative;
    top: -120px;
    display: block;
}

.product-media-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.thumb-item {
    border: 1px solid #dbdbd8;
    background: #fff;
    padding: 0;
    margin: 0;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: #111;
    transform: translateY(-1px);
}

.product-details-panel {
    position: sticky;
    top: 120px;
    background: #f3f3f1;
}

.product-breadcrumb {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 1.1rem;
}

.product-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.product-title-large {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    font-weight: 100;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin: 0 0 1.5rem;
    color: #0e0e0e;
}

.product-shortlead {
    margin: 0 0 2rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    max-width: 42ch;
}

.product-meta-rows {
    display: grid;
    gap: 0.45rem;
    margin: 0 0 1.8rem;
}

.product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 0;
    border-top: 1px solid #d8d8d4;
}

.product-meta-row:last-child {
    border-bottom: 1px solid #d8d8d4;
}

.product-meta-row span {
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #6b6b6b;
}

.product-meta-row strong {
    font-size: 0.82rem;
    font-weight: 600;
    color: #111;
}

.product-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-bottom: 2rem;
}

.btn-product {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.25rem;
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid #111;
    transition: all 0.25s ease;
}

.btn-dark {
    background: #101010;
    color: #fff !important;
}

.btn-dark:hover {
    background: #262626;
}

.btn-outline-dark {
    background: transparent;
    color: #111 !important;
}

.btn-outline-dark:hover {
    background: #111;
    color: #fff !important;
}

.product-accordions {
    border-top: 1px solid #d8d8d4;
}

.product-accordion {
    border-bottom: 1px solid #d8d8d4;
}

.product-accordion summary {
    list-style: none;
    cursor: pointer;
    padding: 1rem 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-accordion summary::-webkit-details-marker {
    display: none;
}

.product-accordion summary::after {
    content: "+";
    font-size: 1rem;
    line-height: 1;
}

.product-accordion[open] summary::after {
    content: "-";
}

.product-accordion-body {
    padding: 0 0 1rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #444;
}

.product-accordion-body p {
    margin: 0 0 0.85rem;
}

.product-accordion-body a {
    color: #111;
    text-decoration: underline;
}

/* ── Single Progetto ─────────────────────────────── */
.project-single-page .product-media-stack .product-media-main {
    aspect-ratio: 3 / 2;
    background: transparent;
    border: none;
}

.project-single-page .product-media-stack .product-media-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.project-category-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #888;
    margin-bottom: 0.5rem;
}

.project-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 3 / 2;
    background: #f0f0f0;
    color: #aaa;
}

/* ─────────────────────────────────────────────────── */
.product-back-top {
    margin-top: 1.3rem;
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
    padding-bottom: 0.2rem;
}

.product-quote-block {
    border-top: 1px solid #d8d8d4;
    border-bottom: 1px solid #d8d8d4;
    padding: 1rem 0;
}

.product-quote-block .btn-product {
    width: 100%;
}

.quote-modal[hidden] {
    display: none;
}

.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.quote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
}

.quote-modal-dialog {
    position: relative;
    width: min(520px, calc(100% - 2rem));
    margin: 8vh auto 0;
    background: #fff;
    border: 1px solid #d8d8d4;
    padding: 1.5rem;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.quote-modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.65rem;
    border: 0;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #666;
}

.quote-modal-title {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #111;
}

.quote-modal-subtitle {
    margin: 0 0 1.1rem;
    font-size: 0.88rem;
    color: #555;
}

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

.quote-form-row {
    display: grid;
    gap: 0.35rem;
}

.quote-form-row label {
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #666;
    font-weight: 700;
}

.quote-form-row input,
.quote-form-row textarea {
    width: 100%;
    border: 1px solid #d8d8d4;
    background: #fff;
    color: #111;
    padding: 0.7rem 0.75rem;
    font-size: 0.9rem;
    font-family: inherit;
}

.quote-form-row textarea {
    resize: vertical;
    min-height: 96px;
}

.quote-submit {
    margin-top: 0.4rem;
    width: 100%;
}

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

.mt-100 {
    margin-top: 6rem;
}

.mt-80 {
    margin-top: 4rem;
}

.section-header-compact {
    margin-bottom: 1.6rem;
    border-bottom: 1px solid #dcdcd7;
    padding-bottom: 0.75rem;
}

.title-medium {
    font-size: clamp(1.3rem, 2.6vw, 2rem);
    font-weight: 100;
    color: #111;
    margin: 0;
}

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

.product-card-minimal .p-card-link {
    text-decoration: none;
}

.product-card-minimal .p-card-img {
    aspect-ratio: 4 / 5;
    background: #fff;
    border: 1px solid #e4e4e1;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.product-card-minimal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.product-card-minimal:hover img {
    transform: scale(1.03);
}

.p-card-title {
    font-size: 0.9rem;
    font-weight: 400;
    color: #191919;
    margin: 0;
}

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

    .product-details-panel {
        position: static;
    }

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

@media (max-width: 900px) {
    .product-hero-shell {
        padding-top: 3rem;
        padding-bottom: 2.5rem;
    }

    .product-details-panel {
        order: 1;
    }

    .product-media-stack {
        order: 2;
    }

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

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

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

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

#catalog-flipbook {
    background-color: #f5f5f7;
    border-top: 1px solid #e5e5e7;
    border-bottom: 1px solid #e5e5e7;
}

#flipbook-container {
    height: 600px;
    /* Standard height for the flipbook */
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    #flipbook-container {
        height: 400px;
    }
}

/* Simple Catalog Display Styles */
#catalog-display {
    background-color: #fcfbfc;
    overflow: hidden;
    margin-bottom: 120px;
}

.catalog-main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catalog-cover-container {
    max-width: 450px;
    width: 100%;
    position: relative;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-cover-container:hover {
    transform: translateY(-15px) rotate(-1deg);
    box-shadow: 0 45px 80px rgba(0, 0, 0, 0.18);
}

.catalog-cover-link {
    display: block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.catalog-cover-img {
    width: 100%;
    height: auto;
    display: block;
}

.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-cover-link:hover .hover-overlay {
    opacity: 1;
}

.overlay-text {
    color: #fff;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    border: 1px solid #fff;
    padding: 12px 25px;
    backdrop-filter: blur(5px);
}

/* Su Misura Hero */
.hero-sumisura {
    padding: 8rem 0 10rem;
    background: #fbfbfb;
}

.hero-text-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-blocks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 80px;
    align-items: stretch;
}

.hero-block {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    background: #eee;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    aspect-ratio: 3 / 4;
    /* Fixed aspect ratio for all blocks to ensure equal height */
}

/* Removed individual aspect ratios for side and video blocks to maintain consistency */
.side-block,
.video-block {
    aspect-ratio: inherit;
}

.hero-block img,
.hero-block video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Su Misura Hero */
@media (max-width: 992px) {
    .hero-blocks-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-block {
        aspect-ratio: 4 / 3;
        /* More horizontal on mobile */
        border-radius: 20px;
    }

    .mega-menu-wrapper {
        display: none !important;
    }

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

@media (min-width: 769px) {

    /* Grid maintained for desktop/tablet */
    .hero-blocks-grid {
        display: grid;
    }
}

/* Clients Marquee Section */
.clients-marquee-section {
    padding: 100px 0;
    background: #fff;
    overflow: hidden;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.marquee-header-container {
    text-align: center;
    margin-bottom: 60px;
}

.clients-title-small {
    font-family: 'DM Sans', sans-serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #111;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.clients-subtitle {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.clients-references-btn {
    display: inline-block;
    margin-top: 1.2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
    text-decoration: none;
    border: 1px solid #111;
    padding: 10px 16px;
    transition: all 0.25s ease;
}

.clients-references-btn:hover {
    background: #111;
    color: #fff;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
    width: max-content;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
    min-width: 250px;
    text-align: center;
    color: #000;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.4s ease;
}

.client-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.client-logo img {
    max-height: 90px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
}

.client-logo span {
    font-family: 'Playfair Display', serif;
    /* Using a serif for luxury logos */
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 4px;
    line-height: 1.2;
}

.client-logo small {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-top: 8px;
    text-transform: uppercase;
}

/* Specific Logo Customizations */
.client-logo.hilton .logo-icon-hilton {
    font-size: 1rem;
    border: 1px solid #000;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 5px;
}

.client-logo.twiga .logo-icon-twiga,
.client-logo.lungarno .logo-icon-lungarno {
    margin-bottom: 10px;
    color: #111;
}

.client-logo.nh span {
    font-family: sans-serif;
    font-weight: 700;
}

.client-logo.principe .stars {
    font-size: 0.8rem;
    color: #111;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.client-logo.sheraton .logo-icon-circle {
    font-size: 1.2rem;
    font-weight: 700;
    border: 1.5px solid #000;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 8px;
}

/* Marquee logos — new class names used in front-page.php */
.clients-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
}

.clients-marquee {
    display: flex;
    width: max-content;
}

.clients-marquee-content {
    display: flex;
    align-items: center;
    animation: marquee 40s linear infinite;
}

.clients-marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    flex-shrink: 0;
    filter: grayscale(1);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.clients-marquee-item:hover {
    filter: grayscale(0);
    opacity: 1;
}

.clients-marquee-item img {
    max-height: 52px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
}

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

    .clients-title-small {
        font-size: 1.8rem;
    }

    .client-logo {
        padding: 0 30px;
        min-width: 180px;
    }

    .client-logo span {
        font-size: 1.4rem;
    }
}

/* Scroll progress bar for Collections Grid */
.categories-grid-wrapper {
    position: relative;
}

.categories-scroll-bar {
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
    margin-top: 16px;
    border-radius: 2px;
    overflow: hidden;
}

.categories-scroll-thumb {
    height: 100%;
    background: var(--primary-color, #111);
    border-radius: 2px;
    transition: width 0.1s ease;
    width: 33%;
}

/* Sticky Section - Left Layout with Inline Button */
.sticky-content-left-layout {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
}

.sticky-text-wrapper {
    flex: 1;
}

.sticky-title-large {
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.sticky-title-large strong {
    font-weight: 700;
}

.sticky-subtitle {
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin: 0;
}

.sticky-cta-btn-inline {
    display: inline-block;
    padding: 18px 40px;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    align-self: flex-start;
    margin-top: 0;
}

.sticky-cta-btn-inline:hover {
    background: rgba(0, 0, 0, 0.95);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .sticky-content-left-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .sticky-title-large {
        font-size: 2.5rem;
    }

    .sticky-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .sticky-title-large {
        font-size: 2rem;
    }

    .sticky-subtitle {
        font-size: 0.95rem;
    }

    .sticky-cta-btn-inline {
        padding: 14px 28px;
        font-size: 0.85rem;
    }
}

/* Product Category Label */
.product-category {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 0.5rem;
}

.product-info-premium {
    padding: 1.5rem 0 0;
}

.product-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    color: #000;
}

/* Force Normal Style and Sentence Case for Homepage Titles */
.hero-immersive-title,
.title-serif,
.product-title,
.sticky-title-large,
.sticky-title-main,
.materials-title-huge,
.section-title {
    font-style: normal !important;
    text-transform: none !important;
}

/* Su Misura - Framer Source Embed */
.sumisura-framer-page {
    background: #fff;
}

.sumisura-framer-shell {
    width: 100%;
    margin: 0;
    padding: 0;
}

#sumisura-framer-iframe {
    width: 100%;
    min-height: 100vh;
    border: 0;
    display: block;
    background: #fff;
}

/* Su Misura - Native sections inspired by test.html */
.sumisura-arches-page {
    background: #fff;
    margin-top: 0;
    padding-top: 0 !important;
}

.sumisura-arches-page .container {
    max-width: 1360px;
}

/* References Page */
.references-page {
    background: #02050d;
    color: #fff;
}

.references-section {
    background: #02050d;
    padding: 4.2rem 0 3rem;
}

.references-inner {
    width: min(1720px, 94%);
    margin: 0 auto;
}

.references-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0.8rem;
}

.references-header h1 {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.4rem, 3.2vw, 4rem);
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.references-header p {
    margin: 0.35rem 0 0;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.78);
}

.references-columns {
    margin-top: 1.9rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
}

.references-group {
    margin-bottom: 1.55rem;
}

.references-group h2 {
    margin: 0 0 0.55rem;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
}

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

.references-group li {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.38;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.93);
}

.references-brand {
    margin-top: 1.8rem;
    text-align: right;
    font-size: 2.9rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

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

@media (max-width: 768px) {
    .references-section {
        padding: 3rem 0 2.2rem;
    }

    .references-columns {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .references-group h2 {
        font-size: 1.5rem;
    }

    .references-group li {
        font-size: 0.8rem;
    }

    .references-brand {
        font-size: 1.7rem;
    }
}

.sumi-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 4px 16px 4px 4px;
    border: 1px solid #111;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
    background: #fff;
}

.sumi-pill-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    line-height: 1;
}

.sumi-pill-btn-dark {
    border-color: #fff;
    color: #fff;
    background: transparent;
}

.sumi-pill-btn-dark .sumi-pill-icon {
    background: #fff;
    color: #111;
}

.sumi-section-kicker {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    margin-bottom: 3.5rem;
}

.sumi-kicker-code {
    width: 42px;
    height: 42px;
    border: 1px solid #111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.sumi-kicker-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.sumi-kicker-line {
    flex: 1;
    height: 1px;
    background: #d7d7d7;
}

.sumi-section-kicker-light .sumi-kicker-code {
    border-color: rgba(255, 255, 255, 0.8);
    color: #fff;
}

.sumi-section-kicker-light .sumi-kicker-label {
    color: #fff;
}

.sumi-section-kicker-light .sumi-kicker-line {
    background: rgba(255, 255, 255, 0.35);
}

.sumi-hero {
    position: relative;
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: flex-end;
}

.sumi-hero-bg,
.sumi-collab-bg {
    position: absolute;
    inset: 0;
}

.sumi-hero-bg img,
.sumi-collab-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sumi-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.44);
}

.sumi-hero-inner {
    position: relative;
    z-index: 1;
    color: #fff;
    width: 100%;
    padding-bottom: 4rem;
}

.sumi-eyebrow {
    margin: 0 0 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
}

.sumi-hero-title {
    margin: 0;
    max-width: 14ch;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2.2rem, 4.3vw, 4.5rem);
    font-weight: 300;
    line-height: 1.02;
    color: #fff;
}

.sumi-hero-title span {
    display: block;
}

.sumi-hero-title .sumi-hero-title-strong {
    font-weight: 700;
}

.sumi-hero-bottom {
    margin-top: 2.4rem;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 1rem;
}

.sumi-hero-text {
    margin: 0;
    padding-left: 1rem;
    border-left: 1px solid rgba(255, 255, 255, 0.55);
    max-width: 24ch;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
    line-height: 1.35;
}

.sumi-about,
.sumi-projects-list-section,
.sumi-services {
    background: #f4f4f4;
    padding: 5.5rem 0;
}

.sumi-about-fullimg {
    margin-top: 4rem;
}

.sumi-about-fullimg img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.sumi-about-grid {
    display: grid;
    grid-template-columns: 1.15fr 1.6fr;
    gap: 2.5rem;
    align-items: end;
}

.sumi-about-copy h2,
.sumi-section-title {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(2rem, 3vw, 3.3rem);
    font-weight: 300;
    line-height: 1.08;
    color: #111;
}

.sumi-about-copy p {
    margin: 1.45rem 0 0;
    max-width: 34ch;
    font-size: 1.15rem;
    line-height: 1.55;
    color: #555;
}

.sumi-about-copy .sumi-pill-btn {
    margin-top: 2rem;
}

.sumi-about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: end;
}

.sumi-about-visual .sumi-about-card:first-child {
    margin-bottom: 6rem;
}

.sumi-about-card img {
    width: 100%;
    aspect-ratio: 7 / 8.6;
    object-fit: cover;
    display: block;
}

.sumi-about-metric {
    margin-top: 1.2rem;
}

.sumi-about-metric strong {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 400;
    color: #111;
    line-height: 1.0;
}

.sumi-about-metric p {
    margin: 0.45rem 0 0;
    max-width: 21ch;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.45;
}

.sumi-section-head-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2.25rem;
}

.sumi-section-subtitle {
    margin: 1rem 0 0;
    max-width: 41ch;
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
}

.sumi-project-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.95fr;
    gap: 2.2rem;
    align-items: start;
    padding: 2.4rem 0;
    border-top: 1px solid #d8d8d8;
    color: inherit;
}

.sumi-project-row:last-child {
    border-bottom: 1px solid #d8d8d8;
}

.sumi-project-meta {
    margin: 0;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #666;
}

.sumi-project-left h3 {
    margin: 0.65rem 0 0;
    font-size: clamp(1.9rem, 2.6vw, 3rem);
    line-height: 1.1;
    font-weight: 300;
}

.sumi-read-more {
    display: inline-block;
    margin-top: 8rem;
    font-size: 0.92rem;
    text-transform: uppercase;
}

.sumi-project-image img {
    width: 100%;
    aspect-ratio: 1.66;
    object-fit: cover;
    display: block;
}

.sumi-project-right p {
    margin: 0;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.45;
}

.sumi-project-right dl {
    margin: 4rem 0 0;
    display: grid;
    gap: 1.7rem;
}

.sumi-project-right dl div {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.2rem;
}

.sumi-project-right dt {
    font-size: 0.95rem;
    text-transform: uppercase;
    color: #666;
}

.sumi-project-right dd {
    margin: 0;
    font-size: 1.85rem;
    color: #111;
    line-height: 1.1;
}

.sumi-process {
    padding: 5.7rem 0;
    background: #eceae5;
    color: #111;
}

.sumi-process .sumi-section-kicker-light .sumi-kicker-code {
    border-color: #111;
    color: #111;
}

.sumi-process .sumi-section-kicker-light .sumi-kicker-label {
    color: #111;
}

.sumi-process .sumi-section-kicker-light .sumi-kicker-line {
    background: #cfcac0;
}

.sumi-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4rem 2.8rem;
}

.sumi-process-intro h2 {
    margin: 0;
    font-size: clamp(2rem, 2.9vw, 3.2rem);
    font-weight: 300;
    line-height: 1.1;
}

.sumi-process-step span {
    display: block;
    margin-bottom: 0.9rem;
    font-size: 1.95rem;
    color: #333;
}

.sumi-process-step h3 {
    margin: 0;
    font-size: clamp(1.8rem, 2vw, 2.4rem);
    font-weight: 300;
    line-height: 1.2;
    color: #111;
}

.sumi-process-step p {
    margin: 0.95rem 0 0;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.5;
}

.sumi-process-media-cell {
    align-self: center;
    grid-row: 1 / 3;
    grid-column: 3;
}

.sumi-process-media-cell img {
    width: 100%;
    max-width: 360px;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    margin-top: 7.6rem;
}

.sumi-service-row {
    display: grid;
    grid-template-columns: 1.1fr 1.35fr 150px;
    gap: 2.2rem;
    align-items: start;
    padding: 2rem 0;
    border-top: 1px solid #d8d8d8;
}

.sumi-service-row:last-child {
    border-bottom: 1px solid #d8d8d8;
}

/* FAQ Accordion */
.sumi-faq-accordion {
    margin-top: 3rem;
}

.sumi-faq-item {
    border-top: 1px solid #d8d8d8;
}

.sumi-faq-item:last-child {
    border-bottom: 1px solid #d8d8d8;
}

.sumi-faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.8rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 2rem;
}

.sumi-faq-trigger span {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(1.1rem, 1.4vw, 1.4rem);
    font-weight: 400;
    color: #111;
    line-height: 1.2;
}

.sumi-faq-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: #111;
    transition: transform 0.35s ease;
}

.sumi-faq-trigger[aria-expanded="true"] .sumi-faq-icon {
    transform: rotate(45deg);
}

.sumi-faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.sumi-faq-body > p {
    overflow: hidden;
    margin: 0;
    padding-bottom: 0;
    font-size: 1.05rem;
    color: #555;
    line-height: 1.6;
    max-width: 70ch;
    transition: padding-bottom 0.35s ease;
}

.sumi-faq-item.is-open .sumi-faq-body {
    grid-template-rows: 1fr;
}

.sumi-faq-item.is-open .sumi-faq-body > p {
    padding-bottom: 1.8rem;
}

.sumi-service-row-featured {
    background: #eceae5;
    color: #111;
    border-top: 1px solid #d8d8d8;
    margin-bottom: 0.65rem;
    padding: 2.4rem;
    grid-template-columns: 1fr 1.35fr 280px;
}

.sumi-service-row-featured h3,
.sumi-service-row-featured p {
    color: #111;
}

.sumi-service-title-wrap h3 {
    margin: 0;
    font-size: clamp(1.9rem, 2.1vw, 2.7rem);
    font-weight: 300;
    line-height: 1.18;
}

.sumi-service-copy p {
    margin: 0;
    font-size: 1.1rem;
    color: #111;
    line-height: 1.5;
}

.sumi-service-row-featured .sumi-service-copy p {
    max-width: 28ch;
}

.sumi-service-row-featured .sumi-service-copy .sumi-pill-btn {
    margin-top: 1.8rem;
}

.sumi-service-thumb img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.sumi-collab-banner {
    position: relative;
    padding: 7rem 0;
    color: #fff;
}

.sumi-collab-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

.sumi-collab-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.sumi-collab-inner h2 {
    margin: 0 auto 1.5rem;
    max-width: 22ch;
    font-size: clamp(2rem, 3.2vw, 4rem);
    font-weight: 300;
    line-height: 1.12;
}

.sumi-collab-inner h2 span {
    background: rgba(181, 207, 171, 0.82);
    color: #fff;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    padding: 0 0.2rem;
}

@media (max-width: 1200px) {
    .sumi-about-grid,
    .sumi-project-row,
    .sumi-service-row,
    .sumi-service-row-featured {
        grid-template-columns: 1fr;
    }

    .sumi-project-right dl div {
        grid-template-columns: 110px 1fr;
    }

    .sumi-read-more {
        margin-top: 2rem;
    }

}

@media (max-width: 768px) {
    .sumi-about,
    .sumi-projects-list-section,
    .sumi-process,
    .sumi-services,
    .sumi-collab-banner {
        padding: 4rem 0;
    }

    .sumi-hero {
        min-height: 78vh;
    }

    .sumi-hero-inner {
        padding-bottom: 2.6rem;
    }

    .sumi-hero-bottom,
    .sumi-section-head-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .sumi-hero-text {
        font-size: 1.15rem;
    }

    .sumi-about-copy p,
    .sumi-section-subtitle,
    .sumi-project-right p,
    .sumi-process-step p,
    .sumi-service-copy p {
        font-size: 1rem;
    }

    .sumi-process-grid,
    .sumi-about-visual {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }

    .sumi-process-media-cell img {
        max-width: 100%;
        margin-top: 0.2rem;
    }

    .sumi-service-row {
        gap: 1rem;
    }

    .sumi-service-row-featured {
        padding: 1.4rem;
    }

    .sumi-service-row-featured .sumi-service-thumb {
        max-width: 220px;
    }
}


/* sumi-catalogo section */
.sumi-catalogo {
    padding: 80px 0 60px;
}
.sumi-catalogo-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.sumi-catalogo-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.sumi-catalogo-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}


/* sumi-catalogo section */
.sumi-catalogo {
    padding: 80px 0 60px;
}
.sumi-catalogo-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
.sumi-catalogo-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.sumi-catalogo-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.sumi-catalogo-cta {
    text-align: center;
    margin-top: 40px;
}
.sumi-catalogo-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #111;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.sumi-catalogo-download-btn:hover {
    background: #333;
    color: #fff;
}

.catalog-flipbook-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.catalog-flipbook-wrapper .sumi-catalogo-cta {
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

/* Product single image quality and containment fixes */
@media (min-width: 901px) {
    .product-single-page .product-hero-shell {
        padding-top: clamp(2rem, 4vw, 3rem);
    }

    .product-single-page .product-shell-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr);
        gap: clamp(2.5rem, 5vw, 5.5rem);
    }

    .product-single-page .product-media-stack {
        gap: 1rem;
    }

    .product-single-page .product-media-main {
        aspect-ratio: auto;
        height: clamp(420px, calc(100vh - 260px), 720px);
        background: #fff;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 1rem;
    }
}

.product-single-page .product-media-main .js-lb-trigger {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.product-single-page .product-media-main img {
    display: block;
    flex: 0 0 auto;
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center top;
}

.product-single-page .product-media-thumbs .thumb-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-single-page .product-media-thumbs .thumb-item img,
.product-single-page .product-card-minimal .p-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-single-page .product-card-minimal:hover img {
    transform: none;
}


/* product ricarica cordless */
.product-ricarica-section {
    padding: 60px 0;
    border-top: 1px solid #e5e5e5;
}
.product-ricarica-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 32px;
}
.product-ricarica-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-ricarica-item {
    margin: 0;
}
.product-ricarica-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
@media (max-width: 768px) {
    .product-ricarica-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* arch video square */
.arch-video-square {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
}
.arch-video-square video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ricarica heading inside media stack */
.product-ricarica-heading {
    padding: 24px 0 8px;
    border-top: 1px solid #e5e5e5;
    margin-top: 8px;
}
.product-ricarica-heading span {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #111;
}

/* Projects CTA black text */
.projects-page .arch-content .btn-primary,
.projects-page .arch-content .btn-primary:hover,
.projects-page .arch-content .btn-primary:focus,
.projects-page .arch-content .btn-primary:active {
    color: #000 !important;
}

/* Mobile header logo viewport centering */
@media (max-width: 768px) {
    .site-header .header-main-inner {
        position: relative;
        min-height: 56px;
    }

    .site-header .site-branding {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: auto;
        z-index: 1;
        pointer-events: auto;
    }

    .site-header .header-right,
    .site-header .header-left {
        position: relative;
        z-index: 2;
    }
}

/* Mobile header logo collision guard */
@media (max-width: 480px) {
    .site-header .site-branding img.custom-logo {
        max-height: 38px;
        max-width: 31vw;
    }

    .site-header .header-right {
        gap: 7px;
    }

    .site-header .lang-switcher {
        padding-left: 0;
        padding-right: 3px;
    }

    .site-header .header-contact-btn {
        padding: 6px 7px;
        font-size: 0.52rem;
        letter-spacing: 0.04em;
    }
}

/* Mobile hero title viewport centering */
@media (max-width: 768px) {
    .home .hero-immersive {
        align-items: center;
        justify-content: center;
    }

    .home .hero-immersive-inner {
        width: 100%;
        max-width: none;
        padding-left: 20px;
        padding-right: 20px;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .home .hero-center-content {
        width: 100%;
        display: flex;
        justify-content: center;
        text-align: center;
    }

    .home .hero-immersive-title {
        width: 100%;
        max-width: 12em;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}

/* Mobile homepage continuous scroll */
@media (max-width: 768px) {
    body.home {
        overflow-x: hidden;
        overflow-y: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    body.home,
    body.home #page,
    body.home .site,
    body.home .site-main {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
    }

    body.home .split-sections-container,
    body.home .materials-sticky-wrapper {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    body.home .testimonial-split-section,
    body.home .materials-split-section {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        display: flex;
        flex-direction: column;
    }

    body.home .testimonial-left,
    body.home .testimonial-right,
    body.home .materials-left,
    body.home .materials-right {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    body.home .testimonial-left,
    body.home .materials-right {
        height: auto !important;
        min-height: 0 !important;
    }

    body.home .testimonial-left img,
    body.home .materials-right img {
        display: block;
        width: 100%;
        height: auto !important;
        max-height: none !important;
        object-fit: cover;
    }

    body.home .testimonial-right,
    body.home .materials-left {
        padding: 56px 24px !important;
    }

    body.home .materials-content-inner {
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        justify-content: flex-start !important;
    }

    body.home .hero-immersive {
        height: auto !important;
        min-height: calc(100svh - 140px) !important;
        overflow: visible !important;
    }
}

/* Homepage Instagram feed section */
.home-instagram-feed-section {
    padding: 90px 0 70px;
    background: #fff;
}

@media (max-width: 768px) {
    .home-instagram-feed-section {
        padding: 56px 0 48px;
    }
}







/* Compact mobile catalog spacing */
@media (max-width: 768px) {
    .catalog-page .page-header-custom {
        padding-bottom: 28px;
    }

    .catalog-page #catalog-display {
        padding-top: 0;
        padding-bottom: 48px;
        margin-bottom: 0;
        overflow: visible;
    }

    .catalog-page #catalog-display > .container {
        width: 100%;
        max-width: 430px;
        padding-left: 24px;
        padding-right: 24px;
        margin-left: auto;
        margin-right: auto;
    }

    .catalog-page .catalog-flipbook-wrapper {
        display: block;
        width: 100%;
        min-height: 0;
        padding: 0;
        margin: 0 auto;
        overflow: visible;
    }

    .catalog-page .catalog-flipbook-wrapper ._3d-flip-book[data-id="133"],
    .catalog-page .catalog-flipbook-wrapper .book-widget,
    .catalog-page .catalog-flipbook-wrapper iframe {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
    }

    .catalog-page .catalog-flipbook-wrapper iframe {
        display: block;
    }

    .catalog-page .catalog-flipbook-wrapper .sumi-catalogo-cta {
        margin-top: 22px;
        margin-bottom: 0;
        position: relative;
        z-index: 1;
    }
}
/* Mobile azienda passion copy spacing */
@media (max-width: 768px) {
    .company-azienda .panel-statement {
        padding: 56px 22px 72px !important;
        place-items: center !important;
    }

    .company-azienda .panel-statement .statement {
        width: 100% !important;
        max-width: 360px !important;
        font-size: clamp(26px, 7.2vw, 34px) !important;
        line-height: 1.02 !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .company-azienda .panel-statement .copy-text {
        width: 100% !important;
        max-width: 360px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: clamp(15px, 4.1vw, 18px) !important;
        line-height: 1.45 !important;
    }
}

@media (max-width: 430px) {
    .company-azienda .panel-statement {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .company-azienda .panel-statement .statement,
    .company-azienda .panel-statement .copy-text {
        max-width: calc(100vw - 36px) !important;
    }
}
/* Restore azienda mobile horizontal panels */
@media (max-width: 768px) {
    body:not(.home).company-azienda,
    body:not(.home) .company-azienda {
        overflow-x: visible !important;
    }

    .company-azienda .hz-shell {
        overflow: visible !important;
    }

    .company-azienda .hz-track {
        display: flex !important;
        flex-direction: row !important;
        width: calc(var(--panel-count, 6) * 100vw) !important;
        min-width: calc(var(--panel-count, 6) * 100vw) !important;
    }

    .company-azienda .hz-panel:not(.panel-team) {
        width: 100vw !important;
        min-width: 100vw !important;
        flex: 0 0 100vw !important;
    }
}
/* Mobile projects video visibility */
@media (max-width: 768px) {
    .projects-page .arch-section,
    .taxonomy-categoria-progetto .arch-section,
    body.tax-categoria-progetto .arch-section {
        padding-top: 56px !important;
        padding-bottom: 64px !important;
    }

    .projects-page .arch-content,
    .taxonomy-categoria-progetto .arch-content,
    body.tax-categoria-progetto .arch-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
        align-items: stretch !important;
    }

    .projects-page .arch-video-square,
    .taxonomy-categoria-progetto .arch-video-square,
    body.tax-categoria-progetto .arch-video-square {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        aspect-ratio: 9 / 16 !important;
        min-height: 420px !important;
        height: auto !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        overflow: hidden !important;
        border-radius: 0 !important;
        background: transparent !important;
    }

    .projects-page .arch-video-square video,
    .taxonomy-categoria-progetto .arch-video-square video,
    body.tax-categoria-progetto .arch-video-square video {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 420px !important;
        object-fit: cover !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}
/* Mobile header logo scroll sizing */
@media (max-width: 768px) {
    .site-header .header-main {
        padding: 10px 0 !important;
    }

    .site-header .header-main-inner {
        min-height: 72px !important;
    }

    .site-header .site-branding .custom-logo-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 0 !important;
    }

    .site-header .site-branding img.custom-logo {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 42vw !important;
        max-height: 76px !important;
        object-fit: contain !important;
        transition: max-height 0.35s ease, max-width 0.35s ease, filter 0.35s ease !important;
    }

    .site-header.is-scrolled .header-main {
        padding: 4px 0 !important;
    }

    .site-header.is-scrolled .header-main-inner {
        min-height: 52px !important;
    }

    .site-header.is-scrolled .site-branding img.custom-logo {
        width: auto !important;
        height: auto !important;
        max-width: 31vw !important;
        max-height: 46px !important;
        object-fit: contain !important;
    }
}

@media (max-width: 480px) {
    .site-header .site-branding img.custom-logo {
        max-width: 44vw !important;
        max-height: 70px !important;
    }

    .site-header.is-scrolled .site-branding img.custom-logo {
        max-width: 32vw !important;
        max-height: 42px !important;
    }
}
/* Footer white contrast cleanup */
.site-footer-awwwards {
    color: #fff !important;
}

.site-footer-awwwards .footer-tagline {
    display: none !important;
}

.site-footer-awwwards,
.site-footer-awwwards p,
.site-footer-awwwards span,
.site-footer-awwwards small,
.site-footer-awwwards .footer-address,
.site-footer-awwwards .footer-contact,
.site-footer-awwwards .footer-brand-col,
.site-footer-awwwards .footer-copyright,
.site-footer-awwwards .footer-mobile-copyright {
    color: rgba(255, 255, 255, 0.86) !important;
}

.site-footer-awwwards h1,
.site-footer-awwwards h2,
.site-footer-awwwards h3,
.site-footer-awwwards h4,
.site-footer-awwwards .footer-col-title,
.site-footer-awwwards .footer-brand-col strong,
.site-footer-awwwards .footer-brand-col b {
    color: #fff !important;
}

.site-footer-awwwards a,
.site-footer-awwwards nav a,
.site-footer-awwwards .footer-nav a,
.site-footer-awwwards .footer-mobile-extra-links a {
    color: rgba(255, 255, 255, 0.78) !important;
}

.site-footer-awwwards a:hover,
.site-footer-awwwards nav a:hover,
.site-footer-awwwards .footer-nav a:hover,
.site-footer-awwwards .footer-mobile-extra-links a:hover {
    color: #fff !important;
}

.site-footer-awwwards .footer-white-logo {
    filter: none !important;
    opacity: 1 !important;
}
/* Footer desktop inline brand layout */
@media (min-width: 769px) {
    .site-footer-awwwards .footer-grid-awwwards {
        display: grid !important;
        grid-template-columns: minmax(260px, 0.95fr) minmax(160px, 0.55fr) minmax(160px, 0.55fr) minmax(160px, 0.55fr) !important;
        align-items: start !important;
        gap: 72px !important;
    }

    .site-footer-awwwards .footer-brand-col {
        display: grid !important;
        grid-template-columns: 180px minmax(170px, 1fr) !important;
        align-items: start !important;
        column-gap: 28px !important;
    }

    .site-footer-awwwards .footer-logo-awwwards {
        margin: 0 !important;
        align-self: start !important;
    }

    .site-footer-awwwards .footer-logo-awwwards .custom-logo-link,
    .site-footer-awwwards .footer-logo-awwwards .footer-white-logo-link {
        display: block !important;
        line-height: 0 !important;
    }

    .site-footer-awwwards .footer-logo-awwwards img,
    .site-footer-awwwards .footer-logo-awwwards .footer-white-logo {
        display: block !important;
        width: 180px !important;
        max-width: 180px !important;
        height: auto !important;
    }

    .site-footer-awwwards .footer-brand-col > *:not(.footer-logo-awwwards) {
        grid-column: 2 !important;
    }
}

@media (min-width: 769px) and (max-width: 1180px) {
    .site-footer-awwwards .footer-grid-awwwards {
        gap: 42px !important;
        grid-template-columns: minmax(340px, 1.15fr) repeat(3, minmax(140px, 0.55fr)) !important;
    }

    .site-footer-awwwards .footer-brand-col {
        grid-template-columns: 145px minmax(160px, 1fr) !important;
        column-gap: 22px !important;
    }

    .site-footer-awwwards .footer-logo-awwwards img,
    .site-footer-awwwards .footer-logo-awwwards .footer-white-logo {
        width: 145px !important;
        max-width: 145px !important;
    }
}