/* 
   Maestro Paolo Corpetti - Studio Vetrarte
   Stile Specifico B2C (vetrateartistiche.com - Light Mode Luxury & Editorial)
   Progettato su misura in stile Elicyon
*/

/* Reset di Margini ed Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  padding: 10px 3.5%;
  gap: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-lux);
  background: rgba(250, 248, 245, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

header.scrolled {
  padding: 8px 3.5%;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197, 168, 128, 0.20);
  box-shadow: 0 4px 30px rgba(17, 17, 16, 0.04);
}

header.scrolled .logo-text,
header.scrolled .nav-links a {
  color: var(--dark);
}

header.scrolled .nav-cta {
  border-color: var(--gold);
  color: var(--white);
  background: var(--gold);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: .22em;
  flex-shrink: 0;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  transition: var(--transition-lux);
  font-weight: 500;
}

.logo-text::after {
  content: "WWW.VETRATEARTISTICHE.COM";
  font-family: var(--sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  white-space: nowrap;
  color: var(--gold, #907533);
  margin-top: 3px;
  text-transform: uppercase;
}

.logo-text:hover {
  color: var(--gold);
}

/* Compatibilita pagine interne con <a class="logo"><span class="logo-name">... */
header a.logo,
.navbar a.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-decoration: none !important;
  color: var(--dark) !important;
  flex-shrink: 0;
  white-space: nowrap;
}

header a.logo .logo-name,
.navbar a.logo .logo-name {
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--dark);
  transition: var(--transition-lux);
}

header a.logo .logo-title,
.navbar a.logo .logo-title {
  font-family: var(--sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.5rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold, #907533);
  margin-top: 2px;
}

header a.logo:hover .logo-name,
.navbar a.logo:hover .logo-name {
  color: var(--gold);
}

header:not(.scrolled) .logo-text,
header:not(.scrolled) .nav-links a {
  color: var(--dark);
}

header:not(.scrolled) .nav-cta {
  border-color: var(--dark);
  color: var(--dark);
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-qualifica {
  font-family: var(--sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.62rem;
  line-height: 1.25;
  letter-spacing: 0.06em;
  color: var(--gold, #907533);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 1240px) {
  .nav-qualifica { display: none; }
}

.nav-links a {
  font-size: .7rem;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: var(--transition-lux);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

/* Dropdown Menu Navigation */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: rgba(250, 248, 245, 0.98);
  border: 1px solid rgba(144, 117, 51, 0.15);
  box-shadow: 0 15px 35px rgba(17, 17, 16, 0.08);
  padding: 12px 0;
  list-style: none;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 999;
}

.dropdown-menu li {
  margin: 0 !important;
  padding: 0;
  width: 100%;
  text-align: left;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: var(--dark) !important;
  font-size: 0.62rem !important;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  white-space: nowrap;
  border-bottom: none !important;
}

.dropdown-menu li a:hover {
  background: rgba(144, 117, 51, 0.08);
  color: var(--gold) !important;
  padding-left: 24px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-cta {
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--dark);
  padding: 10px 24px;
  transition: all .3s;
  font-family: var(--sans);
}

.nav-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

/* ==========================================================================
   Hero Section B2C (Stile Elicyon: Asimmetria e Scaffolding)
   ========================================================================== */
.hero-b2c {
  min-height: 100vh;
  height: auto;
  background: #FAF8F5;
  position: relative;
  display: flex;
  align-items: center;
  padding: 135px 6% 70px 6%;
  box-sizing: border-box;
}

.hero-grid-b2c {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  width: 100%;
  align-items: flex-start;
  position: relative;
  z-index: 10;
  margin: auto 0;
}

.hero-text-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 540px;
}

.hero-tag-b2c {
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-title-b2c {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.hero-title-b2c em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-dark);
  text-transform: none;
}

.hero-line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-desc-b2c {
  font-size: 1.02rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 1.6rem;
  font-family: var(--sans);
}

.hero-actions-b2c {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-trust-list-b2c {
  display: flex;
  gap: 1.5rem;
  border-top: 1px solid var(--border-lux);
  padding-top: 1.25rem;
  margin-top: 1.6rem;
  flex-wrap: wrap;
}

.hero-trust-item-b2c {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--mid);
  font-weight: 500;
}

.hero-trust-item-b2c span.icon {
  color: var(--gold);
  font-size: 0.85rem;
}

.btn-gold-b2c {
  display: inline-block;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  text-decoration: none;
  padding: 15px 38px;
  transition: var(--transition-lux);
  font-family: var(--sans);
  border: none;
  box-shadow: 0 4px 15px rgba(197, 168, 128, 0.15);
}

.btn-gold-b2c:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(18, 18, 17, 0.2);
}

.btn-text-b2c {
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  font-family: var(--sans);
  transition: var(--transition-lux);
  position: relative;
  padding-bottom: 4px;
}

.btn-text-b2c::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-text-b2c:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.btn-text-b2c:hover::after {
  width: 100%;
}

/* Immagine Hero con Cornice d'Oro sul Retro */
.hero-img-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-frame-b2c {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin-top: 40px;
}

.hero-border-back {
  position: absolute;
  border: 1px solid var(--gold-lt);
  top: 24px;
  left: 24px;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-img-wrap-b2c {
  position: relative;
  width: 100%;
  height: 68vh;
  min-height: 480px;
  max-height: 580px;
  overflow: hidden;
  z-index: 2;
  background: var(--cream);
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(44, 38, 33, 0.10);
  border: 1px solid rgba(182, 142, 72, 0.2);
}

.hero-img-b2c {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.hero-img-badge-b2c {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(182, 142, 72, 0.2);
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
}

.hero-img-badge-b2c strong {
  display: block;
  font-size: 0.82rem;
  color: var(--dark);
  font-family: var(--serif);
}

.hero-img-badge-b2c span {
  display: block;
  font-size: 0.72rem;
  color: var(--mid);
}

.scroll-hint-b2c {
  position: absolute;
  bottom: 38px;
  left: 6%;
  z-index: 10;
  font-size: .6rem;
  color: var(--mid);
  letter-spacing: .22em;
  text-transform: uppercase;
  font-family: var(--sans);
  display: flex;
  align-items: center;
  gap: 12px;
}

.scroll-bar-b2c {
  width: 40px;
  height: 1px;
  background: rgba(0, 0, 0, .1);
  position: relative;
  overflow: hidden;
}

.scroll-bar-b2c::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background: var(--gold);
  animation: sb 1.9s ease infinite;
}

/* ==========================================================================
   Statement d'Autore
   ========================================================================== */
.stmt-section-b2c {
  padding: 130px 6%;
  background: var(--white);
  border-top: 1px solid rgba(144, 117, 51, .15);
}

.stmt-layout-b2c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.stmt-left .s-tag {
  color: var(--gold);
  font-size: .65rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  font-family: var(--sans);
  display: block;
  margin-bottom: 1.5rem;
}

.stmt-left .s-h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.6vw, 3rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--dark);
}

.stmt-left .s-h2 em {
  font-family: var(--cormorant);
  font-style: italic;
  color: var(--gold);
}

.stmt-right .s-lead {
  font-size: .95rem;
  color: var(--mid);
  line-height: 1.85;
  max-width: none;
  margin-top: 0;
  font-family: var(--sans);
}

.stmt-line {
  width: 50px;
  height: 1px;
  background: rgba(144, 117, 51, .3);
  margin: 2rem 0;
}

.stmt-subtext-b2c {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--mid);
  font-family: var(--sans);
}

/* ==========================================================================
   L'Atelier (Offset Asimmetrico)
   ========================================================================== */
.atelier-section-b2c {
  padding: 120px 6%;
  background: #FAF8F5;
  border-top: 1px solid rgba(144, 117, 51, .12);
}

.atelier-grid-b2c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.atelier-img-col {
  position: relative;
}

.atelier-frame-b2c {
  position: relative;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
}

.atelier-border-back {
  position: absolute;
  border: 1px solid var(--gold-lt);
  top: 24px;
  left: -24px;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.atelier-img-wrap-b2c {
  position: relative;
  width: 100%;
  height: 52vh;
  min-height: 380px;
  overflow: hidden;
  z-index: 2;
  background: var(--cream);
  cursor: zoom-in;
}

.atelier-img-b2c {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-caption-b2c {
  display: block;
  margin-top: 20px;
  font-size: .7rem;
  color: var(--mid);
  font-style: italic;
  font-family: var(--sans);
}

.atelier-text-col {
  max-width: 520px;
}

.section-num-b2c {
  font-size: .62rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  margin-bottom: 1.5rem;
  display: block;
}

.section-title-b2c {
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 2rem;
}

.section-title-b2c em {
  font-family: var(--cormorant);
  font-style: italic;
  color: var(--gold);
}

.atelier-p-b2c {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-family: var(--sans);
}

.atelier-badge-container {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid rgba(144, 117, 51, .2);
  padding-top: 2rem;
  transition: opacity 0.3s ease;
}

.atelier-badge-container:hover {
  opacity: 0.92;
}

.atelier-badge-img {
  height: 54px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  border-radius: 4px;
  background: #ffffff;
  padding: 4px 10px;
  border: 1px solid rgba(144, 117, 51, .2);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.atelier-badge-container:hover .atelier-badge-img {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(182, 142, 72, 0.2);
}

.atelier-badge-text {
  display: flex;
  flex-direction: column;
}

.atelier-badge-text strong {
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--dark);
  font-family: var(--sans);
  font-weight: 700;
}

.atelier-badge-text span {
  font-size: .68rem;
  color: var(--mid);
  font-family: var(--sans);
  margin-top: 4px;
}

/* ==========================================================================
   Galleria Asimmetrica (Elicyon Layout Grid)
   ========================================================================== */
.gallery-section-b2c {
  padding: 130px 6%;
  background: var(--white);
}

.gallery-header-row-b2c {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.gallery-header-row-b2c .gallery-header-b2c {
  margin-bottom: 0;
  max-width: 100%;
}

.gallery-header-visual-b2c {
  position: relative;
  display: block;
  text-decoration: none;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(144, 117, 51, 0.22);
  box-shadow: 0 20px 50px rgba(17, 17, 16, 0.14);
  background: #141210;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s ease;
}

.gallery-header-visual-b2c:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(17, 17, 16, 0.2);
}

.gallery-header-visual-b2c img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.gallery-header-visual-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 1.4rem 1.15rem;
  background: linear-gradient(to top, rgba(14, 12, 10, 0.88) 0%, rgba(14, 12, 10, 0.45) 55%, transparent 100%);
  pointer-events: none;
}

.gallery-header-visual-caption span {
  display: block;
  font-family: var(--sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #e5c47a;
  margin-bottom: 4px;
}

.gallery-header-visual-caption p {
  margin: 0;
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: #faf8f5;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .gallery-header-row-b2c {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3.5rem;
  }
}

.gallery-header-b2c {
  margin-bottom: 5rem;
  max-width: 600px;
}

.gallery-line-b2c {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin-top: 2rem;
}

/* Sotto-navigazione Categorie Gallerie */
.gallery-categories-b2c {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 15px 32px;
  margin-top: 3rem;
  margin-bottom: 4rem;
  width: 100%;
}

.category-link-b2c {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 4px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-link-b2c:hover,
.category-link-b2c.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.gallery-grid-b2c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 5rem;
  position: relative;
}

.gallery-item-b2c {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 480px;
  max-height: 640px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(17, 17, 16, 0.12);
}

.gallery-frame-b2c {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.gallery-frame-b2c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.2s cubic-bezier(.16, 1, .3, 1);
  display: block;
}

.gallery-item-b2c:hover .gallery-frame-b2c img {
  transform: scale(1.06);
}

.gallery-overlay-b2c {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 17, 16, .85) 0%, rgba(17, 17, 16, .2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
  z-index: 10;
  pointer-events: none;
}

.gallery-item-b2c:hover .gallery-overlay-b2c {
  opacity: 1;
  transform: translateY(0);
}

.gallery-tag-b2c {
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-family: var(--sans);
  margin-bottom: .8rem;
}

.gallery-item-title {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: .8rem;
}

.gallery-item-desc {
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
  line-height: 1.7;
  font-family: var(--sans);
  max-width: 420px;
}

/* Asimmetria delle Altezze (Staggered Grid) */
@media (max-width: 1024px) {
  .gallery-grid-b2c {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .gallery-item-b2c {
    height: 45vh;
    min-height: 300px;
  }
}

/* ==========================================================================
   Incisioni e Interni Navali (Split-Screen e visualizzatore opere intero)
   ========================================================================== */
.split-section-b2c {
  padding: 130px 6%;
  background: #FAF8F5;
  border-top: 1px solid rgba(144, 117, 51, .12);
}

.split-header-b2c {
  margin-bottom: 6rem;
}

.split-line-b2c {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-top: 1.5rem;
}

.split-grid-b2c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

/* Griglia Incisioni a 3 colonne per Pavone, Marco Aurelio e Romance Yacht */
.engraving-grid-b2c {
  display: grid;
  grid-template-columns: 1fr 1fr 1.6fr;
  gap: 3.5rem;
}

.engraving-card-b2c {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(144, 117, 51, .12);
  padding: 1.5rem;
  transition: border-color .4s, box-shadow .4s;
}

.engraving-card-b2c:hover {
  border-color: var(--gold);
  box-shadow: 0 15px 35px rgba(144, 117, 51, 0.06);
}

.engraving-img-wrap-b2c {
  width: 100%;
  height: 60vh;
  min-height: 420px;
  overflow: hidden;
  background: #faf8f5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(144, 117, 51, 0.05);
}

/* Per il Pavone e Marco Aurelio che sono molto verticali, vogliamo che riempiano bene l'altezza */
.engraving-img-wrap-b2c.contain-img {
  padding: 1rem;
}

.engraving-img-wrap-b2c.contain-img img {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

/* Per il Yacht che è landscape, vogliamo che copra l'area */
.engraving-img-wrap-b2c.cover-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1);
}

.engraving-card-b2c:hover img {
  transform: scale(1.03);
}

.engraving-info-b2c {
  margin-top: 1.8rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.engraving-tag-b2c {
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: .6rem;
}

.engraving-info-b2c h3 {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.engraving-info-b2c p {
  color: var(--mid);
  line-height: 1.7;
  font-size: .9rem;
  font-family: var(--sans);
  margin: 0;
}

@media (max-width: 1200px) {
  .engraving-grid-b2c {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  /* Sul tablet il Yacht va a larghezza intera sotto */
  .engraving-card-b2c.wide-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .engraving-grid-b2c {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .engraving-card-b2c.wide-card {
    grid-column: span 1;
  }
  .engraving-img-wrap-b2c {
    height: 50vh;
  }
}

.split-card-b2c {
  display: flex;
  flex-direction: column;
}

/* Contenitore con padding e sfondo bianco per mostrare le incisioni senza tagli brutali */
.split-img-wrap-b2c {
  width: 100%;
  height: 55vh;
  min-height: 400px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(144, 117, 51, 0.12);
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.split-img-wrap-b2c img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Assicura che l'opera sia interamente visibile e non tagliata! */
  transition: transform 2s cubic-bezier(.16, 1, .3, 1);
  display: block;
}

.split-card-b2c:hover .split-img-wrap-b2c img {
  transform: scale(1.02);
}

.split-info-b2c {
  margin-top: 2rem;
}

.split-tag-b2c {
  font-size: .58rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  margin-bottom: .8rem;
  display: block;
}

.split-info-b2c h3 {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.split-info-b2c p {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.78;
  font-family: var(--sans);
}

/* ==========================================================================
   Dettaglio Discipline e Servizi d'Atelier
   ========================================================================== */
.details-section-b2c {
  padding: 120px 6%;
  background: var(--white);
}

.details-grid-b2c {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 6rem;
  align-items: center;
}

.details-text-col {
  max-width: 480px;
}

.details-p-b2c {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-family: var(--sans);
}

.details-img-col {
  width: 100%;
}

.details-img-grid-b2c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 240px 140px;
  gap: 12px;
}

.details-img-main-b2c {
  grid-row: span 2;
  overflow: hidden;
  cursor: zoom-in;
}

/* Griglia per 2 immagini del restauro (foto più grandi e senza la terza striscia inutile) */
.details-img-grid-two-b2c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.details-img-item-b2c {
  height: 420px;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(144, 117, 51, .15);
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(17, 17, 16, 0.05);
}

.details-img-item-b2c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.details-img-item-b2c:hover img {
  transform: scale(1.03);
}

/* Singola foto orizzontale 4:3 (Restauro) senza tagli */
.details-img-single-b2c {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid rgba(144, 117, 51, .15);
  border-radius: 4px;
  box-shadow: 0 14px 36px rgba(17, 17, 16, 0.08);
}

.details-img-single-b2c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}

.details-img-single-b2c:hover img {
  transform: scale(1.03);
}

.details-img-main-b2c img,
.details-img-sub-b2c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.details-img-sub-b2c {
  overflow: hidden;
  cursor: zoom-in;
}

/* ==========================================================================
   Parallasse Banner Asimmetrico (Alto Contrasto per Leggibilità)
   ========================================================================== */
.banner-b2c {
  height: 80vh;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.banner-bg-b2c {
  position: absolute;
  inset: -12%;
  width: 124%;
  height: 124%;
  will-change: transform;
}

.banner-bg-b2c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-layer-b2c {
  position: absolute;
  inset: 0;
  background: transparent; /* Rimossa la velatura grigia come richiesto */
  z-index: 2;
}

.banner-content-b2c {
  position: relative;
  z-index: 3;
  padding: 0 6%;
}

.banner-title-b2c {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--white); /* Bianco per contrasto sul fondo scuro */
  max-width: 780px;
  text-shadow: 0 2px 18px rgba(17, 17, 16, 0.95), 0 1px 5px rgba(17, 17, 16, 0.95); /* Leggibilità garantita senza velatura */
}

.banner-title-b2c em {
  font-family: var(--cormorant);
  font-style: italic;
  color: var(--gold-lt);
}

.banner-actions-b2c {
  margin-top: 3.5rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.btn-line-white-b2c {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  padding-bottom: 2px;
  transition: all .3s;
  font-family: var(--sans);
}

.btn-line-white-b2c:hover {
  color: var(--gold-lt);
  border-color: var(--gold-lt);
}

/* ==========================================================================
   Contatti e Progettazione
   ========================================================================== */
.contact-section-b2c {
  padding: 130px 6%;
  background: var(--white);
  border-top: 1px solid rgba(144, 117, 51, .15);
}

.contact-grid-b2c {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 6rem;
}

.contact-text-col {
  max-width: 480px;
}

.contact-p-b2c {
  font-size: .9rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 3.5rem;
  font-family: var(--sans);
}

.contact-info-list-b2c {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-row-b2c {
  display: flex;
}

.info-lbl-b2c {
  width: 110px;
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--gold);
  font-family: var(--sans);
  flex-shrink: 0;
  padding-top: 3px;
}

.info-val-b2c {
  font-size: .88rem;
  color: var(--dark);
  line-height: 1.6;
  font-family: var(--sans);
}

.info-val-b2c a {
  color: var(--dark);
  text-decoration: none;
  transition: color .2s;
}

.info-val-b2c a:hover {
  color: var(--gold);
}

/* Form Minimal Underline */
.form-b2c {
  display: flex;
  flex-direction: column;
}

.form-row-b2c {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.form-group-b2c {
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.form-group-b2c label {
  font-size: .58rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--mid);
  margin-bottom: 8px;
  font-family: var(--sans);
}

.form-group-b2c input,
.form-group-b2c select,
.form-group-b2c textarea {
  width: 100%;
  background: transparent !important;
  border: none;
  border-bottom: 1px solid rgba(144, 117, 51, .25);
  padding: 8px 0;
  font-size: .88rem;
  color: var(--dark);
  outline: none;
  transition: border-color .3s;
  border-radius: 0;
  font-family: var(--sans);
}

.form-group-b2c input:focus,
.form-group-b2c select:focus,
.form-group-b2c textarea:focus {
  border-bottom-color: var(--gold);
}

.form-group-b2c textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit-b2c {
  align-self: flex-start;
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 16px 48px;
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .3s;
  font-family: var(--sans);
  margin-top: 1.5rem;
}

.btn-submit-b2c:hover {
  background: var(--gold);
}

.form-note-b2c {
  font-size: .65rem;
  color: var(--mid);
  margin-top: 15px;
  font-family: var(--sans);
}

/* ==========================================================================
   Recensioni (Dicono di Noi)
   ========================================================================== */
.testi {
  padding: 120px 6%;
  background: var(--white);
}

.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-top: 4rem;
}

.t-card {
  background: #FAF8F5;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  border-top: 1px solid rgba(144, 117, 51, 0.15);
}

.t-card blockquote {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  flex-grow: 1;
  font-family: var(--sans);
  position: relative;
  z-index: 2;
  font-style: normal;
}

.t-card cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
}

.t-card cite strong {
  display: block;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dark);
}

.t-card cite {
  font-size: .68rem;
  color: var(--mid);
  margin-top: 6px;
}

.t-card .qm {
  position: absolute;
  top: -10px;
  right: 25px;
  font-family: var(--serif);
  font-size: 5.5rem;
  color: rgba(144, 117, 51, 0.08);
  line-height: 1;
  font-style: italic;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   Footer & Watermark Gigante
   ========================================================================== */
.footer-b2c {
  background: var(--dark);
  color: var(--white);
  padding-top: 90px;
  padding-bottom: 92px;
}

.footer-main-b2c {
  padding: 0 6% 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 50px;
}

.f-brand-b2c h5 {
  font-family: var(--serif);
  font-size: 1.3rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.f-sub-b2c {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--sans);
  margin-bottom: 20px;
  display: block;
}

.f-brand-b2c p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
  line-height: 1.75;
  max-width: 250px;
}

.f-cert-b2c {
  margin-top: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 15px 20px;
  display: inline-block;
}

.f-cert-b2c strong {
  font-size: .58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-weight: 400;
  display: block;
  margin-bottom: 4px;
  font-family: var(--sans);
}

.f-cert-b2c p {
  font-size: .65rem;
  color: rgba(255, 255, 255, .35);
  line-height: 1.55;
  font-family: var(--sans);
  max-width: none;
  margin: 0;
}

.fcol-b2c h4 {
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
  margin-bottom: 22px;
  font-family: var(--sans);
}

.fcol-b2c ul {
  list-style: none;
}

.fcol-b2c li {
  margin-bottom: 12px;
}

.fcol-b2c a {
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  transition: color .2s;
  font-family: var(--sans);
}

.fcol-b2c a:hover {
  color: var(--white);
}

.footer-wm-b2c {
  text-align: center;
  padding: 60px 0 20px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, .03);
}

.footer-wm-b2c span {
  font-family: var(--cormorant);
  font-size: clamp(4.5rem, 13vw, 15rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, .04);
  letter-spacing: -.12em;
  white-space: nowrap;
  display: block;
  opacity: 0;
  transition: opacity 2.8s cubic-bezier(.16, 1, .3, 1), letter-spacing 3.2s cubic-bezier(.16, 1, .3, 1);
}

.footer-wm-b2c.wm-vis span {
  opacity: 1;
  letter-spacing: .02em;
}

.footer-bottom-b2c {
  border-top: 1px solid rgba(255, 255, 255, .14);
  padding: 18px 6%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  font-size: .82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, .82);
  font-family: var(--sans);
}
.footer-bottom-b2c p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
}
.footer-bottom-b2c a {
  color: #e2c98d;
  text-decoration: underline;
}

/* Responsive per Table ed Elementi Mobili */
@media (max-width: 1024px) {
  header {
    padding: 18px 20px;
    background: #FAF8F5;
  }
  header.scrolled {
    padding: 14px 20px;
  }
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hero-b2c {
    padding-top: 100px;
    height: auto;
    min-height: 0;
  }
  .hero-grid-b2c {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .hero-img-col {
    order: -1;
  }
  .hero-frame-b2c {
    max-width: 100%;
    margin-top: 0;
  }
  .hero-border-back {
    display: none;
  }
  .hero-img-wrap-b2c {
    height: 50vh;
  }
  .stmt-layout-b2c,
  .atelier-grid-b2c,
  .split-grid-b2c,
  .details-grid-b2c,
  .contact-grid-b2c {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .testi-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .atelier-border-back {
    display: none;
  }
  .details-img-grid-b2c {
    grid-template-columns: 1fr;
    grid-template-rows: 240px 140px 140px;
  }
  .details-img-main-b2c {
    grid-row: span 1;
  }
  .proc-right {
    position: static;
  }
  .footer-main-b2c {
    grid-template-columns: 1fr 1fr;
    padding-left: 20px;
    padding-right: 20px;
    gap: 32px;
  }
  .footer-bottom-b2c {
    padding: 16px 20px;
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
  .form-row-b2c {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .split-img-wrap-b2c {
    height: 40vh;
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .footer-main-b2c {
    grid-template-columns: 1fr;
  }
  .hero-actions-b2c {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .banner-actions-b2c {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

/* Subpage Header Offset to prevent overlaps with custom B2C header */
#imContent > header, #imBlogPage {
  margin-top: 150px !important;
  padding-top: 20px !important;
  margin-bottom: 30px !important;
}

@media (max-width: 1024px) {
  #imContent > header, #imBlogPage {
    margin-top: 100px !important;
    padding-top: 10px !important;
    margin-bottom: 20px !important;
  }
}

/* ==========================================================================
   Subpage Reconstructed Editorial Layouts
   ========================================================================== */
.row-editorial {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(144, 117, 51, .15);
}
.row-editorial:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.editorial-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.editorial-image {
  display: flex;
  justify-content: center;
  position: relative;
}
.editorial-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 15px 45px rgba(144, 117, 51, .1);
  border: 1px solid rgba(144, 117, 51, .12);
  transition: var(--transition-lux);
}
.editorial-image img:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(144, 117, 51, .18);
}
.row-editorial:nth-of-type(even) {
  grid-template-columns: 0.85fr 1.15fr;
}
.row-editorial:nth-of-type(even) .editorial-image {
  grid-column: 1;
  grid-row: 1;
}
.row-editorial:nth-of-type(even) .editorial-text {
  grid-column: 2;
  grid-row: 1;
}
.row-editorial-text-only {
  max-width: 800px;
  margin: 0 auto 5rem auto;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(144, 117, 51, .15);
  text-align: left;
}
.row-editorial-text-only:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Colonne piu' larghe per foto piu' grandi */
  gap: 3rem; /* Piu' aria tra le foto */
  margin: 3.5rem 0;
  width: 100%;
}
.gallery-item {
  display: flex;
  justify-content: center;
}
.gallery-item img {
  width: 100%;
  height: 400px; /* Foto decisamente piu' alte e visibili */
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-lux);
  border: var(--border-lux);
  transition: var(--transition-lux);
  cursor: zoom-in;
}
.gallery-item img:hover {
  transform: scale(1.05) translateY(-6px);
  box-shadow: 0 25px 50px rgba(197, 168, 128, 0.18);
  border-color: var(--gold);
}

.subpage-hero-b2c {
  position: relative;
  height: 75vh;
  min-height: 620px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding-top: 100px; /* Spazio per la testata scrolled */
  overflow: hidden;
}

.subpage-hero-video-b2c {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.subpage-hero-overlay-b2c {
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

.subpage-hero-content-b2c {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Video Strip Banner per pagine di profilo atelier */
.video-strip-b2c {
  position: relative;
  width: 100%;
  height: clamp(320px, 42vh, 440px);
  margin-top: 68px;
  overflow: hidden;
  background: #1C1815;
}

.video-strip-b2c .video-strip-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
@media (max-width: 768px) {
  .row-editorial {
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }
  .row-editorial .editorial-image {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
  .row-editorial .editorial-text {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
}

/* ==========================================================================
   Luxury Editorial Subpage Content Styles
   ========================================================================== */
.subpage-content {
  font-family: var(--sans);
  color: var(--dark);
  line-height: 1.9;
}

/* Reset recursively nested Website X5 divs to prevent layout breakage */
.subpage-content div {
  margin: 0;
  padding: 0;
  line-height: inherit;
}

.subpage-content h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--dark);
  margin-top: 3.5rem;
  margin-bottom: 1.8rem;
  text-align: left;
}

.subpage-content h2 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--gold);
  margin-top: 3.5rem;
  margin-bottom: 1.2rem;
  text-align: left;
  border-bottom: 1px solid rgba(144, 117, 51, 0.12);
  padding-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

.subpage-content h3 {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 400;
  color: var(--dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  text-align: left;
}

.subpage-content p {
  color: #3E3730;
  margin-bottom: 1.8rem;
  font-size: 1.02rem;
  line-height: 1.85;
  text-align: left;
}

.subpage-content span {
  font-size: inherit;
  color: inherit;
  line-height: inherit;
}

/* Bullet list stylings */
.subpage-content ul {
  list-style: none;
  margin-left: 0;
  margin-bottom: 2.2rem;
}

.subpage-content ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.9rem;
  color: #4A423B;
  font-size: 0.98rem;
  line-height: 1.75;
}

.subpage-content ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

.subpage-content ol {
  margin-left: 1.5rem;
  margin-bottom: 2.2rem;
}

.subpage-content ol li {
  margin-bottom: 0.9rem;
  color: #4A423B;
  font-size: 0.98rem;
  line-height: 1.75;
}

.subpage-content li strong,
.subpage-content li b {
  color: var(--dark);
  font-weight: 600;
}

/* Luxury Atelier Image Treatment */
.subpage-content img,
.row-editorial img,
.row-editorial-text-only img,
.editorial-image img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  border: 1px solid rgba(182, 142, 72, 0.16);
  box-shadow: 0 16px 40px rgba(44, 38, 33, 0.08);
  transition: var(--transition-lux);
  cursor: zoom-in;
  margin: 2rem auto;
  display: block;
}

.subpage-content img:hover,
.row-editorial img:hover,
.editorial-image img:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(182, 142, 72, 0.18);
  border-color: var(--gold);
}

/* Luxury Specification Tables */
.subpage-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2.5rem 0;
  background: #FAF8F5;
  border: 1px solid rgba(182, 142, 72, 0.22);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(44, 38, 33, 0.04);
}

.subpage-content table th {
  background: rgba(182, 142, 72, 0.08);
  color: var(--gold-dark);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(182, 142, 72, 0.18);
  border-right: 1px solid rgba(182, 142, 72, 0.12);
  width: 28%;
}

.subpage-content table td {
  padding: 14px 20px;
  font-size: 0.95rem;
  color: var(--dark);
  border-bottom: 1px solid rgba(182, 142, 72, 0.1);
  line-height: 1.65;
}

.subpage-content table tr:last-child th,
.subpage-content table tr:last-child td {
  border-bottom: none;
}

.subpage-content table tr:hover td {
  background: rgba(255, 255, 255, 0.7);
}

/* Luxury Blockquotes */
.subpage-content blockquote {
  border-left: 3px solid var(--gold);
  background: #FAF8F5;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  border-radius: 0 6px 6px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--dark);
  box-shadow: 0 4px 20px rgba(44, 38, 33, 0.03);
}

/* Standardized Subpage Luxury Conversion Banner */
.subpage-cta-banner {
  background: linear-gradient(135deg, #FAF8F5 0%, #F5F0E8 100%);
  border: 1px solid rgba(182, 142, 72, 0.25);
  border-radius: 8px;
  padding: 3.5rem 2.5rem;
  margin: 4.5rem auto 2rem auto;
  text-align: center;
  max-width: 900px;
  box-shadow: 0 16px 40px rgba(44, 38, 33, 0.05);
  position: relative;
  overflow: hidden;
}

.subpage-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background: var(--gold);
}

.subpage-cta-banner .cta-tag {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.8rem;
  display: block;
  font-weight: 600;
}

.subpage-cta-banner h3 {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.subpage-cta-banner p {
  font-size: 0.98rem;
  color: var(--mid);
  max-width: 640px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

.subpage-cta-banner .cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.subpage-cta-banner .btn-cta-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: #ffffff;
  padding: 14px 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 4px 18px rgba(182, 142, 72, 0.25);
  transition: var(--transition-lux);
  border: 1px solid var(--gold);
}

.subpage-cta-banner .btn-cta-gold:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(44, 38, 33, 0.2);
}

.subpage-cta-banner .btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--dark);
  padding: 14px 28px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid rgba(44, 38, 33, 0.25);
  transition: var(--transition-lux);
}

.subpage-cta-banner .btn-cta-outline:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: rgba(182, 142, 72, 0.05);
  transform: translateY(-2px);
}

/* Universal Luxury Lightbox */
.lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 15, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  padding: 30px;
}

.lb.open {
  display: flex;
}

.lb img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.75);
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium links styling (No raw blue browser links!) */
.subpage-content a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(144, 117, 51, 0.3);
  transition: var(--transition-lux);
}

.subpage-content a:hover {
  color: var(--dark);
  border-bottom-color: var(--dark);
}

/* Dividers & horizontal rules */
.subpage-content hr {
  border: 0;
  height: 1px;
  background: rgba(144, 117, 51, 0.12);
  margin: 3rem 0;
}

/* Always keep scrolled styles on subpage headers */
body.subpage-body header {
  padding: 18px 6% !important;
  background: rgba(250, 248, 245, 0.97) !important;
  border-bottom: 1px solid rgba(144, 117, 51, 0.15) !important;
}

body.subpage-body header .logo-text,
body.subpage-body header .nav-links a {
  color: var(--dark) !important;
}

body.subpage-body header .logo-text:hover,
body.subpage-body header .nav-links a:hover {
  color: var(--gold) !important;
}

body.subpage-body header .nav-cta {
  border-color: var(--dark) !important;
  color: var(--dark) !important;
}

body.subpage-body header .nav-cta:hover {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--white) !important;
}

/* Specific rules for courses page gallery items (prevents stretching small/text images) */
body.corsi-page .gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)) !important;
  gap: 2.5rem !important;
}

body.corsi-page .gallery-item {
  background: #ffffff;
  border: 1px solid rgba(144, 117, 51, 0.16);
  padding: 0;
  box-shadow: 0 10px 30px rgba(17, 17, 16, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 380px !important;
  border-radius: 8px;
  overflow: hidden;
  cursor: zoom-in;
}

body.corsi-page .gallery-item img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Griglia delle Opere per la pagina Chi Sono */
.works-grid-b2c {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 4rem;
}

.work-card-b2c {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(144, 117, 51, 0.12);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.work-card-b2c:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(144, 117, 51, 0.08);
}

.work-card-img-b2c {
  width: 100%;
  height: 190px;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(144, 117, 51, 0.08);
}

.work-card-img-b2c a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.work-card-img-b2c img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.work-card-b2c:hover .work-card-img-b2c img {
  transform: scale(1.04);
}

.work-card-body-b2c {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.work-card-tag-b2c {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
  font-family: var(--sans);
  display: block;
}

.work-card-body-b2c h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  margin: 0 0 0.6rem 0;
  color: var(--dark);
}

.work-card-body-b2c h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.work-card-body-b2c h3 a:hover {
  color: var(--gold);
}

.work-card-body-b2c p {
  font-size: 0.8rem;
  color: var(--mid);
  line-height: 1.6;
  margin: 0 0 1rem 0;
  font-family: var(--sans);
}

.work-card-link-b2c {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-family: var(--sans);
  margin-top: auto;
  display: inline-block;
  transition: color 0.2s;
}

.work-card-link-b2c:hover {
  color: var(--gold);
}

/* Stile Studio Hero & Carousel (vetrateartistiche.com) */
.studio-hero-section-b2c {
  background: #FAF8F5;
  padding-top: 150px;
  padding-bottom: 80px;
  border-bottom: 1px solid rgba(144, 117, 51, 0.15);
  position: relative;
  overflow: hidden;
}

@media (max-width: 991px) {
  .studio-hero-grid-b2c {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .studio-hero-image-wrap {
    max-width: 100% !important;
  }
}

/* Carosello in movimento (Ribbon Marquee) */
.studio-carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 3rem 0;
  background: #FAF8F5;
}

.studio-carousel-container::before,
.studio-carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.studio-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, #FAF8F5 0%, transparent 100%);
}

.studio-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, #FAF8F5 0%, transparent 100%);
}

.studio-carousel-track {
  display: flex;
  width: calc(360px * 32); /* Calcolato sul numero di immagini * larghezza */
  animation: scrollMarquee 50s linear infinite;
}

.studio-carousel-track:hover {
  animation-play-state: paused;
}

.studio-carousel-item {
  width: 360px;
  height: 250px;
  flex-shrink: 0;
  padding: 0 10px;
  box-sizing: border-box;
}

.studio-carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(144, 117, 51, 0.12);
  box-shadow: 0 8px 20px rgba(17, 17, 16, 0.05);
  transition: transform 0.3s ease, border-color 0.3s;
  cursor: pointer;
}

.studio-carousel-item img:hover {
  transform: scale(1.03);
  border-color: var(--gold);
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-360px * 16)); /* Scorrimento di metà larghezza per il loop continuo */
  }
}

/* Vertical Gallery for Stained Glass (Prevents cropping heads/feet of vertical figures) */
.gallery-grid.vertical-gallery {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 2.5rem;
  justify-content: center;
}
.gallery-grid.vertical-gallery .gallery-item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.gallery-grid.vertical-gallery .gallery-item img {
  width: auto;
  height: auto;
  max-height: 500px;
  max-width: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(144, 117, 51, 0.1);
  transition: transform 0.4s ease, border-color 0.4s, box-shadow 0.4s;
}
.gallery-grid.vertical-gallery .gallery-item img:hover {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 15px 30px rgba(197, 168, 128, 0.15);
  border-color: var(--gold);
}

/* ==========================================================================
   Responsive & Mobile Navigation
   ========================================================================== */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 210;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background-color: var(--dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .hero-grid-b2c {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-b2c {
    height: auto;
    min-height: auto;
    padding: 120px 6% 60px;
  }
  .hero-frame-b2c {
    margin-top: 0;
  }
  .hero-img-wrap-b2c {
    height: 440px;
  }
  header,
  header.scrolled {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: #FAF8F5 !important;
  }
  .hamburger {
    display: block;
    position: relative;
    z-index: 1200;
  }
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 88vw);
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    background: #FAF8F5;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 5.2rem 1.5rem 3rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-shadow: -10px 0 30px rgba(0,0,0,0.18);
    transition: right 0.35s ease;
    z-index: 1150;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links > li {
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(144, 117, 51, 0.14);
    padding: 0.7rem 0;
    margin: 0;
  }
  .nav-links > li > a,
  header:not(.scrolled) .nav-links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: var(--dark) !important;
    font-size: 0.88rem;
    letter-spacing: 0.14em;
    white-space: normal;
    padding: 0.25rem 0;
  }
  .nav-links a::after {
    display: none !important;
  }
  .nav-dropdown {
    width: 100%;
    position: static;
  }
  .nav-dropdown > .dropdown-trigger::after {
    content: '+' !important;
    display: inline-block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--gold);
    margin-left: 8px;
  }
  .nav-dropdown.open > .dropdown-trigger::after {
    content: '−' !important;
  }
  .nav-dropdown .dropdown-menu,
  .nav-dropdown:hover .dropdown-menu {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    min-width: 0 !important;
    width: 100% !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0.35rem 0 0.2rem 0.8rem !important;
    margin: 0 !important;
    display: none !important;
  }
  .nav-dropdown.open .dropdown-menu,
  .nav-dropdown.open:hover .dropdown-menu {
    display: block !important;
  }
  .nav-dropdown .dropdown-menu li {
    width: 100%;
    padding: 0;
  }
  .nav-dropdown .dropdown-menu li a {
    display: block !important;
    white-space: normal !important;
    padding: 0.5rem 0.4rem !important;
    font-size: 0.78rem !important;
    letter-spacing: 0.08em !important;
    line-height: 1.4 !important;
    color: #4a4843 !important;
  }
  .nav-links .nav-search-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.4rem;
  }
}

@media (max-width: 768px) {
  .hero-title-b2c {
    font-size: 2.1rem;
  }
  .stmt-layout-b2c,
  .atelier-grid-b2c,
  .row-editorial,
  .details-grid-b2c,
  .contact-grid-b2c {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
  .engraving-grid-b2c {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Editorial Monumental Cards (Grandi Realizzazioni & Restauro)
   ========================================================================== */
.editorial-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4.5rem 0;
  border-bottom: 1px solid var(--border-lux);
}

.editorial-project:last-child {
  border-bottom: none;
}

.editorial-project.reverse {
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

.editorial-project.reverse > * {
  direction: ltr;
}

.project-text h2 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 1.2rem;
}

.project-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.project-p {
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 1.5rem;
  font-family: var(--sans);
}

.project-specs {
  display: flex;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-lux);
  border-bottom: 1px solid var(--border-lux);
}

.spec-item strong {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
  font-weight: 600;
}

.spec-item span {
  font-size: 0.9rem;
  color: var(--dark);
  font-weight: 500;
}

.project-img-frame {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(44, 38, 33, 0.12);
  border: 1px solid rgba(182, 142, 72, 0.2);
  cursor: pointer;
  background: var(--cream);
}

.project-img-frame img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.project-img-frame:hover img {
  transform: scale(1.03);
}

.project-img-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1rem;
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--dark);
  border: 1px solid var(--border-lux);
}

/* Key Stats Bar */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: #ffffff;
  padding: 2.5rem 3rem;
  border-radius: 8px;
  border: 1px solid var(--border-lux);
  box-shadow: var(--shadow-lux);
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--gold-dark);
  font-weight: 600;
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid);
  font-weight: 500;
}

/* FAQ Clean Cards */
.faq-grid-clean {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.faq-card-clean {
  background: #ffffff;
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid var(--border-lux);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.faq-card-clean h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--dark);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.faq-card-clean p {
  font-size: 0.95rem;
  color: var(--mid);
  line-height: 1.7;
  font-family: var(--sans);
}

@media (max-width: 900px) {
  .editorial-project,
  .editorial-project.reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    margin-top: -30px;
  }
  .faq-grid-clean {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Accademia del Vetro d'Arte - Corsi Luxury Styles
   ========================================================================== */

.course-grid-lux {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.course-card-lux {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(182, 142, 72, 0.22);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
}

.course-card-lux:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(182, 142, 72, 0.12);
  border-color: var(--gold);
}

.course-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #111110;
}

.course-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card-lux:hover .course-card-img-wrap img {
  transform: scale(1.06);
}

.course-card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  color: var(--dark);
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 5px 12px;
  border-radius: 2px;
  border: 1px solid rgba(182, 142, 72, 0.3);
}

.course-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-card-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 0.78rem;
  color: var(--mid);
  font-family: var(--sans);
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
}

.course-card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.course-card-meta .dot {
  color: var(--gold);
  font-size: 0.6rem;
}

.course-card-title {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--dark);
  margin: 0 0 0.9rem 0;
  font-weight: 500;
}

.course-card-desc {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--mid);
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.course-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(182, 142, 72, 0.15);
}

.course-card-price {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
}

.course-card-price small {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--mid);
  font-weight: 400;
  display: block;
}

.course-card-btn {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.course-card-btn:hover {
  color: var(--dark);
  transform: translateX(4px);
}

/* Masterclass Overview Box */
.course-overview-box {
  background: #ffffff;
  border: 1px solid rgba(182, 142, 72, 0.3);
  border-radius: 4px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.course-overview-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.course-overview-item span {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mid);
}

/* Curriculum Steps */
.curriculum-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.curriculum-step {
  background: #ffffff;
  border: 1px solid rgba(182, 142, 72, 0.2);
  border-radius: 4px;
  padding: 1.8rem 2.2rem;
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 2rem;
  align-items: flex-start;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.curriculum-step:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 25px rgba(182, 142, 72, 0.08);
}

.step-num-badge {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold-dark);
  font-weight: 600;
  line-height: 1;
  text-align: center;
  padding-top: 0.2rem;
}

.step-content h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--dark);
  margin: 0 0 0.6rem 0;
  font-weight: 500;
}

.step-content p {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--mid);
  margin: 0 0 0.8rem 0;
}

.step-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.step-content li {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-content li::before {
  content: '✦';
  color: var(--gold);
  font-size: 0.75rem;
}

/* Testimonial Luxury Cards */
.testimonial-grid-lux {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}

.testimonial-card-lux {
  background: #ffffff;
  border: 1px solid rgba(182, 142, 72, 0.2);
  border-radius: 4px;
  padding: 2.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-stars {
  color: var(--gold-dark);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--dark);
  font-style: italic;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(182, 142, 72, 0.15);
  padding-top: 1rem;
}

.testimonial-author strong {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--dark);
  display: block;
}

.testimonial-author span {
  font-family: var(--sans);
  font-size: 0.75rem;
  color: var(--mid);
  display: block;
}

.google-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #f1f3f4;
  border: 1px solid #dadce0;
  color: #3c4043;
  padding: 2px 7px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 5px;
}

.google-trust-bar {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid rgba(182, 142, 72, 0.3);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.google-trust-bar .stars {
  color: #fbbc04;
  font-size: 1rem;
  letter-spacing: 2px;
}

.google-trust-bar span.text {
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--dark);
}

/* Booking & CTA Banner */
.booking-banner-lux {
  background: linear-gradient(135deg, #ffffff 0%, #FAF8F5 100%);
  border: 1px solid rgba(182, 142, 72, 0.35);
  border-radius: 6px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  margin: 4rem 0 2rem 0;
}

@media (max-width: 768px) {
  .curriculum-step {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .step-num-badge {
    text-align: left;
  }
  .course-overview-box {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  .course-grid-lux {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Single Course Masterclass Specific Enhancements
   ========================================================================== */
.course-back-nav {
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.course-back-nav a {
  color: var(--gold-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.course-back-nav a:hover {
  color: var(--dark);
}

.course-back-nav span {
  color: #bbb;
}

.course-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 3.5rem 0;
}

.course-gallery-item {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(182, 142, 72, 0.2);
  background: #ffffff;
  aspect-ratio: 4 / 3;
}

.course-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: zoom-in;
}

.course-gallery-item:hover img {
  transform: scale(1.05);
}

.course-gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(17, 17, 16, 0.85) 0%, rgba(17, 17, 16, 0) 100%);
  color: #ffffff;
  font-family: var(--sans);
  font-size: 0.8rem;
  line-height: 1.3;
  pointer-events: none;
}

.inclusions-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2.5rem 0;
}

.inclusions-column {
  background: #ffffff;
  border: 1px solid rgba(182, 142, 72, 0.25);
  border-radius: 4px;
  padding: 2.2rem;
}

.inclusions-column h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--dark);
  margin: 0 0 1.2rem 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.inclusions-column h4 span.icon-gold {
  color: var(--gold-dark);
}

.inclusions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.inclusions-list li {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 0.8rem;
  padding-left: 1.6rem;
  position: relative;
}

.inclusions-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
}

@media (max-width: 768px) {
  .inclusions-container {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

/* ==========================================================================
   CONFIGURATORE INTERATTIVO & GUIDA ALLA SCELTA (come-scegliere-la-vetrata.html)
   Stile Luxury B2C Studio Vetrarte - Paolo Corpetti
   ========================================================================== */

.wiz-editorial-intro {
  max-width: 880px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.wiz-editorial-intro blockquote {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.3vw, 1.6rem);
  font-style: italic;
  font-weight: 300;
  color: var(--dark);
  line-height: 1.6;
  margin: 2rem 0 2.5rem 0;
  padding: 0 1.5rem;
  position: relative;
}

.wiz-editorial-intro blockquote::before {
  content: '“';
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: rgba(182, 142, 72, 0.25);
  font-family: var(--serif);
  line-height: 1;
}

.wiz-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
  text-align: left;
}

.wiz-pillar-card {
  background: #ffffff;
  border: 1px solid rgba(182, 142, 72, 0.22);
  border-radius: 8px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 4px 18px rgba(44, 38, 33, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}

.wiz-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(182, 142, 72, 0.1);
  border-color: var(--gold);
}

.wiz-pillar-card .pillar-num {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
  display: block;
}

.wiz-pillar-card h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.wiz-pillar-card p {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--mid);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .wiz-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .wiz-pillars-grid {
    grid-template-columns: 1fr;
  }
}

/* Configuratore Core */
.wiz-container {
  max-width: 880px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid rgba(182, 142, 72, 0.25);
  border-radius: 12px;
  box-shadow: 0 16px 45px rgba(44, 38, 33, 0.06);
  padding: 45px 50px;
  position: relative;
}

@media (max-width: 768px) {
  .wiz-container {
    padding: 28px 20px;
    border-radius: 8px;
  }
}

/* Progress Bar */
.wiz-progress-wrap {
  margin-bottom: 2.2rem;
}

.wiz-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.wiz-step-indicator {
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

.wiz-step-percentage {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mid);
}

.wiz-progress-track {
  width: 100%;
  height: 4px;
  background: rgba(182, 142, 72, 0.15);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.wiz-progress-fill {
  height: 100%;
  width: 16%;
  background: linear-gradient(90deg, var(--gold), #D4AF37);
  border-radius: 4px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Step Container */
.wiz-step {
  display: none;
  animation: wizFadeIn 0.35s ease forwards;
}

.wiz-step.active {
  display: block;
}

@keyframes wizFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.wiz-step-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.2rem auto;
}

.wiz-step-head h3 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.7vw, 1.95rem);
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.wiz-step-head p {
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--mid);
  margin: 0;
  line-height: 1.55;
}

/* Selection Cards Grid */
.wiz-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 2rem;
}

.wiz-grid.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.wiz-grid.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 680px) {
  .wiz-grid.grid-2,
  .wiz-grid.grid-3 {
    grid-template-columns: 1fr;
  }
}

/* Option Card */
.wiz-card {
  background: #FAF8F5;
  border: 1.5px solid rgba(182, 142, 72, 0.2);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.wiz-card:hover {
  border-color: var(--gold);
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(182, 142, 72, 0.12);
}

.wiz-card.selected {
  border-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--gold), 0 10px 24px rgba(182, 142, 72, 0.15);
}

.wiz-card.selected::after {
  content: '✓';
  position: absolute;
  top: 12px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(182, 142, 72, 0.4);
}

.wiz-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(182, 142, 72, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold-dark);
  margin-bottom: 0.9rem;
  flex-shrink: 0;
}

.wiz-card-title {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.35rem;
  line-height: 1.35;
  padding-right: 20px;
}

.wiz-card-desc {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--mid);
  line-height: 1.5;
  margin: 0;
}

/* Custom Dimension Input */
.wiz-custom-dim {
  margin-top: 1.25rem;
  padding: 1.2rem 1.4rem;
  background: #FAF8F5;
  border: 1px dashed rgba(182, 142, 72, 0.35);
  border-radius: 8px;
}

.wiz-custom-dim label {
  display: block;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.wiz-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(182, 142, 72, 0.25);
  border-radius: 6px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wiz-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(182, 142, 72, 0.15);
}

.wiz-textarea {
  width: 100%;
  min-height: 130px;
  padding: 1rem 1.15rem;
  border: 1.5px solid rgba(182, 142, 72, 0.25);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 0.95rem;
  background: #ffffff;
  color: var(--dark);
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.wiz-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(182, 142, 72, 0.15);
}

/* Navigation Buttons */
.wiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(182, 142, 72, 0.18);
}

.btn-wiz-back {
  background: transparent;
  border: 1px solid rgba(182, 142, 72, 0.35);
  border-radius: 6px;
  padding: 0.65rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--mid);
  cursor: pointer;
  transition: all 0.2s;
}

.btn-wiz-back:hover {
  background: #FAF8F5;
  border-color: var(--gold);
  color: var(--dark);
}

.btn-wiz-next {
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 0.75rem 1.85rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-wiz-next:hover:not(:disabled) {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(182, 142, 72, 0.25);
}

.btn-wiz-next:disabled {
  background: #d8cfc3;
  border-color: #d8cfc3;
  cursor: not-allowed;
  opacity: 0.75;
}

/* Step 7: Brief Preview & Form */
.brief-header-box {
  text-align: center;
  margin-bottom: 2rem;
}

.brief-check-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FAF8F5;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
  font-size: 1.6rem;
  color: var(--gold);
}

.brief-card {
  background: #FAF8F5;
  border: 1px solid rgba(182, 142, 72, 0.25);
  border-radius: 10px;
  padding: 1.5rem 1.8rem;
  margin-bottom: 2rem;
}

.brief-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(182, 142, 72, 0.12);
  align-items: baseline;
}

.brief-row:last-child {
  border-bottom: none;
}

.brief-label {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-dark);
}

.brief-val {
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .brief-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.brief-contact-form {
  margin-top: 1.5rem;
}

.brief-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (max-width: 600px) {
  .brief-form-grid {
    grid-template-columns: 1fr;
  }
}

.btn-send-studio {
  width: 100%;
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 6px;
  padding: 0.9rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.25s;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 15px rgba(182, 142, 72, 0.2);
}

.btn-send-studio:hover:not(:disabled) {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  box-shadow: 0 6px 20px rgba(182, 142, 72, 0.3);
}

.btn-send-studio:disabled {
  background: #d8cfc3;
  cursor: not-allowed;
  opacity: 0.8;
}

/* Secondary Actions (WhatsApp & Copy) */
.wiz-action-buttons {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

@media (max-width: 600px) {
  .wiz-action-buttons {
    grid-template-columns: 1fr;
  }
}

.btn-wiz-wa {
  background: #25D366;
  border: 1px solid #20BD5A;
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-wiz-wa:hover {
  background: #1EBE5D;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-wiz-copy {
  background: #ffffff;
  border: 1.5px solid rgba(182, 142, 72, 0.35);
  border-radius: 6px;
  padding: 0.8rem 1.2rem;
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gold-dark);
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-wiz-copy:hover {
  background: #FAF8F5;
  border-color: var(--gold);
}

.wiz-restart-link {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--mid);
  text-decoration: underline;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
}

.wiz-restart-link:hover {
  color: var(--gold);
}

.wiz-feedback-msg {
  display: none;
  font-family: var(--sans);
  font-size: 0.88rem;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
}

.wiz-feedback-msg.error {
  background: rgba(192, 57, 43, 0.08);
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.25);
}

.wiz-success-screen {
  display: none;
  text-align: center;
  padding: 2.5rem 1rem;
}

.wiz-success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(182, 142, 72, 0.15);
  color: var(--gold);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.2rem auto;
}

/* Trust & FAQ Sections */
.wiz-process-section {
  max-width: 880px;
  margin: 4.5rem auto 0 auto;
}

.wiz-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .wiz-process-grid {
    grid-template-columns: 1fr;
  }
}

.wiz-process-card {
  background: #ffffff;
  border: 1px solid rgba(182, 142, 72, 0.2);
  border-radius: 8px;
  padding: 1.8rem 1.5rem;
  position: relative;
}

.wiz-process-card .step-badge {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
  display: block;
}

.wiz-process-card h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.wiz-process-card p {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--mid);
  line-height: 1.6;
  margin: 0;
}

.wiz-faq-section {
  max-width: 880px;
  margin: 4.5rem auto 0 auto;
}

.wiz-faq-item {
  background: #ffffff;
  border: 1px solid rgba(182, 142, 72, 0.2);
  border-radius: 8px;
  padding: 1.6rem 1.8rem;
  margin-bottom: 1rem;
}

.wiz-faq-item h4 {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.6rem;
}

.wiz-faq-item p {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--mid);
  line-height: 1.65;
  margin: 0;
}


/* ==========================================================================
   Restoration Case Study & Monumental Architecture Showcase
   ========================================================================== */

/* Breadcrumb Bar */
.breadcrumb-bar {
  background: var(--cream);
  border-bottom: 1px solid rgba(182, 142, 72, 0.15);
  padding: 0.85rem 0;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  font-size: 0.78rem;
  font-family: var(--sans);
  margin: 0;
  padding: 0;
}

.breadcrumb-list a {
  color: var(--mid);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list a:hover {
  color: var(--gold-dark);
}

.breadcrumb-list .sep {
  color: rgba(182, 142, 72, 0.4);
  font-weight: 300;
}

.breadcrumb-list .current {
  color: var(--gold-dark);
  font-weight: 600;
}

/* Monumental Specs Card */
.specs-card-monumental {
  background: #ffffff;
  border: 1px solid var(--border-lux);
  border-radius: 8px;
  padding: 2.2rem 2.5rem;
  box-shadow: var(--shadow-lux);
  margin-bottom: 3.5rem;
}

.specs-grid-monumental {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem 2.5rem;
}

.spec-monumental-item {
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

.spec-monumental-item .spec-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.spec-monumental-item .spec-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

.spec-monumental-item .spec-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--mid);
  margin-top: 0.2rem;
  font-weight: 400;
}

/* Luxury Cantiere Gallery Cards */
.cantiere-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  margin: 3rem 0;
}

.cantiere-card {
  background: #ffffff;
  border: 1px solid var(--border-lux);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(44, 38, 33, 0.04);
  transition: var(--transition-lux);
  display: flex;
  flex-direction: column;
}

.cantiere-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(182, 142, 72, 0.16);
  border-color: var(--gold);
}

.cantiere-img-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: zoom-in;
  background: #201a16;
}

.cantiere-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.cantiere-card:hover .cantiere-img-wrap img {
  transform: scale(1.06);
}

.cantiere-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  padding: 8px 12px;
  background: rgba(28, 24, 21, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  border: 1px solid rgba(223, 208, 184, 0.2);
}

.cantiere-badge-gold {
  color: var(--gold-lt);
  font-weight: 600;
}

.cantiere-body {
  padding: 1.6rem 1.8rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cantiere-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 0.45rem;
  display: block;
}

.cantiere-body h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.cantiere-body p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--mid);
  margin: 0;
}

/* Normative & Scientific Protocol Card */
.scientific-box-lux {
  background: #FAF8F5;
  border: 1px solid var(--border-lux);
  border-radius: 8px;
  padding: 3rem 3.5rem;
  margin: 4.5rem 0;
  position: relative;
}

.scientific-box-lux::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-lt), var(--gold-dark));
}

@media (max-width: 900px) {
  .scientific-box-lux {
    padding: 2rem 1.5rem;
  }
  .specs-card-monumental {
    padding: 1.5rem;
  }
  .cantiere-gallery-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   MASSIMA DEFINIZIONE E RISALTO FOTOGRAFICO DEL VETRO ARTISTICO (HD VIBRANCY)
   ========================================================================== */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}

/* Esaltazione della trasparenza e dei colori delle vetrate */
.hero-img-b2c,
.gallery-frame-b2c img,
.gallery-item img,
.editorial-image img,
.subpage-content img {
  filter: contrast(1.03) saturate(1.05);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease, box-shadow 0.5s ease;
}

.gallery-frame-b2c:hover img,
.gallery-item:hover img,
.editorial-image:hover img {
  transform: scale(1.035);
  filter: contrast(1.06) saturate(1.10);
}

.gallery-grid {
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}

.gallery-item {
  height: 360px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(17, 17, 16, 0.08);
}

.gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Lightbox a tutto schermo in altissima risoluzione */
.lb {
  background: rgba(14, 11, 9, 0.96) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
}

.lb img {
  max-width: 95vw !important;
  max-height: 92vh !important;
  object-fit: contain !important;
  filter: contrast(1.04) saturate(1.06) !important;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.9) !important;
  border-radius: 6px !important;
}

/* Pulsante WhatsApp Floating (in basso a sinistra, non copre mai header o link) */
.whatsapp-btn {
  position: fixed;
  top: auto;
  bottom: 24px;
  left: 24px;
  right: auto;
  z-index: 9985;
  width: 196px;
  height: 42px;
  background: #e8721a;
  color: #ffffff;
  border-radius: 40px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--sans, 'Plus Jakarta Sans', Arial, sans-serif);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(232, 114, 26, 0.32);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease;
  box-sizing: border-box;
}

.whatsapp-btn:hover {
  background: #d66512;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 114, 26, 0.42);
}

.whatsapp-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .whatsapp-btn {
    top: auto;
    bottom: 16px;
    left: 14px;
    right: auto;
    width: 166px;
    height: 38px;
    padding: 0 10px;
    font-size: 11.5px;
  }
  .whatsapp-btn svg {
    width: 16px;
    height: 16px;
  }
}


/* SEO: ex-<h1> secondari convertiti in <h2> - aspetto identico all'h1 originale (nessuna variazione grafica) */
h2.seo-h1-as-h2 {
  font-size: 2em;
  margin-top: 0.67em;
  margin-bottom: 0.67em;
}

.subpage-content h2.seo-h1-as-h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--dark);
  margin-top: 3.5rem;
  margin-bottom: 1.8rem;
  text-align: left;
  border-bottom: 0;
  padding-bottom: 0;
  letter-spacing: normal;
}


/* Fascia B2B Professionisti (vetrateartistiche.it) */
.b2b-portal-strip {
  background: #141210;
  border-top: 1px solid rgba(197, 168, 128, 0.25);
  border-bottom: 1px solid rgba(197, 168, 128, 0.25);
  padding: 56px 6%;
}

.b2b-portal-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.b2b-portal-copy {
  max-width: 720px;
}

.b2b-portal-tag {
  display: block;
  font-family: var(--sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #e5c47a;
  margin-bottom: 10px;
}

.b2b-portal-title {
  font-family: var(--serif, 'Playfair Display', serif);
  font-size: clamp(1.6rem, 2.8vw, 2.25rem);
  font-weight: 400;
  color: #faf8f5;
  line-height: 1.25;
  margin: 0 0 12px 0;
}

.b2b-portal-title em {
  color: #e5c47a;
  font-style: italic;
}

.b2b-portal-desc {
  font-family: var(--sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(250, 248, 245, 0.78);
  margin: 0;
}

.b2b-portal-action {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .b2b-portal-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}


/* ==========================================================================
   MIGLIORIE UI: Scheda Contatti evidenziata & Bottone WhatsApp verde su Mobile
   ========================================================================== */
.contact-form-col {
  background: #F6F1E7 !important;
  border: 1px solid rgba(182, 142, 72, 0.30) !important;
  border-radius: 10px !important;
  padding: 36px 34px !important;
  box-shadow: 0 14px 36px rgba(144, 117, 51, 0.09) !important;
}

.contact-form-col .form-b2c input,
.contact-form-col .form-b2c select,
.contact-form-col .form-b2c textarea {
  background: transparent;
  border-bottom-color: rgba(144, 117, 51, 0.32);
}

@media (max-width: 768px) {
  .contact-form-col {
    padding: 24px 20px !important;
  }
  .whatsapp-btn {
    background: #25D366 !important;
    border-color: #25D366 !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.38) !important;
    padding: 0 !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    justify-content: center !important;
  }
  .whatsapp-btn span {
    display: none !important;
  }
}
