/* ============================================
   Font Face
   ============================================ */
@font-face {
  font-family: 'Futura Std';
  src: url('./font/futura-std/FuturaStdLight.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* ============================================
   CSS Variables / Design Tokens
   ============================================ */
:root {
    /* Colors */
    --color-white: #ffffff;
    --color-black: #1d1d1b;
    --color-red: #dc0814;
    --color-grey: #cbcccd;
    --color-dark-grey: #888888;
    --color-light-grey: #fafafa;
    
    /* Typography */
    --font-primary: 'Futura Std', sans-serif;
    --font-weight-book: 500;
    --font-weight-medium: 700;
    
    /* Font Sizes */
    --text-xxl: 90px;
    --text-xl: 60px;
    --text-l: 40px;
    --text-m: 20px;
    --text-s: 16px;
    --text-xs: 14px;
    --text-ui: 18px;
    
    /* Spacing */
    --space-mega: 160px;
    --space-kilo: 120px;
    --space-xxxl: 96px;
    --space-xxl: 80px;
    --space-xl: 64px;
    --space-l: 48px;
    --space-m: 40px;
    --space-n: 32px;
    --space-s: 24px;
    --space-xs: 16px;
    --space-ss: 12px;
    --space-xxs: 8px;
    
    /* Grid */
    --grid-margin: 40px;
    --grid-gutter: 32px;
    --max-width: 1440px;
}

/* ============================================
   Accessibility
   ============================================ */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-black);
    color: var(--color-white);
    padding: var(--space-xs) var(--space-s);
    z-index: 1001;
    text-decoration: none;
    border-radius: 4px;
    font-size: var(--text-s);
}

.skip-link:focus {
    top: var(--space-xs);
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

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

/* ============================================
   Page Transitions & Animations
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: scale(1.02);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Elements that animate on scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1),
                transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for children */
.animate-on-scroll.is-visible .vantaggi__card,
.animate-on-scroll.is-visible .finiture__card,
.animate-on-scroll.is-visible .gallery-adaptive__item {
    animation: fadeInUp 0.7s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    opacity: 0;
}

.animate-on-scroll.is-visible .vantaggi__card:nth-child(1),
.animate-on-scroll.is-visible .finiture__card:nth-child(1),
.animate-on-scroll.is-visible .gallery-adaptive__item:nth-child(1) { animation-delay: 0.05s; }

.animate-on-scroll.is-visible .vantaggi__card:nth-child(2),
.animate-on-scroll.is-visible .finiture__card:nth-child(2),
.animate-on-scroll.is-visible .gallery-adaptive__item:nth-child(2) { animation-delay: 0.1s; }

.animate-on-scroll.is-visible .vantaggi__card:nth-child(3),
.animate-on-scroll.is-visible .finiture__card:nth-child(3),
.animate-on-scroll.is-visible .gallery-adaptive__item:nth-child(3) { animation-delay: 0.15s; }

.animate-on-scroll.is-visible .vantaggi__card:nth-child(4),
.animate-on-scroll.is-visible .finiture__card:nth-child(4),
.animate-on-scroll.is-visible .gallery-adaptive__item:nth-child(4) { animation-delay: 0.2s; }

.animate-on-scroll.is-visible .vantaggi__card:nth-child(5),
.animate-on-scroll.is-visible .finiture__card:nth-child(5),
.animate-on-scroll.is-visible .gallery-adaptive__item:nth-child(5) { animation-delay: 0.25s; }

.animate-on-scroll.is-visible .vantaggi__card:nth-child(6),
.animate-on-scroll.is-visible .finiture__card:nth-child(6),
.animate-on-scroll.is-visible .gallery-adaptive__item:nth-child(6) { animation-delay: 0.3s; }

.animate-on-scroll.is-visible .vantaggi__card:nth-child(7),
.animate-on-scroll.is-visible .finiture__card:nth-child(7) { animation-delay: 0.35s; }

/* Feature list staggered animation */
.animate-on-scroll.is-visible .feature-list__item {
    animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.animate-on-scroll.is-visible .feature-list__item:nth-child(1) { animation-delay: 0.05s; }
.animate-on-scroll.is-visible .feature-list__item:nth-child(2) { animation-delay: 0.1s; }
.animate-on-scroll.is-visible .feature-list__item:nth-child(3) { animation-delay: 0.15s; }
.animate-on-scroll.is-visible .feature-list__item:nth-child(4) { animation-delay: 0.2s; }
.animate-on-scroll.is-visible .feature-list__item:nth-child(5) { animation-delay: 0.25s; }
.animate-on-scroll.is-visible .feature-list__item:nth-child(6) { animation-delay: 0.3s; }

/* Citation text animation */
.citation .citation__content {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.citation .citation__quote {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.citation .citation__quote--open {
    transition-delay: 0.2s;
}

.citation .citation__quote--close {
    transition-delay: 0.6s;
}

.citation .citation__text {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.citation .citation__source {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s,
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.6s;
}

.citation.is-visible .citation__content {
    opacity: 1;
    transform: translateY(0);
}

.citation.is-visible .citation__quote {
    opacity: 1;
    transform: scale(1);
}

.citation.is-visible .citation__text {
    opacity: 1;
}

.citation.is-visible .citation__source {
    opacity: 1;
    transform: translateY(0);
}

/* Page load animation */
.page-transition {
    animation: fadeIn 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Hero specific animation */
.hero,
.product-hero {
    animation: fadeIn 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__image,
.product-hero__image {
    animation: heroReveal 1.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.hero__content,
.product-hero__content {
    animation: fadeInUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
    opacity: 0;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }

    .hero__image,
    .product-hero__image,
    .hero__content,
    .product-hero__content {
        opacity: 1;
    }

    .citation .citation__content,
    .citation .citation__quote,
    .citation .citation__text,
    .citation .citation__source {
        opacity: 1;
        transform: none;
    }

    .footer__contacts a::after,
    .footer__credits a::after {
        transform: scaleX(1);
    }

    html {
        scroll-behavior: auto;
    }
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Layout
   ============================================ */
.layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 48px var(--space-m);
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

.header--scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px var(--space-m);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-n);
}

.header__link {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header__link:hover {
    color: var(--color-red);
}

.header__link--active {
    color: var(--color-red);
    text-decoration: underline;
}

.header__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 262px;
    height: 40px;
}

.header__logo a {
    display: block;
    width: 100%;
    height: 100%;
}

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

.header__lang {
    display: flex;
    align-items: center;
    gap: var(--space-ss);
}

.header__lang-item {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
}

.header__lang-item--active {
    font-weight: 700;
    text-decoration: underline;
}

.header__lang-item:hover {
    color: var(--color-red);
}

.header__lang-separator {
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: var(--font-weight-book);
    color: var(--color-black);
}

/* ============================================
   Typography Utilities
   ============================================ */
.section-title {
    font-size: var(--text-l);
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
    color: var(--color-black);
}

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

.body-text {
    font-size: var(--text-m);
    font-weight: var(--font-weight-book);
    line-height: 1.6;
    color: var(--color-black);
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    width: 100%;
    background-color: var(--color-light-grey);
    padding: var(--space-mega) 0 200px;
    padding-top: calc(var(--space-mega) + 100px); /* Account for fixed header */
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hero__image {
    width: 100%;
    max-width: 1360px;
    height: 637px;
    margin-bottom: -40px;
    position: relative;
}

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

.hero__content {
    background-color: var(--color-white);
    padding: var(--space-n) var(--space-m);
    border-radius: 10px;
    width: 896px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-s);
    margin-top: -40px;
    position: relative;
    z-index: 1;
}

.hero__logo {
    width: 262px;
    height: 40px;
}

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

.hero__tagline {
    font-size: var(--text-m);
    font-weight: var(--font-weight-book);
    text-align: center;
    color: var(--color-black);
}

/* ============================================
   Block Text + Image Section
   ============================================ */
.block-text-img {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-mega) var(--space-m) var(--space-xxl);
    padding-left: 156px;
}

.block-text-img__content {
    width: 432px;
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
}

.block-text-img__content .section-title {
    margin-bottom: 0;
}

.block-text-img__image {
    width: 664px;
    height: 498px;
}

.block-text-img__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Video Section
   ============================================ */
.video-section {
    width: 100%;
    max-width: var(--max-width);
    height: 550px;
    position: relative;
}

.video-section__player {
    position: absolute;
    left: calc(25% + 28px);
    top: 120px;
    width: 664px;
    height: 333px;
    padding: var(--space-s);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.video-section__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

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

.video-section__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.video-section__button {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.video-section__button-circle {
    width: 60px;
    height: 60px;
    border: 1px solid var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section__button-text {
    font-size: var(--text-m);
    font-weight: var(--font-weight-book);
    color: var(--color-white);
    text-transform: uppercase;
}

/* ============================================
   Citation Section
   ============================================ */
.citation {
    width: 100%;
    background-color: var(--color-light-grey);
    padding: var(--space-kilo) var(--space-m);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);
}

.citation__content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-xs);
    font-weight: var(--font-weight-medium);
}

.citation__quote {
    font-size: var(--text-xxl);
    color: var(--color-red);
    line-height: 1.1;
    width: 40px;
    text-align: center;
}

.citation__quote--close {
    align-self: flex-end;
}

.citation__text {
    font-size: var(--text-l);
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
    color: var(--color-black);
    text-align: center;
    width: 100%;
    max-width: 896px;
}

.citation__source {
    font-size: var(--text-m);
    font-weight: var(--font-weight-book);
    color: var(--color-red);
    text-align: center;
    width: 100%;
    max-width: 664px;
    line-height: 1.6;
}

.citation__image {
    width: 100%;
    max-width: 1128px;
    height: 525px;
    margin-top: var(--space-m);
}

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

/* ============================================
   Block Image x2 Section
   ============================================ */
.block-img-x2 {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    align-items: stretch;
    padding: var(--space-kilo) 0;
}

.block-img-x2__content {
    width: 736px;
    background-color: var(--color-white);
    padding: var(--space-m) var(--grid-gutter) 0 var(--space-m);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.block-img-x2--reversed .block-img-x2__content {
    padding: var(--space-m) var(--space-m) 0 var(--space-n);
}

.block-img-x2__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-n);
}

.block-img-x2__text .section-title {
    width: 498px;
}

.block-img-x2__product {
    width: 432px;
    height: 195px;
    align-self: center;
}

.block-img-x2__product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.block-img-x2__image {
    width: 704px;
    height: 777px;
}

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

/* ============================================
   Intro Text Section
   ============================================ */
.intro-text {
    width: 100%;
    background-color: var(--color-light-grey);
    padding: var(--space-kilo) var(--space-m) var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.intro-text__title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    line-height: 1.25;
    text-align: center;
    color: var(--color-black);
    width: 100%;
    max-width: 896px;
}

/* ============================================
   Gallery Adaptive Section
   ============================================ */
.gallery-adaptive {
    width: 100%;
    background-color: var(--color-light-grey);
    padding: 0 var(--space-m) var(--space-xxl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-n);
}

.gallery-adaptive__scroll {
    display: flex;
    gap: var(--grid-gutter);
    overflow-x: auto;
    width: 100%;
    max-width: 1360px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-adaptive__scroll::-webkit-scrollbar {
    display: none;
}

.gallery-adaptive__item {
    flex-shrink: 0;
    width: 432px;
    display: flex;
    flex-direction: column;
    gap: var(--space-ss);
}

.gallery-adaptive__image {
    width: 100%;
    aspect-ratio: 600 / 560;
}

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

.gallery-adaptive__caption {
    font-size: var(--text-s);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
    line-height: 1.5;
    height: 72px;
}

.gallery-adaptive__indicator {
    width: 100px;
    height: 4px;
    position: relative;
}

.gallery-adaptive__indicator-track {
    position: absolute;
    top: 50%;
    left: 2px;
    right: 2px;
    height: 2px;
    background-color: var(--color-grey);
    transform: translateY(-50%);
}

.gallery-adaptive__indicator-thumb {
    position: absolute;
    top: 50%;
    left: 2px;
    width: 35px;
    height: 2px;
    background-color: var(--color-red);
    transform: translateY(-50%);
}

/* ============================================
   Text Paragraph Section
   ============================================ */
.text-paragraph {
    width: 100%;
    max-width: var(--max-width);
    padding: var(--space-kilo) var(--space-m);
    display: flex;
    justify-content: space-between;
}

.text-paragraph__header {
    width: 432px;
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.text-paragraph__label {
    font-size: var(--text-m);
    font-weight: var(--font-weight-medium);
    color: var(--color-red);
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.text-paragraph__title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    text-transform: uppercase;
    line-height: 1.25;
}

.text-paragraph__content {
    width: 780px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.text-paragraph__logo {
    width: 316px;
    height: 185px;
}

.text-paragraph__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================
   Feature List
   ============================================ */
.feature-list {
    list-style: none;
    width: 100%;
}

.feature-list__item {
    display: flex;
    align-items: center;
    gap: var(--space-n);
    padding: var(--space-s) 0;
    border-top: 1px solid var(--color-grey);
}

.feature-list__icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background-color: var(--color-light-grey);
    border-radius: 8px;
    padding: var(--space-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-list__item:hover .feature-list__icon {
    transform: scale(1.08);
    background-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.feature-list__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-list__item:hover .feature-list__icon img {
    transform: scale(1.1);
}

.feature-list__text {
    flex: 1;
    font-size: var(--text-m);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
    line-height: 1.6;
}

/* ============================================
   Title Text Section
   ============================================ */
.title-text {
    width: 100%;
    max-width: var(--max-width);
    padding: var(--space-mega) var(--space-m) var(--space-m);
}

.title-text__title {
    font-size: var(--text-l);
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    line-height: 1.4;
    width: 1012px;
}

/* ============================================
   Tabs
   ============================================ */
.tabs {
    width: 100%;
    max-width: var(--max-width);
    background-color: var(--color-white);
    padding: var(--space-s) var(--space-m);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tabs__item {
    padding: 11px 40px 8px;
    border-radius: 40px;
    background-color: var(--color-light-grey);
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    color: var(--color-black);
    transition: all 0.3s ease;
}

.tabs__item--active {
    background-color: var(--color-red);
    color: var(--color-white);
}

.tabs__item:hover:not(.tabs__item--active) {
    background-color: var(--color-grey);
}

/* Tab content animation */
.cards-grid .card {
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cards-grid.is-switching .card {
    opacity: 0;
    transform: translateY(10px);
}

.cards-grid .card:nth-child(1) { transition-delay: 0s; }
.cards-grid .card:nth-child(2) { transition-delay: 0.05s; }

/* ============================================
   Cards Grid
   ============================================ */
.cards-grid {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    flex-wrap: wrap;
    padding: var(--space-m) 0 var(--space-mega);
}

.card {
    width: 720px;
    padding: var(--space-xxl) 1px;
    border: 1px solid var(--color-grey);
    border-left: none;
    border-right: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
}

.card__image-wrapper {
    background-color: var(--color-white);
    padding: var(--space-xs);
}

.card__image {
    width: 237px;
    height: 316px;
    background-color: var(--color-light-grey);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card__image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.card__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-s);
    padding: 0 var(--space-s);
}

.card__title {
    font-size: var(--text-m);
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    text-align: center;
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.card__cta {
    font-size: var(--text-ui);
    font-weight: var(--font-weight-book);
    color: var(--color-red);
    text-transform: uppercase;
    border-bottom: 1px solid var(--color-red);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.card__cta:hover {
    opacity: 0.7;
}

.card__cta--disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    width: 100%;
    max-width: var(--max-width);
    background-color: var(--color-white);
    padding-top: 83px;
}

.footer__main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xxxl);
    padding-bottom: var(--space-m);
}

.footer__logo {
    width: 432px;
    height: 65px;
}

.footer__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);
}

.footer__legal {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: var(--text-xs);
    color: var(--color-black);
    line-height: 1.2;
}

.footer__legal a {
    transition: opacity 0.3s ease;
}

.footer__legal a:hover {
    opacity: 0.7;
}

.footer__capital {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
    text-align: center;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-s) var(--space-m);
    border-top: 1px solid var(--color-grey);
}

.footer__veneta-logo {
    width: 116px;
    height: 15px;
}

.footer__veneta-text {
    font-size: 12px;
    font-weight: var(--font-weight-medium);
    color: var(--color-red);
    letter-spacing: 2px;
}

.footer__contacts {
    display: flex;
    gap: var(--space-xs);
    font-size: var(--text-xs);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
}

.footer__contacts a {
    position: relative;
    transition: opacity 0.3s ease;
}

.footer__contacts a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__contacts a:hover,
.footer__contacts a:focus {
    opacity: 0.7;
    outline: none;
}

.footer__contacts a:hover::after,
.footer__contacts a:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer__contacts a:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

.footer__credits {
    font-size: 12px;
    color: var(--color-black);
    text-align: right;
}

.footer__credits span {
    font-weight: var(--font-weight-book);
}

.footer__credits a {
    position: relative;
    font-weight: var(--font-weight-medium);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__credits a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__credits a:hover,
.footer__credits a:focus {
    opacity: 0.7;
    outline: none;
}

.footer__credits a:hover::after,
.footer__credits a:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

.footer__credits a:focus-visible {
    outline: 2px solid var(--color-red);
    outline-offset: 2px;
}

/* ============================================
   Responsive Styles
   ============================================ */
@media (max-width: 1440px) {
    .hero__image,
    .hero__content,
    .block-text-img,
    .block-img-x2,
    .text-paragraph,
    .title-text__title,
    .cards-grid {
        width: 100%;
        max-width: 100%;
    }
    
    .block-text-img {
        padding-left: var(--space-m);
    }
    
    .hero__image {
        height: auto;
        aspect-ratio: 1360 / 637;
    }
    
    .citation__image {
        height: auto;
        aspect-ratio: 1128 / 525;
    }
}

@media (max-width: 1200px) {
    .block-text-img {
        flex-direction: column;
        gap: var(--space-l);
        padding: var(--space-xxl) var(--space-m);
    }
    
    .block-text-img__content,
    .block-text-img__image {
        width: 100%;
        max-width: 800px;
    }
    
    .block-text-img__image {
        height: auto;
        aspect-ratio: 664 / 498;
    }
    
    .block-img-x2 {
        flex-direction: column;
    }
    
    .block-img-x2--reversed {
        flex-direction: column-reverse;
    }
    
    .block-img-x2__content,
    .block-img-x2__image {
        width: 100%;
    }
    
    .block-img-x2__image {
        height: auto;
        aspect-ratio: 704 / 777;
    }
    
    .text-paragraph {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .text-paragraph__header,
    .text-paragraph__content {
        width: 100%;
    }
    
    .card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --text-xxl: 48px;
        --text-xl: 36px;
        --text-l: 28px;
        --text-m: 18px;
        --space-mega: 80px;
        --space-kilo: 60px;
        --space-xxl: 48px;
        --space-xl: 40px;
        --space-l: 32px;
        --space-m: 24px;
    }

    .header {
        flex-wrap: wrap;
        padding: 16px 20px;
    }

    .header__logo {
        position: static;
        transform: none;
        width: 100%;
        height: auto;
        order: -1;
        display: flex;
        justify-content: center;
        margin-bottom: 12px;
    }

    .header__logo a {
        width: auto;
    }

    .header__logo img {
        width: 160px;
    }

    .header__nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .header__link {
        font-size: 11px;
        display: block;
    }

    .header__lang-item {
        font-size: 11px;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero__content {
        width: calc(100% - 40px);
        margin: -20px 20px 0;
    }
    
    .citation__content {
        flex-direction: column;
        align-items: center;
        gap: var(--space-xs);
    }
    
    .citation__quote {
        display: none;
    }
    
    .citation__text {
        width: 100%;
        padding: 0 var(--space-m);
    }
    
    .citation__text::before {
        content: '"';
        color: var(--color-red);
    }
    
    .citation__text::after {
        content: '"';
        color: var(--color-red);
    }
    
    .gallery-adaptive__item {
        width: 280px;
    }
    
    .video-section {
        height: auto;
    }
    
    .video-section__player {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        height: auto;
        aspect-ratio: 664 / 333;
        margin: var(--space-l) 0;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: var(--space-s);
        text-align: center;
    }
    
    .footer__legal {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ============================================
   PRODUCT DETAIL PAGE STYLES
   ============================================ */

/* ============================================
   Product Hero Section
   ============================================ */
.product-hero {
    width: 100%;
    max-width: var(--max-width);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--space-mega) var(--space-m) var(--space-xxl);
    padding-top: calc(var(--space-mega) + 100px);
    gap: var(--space-xxl);
}

.product-hero__image {
    width: 664px;
    height: 886px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.product-hero__content {
    width: 432px;
    display: flex;
    flex-direction: column;
    gap: var(--space-l);
}

.product-hero__logo {
    width: 315px;
    height: 90px;
}

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

.product-hero__description {
    font-size: var(--text-m);
    font-weight: var(--font-weight-book);
    line-height: 1.6;
    color: var(--color-black);
}

/* ============================================
   Finiture Section
   ============================================ */
.finiture {
    width: 100%;
    background-color: var(--color-light-grey);
    padding: var(--space-mega) var(--space-m) var(--space-kilo);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    overflow: hidden;
}

.finiture__header {
    width: 100%;
    max-width: 1360px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: var(--space-xl);
}

.finiture__title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    text-transform: uppercase;
    line-height: 1.25;
}

.finiture__cta {
    font-size: 18px;
    font-weight: var(--font-weight-book);
    color: var(--color-red);
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--color-red);
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}

.finiture__cta:hover {
    opacity: 0.7;
}

.finiture__tabs {
    width: 100%;
    max-width: 1360px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.finiture__tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 40px 8px;
    border-radius: 40px;
    border: none;
    background-color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.finiture__tab--active {
    background-color: var(--color-red);
}

.finiture__tab-label {
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    color: var(--color-black);
}

.finiture__tab--active .finiture__tab-label {
    color: var(--color-white);
}

.finiture__tab-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    color: var(--color-black);
}

.finiture__tab--active .finiture__tab-count {
    color: var(--color-white);
}

.finiture__tab-count svg {
    width: 6px;
    height: 12px;
}

.finiture__gallery {
    width: 100%;
    padding-right: var(--space-m);
}

.finiture__gallery-scroll {
    display: flex;
    gap: var(--space-xs);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: var(--space-xs);
}

.finiture__gallery-scroll::-webkit-scrollbar {
    display: none;
}

.finiture__card {
    flex-shrink: 0;
    width: 201px;
    display: flex;
    flex-direction: column;
    gap: var(--space-xxs);
    cursor: pointer;
}

.finiture__card-image {
    width: 100%;
    height: 322px;
    overflow: hidden;
}

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

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

.finiture__card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.finiture__card-name {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
    line-height: 1.5;
}

.finiture__card-code {
    font-size: 12px;
    font-weight: var(--font-weight-book);
    color: var(--color-black);
}

.finiture__nav {
    display: flex;
    align-items: center;
    gap: var(--space-ss);
    background-color: var(--color-white);
    padding: var(--space-ss);
    border-radius: 8px;
}

.finiture__nav-btn {
    width: 16px;
    height: 16px;
    border: none;
    background: none;
    cursor: pointer;
    color: var(--color-black);
    transition: opacity 0.3s ease;
    padding: 0;
}

.finiture__nav-btn:disabled {
    opacity: 0.2;
    cursor: not-allowed;
}

.finiture__nav-btn svg {
    width: 100%;
    height: 100%;
}

.finiture__indicator {
    width: 100px;
    height: 4px;
    position: relative;
}

.finiture__indicator-track {
    position: absolute;
    top: 50%;
    left: 2px;
    right: 2px;
    height: 2px;
    background-color: var(--color-grey);
    transform: translateY(-50%);
}

.finiture__indicator-thumb {
    position: absolute;
    top: 50%;
    left: 2px;
    width: 35px;
    height: 2px;
    background-color: var(--color-red);
    transform: translateY(-50%);
    transition: left 0.3s ease;
}

/* ============================================
   Vantaggi Section
   ============================================ */
.vantaggi {
    width: 100%;
    max-width: var(--max-width);
    padding: var(--space-kilo) var(--space-m) var(--space-kilo);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vantaggi__title {
    font-size: var(--text-xl);
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.vantaggi__grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-n);
    justify-content: center;
}

.vantaggi__card {
    width: 316px;
    height: 320px;
    border: 1px solid var(--color-grey);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-m);
    padding: var(--space-m) var(--space-s);
}

.vantaggi__card-icon {
    width: 128px;
    height: 128px;
    background-color: var(--color-light-grey);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vantaggi__card-icon img {
    width: 51px;
    height: 51px;
    object-fit: contain;
}

.vantaggi__card-text {
    font-size: var(--text-xs);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
    text-align: center;
    line-height: 1.5;
}

/* ============================================
   Caratteristiche Section
   ============================================ */
.caratteristiche {
    width: 100%;
    background-color: var(--color-light-grey);
    padding: var(--space-kilo) var(--space-m);
    display: flex;
    justify-content: space-between;
    gap: var(--space-n);
}

.caratteristiche__header {
    width: 432px;
    flex-shrink: 0;
}

.caratteristiche__label {
    font-size: var(--text-m);
    font-weight: var(--font-weight-medium);
    color: var(--color-red);
    letter-spacing: 0.4px;
    line-height: 1.2;
}

.caratteristiche__content {
    width: 780px;
}

.caratteristiche__text {
    font-size: var(--text-m);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
    line-height: 1.6;
}

/* ============================================
   Specs Table Section
   ============================================ */
.specs-table {
    width: 100%;
    background-color: var(--color-light-grey);
    padding: var(--space-l) var(--space-m) var(--space-xl);
}

.specs-table__scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.specs-table__scroll::-webkit-scrollbar {
    height: 6px;
}

.specs-table__scroll::-webkit-scrollbar-track {
    background: var(--color-grey);
    border-radius: 3px;
}

.specs-table__scroll::-webkit-scrollbar-thumb {
    background: var(--color-dark-grey);
    border-radius: 3px;
}

.specs-table__scroll::-webkit-scrollbar-thumb:hover {
    background: var(--color-black);
}

.specs-table__content {
    display: flex;
    flex-direction: column;
    min-width: 800px;
}

.specs-table__header {
    display: flex;
    align-items: center;
    gap: var(--space-n);
    padding: var(--space-s) 0;
    border-bottom: none;
}

.specs-table__header-logo {
    width: 664px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.specs-table__header-logo img {
    width: 207px;
    height: 60px;
    object-fit: contain;
}

.specs-table__header-iso {
    width: 200px;
    font-size: var(--text-m);
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    letter-spacing: 0.4px;
}

.specs-table__header-results {
    flex: 1;
    font-size: var(--text-m);
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    letter-spacing: 0.4px;
}

.specs-table__row {
    display: flex;
    align-items: center;
    gap: var(--space-n);
    padding: var(--space-xs) 0;
    border-top: 1px solid var(--color-grey);
}

.specs-table__cell {
    font-size: var(--text-m);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
    line-height: 1.6;
}

.specs-table__cell--property {
    width: 664px;
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.specs-table__cell--iso {
    width: 200px;
}

.specs-table__cell--result {
    flex: 1;
}

.specs-table__icon {
    width: 52px;
    height: 52px;
    background-color: var(--color-white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.specs-table__icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ============================================
   Info Blocks Section (Certifications & Warranty)
   ============================================ */
.info-blocks {
    width: 100%;
    max-width: var(--max-width);
    padding: var(--space-kilo) var(--space-m);
    display: flex;
    flex-direction: column;
    gap: var(--space-m);
}

.info-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 50px 116px;
    border-bottom: 1px solid var(--color-grey);
    gap: var(--space-xxl);
}

.info-block__image {
    width: 432px;
    height: 312px;
    background-color: var(--color-light-grey);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-block__image img {
    max-width: 248px;
    max-height: 248px;
    object-fit: contain;
}

.info-block__content {
    width: 662px;
    display: flex;
    flex-direction: column;
    gap: var(--space-s);
}

.info-block__title {
    font-size: 32px;
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    line-height: 1.4;
}

.info-block__text {
    font-size: var(--text-s);
    font-weight: var(--font-weight-book);
    color: var(--color-black);
    line-height: 1.6;
}

.info-block__cta {
    font-size: 18px;
    font-weight: var(--font-weight-book);
    color: var(--color-red);
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--color-red);
    padding-bottom: 4px;
    width: fit-content;
    transition: opacity 0.3s ease;
}

.info-block__cta:hover {
    opacity: 0.7;
}

/* ============================================
   Product Detail Page Responsive Styles
   ============================================ */
@media (max-width: 1200px) {
    .product-hero {
        flex-direction: column;
        gap: var(--space-l);
    }
    
    .product-hero__image,
    .product-hero__content {
        width: 100%;
    }
    
    .product-hero__image {
        height: auto;
        aspect-ratio: 664 / 886;
    }
    
    .caratteristiche {
        flex-direction: column;
        gap: var(--space-l);
    }
    
    .caratteristiche__header,
    .caratteristiche__content {
        width: 100%;
    }
    
    /* Specs table - horizontal scroll on mobile */
    .specs-table {
        padding: var(--space-m);
    }

    .specs-table__content {
        min-width: 700px;
    }

    .specs-table__header-logo {
        width: 320px;
    }

    .specs-table__cell--property {
        width: 320px;
        min-width: 320px;
    }

    .specs-table__cell--iso {
        width: 120px;
        min-width: 120px;
    }

    .specs-table__cell--result {
        flex: 1;
        min-width: 200px;
    }
    
    .info-block {
        flex-direction: column;
        padding: var(--space-l) var(--space-m);
    }
    
    .info-block__image,
    .info-block__content {
        width: 100%;
    }
    
    .info-block__image {
        height: auto;
        aspect-ratio: 432 / 312;
    }
}

@media (max-width: 768px) {
    .finiture__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-s);
    }
    
    .vantaggi__card {
        width: 100%;
        height: auto;
    }
    
    .finiture__tab {
        padding: 8px 20px 6px;
    }
}
