/* ==========================================================================
   VENTURI STUFE - HOME PAGE SPECIFIC STYLES (home.css)
   Hero Fullscreen, Filosofia, Prodotti Home, Outlet
   ========================================================================== */

/* ==========================================================================
   1. HERO A SCHERMO INTERO - FOTO PROTAGONISTA PULITA SENZA SCRITTE
   Fotografia protagonista 100% libera da testi, responsive su tutti gli schermi
   ========================================================================== */
.hero-fullscreen-section {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: hidden;
  background-color: #1f1b18;
}

.hero-fullscreen-media {
  position: relative;
  width: 100%;
  height: auto;
  display: block;
}

.hero-fullscreen-media picture {
  display: block;
  width: 100%;
  height: auto;
}

.hero-fullscreen-img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 992px) {
  .hero-fullscreen-section {
    height: auto;
    min-height: 0;
  }
}

@media (max-width: 768px) {
  .hero-fullscreen-section {
    height: auto;
    min-height: 0;
  }
}

/* ==========================================================================
   2. SEZIONE L' AZIENDA (FUSIONE MODERNA DELLE FORME SOVRAPPOSTE)
   Due tessere curve in armonia: una tortora pastello e una bianca luminosa
   ========================================================================== */
.azienda-section {
  padding: 60px 0 80px;
}

.overlapping-modern-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  position: relative;
  background-color: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
}

/* Nastro orizzontale continuo dietro la descrizione: altezza snella originale, sborda a destra di circa 1cm (~36px) con angoli morbidi */
.overlapping-modern-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: -36px; /* sborda a destra di 36px oltre la fine della card marmo */
  height: 380px; /* altezza rettangolare snella originale, non aumenta l'altezza verticale */
  background-color: var(--bg-tortora-soft);
  border-radius: var(--radius-xxl); /* chiusura con angoli morbidi sia a sinistra che a destra */
  box-shadow: var(--shadow-gentle);
  border: 1px solid rgba(175, 164, 155, 0.28);
  z-index: 1;
  pointer-events: none;
}

.modern-title-card {
  background-color: transparent;
  padding: 60px 48px;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.modern-title-card .section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary-tortora);
  margin-bottom: 12px;
}

.modern-title-card h2 {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 6px;
}

.modern-title-card .section-subkicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary-tortora);
  margin-bottom: 22px;
}

.modern-title-card .pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-tortora);
  box-shadow: var(--shadow-subtle);
}

.modern-content-card {
  background-color: #ffffff;
  border-radius: var(--radius-xxl);
  padding: 54px 50px;
  box-shadow: var(--shadow-floating);
  margin-left: -60px;
  position: relative;
  z-index: 3;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}

/* Texture Vena Ceramica Minerale Naturale (Soffice filigrana smaltata sotto testo) */
.modern-content-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/ceramic-vein-tile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.20;
  filter: contrast(0.88);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease;
}

.modern-content-card:hover::before {
  opacity: 0.25;
}

.modern-content-card > * {
  position: relative;
  z-index: 1;
}

.modern-content-card p,
.azienda-desktop-text p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.78;
  font-weight: 400;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.modern-content-card p strong,
.azienda-desktop-text p strong {
  color: var(--text-main);
  font-weight: 600;
}

/* Gestione Responsive Testo & Pulsante L'Azienda */
.azienda-mobile-action {
  display: none;
}

.azienda-desktop-text {
  display: block;
}

.btn-azienda-scopri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--bg-porcelain);
  color: var(--terracotta);
  border: 1.5px solid var(--border-soft);
  padding: 13px 24px;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.btn-azienda-scopri:hover,
.btn-azienda-scopri:active {
  background: var(--terracotta);
  color: #ffffff;
  border-color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.btn-azienda-scopri i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.btn-azienda-scopri:hover i,
.btn-azienda-scopri:active i {
  transform: translateX(4px);
}

.modern-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border-soft);
}

.feature-pill-box {
  background: var(--bg-porcelain);
  padding: 16px 18px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-pill-box i {
  font-size: 1.45rem;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 1. Pregiate Maioliche: Azzurrino Grigio / Carta da Zucchero Polveroso */
.feature-pill-box i.icon-maiolica,
.feature-pill-box:nth-child(1) i {
  color: #6E8898 !important;
}

/* 2. Resa Termica Max: Rosso Fuoco Storico Venturi */
.feature-pill-box i.icon-resa,
.feature-pill-box:nth-child(2) i {
  color: var(--venturi-red) !important;
}

/* 3. Zero Emissioni: Verde Foglia Ecologico */
.feature-pill-box i.icon-emissioni,
.feature-pill-box:nth-child(3) i {
  color: #2E7D32 !important;
}

.feature-pill-box .text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.feature-pill-box .text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   2b. LA NOSTRA FILOSOFIA (I QUATTRO PILASTRI DEL BENESSERE)
   Adattamento dallo stile del prototipo con colori pastello, tortora e rosso Venturi
   ========================================================================== */
.filosofia-section {
  padding: 40px 0 70px;
}

.filosofia-card-wrap {
  background-color: var(--bg-tortora-soft);
  border-radius: var(--radius-xxl);
  padding: 44px 48px 48px;
  box-shadow: var(--shadow-gentle);
  border: 1px solid var(--border-soft);
}

.filosofia-header {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 24px;
}

.filosofia-header .section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--primary-tortora);
  margin-bottom: 6px;
}

.filosofia-header .section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.16;
}

.filosofia-header .title-main {
  display: block;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--text-main);
  margin-bottom: 2px;
}

.filosofia-header .title-sub {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  color: var(--venturi-red);
}

.text-accent {
  color: var(--venturi-red);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.pillar-item {
  background-color: #ffffff;
  border: 1px solid var(--border-soft);
  padding: 36px 30px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-subtle);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Texture Vena Ceramica sulla piastrella */
.pillar-item::before {
  content: '';
  position: absolute;
  inset: -10px;
  background-image: url('images/ceramic-vein-tile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.18;
  filter: contrast(0.88);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

/* 3 Orientamenti diversi della vena ceramica per il trittico di tessere */
.pillar-item:nth-child(1)::before {
  transform: rotate(0deg) scale(1);
}

.pillar-item:nth-child(2)::before {
  transform: rotate(180deg) scale(1.08);
}

.pillar-item:nth-child(3)::before {
  transform: scaleX(-1) rotate(22deg) scale(1.06);
}

.pillar-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gentle);
  border-color: rgba(186, 12, 18, 0.25);
}

.pillar-item:hover::before {
  opacity: 0.26;
}

.pillar-item > * {
  position: relative;
  z-index: 1;
}

/* Header della tessera con Icona colorata */
.pillar-header-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.pillar-icon-badge {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  transition: transform 0.3s ease;
}

.pillar-item:hover .pillar-icon-badge {
  transform: scale(1.1);
}

/* Colori dedicati per le 4 icone */
.pillar-icon-badge.icon-risparmio {
  background: rgba(184, 93, 25, 0.12);
  color: #B85D19;
}

.pillar-icon-badge.icon-bosco {
  background: rgba(45, 106, 79, 0.12);
  color: #2D6A4F;
}

.pillar-icon-badge.icon-ambiente {
  background: rgba(46, 125, 50, 0.12);
  color: #2E7D32;
}

.pillar-num-tag {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: rgba(60, 50, 40, 0.25);
  letter-spacing: 0.05em;
}

.pillar-item h3 {
  font-family: var(--font-sans);
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.pillar-item p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.68;
  margin: 0;
}

.filosofia-quote-box {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
}

.filosofia-quote-box blockquote {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-main);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ==========================================================================
   3. SEZIONE I NOSTRI PRODOTTI (Linee morbide + 4 schede prodotto lussuose)
   ========================================================================== */
.prodotti-section {
  padding: 80px 0;
}

.section-header-modern {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.section-header-modern .section-kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--venturi-red);
  margin-bottom: 10px;
  display: inline-block;
}

.section-header-modern h2 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
}

.section-header-modern p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.prodotti-modern-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.prodotto-card-modern {
  background: #ffffff;
  border-radius: var(--radius-xxl);
  overflow: hidden;
  box-shadow: var(--shadow-gentle);
  border: 1px solid var(--border-soft);
  transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.prodotto-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-image-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--bg-tortora-soft);
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.card-image-box img.img-pos-pellet-10 {
  object-position: 72% 55%;
  transform: scale(1.38);
  transform-origin: 72% 55%;
}

.card-image-box img.img-pos-realizzazioni {
  object-position: center 72%;
}

.prodotto-card-modern:hover .card-image-box img {
  transform: scale(1.05);
}

.prodotto-card-modern:hover .card-image-box img.img-pos-pellet-10 {
  transform: scale(1.45);
}

.card-badge-pill {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-tortora);
  box-shadow: var(--shadow-subtle);
}

.card-details-box {
  padding: 30px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
  border-top: 1px solid var(--border-soft);
}

/* Texture Vena Ceramica / Marmo Naturale sotto i testi della card */
.card-details-box::before {
  content: '';
  position: absolute;
  inset: -8px;
  background-image: url('images/ceramic-vein-tile.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.20;
  filter: contrast(0.88);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.35s ease, transform 0.4s ease;
}

.prodotto-card-modern:nth-child(even) .card-details-box::before {
  transform: scaleX(-1) rotate(180deg);
}

.prodotto-card-modern:hover .card-details-box::before {
  opacity: 0.28;
}

.card-details-box > * {
  position: relative;
  z-index: 1;
}

.card-text-content {
  flex: 1;
  padding-right: 18px;
}

.card-specs-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.card-spec-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-tortora);
  background: var(--bg-tortora-soft);
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.card-spec-tag i,
.card-spec-tag .icon {
  color: var(--venturi-red);
  font-size: 0.72rem;
  width: 0.9em;
  height: 0.9em;
}

.card-spec-tag.tag-area {
  color: #276727;
  background: #edf7ed;
  border: 1px solid rgba(46, 125, 50, 0.18);
}

.card-spec-tag.tag-area i,
.card-spec-tag.tag-area .icon {
  color: #2e7d32;
}


.card-details-box h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  line-height: 1.25;
}

.card-details-box .subtext {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-circle-action {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-tortora-soft);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.prodotto-card-modern:hover .btn-circle-action {
  background: var(--venturi-red);
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   3b. IL SAPERE MANUALE (DALLA TERRA ALLA FIAMMA: IL VIAGGIO DELLA MAIOLICA)
   Adattamento dallo stile del prototipo con foto artigiano e passaggi chiari
   ========================================================================== */
.processo-section {
  padding: 70px 0 80px;
}

.processo-card {
  background-color: #ffffff;
  border-radius: var(--radius-xxl);
  padding: 60px 56px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-gentle);
  border: 1px solid var(--border-soft);
}

.processo-text .section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--venturi-red);
  margin-bottom: 10px;
}

.processo-text .section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.3rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--text-main);
  margin-bottom: 20px;
}

.processo-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.step-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.step-num {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--primary-tortora);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.step-item:hover .step-num {
  background-color: var(--venturi-red);
  transform: scale(1.08);
}

.step-content strong {
  font-size: 1.05rem;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.processo-media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-floating);
  height: 520px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(145deg, #FAF7F2 0%, #EAE2D7 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.processo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.processo-media:hover img {
  transform: scale(1.04);
}

.media-quote {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-style: italic;
  color: var(--text-main);
  box-shadow: var(--shadow-gentle);
  border: 1px solid var(--border-soft);
  line-height: 1.5;
}

/* ==========================================================================
   4. SEZIONE GALLERIA FOTOGRAFICA (Collage 32 Foto - 3 per riga Desktop)
   ========================================================================== */
.galleria-section {
  padding: 70px 0 95px;
  background-color: var(--bg-porcelain, #FBF9F5);
  position: relative;
}

.galleria-header-clean {
  text-align: center;
  margin-bottom: 48px;
}

.galleria-header-clean h2 {
  font-family: var(--font-serif, 'Playfair Display', Georgia, serif);
  font-size: clamp(2.3rem, 4.5vw, 3.2rem);
  font-weight: 600;
  color: var(--text-main, #272320);
  margin: 0;
  letter-spacing: -0.01em;
}

.galleria-header-clean p {
  font-size: 1.05rem;
  color: var(--text-muted, #6B6259);
  margin: 12px auto 0;
  text-align: center;
}

.galleria-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: center;
}

.galleria-mosaic-item {
  position: relative;
  width: 100%;
  border-radius: var(--radius-xl, 20px);
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(35, 25, 18, 0.07);
  border: 1px solid var(--border-soft, rgba(138, 123, 106, 0.16));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.galleria-mosaic-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(35, 25, 18, 0.13);
}

.galleria-mosaic-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: inherit;
  object-fit: contain;
}

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

@media (max-width: 768px) {
  .galleria-section {
    padding: 50px 0 70px;
  }
  .galleria-header-clean {
    margin-bottom: 30px;
  }
  .galleria-header-clean h2 {
    font-size: 2.1rem;
  }
  .galleria-mosaic-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .galleria-mosaic-item {
    border-radius: var(--radius-lg, 16px);
  }
}

/* ==========================================================================
   5. SEZIONE ALCUNI ESEMPI ESCLUSIVI (Galleria Fluida Ceramica)
   ========================================================================== */
.esempi-section {
  padding: 80px 0;
}

.esempi-card-container {
  background: var(--bg-tortora-soft);
  border-radius: var(--radius-xxl);
  padding: 56px 48px;
  box-shadow: var(--shadow-gentle);
}

.esempi-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.esempi-header-row h2 {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.esempi-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: all 0.25s ease;
}

.gallery-dot.active {
  width: 24px;
  border-radius: var(--radius-pill);
  background: var(--venturi-red);
}

.esempi-gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.esempi-gallery-track::-webkit-scrollbar {
  display: none;
}

.esempi-item-card {
  flex: 0 0 280px;
  height: 360px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  background: #ffffff;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.esempi-item-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.esempi-item-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.esempi-item-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ==========================================================================
   6. SEZIONE NUOVO OUTLET DI ROSÀ
   ========================================================================== */
.outlet-section {
  padding: 60px 0 80px;
}

/* ==========================================================================
   7. SEZIONE VESCOVI & VENTURI (Banner Moderno Morbido)
   ========================================================================== */
.partner-section {
  padding: 60px 0;
}

.partner-modern-card {
  background: linear-gradient(135deg, #FAF7F2 0%, #EFE8DE 100%);
  border-radius: var(--radius-xxl);
  padding: 50px 56px;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-gentle);
  display: flex;
  align-items: center;
  gap: 48px;
}

/* Card Logo cliccabile intuitiva */
.partner-logo-card {
  flex: 0 0 280px;
  background: #111111;
  border-radius: var(--radius-xl);
  padding: 24px 22px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-decoration: none;
  border: 1px solid rgba(212, 175, 55, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.partner-logo-card .logo-box {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vescovi-logo {
  width: 100%;
  max-width: 220px;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.partner-logo-card .logo-visit-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #D4AF37;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
}

.partner-logo-card:hover {
  background: #000000;
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35), 0 0 22px rgba(212, 175, 55, 0.22);
}

.partner-logo-card:hover .vescovi-logo {
  transform: scale(1.04);
}

.partner-logo-card:hover .logo-visit-hint {
  background: #D4AF37;
  color: #111111;
  border-color: #D4AF37;
}

.partner-text-wrap {
  flex: 1;
}

.partner-text-wrap .kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--venturi-red);
  margin-bottom: 6px;
  display: block;
}

.partner-text-wrap h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.25;
}

.partner-text-wrap p {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* Riga azioni: pulsante visita + badge telefono */
.partner-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-partner-visit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #121212;
  color: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.btn-partner-visit i {
  color: #D4AF37;
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.btn-partner-visit:hover {
  background: var(--venturi-red);
  border-color: var(--venturi-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 51, 42, 0.28);
}

.btn-partner-visit:hover i {
  color: #ffffff;
  transform: translate(2px, -2px);
}

.partner-phone-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-subtle);
  border: 1px solid var(--border-soft);
}

.partner-phone-badge a {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 700;
}

.partner-phone-badge a:hover {
  color: var(--venturi-red);
}

.partner-phone-badge i {
  color: var(--venturi-red);
}

/* ==========================================================================
   RESPONSIVE HOME (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1200px) {
  .overlapping-slider-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .slider-modern-box {
    margin-left: 0;
  }
}
@media (max-width: 992px) {
  .hero-cinematic-section {
    min-height: 75vh;
  }

  .hero-cinematic-container {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .hero-cinematic-features {
    max-width: 100%;
    padding: 16px 24px;
    gap: 16px;
  }

  .overlapping-modern-wrap::after {
    display: none;
  }

  .overlapping-modern-wrap {
    grid-template-columns: 1fr;
    background-color: var(--bg-tortora-soft);
    border: 1px solid rgba(175, 164, 155, 0.28);
    box-shadow: var(--shadow-gentle);
    padding: 36px 14px 22px 14px; /* bordo tortora visibile ai lati di 14px e sotto di 22px */
    border-radius: var(--radius-2xl);
  }

  .modern-title-card {
    padding: 0 10px 0 10px;
    text-align: center;
  }

  .modern-title-card .pill-tag {
    margin: 0 auto;
  }

  .modern-content-card {
    margin-left: 0;
    margin-top: 26px; /* respiro verticale sotto "100% interna" */
    padding: 32px 24px;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  }
  .prodotti-modern-grid {
    grid-template-columns: 1fr;
  }

  .modern-features-row {
    grid-template-columns: 1fr;
  }

  .partner-modern-card {
    flex-direction: column;
    padding: 36px;
  }

  .partner-logo-card {
    width: 100%;
    max-width: 320px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .processo-card {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .processo-media {
    height: 380px;
  }
}


@media (max-width: 640px) {
  .hero-cinematic-section {
    min-height: 85vh;
    margin-bottom: 24px;
  }

  .hero-cinematic-container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-cinematic-title {
    font-size: 2.15rem;
    line-height: 1.18;
    margin-bottom: 18px;
  }

  .hero-cinematic-lead {
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 28px;
  }

  .hero-cinematic-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 34px;
  }

  .hero-btn-cinematic-primary,
  .hero-btn-cinematic-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-cinematic-features {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius-lg);
  }

  .cinematic-feature-item {
    width: 100%;
  }

  .hero-cinematic-features .feature-sep {
    width: 100%;
    height: 1px;
  }

  .overlapping-modern-wrap {
    padding: 28px 10px 18px 10px; /* cornice visibile ai lati 10px e sotto 18px (~mezzo centimetro) */
    border-radius: var(--radius-xl);
  }

  .modern-title-card {
    padding: 0 4px 0 4px;
  }

  .modern-title-card h2 {
    font-size: 2.1rem;
  }

  .modern-content-card {
    margin-top: 22px; /* respiro equilibrato rispetto a 100% interna */
    padding: 24px 16px;
    border-radius: calc(var(--radius-xl) - 4px);
  }

  .filosofia-header .section-title,
  .processo-text .section-title {
    font-size: 2.2rem;
  }

  .filosofia-card-wrap,
  .processo-card {
    padding: 32px 22px;
    border-radius: var(--radius-xl);
  }

  .pillar-item {
    padding: 22px 20px;
  }

  .processo-media {
    height: 300px;
  }

  .media-quote {
    font-size: 0.92rem;
    padding: 14px 16px;
    bottom: 14px;
    left: 14px;
    right: 14px;
  }
}

@media (max-width: 768px) {
  .azienda-desktop-text {
    display: none;
  }

  .azienda-mobile-action {
    display: block;
    margin: 18px 0 24px 0;
  }

  .btn-azienda-scopri {
    width: 100%;
    text-align: center;
  }

  /* Ottimizzazione compatta Card Prodotti da Mobile / Smartphone */
  .card-badge-pill {
    top: 8px;
    right: 10px;
    left: auto;
    padding: 3px 10px;
    font-size: 0.70rem;
    letter-spacing: 0.05em;
  }

  .card-details-box {
    padding: 14px 16px;
    gap: 10px;
  }

  .card-text-content {
    padding-right: 0;
  }

  .card-specs-row {
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 5px;
  }

  .card-spec-tag {
    font-size: 0.70rem;
    padding: 3px 8px;
    white-space: nowrap;
    gap: 5px;
  }

  .card-spec-tag i {
    font-size: 0.68rem;
  }

  .card-details-box h3 {
    font-size: 1.15rem;
    margin-bottom: 2px;
    line-height: 1.25;
  }

  .card-details-box .subtext {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .btn-circle-action {
    width: 38px;
    height: 38px;
    font-size: 0.95rem;
  }

  /* Sezione Ultime Installazioni su Smartphone: 1 sola card per schermata */
  .installazioni-section {
    padding: 52px 0 60px;
  }

  .installazioni-header-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 22px;
  }

  .installazioni-controls-box {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }

  .swipe-hint-pill {
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .installazioni-nav-btns,
  .carousel-arrow {
    display: none !important;
  }

  .installazioni-track {
    gap: 16px;
    padding: 4px 2px 10px 2px;
  }

  .installazione-card {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    scroll-snap-align: center;
    border-radius: var(--radius-lg, 14px);
  }

  .installazione-image-box {
    aspect-ratio: 1200 / 1629;
  }

  .installazione-details-box {
    padding: 16px 18px;
  }

  .installazione-title {
    font-size: 1.15rem;
  }

  .installazioni-progress-wrap {
    margin-top: 18px;
  }

  .installazioni-progress-track {
    max-width: 220px;
    height: 4px;
  }
}

/* ==========================================================================
   GALLERIA LIGHTBOX A SCHERMO INTERO (Popup HD con Navigazione)
   ========================================================================== */
.galleria-mosaic-item {
  cursor: pointer;
}



.galleria-mosaic-item {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  outline: none !important;
}

.galleria-mosaic-item:focus,
.galleria-mosaic-item:focus-visible {
  outline: none !important;
  border-color: var(--border-soft, rgba(138, 123, 106, 0.16)) !important;
}

.galleria-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

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

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(18, 14, 12, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-container {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 72px;
  box-sizing: border-box;
}

.lightbox-figure-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.16);
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.lightbox-counter {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.90);
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  font-size: 0.90rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.45);
  padding: 4px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lightbox-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lightbox-btn:hover {
  background-color: var(--venturi-red, #BA0C12);
  border-color: var(--venturi-red, #BA0C12);
  transform: scale(1.08);
}

.lightbox-close {
  top: 24px;
  right: 24px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.08);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.08);
}

@media (max-width: 768px) {
  .lightbox-container {
    padding: 20px 14px;
  }
  .lightbox-btn {
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
  }
  .lightbox-close {
    top: 14px;
    right: 14px;
  }
  .lightbox-prev {
    left: 8px;
  }
  .lightbox-next {
    right: 8px;
  }
  .lightbox-img {
    max-width: 95vw;
    max-height: 78vh;
    border-radius: 10px;
  }
}
