:root {
  --dark: #111111;
  --dark-soft: #1c1c1c;
  --light: #f5f5f5;
  --white: #ffffff;
  --stone: #d6d0bd;
  --stone-soft: #eeeae0;
  --accent: #c89b5c;
  --accent-dark: #9f733a;
  --text: #222222;
  --muted: #666666;
  --border: #e4e0da;
  --shadow: 0 22px 55px rgba(17, 17, 17, 0.14);
  --radius: 8px;
  --header-height: 76px;
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: "Bodoni 72", Didot, "Bodoni MT", "Times New Roman", serif;
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --scroll-progress: 0;
}

/* Home smartphone: interventi isolati, senza effetti su desktop o altre pagine. */
@media (max-width: 640px) {
  html.home-document .home-slide-content,
  html.home-document .home-slide .reveal,
  html.home-document .home-slide.reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  html.home-document .home-glass-track,
  html.home-document .home-glass-track::before,
  html.home-document .home-glass-track::after,
  html.home-document .home-slide-content::before,
  html.home-document .home-slide-content::after,
  html.home-document .story-partner-band {
    animation: none !important;
    transition: none !important;
  }

  html.home-document .story-partner-band {
    opacity: 1 !important;
    transform: none !important;
  }

  html.home-document .home-mobile-section-blend {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 1;
    height: 42px;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.2), rgba(17, 17, 17, 0.07) 42%, transparent);
    pointer-events: none;
  }

  html.home-document .story-signature,
  html.home-document .home-slide-story.is-active .story-signature {
    opacity: 0.99 !important;
    transform: rotate(-4deg) scale(1) !important;
    filter: brightness(0) invert(1) drop-shadow(0 5px 14px rgba(0, 0, 0, 0.52)) !important;
    animation: none !important;
    transition: none !important;
  }

  html.home-document .story-partner-track {
    gap: 42px;
    animation-duration: 27s !important;
  }

  html.home-document .company-story-text.is-mobile-collapsed:not(.is-mobile-expanded) > p:nth-child(n + 3) {
    display: none;
  }

  html.home-document .home-story-mobile-toggle {
    min-height: 44px;
    margin: 2px 0 16px;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid rgba(200, 155, 92, 0.72);
    background: transparent;
    color: var(--accent-dark);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    touch-action: manipulation;
  }

  html.home-document .home-slide-products .home-product-strip a,
  html.home-document .home-slide-products .home-product-strip a:nth-child(n) {
    border-color: rgba(17, 17, 17, 0.12) !important;
    background: #ffffff !important;
    color: #111111 !important;
  }

  html.home-document .home-slide-products .home-product-strip strong {
    background: #ffffff !important;
    color: #111111 !important;
    text-shadow: none !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.home-document {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

.scroll-progress {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 320;
  width: calc(var(--scroll-progress) * 100%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), #f2d49d);
  box-shadow: 0 0 14px rgba(200, 155, 92, 0.38);
  pointer-events: none;
}

.intro-lock {
  overflow: hidden;
}

html.home-document body.intro-lock {
  overflow-x: hidden;
  overflow-y: auto;
}

.site-intro {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  align-content: center;
  gap: clamp(12px, 2.2vw, 22px);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(200, 155, 92, 0.11), transparent 34%),
    linear-gradient(135deg, #070707, #141414 52%, #080808);
  color: var(--white);
  overflow: hidden;
  pointer-events: none;
}

.site-intro::before,
.site-intro::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 50.2%;
  background:
    linear-gradient(112deg, rgba(255,255,255,0.055), rgba(255,255,255,0.012) 45%, rgba(200,155,92,0.045)),
    linear-gradient(135deg, rgba(10,10,10,0.985), rgba(22,22,22,0.985));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.025);
  transition: transform 0.82s var(--ease-smooth), opacity 0.7s ease;
}

.site-intro::before {
  left: 0;
}

.site-intro::after {
  right: 0;
}

.site-intro-mark {
  position: relative;
  z-index: 2;
  width: clamp(260px, 33vw, 480px);
  aspect-ratio: 1.9;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px) scale(0.94);
  perspective: 1100px;
  transition: opacity 0.72s ease, transform 0.95s var(--ease-smooth);
}

.site-intro-mark::before {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid rgba(222, 187, 126, 0.48);
  border-radius: 3px;
  background:
    radial-gradient(circle at 72% 22%, rgba(200,155,92,0.12), transparent 34%),
    linear-gradient(118deg, rgba(255,255,255,0.1), rgba(255,255,255,0.015) 42%, rgba(200,155,92,0.04));
  box-shadow:
    0 28px 70px rgba(0,0,0,0.32),
    inset 0 0 0 1px rgba(255,255,255,0.07),
    inset 0 -18px 28px rgba(0,0,0,0.16);
}

.site-intro-mark::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(200,155,92,0.72), transparent);
  box-shadow: 0 0 12px rgba(200,155,92,0.18);
  transform: scaleX(0);
  transform-origin: center;
}

.site-intro-panel {
  display: none;
}

.site-intro-panel.is-left {
  left: 10px;
  transform: translateX(-22%) rotateY(9deg);
  transform-origin: left center;
}

.site-intro-panel.is-right {
  right: 10px;
  transform: translateX(22%) rotateY(-9deg);
  transform-origin: right center;
}

.site-intro-mullion {
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: calc(50% - 1px);
  z-index: 1;
  width: 1px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(247,216,165,0.72), rgba(200,155,92,0.22));
  box-shadow: 0 0 12px rgba(200,155,92,0.22);
  opacity: 0;
  transform: scaleY(0.2);
  transition: opacity 0.55s ease 0.45s, transform 0.9s var(--ease-smooth) 0.45s;
}

.site-intro-orbit {
  position: absolute;
  inset: 10%;
  border-radius: 3px;
  overflow: hidden;
  border: 0;
  animation: none;
}

.site-intro-orbit::before {
  content: "";
  position: absolute;
  inset: -35% auto -35% -18%;
  width: 22%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-18deg) translateX(-120%);
  opacity: 0;
}

.site-intro-mark img {
  position: relative;
  z-index: 2;
  width: min(68%, 340px);
  height: 70%;
  object-fit: contain;
  transform: translateY(-2%) scale(0.92);
  opacity: 0;
  filter: drop-shadow(0 15px 24px rgba(0,0,0,0.38));
  transition: opacity 0.7s ease 0.45s, transform 1s var(--ease-smooth) 0.45s, filter 0.7s ease;
}

.site-intro p {
  position: relative;
  z-index: 2;
  margin: 0;
  display: grid;
  gap: 6px;
  text-align: center;
  color: rgba(255,255,255,0.84);
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.65s ease 0.16s, transform 0.8s var(--ease-smooth) 0.16s;
}

.site-intro p small {
  color: rgba(247,216,165,0.66);
  font-size: 0.68em;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.site-intro-progress {
  position: relative;
  z-index: 2;
  width: min(270px, 56vw);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  opacity: 0;
  transition: opacity 0.55s ease 0.28s;
}

.site-intro-progress::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--accent), #f7d8a5);
  transform: translateX(-100%);
}

.site-intro.is-ready .site-intro-mark,
.site-intro.is-ready p,
.site-intro.is-ready .site-intro-progress {
  opacity: 1;
  transform: none;
}

.site-intro.is-ready .site-intro-panel {
  opacity: 1;
  transform: none;
}

.site-intro.is-ready .site-intro-mullion {
  opacity: 1;
  transform: scaleY(1);
}

.site-intro.is-ready .site-intro-mark::after {
  animation: introSillDraw 0.95s var(--ease-smooth) 0.38s forwards;
}

.site-intro.is-ready .site-intro-orbit::before {
  opacity: 1;
  animation: introGlassSweep 1.8s var(--ease-smooth) 0.78s forwards;
}

.site-intro.is-ready .site-intro-mark img {
  opacity: 1;
  transform: translateY(-2%) scale(1);
}

.site-intro.is-ready .site-intro-progress::before {
  animation: introProgress 2.08s var(--ease-smooth) 0.25s forwards;
}

.site-intro.is-leaving::before {
  transform: translateX(-104%);
  opacity: 0.72;
}

.site-intro.is-leaving::after {
  transform: translateX(104%);
  opacity: 0.72;
}

.site-intro.is-leaving .site-intro-mark,
.site-intro.is-leaving p,
.site-intro.is-leaving .site-intro-progress {
  opacity: 0;
  transform: translateY(-14px) scale(0.98);
  transition-duration: 0.42s;
}

.site-intro.is-leaving .site-intro-panel.is-left {
  transform: translateX(-76%) rotateY(18deg);
}

.site-intro.is-leaving .site-intro-panel.is-right {
  transform: translateX(76%) rotateY(-18deg);
}

@keyframes introGlassSweep {
  to {
    transform: skewX(-18deg) translateX(420%);
  }
}

@keyframes introSillDraw {
  to {
    transform: scaleX(1);
  }
}

@keyframes introProgress {
  to {
    transform: translateX(100%);
  }
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(10, 10, 10, 0.96);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(17, 17, 17, 0.18);
  transition: min-height 0.32s var(--ease-smooth), padding 0.32s var(--ease-smooth), background 0.32s ease, box-shadow 0.32s ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(8, 8, 8, 0.98);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.08), 0 12px 38px rgba(0, 0, 0, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand img {
  width: 39px;
  height: 39px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 7px 12px rgba(0, 0, 0, 0.2));
}

.brand span,
.site-footer h2 span {
  color: var(--accent);
}

/* Home header: logo protagonista e firma coordinata con il preload. */
.home-document .site-header {
  min-height: 68px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.home-document .site-header.is-scrolled {
  min-height: 62px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.home-document .site-header .brand {
  gap: 15px;
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.home-document .site-header .brand img {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
}

.made-in-italy-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.made-in-italy-pill::before {
  display: none;
}

.italy-flag {
  width: 24px;
  height: 14px;
  flex: 0 0 auto;
  border-radius: 3px;
  background: linear-gradient(90deg, #16824a 0 33.333%, #f6f1e8 33.333% 66.666%, #b83a3a 66.666% 100%);
  opacity: 0.72;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 0.95rem;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.22s ease, transform 0.22s var(--ease-smooth);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(241, 201, 129, 0.25), #f1c981, rgba(241, 201, 129, 0.25));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.26s var(--ease-smooth);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #f1c981;
}

.main-nav a:hover {
  transform: translateY(-2px);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.product-back-link {
  position: fixed;
  left: clamp(16px, 4vw, 52px);
  top: calc(var(--header-height) + 14px);
  z-index: 45;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(200, 155, 92, 0.42);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.78);
  color: var(--white);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  font-size: 0.86rem;
  font-weight: 900;
}

.product-back-link::before {
  content: "<";
  margin-right: 8px;
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-home {
  min-height: min(820px, calc(100vh - var(--header-height)));
  background: var(--dark);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.84), rgba(17, 17, 17, 0.34), rgba(17, 17, 17, 0.08)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.22), rgba(17, 17, 17, 0.38));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 84px 0;
}

.home-hero-content {
  width: min(920px, calc(100% - 36px));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.6rem, 7vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.home-hero-content h1,
.home-editorial h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
}

.home-hero-content h1 {
  max-width: 860px;
  font-size: 5.8rem;
  line-height: 0.94;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-content p:not(.eyebrow),
.page-hero p,
.product-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.32s var(--ease-smooth), background 0.32s ease, color 0.32s ease, border-color 0.32s ease;
  will-change: transform;
}

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

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

.btn-accent:hover {
  background: #ddb06d;
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

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

.btn-line {
  border-color: var(--border);
  color: var(--dark);
  background: var(--white);
}

.section {
  padding: clamp(64px, 8vw, 118px) clamp(18px, 5vw, 72px);
}

.home-editorial {
  padding: 48px clamp(18px, 5vw, 72px) 58px;
  background: var(--stone-soft);
  color: #050505;
  text-align: left;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.home-editorial h2 {
  margin: 0 0 40px;
  max-width: 1500px;
  font-size: 5.2rem;
  line-height: 1;
}

.home-editorial p {
  margin: 0 auto;
  max-width: 980px;
  color: #050505;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
}

.home-document {
  scroll-snap-type: none;
  scroll-padding-top: 0;
}

body.is-trackpad-scroll .home-document {
  scroll-snap-type: none;
}

.home-window-scroll {
  background: var(--dark);
}

.home-slide {
  position: relative;
  box-sizing: border-box;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: center;
  padding: clamp(34px, 4.5vw, 72px) clamp(18px, 5vw, 72px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
  transform-style: preserve-3d;
  box-shadow:
    inset 0 34px 58px rgba(17, 17, 17, 0.08),
    inset 0 -42px 72px rgba(17, 17, 17, 0.1);
}

.home-slide > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.48), transparent 16%, transparent 82%, rgba(17, 17, 17, 0.56)),
    linear-gradient(90deg, rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.52), rgba(17, 17, 17, 0.18)),
    radial-gradient(circle at 82% 24%, rgba(200, 155, 92, 0.18), transparent 26%);
}

.home-slide::after {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 26px;
  z-index: 1;
  height: 10px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent),
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(17,17,17,0.36));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.26), 0 14px 30px rgba(0,0,0,0.16);
  opacity: 0.34;
  filter: blur(0.2px);
}

.home-slide:not(.home-slide-hero)::before {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.14), transparent 15%, transparent 84%, rgba(17, 17, 17, 0.16)),
    linear-gradient(115deg, rgba(245, 242, 234, 0.9), rgba(245, 242, 234, 0.68)),
    radial-gradient(circle at 82% 16%, rgba(200, 155, 92, 0.18), transparent 30%);
}

.home-slide:not(.home-slide-hero) {
  color: var(--text);
  margin-top: 0;
  padding-top: clamp(34px, 4.5vw, 72px);
  -webkit-mask-image: none;
  mask-image: none;
}

.home-slide-story::before,
.home-slide-products::before,
.home-slide-works::before,
.home-slide-quote::before,
.home-slide-contact::before {
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.58), rgba(245, 242, 234, 0.14) 12%, transparent 24%, transparent 78%, rgba(17, 17, 17, 0.08)),
    linear-gradient(90deg, rgba(245, 242, 234, 0.5), rgba(245, 242, 234, 0.28) 46%, rgba(245, 242, 234, 0.1)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.01), rgba(17, 17, 17, 0.06));
}

.home-slide-story {
  --home-slide-bg: url("../img/hero/toscana-slide-story.png");
}

.home-slide-products {
  --home-slide-bg: url("../img/hero/toscana-slide-products.png");
  --home-products-shift: 0px;
  --home-products-glow: 24%;
  --home-products-depth: 0px;
  --home-products-progress: 0;
  --home-products-card-surface: rgb(11, 11, 12);
  --home-products-card-text: rgb(255, 255, 255);
  --home-products-card-border: rgba(11, 11, 12, 0.95);
  --home-products-darkness: 0;
  --home-products-liquid-opacity: 0.12;
  --home-products-overlay-start: rgba(7, 9, 11, 0);
  --home-products-overlay-end: rgba(19, 23, 27, 0);
  --home-products-page-color: rgb(26, 28, 30);
  background: var(--home-products-page-color);
}

.home-slide-products {
  background: transparent !important;
}

.home-products-fluid-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100vw;
  height: 100vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.home-slide-works {
  --home-slide-bg: url("../img/hero/toscana-slide-works.png");
}

.home-slide-quote {
  --home-slide-bg: url("../img/hero/toscana-slide-quote.png");
}

.home-slide-contact {
  --home-slide-bg: url("../img/hero/toscana-slide-contact.png");
}

.home-slide-story::before {
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.6), rgba(245, 242, 234, 0.14) 12%, transparent 25%, transparent 78%, rgba(17, 17, 17, 0.08)),
    linear-gradient(90deg, rgba(245, 242, 234, 0.5), rgba(245, 242, 234, 0.28) 46%, rgba(245, 242, 234, 0.1)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.01), rgba(17, 17, 17, 0.06));
}

.home-slide-products::before {
  background: linear-gradient(118deg, var(--home-products-overlay-start), var(--home-products-overlay-end));
}

.home-slide-products::before,
.home-slide-products::after {
  display: none;
}

.home-slide-products::after {
  left: -12%;
  right: -12%;
  top: -18%;
  bottom: -18%;
  z-index: 1;
  height: auto;
  border-radius: 0;
  background:
    radial-gradient(ellipse 76% 58% at 10% 14%, rgba(93, 104, 113, 0.66), transparent 67%),
    radial-gradient(ellipse 70% 66% at 94% 86%, rgba(8, 11, 14, 0.98), transparent 71%),
    radial-gradient(ellipse 62% 50% at 54% 52%, rgba(44, 52, 60, 0.78), transparent 72%),
    radial-gradient(ellipse 54% 68% at 0% 94%, rgba(14, 18, 23, 0.94), transparent 74%);
  background-size: 130% 130%, 145% 145%, 120% 120%, 132% 132%;
  box-shadow: none;
  opacity: var(--home-products-liquid-opacity);
  filter: blur(10px) saturate(0.8);
  transform: translateX(calc(var(--home-products-shift) * -1.12)) translateY(calc(var(--home-products-shift) * -0.1)) scale(1.08);
  transition: transform 0.35s ease-out, opacity 0.35s ease;
  animation: productLiquidDrift 17s ease-in-out infinite alternate;
  pointer-events: none;
}

.home-slide-products > img {
  display: none;
}

.home-slide-products .home-glass-track {
  display: none;
}

.home-slide-products.has-dark-products-background .home-slide-content > .eyebrow,
.home-slide-products.has-dark-products-background .home-products-head h2 {
  color: #f7f5ef;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}

.home-slide-products.has-dark-products-background .home-slide-content::before,
.home-slide-products.has-dark-products-background .home-slide-content::after {
  display: none;
}

.home-slide-products .home-slide-content::before,
.home-slide-products .home-slide-content::after {
  display: none;
}

.home-slide-products .home-slide-content {
  position: absolute;
  inset: 0;
  width: 100%;
  max-height: none;
  height: 100%;
  padding: clamp(26px, 4vw, 56px) clamp(18px, 5vw, 72px);
  z-index: 2;
}

.home-slide-products .home-slide-content::before {
  content: "▯  ◫  ║  ⊞  ▤  ◧  ▯  ◫  ║  ⊞  ▤  ◧\A ◫  ║  ⊞  ▤  ◧  ▯  ◫  ║  ⊞  ▤  ◧  ▯\A ║  ⊞  ▤  ◧  ▯  ◫  ║  ⊞  ▤  ◧  ▯  ◫";
  position: absolute;
  inset: 8% -18%;
  z-index: 1;
  color: rgba(67, 82, 58, 0.13);
  font-size: clamp(2.8rem, 6vw, 7.4rem);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.38em;
  white-space: pre;
  transform: translateX(calc(var(--home-products-shift) * -1.55));
  transition: transform 0.35s ease-out;
  pointer-events: none;
}

.home-slide-products .home-products-head {
  position: relative;
  z-index: 4;
  width: min(680px, 52vw);
}

.home-slide-products .home-product-strip + .btn {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  bottom: clamp(26px, 4vw, 56px);
  z-index: 5;
}

.home-slide-products .home-slide-content::before {
  content: "[ ]       ||        #       <>          [/]      --\A    <>       [ ]            ==       #         ||       []\A #          --       []         <>          ||      [/]";
  color: rgba(67, 82, 58, 0.13);
  letter-spacing: 0.48em;
  animation: productSymbolsFloat 12s ease-in-out infinite alternate;
}

.home-slide-products .home-slide-content::after {
  content: "";
  position: absolute;
  inset: 4% -10% 2%;
  z-index: 1;
  background:
    radial-gradient(circle at 12% 24%, rgba(200, 155, 92, 0.18) 0 4px, transparent 5px),
    radial-gradient(circle at 74% 18%, rgba(67, 82, 58, 0.18) 0 5px, transparent 6px),
    radial-gradient(circle at 38% 76%, rgba(200, 155, 92, 0.16) 0 4px, transparent 5px),
    linear-gradient(128deg, transparent 0 61%, rgba(67, 82, 58, 0.09) 61.2% 61.45%, transparent 61.7% 100%),
    linear-gradient(52deg, transparent 0 28%, rgba(200, 155, 92, 0.09) 28.2% 28.45%, transparent 28.7% 100%);
  background-size: 360px 280px, 410px 320px, 300px 250px, 420px 320px, 520px 380px;
  opacity: 0.7;
  transform: translateX(calc(var(--home-products-shift) * -0.42));
  animation: productDetailsDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes productGeometryDrift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
  }
  50% {
    background-position: 92px -48px, -86px 74px, 34px -18px, -46px 24px, 52px 38px, -66px -44px;
  }
  100% {
    background-position: 184px 96px, -172px 148px, 72px -36px, -94px 48px, 104px 76px, -132px -88px;
  }
}

@keyframes productLiquidDrift {
  0% {
    background-position: 8% 4%, 92% 94%, 52% 46%, 0% 100%;
  }
  100% {
    background-position: -24% 22%, 118% 70%, 78% 28%, 18% 74%;
  }
}

@keyframes productSymbolsFloat {
  0% {
    transform: translateX(calc(var(--home-products-shift) * -1.35)) translateY(0) rotate(-1deg);
  }
  100% {
    transform: translateX(calc(var(--home-products-shift) * -1.35 - 132px)) translateY(-44px) rotate(1.6deg);
  }
}

@keyframes productDetailsDrift {
  0% {
    background-position: 0 0, 38px 16px, -24px 44px, 0 0, 0 0;
    transform: translateX(calc(var(--home-products-shift) * -0.42)) translateY(0) rotate(-0.4deg);
  }
  100% {
    background-position: 160px -90px, -120px 84px, 95px -60px, -180px 120px, 220px -140px;
    transform: translateX(calc(var(--home-products-shift) * -0.42 - 70px)) translateY(-28px) rotate(0.6deg);
  }
}

.home-slide-works::before {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.4), rgba(17, 17, 17, 0.12) 12%, transparent 25%, transparent 78%, rgba(17, 17, 17, 0.34)),
    linear-gradient(90deg, rgba(245, 242, 234, 0.64), rgba(245, 242, 234, 0.28) 46%, rgba(17, 17, 17, 0.16)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.02), rgba(17, 17, 17, 0.08));
}

.home-slide-works {
  padding: 0;
  background: #111111;
}

.home-slide-works::before {
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.44), rgba(17, 17, 17, 0.14) 12%, transparent 26%, transparent 78%, rgba(17, 17, 17, 0.42)),
    linear-gradient(90deg, rgba(17, 17, 17, 0.34), rgba(17, 17, 17, 0.1) 42%, rgba(17, 17, 17, 0.38));
}

.home-slide-works::after,
.home-slide-works .home-glass-track {
  display: none;
}

.home-slide-works .home-work-backdrop::after {
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.28), rgba(17, 17, 17, 0.06) 42%, rgba(17, 17, 17, 0.44)),
    radial-gradient(circle at 24% 46%, rgba(255, 255, 255, 0.08), transparent 34%);
}

.home-slide-works .home-slide-bg {
  opacity: 0;
}

.home-slide-works .home-slide-content {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  padding: 0;
}

.home-slide-works .home-slide-content > .eyebrow,
.home-slide-works .home-slide-content > h2 {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  z-index: 4;
}

.home-slide-works .home-slide-content > .eyebrow {
  top: clamp(30px, 4vw, 64px);
}

.home-slide-works .home-slide-content > h2 {
  top: calc(clamp(30px, 4vw, 64px) + 34px);
  max-width: 760px;
}

.home-slide-works .home-slide-content > .eyebrow,
.home-slide-works .home-slide-content > h2,
.home-work-slide h3 {
  color: #ffffff;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.54);
}

.home-slide-works .home-slide-content > .eyebrow,
.home-work-slide span {
  color: rgba(255, 255, 255, 0.82);
}

.home-work-slide p {
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.5);
}

.home-slide-works .home-slide-content > .btn {
  border-color: rgba(255, 255, 255, 0.74);
  background: rgba(255, 255, 255, 0.94);
  color: #151515;
}

.home-slide-works .home-slide-content > .btn {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  bottom: clamp(26px, 4vw, 56px);
  z-index: 5;
}

.home-slide-quote::before {
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.6), rgba(245, 242, 234, 0.14) 12%, transparent 25%, transparent 78%, rgba(17, 17, 17, 0.08)),
    radial-gradient(circle at 78% 26%, rgba(200, 155, 92, 0.22), transparent 34%),
    linear-gradient(90deg, rgba(245, 242, 234, 0.62), rgba(245, 242, 234, 0.4) 48%, rgba(245, 242, 234, 0.14)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.01), rgba(17, 17, 17, 0.05));
}

.home-slide-contact::before {
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.6), rgba(245, 242, 234, 0.14) 12%, transparent 25%, transparent 78%, rgba(17, 17, 17, 0.08)),
    linear-gradient(90deg, rgba(245, 242, 234, 0.64), rgba(245, 242, 234, 0.46) 42%, rgba(245, 242, 234, 0.14)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.01), rgba(17, 17, 17, 0.05));
}

.home-slide-contact > .home-slide-bg {
  object-position: right center;
}

.home-slide-content {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  max-height: calc(100dvh - var(--header-height) - clamp(68px, 9vw, 144px));
  opacity: 0;
  transform: translateY(20px) scale(0.99);
  transition: opacity 1.18s var(--ease-smooth) 0.12s, transform 1.18s var(--ease-smooth) 0.12s;
  will-change: opacity, transform;
}

.home-slide.is-active .home-slide-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-slide-products .home-slide-content {
  transition-duration: 0.86s;
  transition-delay: 0.06s;
}

.home-slide-content h1,
.home-slide-content h2 {
  max-width: 980px;
}

.home-slide-content h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
}

.home-slide-content h2 {
  font-size: clamp(2.15rem, 4.3vw, 4.35rem);
}

.home-slide-content p {
  max-width: 720px;
  color: inherit;
}

.home-slide-hero .button-row {
  margin-top: 44px;
}

.hero-exclusive-offer {
  width: min(720px, 100%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(241, 201, 129, 0.52);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(110deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.42)),
    rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px) saturate(1.08);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.hero-exclusive-offer:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 201, 129, 0.88);
  background:
    linear-gradient(110deg, rgba(17, 17, 17, 0.82), rgba(84, 61, 31, 0.5)),
    rgba(255, 255, 255, 0.1);
}

.hero-offer-mark {
  width: clamp(72px, 8vw, 98px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1c981, var(--accent));
  color: var(--dark);
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.hero-exclusive-offer strong {
  display: block;
  margin-bottom: 4px;
  color: #f1c981;
  font-size: clamp(1.08rem, 1.65vw, 1.42rem);
  line-height: 1.15;
}

.hero-exclusive-offer small {
  display: block;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.92rem;
  line-height: 1.35;
}

.home-slide:not(.home-slide-hero) .home-slide-content p {
  color: var(--muted);
}

.made-italy-story {
  padding-left: 16px;
  border-left: 4px solid var(--accent);
  font-weight: 800;
}

.company-story-text {
  max-width: 690px;
}

.company-story-text strong {
  color: var(--dark);
  font-weight: 950;
}

.home-slide-story {
  align-items: start;
  height: 100dvh;
  min-height: 100dvh;
  padding-top: calc(clamp(18px, 2.4vw, 38px) + 72px);
  padding-bottom: calc(clamp(70px, 6vw, 118px) + 8px);
}

.home-slide-story .home-slide-content {
  z-index: 3;
  align-self: start;
  max-height: none;
  overflow: visible;
}

.home-slide-story .home-two-columns {
  gap: clamp(16px, 3vw, 42px);
  align-items: start;
}

.home-slide-story .home-slide-content h2 {
  margin-bottom: clamp(12px, 1.8vw, 22px);
  font-size: clamp(2.05rem, 3.8vw, 4.45rem);
  line-height: 0.94;
}

.home-slide-story .home-slide-content p {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(0.86rem, 0.96vw, 0.98rem);
  line-height: 1.36;
}

.home-slide-story .made-italy-story {
  margin-bottom: 10px;
}

.story-portrait {
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(100%, 590px);
  height: clamp(430px, 65vh, 710px);
  min-height: 0;
  max-height: calc(100dvh - var(--header-height) - clamp(170px, 14vw, 230px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 30px 76px rgba(17, 17, 17, 0.22), 0 0 0 10px rgba(255, 255, 255, 0.16);
  transform: translateX(clamp(8px, 1.4vw, 22px));
}

.story-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.24), transparent 42%);
  pointer-events: none;
}

.story-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(17, 17, 17, 0.18));
  pointer-events: none;
}

.story-portrait > img:not(.story-signature) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  transform: scale(1.025);
  filter: saturate(1.04) contrast(1.02);
}

.story-signature {
  position: absolute;
  right: clamp(8px, 2vw, 24px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 3;
  width: min(38%, 185px);
  height: auto;
  opacity: 0;
  transform: rotate(-4deg) scale(1.22);
  transform-origin: right bottom;
  filter: brightness(0) invert(1) drop-shadow(0 5px 14px rgba(0, 0, 0, 0.52));
  pointer-events: none;
}

.home-slide-story.is-active .story-signature {
  animation: storySignatureStamp 0.5s cubic-bezier(0.2, 0.85, 0.3, 1.12) 1.5s both;
}

@keyframes storySignatureStamp {
  0% {
    opacity: 0;
    transform: rotate(-7deg) translateY(12px) scale(1.42);
    filter: brightness(0) invert(1) blur(2px) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
  }
  58% {
    opacity: 0.98;
    transform: rotate(-3deg) translateY(0) scale(0.92);
  }
  78% {
    transform: rotate(-4.5deg) scale(1.06);
  }
  100% {
    opacity: 0.99;
    transform: rotate(-4deg) scale(1);
    filter: brightness(0) invert(1) drop-shadow(0 5px 14px rgba(0, 0, 0, 0.52));
  }
}

@media (min-width: 861px) {
  .home-slide-story .home-slide-content,
  .home-slide-story .home-two-columns {
    height: 100%;
  }

  .home-slide-story .home-two-columns > div:first-child {
    display: flex;
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .home-slide-story .company-story-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
  }

  .home-slide-story .home-slide-content p {
    font-size: clamp(0.92rem, 1.05vw, 1.08rem);
    line-height: 1.42;
  }

  .home-slide-story .home-two-columns > div:first-child > .btn {
    margin-top: auto;
    margin-bottom: 12px;
  }
}

.story-partner-band {
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: clamp(14px, 2.2vh, 26px);
  z-index: 2;
  height: clamp(54px, 6.4vw, 76px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 18px 48px rgba(17, 17, 17, 0.1);
  backdrop-filter: blur(14px) saturate(1.08);
  opacity: 0;
  transform: translate(-8%, 120%);
  transition: opacity 0.7s ease 0.55s, transform 0.9s var(--ease-smooth) 0.55s;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.story-partner-track {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(76px, 8vw, 180px);
  width: max-content;
  padding: 0 clamp(40px, 6vw, 96px);
  animation: storyPartnerMarquee 42s linear infinite;
  will-change: transform;
}

.story-partner-band img {
  width: auto;
  min-width: clamp(140px, 10vw, 240px);
  max-width: none;
  height: clamp(36px, 4.7vw, 60px);
  object-fit: contain;
  object-position: center;
  filter: saturate(0.95) contrast(1.03);
  opacity: 0.88;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.story-partner-band img:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.03);
}

.home-slide-story.is-active .story-partner-band {
  opacity: 1;
  transform: translate(0, 0);
}

@keyframes storyPartnerMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.home-glass-track {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  transform: translateX(0);
}

.home-glass-track::before,
.home-glass-track::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 42px;
  width: 58%;
  background:
    linear-gradient(112deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.18) 24%, rgba(255,255,255,0.05) 48%, rgba(255,255,255,0.22) 100%),
    linear-gradient(68deg, transparent 0 34%, rgba(255,255,255,0.5) 35%, transparent 43% 100%),
    linear-gradient(90deg, rgba(200, 155, 92, 0.16), rgba(30, 45, 50, 0.08));
  border: 10px solid rgba(28, 28, 28, 0.72);
  border-top-color: rgba(50, 50, 50, 0.86);
  border-bottom-color: rgba(8, 8, 8, 0.9);
  border-radius: 2px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.32),
    inset 22px 0 34px rgba(255,255,255,0.08),
    inset -26px 0 42px rgba(0,0,0,0.16),
    0 30px 70px rgba(0,0,0,0.34);
  backdrop-filter: blur(16px) saturate(1.24);
  transition: transform 1.35s var(--ease-smooth), opacity 1.2s ease, filter 1.2s ease;
  will-change: transform, opacity, filter;
}

.home-glass-track::before {
  background:
    linear-gradient(90deg, transparent calc(100% - 34px), rgba(12,12,12,0.58) calc(100% - 34px) calc(100% - 26px), transparent calc(100% - 26px)),
    linear-gradient(112deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.18) 24%, rgba(255,255,255,0.05) 48%, rgba(255,255,255,0.22) 100%),
    linear-gradient(68deg, transparent 0 34%, rgba(255,255,255,0.5) 35%, transparent 43% 100%),
    linear-gradient(90deg, rgba(200, 155, 92, 0.16), rgba(30, 45, 50, 0.08));
}

.home-glass-track::after {
  background:
    linear-gradient(90deg, transparent 26px, rgba(12,12,12,0.58) 26px 34px, transparent 34px),
    linear-gradient(112deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.18) 24%, rgba(255,255,255,0.05) 48%, rgba(255,255,255,0.22) 100%),
    linear-gradient(68deg, transparent 0 34%, rgba(255,255,255,0.5) 35%, transparent 43% 100%),
    linear-gradient(90deg, rgba(200, 155, 92, 0.16), rgba(30, 45, 50, 0.08));
}

.home-glass-track::before {
  left: -8%;
}

.home-glass-track::after {
  right: -8%;
}

.home-slide.is-active .home-glass-track::before {
  transform: translateX(-94%) translateZ(30px) skewY(-0.7deg);
}

.home-slide.is-active .home-glass-track::after {
  transform: translateX(94%) translateZ(30px) skewY(0.7deg);
}

.home-slide.is-active .home-glass-track::before,
.home-slide.is-active .home-glass-track::after {
  opacity: 0.18;
  filter: blur(0.4px);
}

.home-glass-track {
  background:
    linear-gradient(90deg, transparent 0 49.65%, rgba(20,20,20,0.54) 49.65% 50.35%, transparent 50.35% 100%),
    linear-gradient(0deg, transparent 0 14px, rgba(255,255,255,0.16) 14px 15px, transparent 15px calc(100% - 30px), rgba(0,0,0,0.28) calc(100% - 30px) calc(100% - 20px), transparent calc(100% - 20px));
}

.home-slide.is-active .home-glass-track {
  background:
    linear-gradient(90deg, transparent 0 49.9%, rgba(20,20,20,0.18) 49.9% 50.1%, transparent 50.1% 100%),
    linear-gradient(0deg, transparent 0 14px, rgba(255,255,255,0.08) 14px 15px, transparent 15px calc(100% - 30px), rgba(0,0,0,0.14) calc(100% - 30px) calc(100% - 20px), transparent calc(100% - 20px));
}

.home-slide[data-direction="up"] .home-glass-track::before {
  transition-delay: 0.05s;
}

.home-slide[data-direction="up"] .home-glass-track::after {
  transition-delay: 0.14s;
}

.home-slide[data-direction="down"] .home-glass-track::before {
  transition-delay: 0.14s;
}

.home-slide[data-direction="down"] .home-glass-track::after {
  transition-delay: 0.05s;
}

.home-slide.is-active .home-glass-track {
  background: transparent;
}

.home-slide.is-active .home-glass-track::before,
.home-slide.is-active .home-glass-track::after {
  opacity: 0;
}

.home-slide[data-slide-effect="sliding"] .home-glass-track::before,
.home-slide[data-slide-effect="sliding"] .home-glass-track::after {
  background:
    linear-gradient(90deg, transparent calc(100% - 34px), rgba(12,12,12,0.58) calc(100% - 34px) calc(100% - 26px), transparent calc(100% - 26px)),
    linear-gradient(112deg, rgba(255,255,255,0.58), rgba(255,255,255,0.12) 46%, rgba(255,255,255,0.2)),
    linear-gradient(68deg, transparent 0 34%, rgba(255,255,255,0.52) 35%, transparent 43% 100%),
    url("../img/prodotti/card-scorrevoli-vetrate.png") center / cover no-repeat;
}

.home-slide[data-slide-effect="shutter"] .home-glass-track::before,
.home-slide[data-slide-effect="shutter"] .home-glass-track::after {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.12) 0 13px, rgba(30,22,12,0.34) 13px 24px),
    linear-gradient(90deg, rgba(0,0,0,0.24), transparent 34%, rgba(255,255,255,0.16)),
    url("../img/prodotti/card-persiane.png") center / cover no-repeat,
    linear-gradient(135deg, #b98c4d, #2b241b);
  backdrop-filter: none;
  border-color: rgba(42, 30, 18, 0.86);
}

.home-slide[data-slide-effect="screen"] .home-glass-track::before {
  left: 0;
  right: 0;
  top: 14px;
  bottom: 42px;
  width: 100%;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.42) 0 1px, rgba(30,30,30,0.16) 1px 6px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 1px, rgba(30,30,30,0.1) 1px 7px),
    linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.04)),
    url("../img/prodotti/card-zanzariere.png") center / cover no-repeat;
  border: 8px solid rgba(24, 24, 24, 0.7);
  border-top-width: 20px;
  backdrop-filter: blur(5px);
}

.home-slide[data-slide-effect="screen"] .home-glass-track::after {
  left: 0;
  right: 0;
  top: 14px;
  bottom: auto;
  width: 100%;
  height: 20px;
  background: linear-gradient(180deg, rgba(18,18,18,0.92), rgba(55,55,55,0.72));
  border: 0;
  box-shadow: 0 12px 26px rgba(0,0,0,0.28);
}

.home-slide[data-slide-effect="screen"].is-active .home-glass-track::before {
  transform: translateY(-108%) scaleY(0.16);
}

.home-slide[data-slide-effect="screen"].is-active .home-glass-track::after {
  transform: translateY(-108%);
}

.home-slide::after {
  height: 4px;
  opacity: 0.32;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 8px 18px rgba(0,0,0,0.12);
}

.home-glass-track {
  background: transparent;
}

.home-glass-track::before,
.home-glass-track::after {
  top: 26px;
  bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(112deg, rgba(255,255,255,0.28), rgba(255,255,255,0.08) 42%, rgba(255,255,255,0.15)),
    linear-gradient(68deg, transparent 0 36%, rgba(255,255,255,0.24) 37%, transparent 45% 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12), 0 16px 44px rgba(0,0,0,0.12);
  backdrop-filter: blur(7px) saturate(1.08);
  transition: transform 1.48s var(--ease-smooth), opacity 1.18s ease, filter 1.18s ease;
}

.home-slide[data-slide-effect="intro"] .home-glass-track::before,
.home-slide[data-slide-effect="intro"] .home-glass-track::after {
  display: none;
}

.home-slide[data-slide-effect="soft-glass-left"] .home-glass-track::before {
  left: 0;
  width: 72%;
}

.home-slide[data-slide-effect="soft-glass-left"] .home-glass-track::after {
  display: none;
}

.home-slide[data-slide-effect="soft-glass-left"].is-active .home-glass-track::before {
  transform: translateX(-86%);
}

.home-slide[data-slide-effect="soft-mesh"] .home-glass-track::before {
  left: 0;
  right: 0;
  width: 100%;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.18) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 1px, transparent 1px 8px),
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  backdrop-filter: blur(4px);
}

.home-slide[data-slide-effect="soft-mesh"] .home-glass-track::after {
  display: none;
}

.home-slide[data-slide-effect="soft-mesh"].is-active .home-glass-track::before {
  transform: translateY(-92%) scaleY(0.28);
}

.home-slide[data-slide-effect="soft-glass-right"] .home-glass-track::before {
  display: none;
}

.home-slide[data-slide-effect="soft-glass-right"] .home-glass-track::after {
  right: 0;
  width: 72%;
}

.home-slide[data-slide-effect="soft-glass-right"].is-active .home-glass-track::after {
  transform: translateX(86%);
}

.home-slide[data-slide-effect="soft-frost"] .home-glass-track::before,
.home-slide[data-slide-effect="soft-frost"] .home-glass-track::after {
  width: 52%;
  background:
    linear-gradient(115deg, rgba(255,255,255,0.22), rgba(255,255,255,0.07)),
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.18), transparent 28%);
  backdrop-filter: blur(10px) saturate(1.12);
}

.home-slide[data-slide-effect="soft-frost"].is-active .home-glass-track::before {
  transform: translateX(-82%);
}

.home-slide[data-slide-effect="soft-frost"].is-active .home-glass-track::after {
  transform: translateX(82%);
}

.home-slide[data-slide-effect="soft-vertical"] .home-glass-track::before {
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  width: 100%;
  height: 64%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05)),
    linear-gradient(110deg, transparent, rgba(255,255,255,0.2), transparent);
}

.home-slide[data-slide-effect="soft-vertical"] .home-glass-track::after {
  display: none;
}

.home-slide[data-slide-effect="soft-vertical"].is-active .home-glass-track::before {
  transform: translateY(-90%);
}

.home-slide.is-active .home-glass-track::before,
.home-slide.is-active .home-glass-track::after {
  opacity: 0;
  filter: blur(1px);
}

.scroll-cue {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 28px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: clamp(24px, 6vw, 82px);
  align-items: center;
}

.story-panel,
.quote-preview,
.home-map-panel {
  border: 1px solid rgba(17, 17, 17, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
}

.story-panel {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
}

.story-panel article {
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: rgba(255, 255, 255, 0.72);
}

.story-panel span,
.home-work-gallery span {
  color: var(--accent-dark);
  font-weight: 900;
}

.home-work-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(14px, 2vw, 22px) 0;
}

.home-product-strip {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: clamp(58px, 8vw, 132px);
  min-height: 0;
  height: 100%;
  margin: 0;
  padding: clamp(104px, 14vh, 154px) clamp(18px, 8vw, 140px) clamp(78px, 10vh, 116px);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: none;
  scroll-behavior: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 155, 92, 0.85) rgba(17, 17, 17, 0.08);
}

.home-product-strip::-webkit-scrollbar {
  height: 8px;
}

.home-product-strip::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.08);
}

.home-product-strip::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 155, 92, 0.45), rgba(200, 155, 92, 0.95));
}

.home-product-strip a,
.home-work-gallery article {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.12);
}

.home-product-strip a {
  flex: 0 0 clamp(215px, 23vw, 370px);
  scroll-snap-align: none;
  transform: none;
  transition: box-shadow 0.35s ease, border-color 0.35s ease;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
}

.home-product-strip a:nth-child(1) {
  flex-basis: clamp(260px, 25vw, 390px);
  margin-top: clamp(4px, 3vh, 38px);
}

.home-product-strip a:nth-child(2) {
  flex-basis: clamp(190px, 17vw, 285px);
  margin-top: clamp(150px, 24vh, 230px);
}

.home-product-strip a:nth-child(3) {
  flex-basis: clamp(245px, 23vw, 365px);
  margin-top: clamp(72px, 12vh, 130px);
}

.home-product-strip a:nth-child(4) {
  flex-basis: clamp(205px, 18vw, 310px);
  margin-top: clamp(170px, 27vh, 250px);
}

.home-product-strip a:nth-child(5) {
  flex-basis: clamp(285px, 28vw, 430px);
  margin-top: clamp(0px, 2vh, 26px);
}

.home-product-strip a:nth-child(6) {
  flex-basis: clamp(210px, 20vw, 330px);
  margin-top: clamp(145px, 23vh, 225px);
}

.home-product-strip a:nth-child(7) {
  flex-basis: clamp(245px, 24vw, 370px);
  margin-top: clamp(82px, 14vh, 150px);
}

.home-product-strip a::before,
.home-work-gallery article::before,
.animated-product-card::before,
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255,255,255,0.18) 45%, transparent 54% 100%);
  opacity: 0;
  transform: translateX(-30%);
  transition: opacity 0.45s ease, transform 0.75s var(--ease-smooth);
  pointer-events: none;
}

.home-product-strip a:hover::before,
.home-work-gallery article:hover::before,
.animated-product-card:hover::before,
.work-card:hover::before {
  opacity: 1;
  transform: translateX(34%);
}

.home-product-strip img,
.home-work-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-slide-products .home-product-strip img {
  aspect-ratio: 1.18 / 1;
  filter: saturate(0.95) contrast(1.02);
}

.home-product-strip a:nth-child(2) img,
.home-product-strip a:nth-child(4) img,
.home-product-strip a:nth-child(6) img {
  aspect-ratio: 0.9 / 1;
}

/* Inquadratura dedicata alla INC 184 nella sola card Porte della home. */
.home-slide-products .home-product-strip img.home-product-image-inc184 {
  object-position: 28% center;
}

.home-product-strip a:nth-child(5) img {
  aspect-ratio: 1.35 / 1;
}

.home-product-strip strong {
  display: block;
  padding: 13px 15px 15px;
  color: #111111;
  font-size: clamp(1rem, 1.12vw, 1.16rem);
  font-weight: 950;
  letter-spacing: 0.01em;
  text-shadow: none;
  background: rgba(255, 255, 255, 0.98);
}

.home-slide-products .home-product-strip a {
  background: var(--home-products-card-surface);
  border-color: var(--home-products-card-border);
}

.home-slide-products .home-product-strip strong {
  color: var(--home-products-card-text);
  background: var(--home-products-card-surface);
}

.home-product-strip a:nth-child(odd) {
  box-shadow: 0 24px 52px rgba(17, 17, 17, 0.18);
}

.home-product-strip a:nth-child(even) {
  box-shadow: 0 16px 36px rgba(17, 17, 17, 0.14);
}

.home-products-head {
  display: block;
  gap: clamp(18px, 3vw, 32px);
  align-items: end;
}

.home-products-head h2 {
  margin-bottom: 0;
}

.home-work-gallery article {
  padding-bottom: 16px;
}

.home-work-gallery span,
.home-work-gallery h3 {
  display: block;
  margin: 12px 16px 0;
}

.home-sharknet-promo {
  position: absolute;
  top: clamp(56px, 7vh, 98px);
  right: clamp(28px, 3.5vw, 70px);
  z-index: 9;
  width: min(780px, 41vw);
  min-height: clamp(132px, 15vh, 178px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  justify-items: start;
  gap: clamp(14px, 1.8vw, 24px);
  align-items: center;
  margin: 0;
  padding: clamp(14px, 1.45vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(200, 155, 92, 0.4);
  border-radius: 26px;
  background:
    linear-gradient(100deg, rgba(17, 17, 17, 0.92), rgba(17, 17, 17, 0.76) 52%, rgba(200, 155, 92, 0.42)),
    url("../img/prodotti/card-zanzariere.png") right center / cover no-repeat;
  color: var(--white);
  box-shadow: 0 24px 68px rgba(17, 17, 17, 0.24), 0 0 0 7px rgba(200, 155, 92, 0.1);
  transform: translateZ(0);
  backdrop-filter: blur(12px) saturate(1.08);
}

.home-sharknet-promo > div:not(.sharknet-discount-badge) {
  display: block;
  min-width: 0;
}

.home-sharknet-promo .btn {
  min-height: 34px;
  padding: 8px 12px;
  font-size: 0.76rem;
}

.sharknet-discount-badge {
  width: clamp(69px, 4.65vw, 90px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border: 2px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255,255,255,0.34), transparent 26%),
    linear-gradient(135deg, #f1c981, var(--accent));
  color: var(--dark);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.28);
}

.sharknet-discount-badge span {
  display: block;
  font-size: clamp(1.44rem, 2.14vw, 2.2rem);
  font-weight: 950;
  line-height: 0.85;
  letter-spacing: -0.08em;
}

.sharknet-discount-badge small {
  display: block;
  margin-top: 3px;
  font-size: 0.48rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-sharknet-promo .eyebrow {
  color: #f1c981;
}

.home-sharknet-promo h3 {
  margin-bottom: 6px;
  color: var(--white);
  font-size: clamp(1.35rem, 1.75vw, 2rem);
  line-height: 1;
}

.home-sharknet-promo strong {
  display: block;
  max-width: 900px;
  margin-bottom: 0;
  color: #f1c981;
  font-size: clamp(0.95rem, 1.05vw, 1.08rem);
  line-height: 1.35;
}

.home-sharknet-promo p:not(.eyebrow) {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.home-work-carousel {
  position: absolute;
  inset: 0;
  overflow: visible;
  min-height: 0;
  height: 100%;
  max-height: none;
  margin: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}

.home-work-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111111;
  filter: saturate(0.92) brightness(0.88);
  opacity: 1;
}

.home-work-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 242, 234, 0.82), rgba(245, 242, 234, 0.42) 38%, rgba(17, 17, 17, 0.52)),
    radial-gradient(circle at 24% 46%, rgba(255, 255, 255, 0.18), transparent 34%);
}

.home-work-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
  transform: scale(1.08);
  filter: blur(7px);
  transition: opacity 0.35s ease, transform 1.8s var(--ease-smooth);
}

.home-work-feature {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: grid;
  align-items: center;
  padding: clamp(118px, 16vh, 170px) clamp(18px, 5vw, 72px) clamp(82px, 11vh, 128px);
}

.home-work-slide {
  position: absolute;
  inset: clamp(118px, 16vh, 170px) clamp(18px, 5vw, 72px) clamp(82px, 11vh, 128px);
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(250px, 0.82fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: end;
  opacity: 0;
  transform: translateX(26px) scale(0.985);
  pointer-events: none;
  transition: opacity 0.65s ease, transform 0.8s var(--ease-smooth);
}

.home-work-slide.is-active {
  position: relative;
  inset: auto;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.home-work-slide > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 520px);
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.home-work-slide > div {
  max-width: 420px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home-work-slide span {
  color: var(--accent-dark);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.home-work-slide h3 {
  margin: 10px 0 12px;
  font-size: clamp(1.55rem, 2.4vw, 2.45rem);
}

.home-work-slide p {
  margin: 0;
  color: var(--muted);
}

/* Realizzazioni desktop: riserva spazio alle miniature sotto al testo. */
@media (min-width: 861px) {
  .home-slide-works .home-work-slide > div {
    max-width: 500px;
    padding-bottom: clamp(64px, 8vh, 88px);
  }

  .home-slide-works .home-work-slide h3 {
    margin: 8px 0 10px;
    font-size: clamp(1.35rem, 2vw, 2.1rem);
    line-height: 1.12;
  }

  .home-slide-works .home-work-slide p {
    font-size: clamp(0.88rem, 1vw, 1rem);
    line-height: 1.5;
  }
}

.home-work-strip {
  position: absolute;
  right: clamp(16px, 3vw, 36px);
  bottom: clamp(16px, 3vw, 34px);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.home-work-strip button {
  overflow: hidden;
  width: clamp(86px, 9vw, 132px);
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  opacity: 0.72;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.35s var(--ease-smooth), border-color 0.25s ease;
}

.home-work-strip button:hover,
.home-work-strip button.is-active {
  opacity: 1;
  transform: translateY(-6px);
  border-color: var(--accent);
}

.home-work-strip img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-work-strip span {
  display: block;
  padding: 8px 7px;
  color: var(--dark);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.quote-home-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.82fr) minmax(0, 0.95fr);
  gap: clamp(28px, 7vw, 104px);
  align-items: center;
}

.quote-home-copy {
  max-width: 760px;
}

.quote-home-copy h2 {
  max-width: 780px;
}

.quote-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.quote-home-card {
  position: relative;
  padding: clamp(12px, 1.4vw, 18px);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: calc(var(--radius) + 18px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(245, 242, 234, 0.58)),
    radial-gradient(circle at 18% 18%, rgba(200, 155, 92, 0.2), transparent 36%);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(12px) saturate(1.05);
}

.quote-home-card::before {
  content: "";
  position: absolute;
  inset: auto clamp(18px, 2vw, 28px) -10px clamp(18px, 2vw, 28px);
  height: 22px;
  border-radius: 0 0 24px 24px;
  background:
    linear-gradient(90deg, transparent, rgba(200, 155, 92, 0.38), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.quote-home-card > * {
  position: relative;
  z-index: 1;
}

.quote-form-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 34px);
  border-radius: calc(var(--radius) + 8px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(17, 17, 17, 0.06);
}

.quote-form-top {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin-bottom: 8px;
}

.quote-form-top span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.quote-form-top strong {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(200, 155, 92, 0.18);
  color: var(--accent-dark);
  font-size: 0.86rem;
}

.quote-form-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 62px;
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(245, 242, 234, 0.86), rgba(255, 255, 255, 0.74));
  color: var(--text);
  font-weight: 900;
  transition: transform 0.32s var(--ease-smooth), box-shadow 0.32s ease, border-color 0.32s ease;
}

.quote-form-row:hover {
  transform: translateY(-3px);
  border-color: rgba(200, 155, 92, 0.34);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.08);
}

.quote-form-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 850;
}

.quote-form-row strong {
  text-align: right;
}

.home-map-panel {
  min-height: 420px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--accent);
  background:
    linear-gradient(135deg, rgba(200, 155, 92, 0.18), rgba(255,255,255,0.82)),
    repeating-linear-gradient(90deg, rgba(17,17,17,0.05) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(17,17,17,0.05) 0 1px, transparent 1px 38px);
  color: var(--accent-dark);
  font-size: 1.4rem;
  font-weight: 900;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head h2 {
  color: var(--dark);
}

.partner-section {
  padding-top: 0;
  padding-bottom: clamp(30px, 5vw, 64px);
}

.partner-card {
  position: relative;
  overflow: hidden;
  max-width: 1040px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(200, 155, 92, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 239, 229, 0.88)),
    radial-gradient(circle at 88% 0%, rgba(200, 155, 92, 0.16), transparent 34%);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}

.partner-card::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 118px;
  height: 118px;
  border: 1px solid rgba(200, 155, 92, 0.2);
  border-radius: 999px;
  opacity: 0.48;
  pointer-events: none;
}

.partner-card h2 {
  margin-bottom: 12px;
  color: var(--dark);
}

.partner-card p:not(.eyebrow) {
  max-width: 820px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.75;
}

.partner-card span {
  display: inline-flex;
  margin-top: 20px;
  padding: 9px 13px;
  border: 1px solid rgba(200, 155, 92, 0.34);
  border-radius: 999px;
  background: rgba(200, 155, 92, 0.12);
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-card--collab {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 236, 229, 0.9)),
    radial-gradient(circle at 88% 0%, rgba(17, 17, 17, 0.08), transparent 34%);
}

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

.product-card,
.work-card,
.text-block,
.contact-card,
.info-panel,
.catalog-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 35px rgba(17, 17, 17, 0.07);
}

.product-card {
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 155, 92, 0.55);
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--stone-soft);
}

.product-card div {
  padding: 20px;
}

.product-card p,
.work-card span,
.text-block p,
.catalog-card p,
.contact-card p,
.info-panel li {
  color: var(--muted);
}

.product-card a {
  color: var(--accent-dark);
  font-weight: 800;
}

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

.dark-band h2,
.dark-band h3 {
  color: var(--white);
}

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

.strength-card {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.strength-card span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 900;
}

.strength-card p {
  color: rgba(255, 255, 255, 0.72);
}

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

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

.work-card {
  overflow: hidden;
}

.work-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.work-card div {
  padding: 18px;
}

.work-card p {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.work-card.is-hidden {
  display: none;
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(64px, 8vw, 118px);
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--dark), #2b241b);
  color: var(--white);
}

.cta-band p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
}

.page-hero {
  min-height: 0;
  padding: calc(var(--header-height) + clamp(14px, 1.6vw, 24px)) clamp(18px, 5vw, 72px) clamp(22px, 2.4vw, 34px);
  background: radial-gradient(circle at 82% 18%, rgba(200, 155, 92, 0.22), transparent 28%), var(--dark);
  color: var(--white);
}

.page-hero h1 {
  max-width: 980px;
}

.catalog-list {
  display: grid;
  gap: 22px;
}

.product-page-hero {
  min-height: 0;
  padding-top: calc(var(--header-height) + clamp(14px, 1.6vw, 24px));
  padding-bottom: clamp(22px, 2.4vw, 34px);
}

.product-page-hero h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 5.2vw, 4.75rem);
}

.product-page-hero p:not(.eyebrow) {
  max-width: 820px;
}

.product-house-section {
  background:
    radial-gradient(circle at 18% 12%, rgba(200, 155, 92, 0.14), transparent 28%),
    linear-gradient(180deg, var(--stone-soft), #fff);
}

.product-house-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  width: min(94%, 1540px);
  margin-inline: auto;
}

.product-house-stage {
  position: relative;
  min-height: clamp(520px, 56vw, 680px);
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: calc(var(--radius) + 10px);
  background:
    linear-gradient(180deg, rgba(208, 225, 232, 0.78), rgba(248, 245, 238, 0.84) 58%, rgba(183, 145, 92, 0.18) 100%),
    radial-gradient(circle at 78% 20%, rgba(255, 255, 255, 0.72), transparent 18%);
  box-shadow: 0 28px 80px rgba(17, 17, 17, 0.12);
  perspective: 1100px;
}

.product-house-stage::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -18%;
  height: 42%;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(88, 104, 70, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(181, 149, 95, 0.18), rgba(79, 86, 55, 0.14));
  transform: rotateX(58deg);
  transform-origin: top;
}

.product-house-shadow {
  position: absolute;
  left: 18%;
  right: 10%;
  bottom: 12%;
  height: 18%;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.22), transparent 68%);
  filter: blur(6px);
}

.product-house {
  position: absolute;
  left: 11%;
  right: 9%;
  bottom: 14%;
  height: 62%;
  transform: rotateX(4deg) rotateY(-7deg);
  transform-style: preserve-3d;
}

.house-wall {
  position: absolute;
  inset: 20% 6% 0 7%;
  border-radius: 16px 16px 10px 10px;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.08), transparent 18%, rgba(255,255,255,0.24) 52%, rgba(0,0,0,0.1)),
    linear-gradient(180deg, #efe6d7, #d9c7a9);
  box-shadow: inset -22px 0 34px rgba(0,0,0,0.08), 0 22px 40px rgba(0,0,0,0.16);
}

.house-roof {
  position: absolute;
  left: 1%;
  right: 0;
  top: 0;
  height: 34%;
  clip-path: polygon(5% 100%, 50% 0, 96% 100%);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.08) 0 7px, transparent 7px 16px),
    linear-gradient(120deg, #7f4b2b, #b26d3d 46%, #693a22);
  filter: drop-shadow(0 18px 18px rgba(0,0,0,0.18));
}

.house-chimney {
  position: absolute;
  right: 18%;
  top: 7%;
  width: 8%;
  height: 18%;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(90deg, #7b5838, #a0764b);
}

.house-balcony {
  position: absolute;
  left: 40%;
  bottom: 30%;
  width: 22%;
  height: 7%;
  border-radius: 999px;
  background:
    repeating-linear-gradient(90deg, rgba(70, 49, 30, 0.8) 0 3px, transparent 3px 18px),
    linear-gradient(180deg, rgba(200, 155, 92, 0.88), rgba(119, 82, 42, 0.86));
  box-shadow: 0 8px 16px rgba(0,0,0,0.16);
}

.product-house-hotspot {
  position: absolute;
  z-index: 3;
  display: block;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  text-decoration: none;
  box-shadow: inset 0 0 0 2px rgba(17, 17, 17, 0.18), 0 18px 36px rgba(17, 17, 17, 0.16);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, filter 0.22s ease;
}

.product-house-hotspot span {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  min-width: max-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.92);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-50%) translateY(5px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.product-house-hotspot:hover,
.product-house-hotspot:focus-visible {
  z-index: 5;
  transform: translateY(-3px) scale(1.025);
  border-color: rgba(200, 155, 92, 0.95);
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.3), 0 22px 48px rgba(17, 17, 17, 0.22);
  filter: saturate(1.08);
  outline: none;
}

.product-house-hotspot:hover span,
.product-house-hotspot:focus-visible span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.house-window-main {
  left: 17%;
  top: 36%;
  width: 16%;
  height: 20%;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255,255,255,0.88) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(255,255,255,0.78) 47% 53%, transparent 53%),
    linear-gradient(135deg, rgba(191, 222, 232, 0.88), rgba(64, 96, 106, 0.68));
}

.house-door-main {
  left: 43%;
  top: 55%;
  width: 13%;
  height: 28%;
  border-radius: 12px 12px 4px 4px;
  background:
    radial-gradient(circle at 82% 50%, rgba(255,255,255,0.85) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(0,0,0,0.34), transparent 20%, rgba(255,255,255,0.12), rgba(0,0,0,0.28)),
    linear-gradient(180deg, #3b332b, #181715);
}

.house-door-interior {
  left: 59%;
  top: 49%;
  width: 9%;
  height: 22%;
  border-radius: 8px 8px 3px 3px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.28), transparent 35%, rgba(0,0,0,0.12)),
    linear-gradient(180deg, #e8dfcf, #b89b73);
}

.house-screen {
  left: 39%;
  top: 34%;
  width: 14%;
  height: 18%;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.45) 0 1px, rgba(17,17,17,0.12) 1px 6px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.35) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, rgba(160, 184, 188, 0.74), rgba(60, 74, 76, 0.42));
}

.house-shutters {
  left: 12%;
  top: 62%;
  width: 23%;
  height: 20%;
  background:
    linear-gradient(90deg, rgba(92, 63, 36, 0.92) 0 27%, transparent 27% 73%, rgba(92, 63, 36, 0.92) 73% 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.16) 0 6px, rgba(78, 51, 28, 0.55) 6px 14px),
    linear-gradient(135deg, rgba(190, 218, 224, 0.84), rgba(70, 98, 104, 0.62));
}

.house-roller {
  right: 17%;
  top: 35%;
  width: 16%;
  height: 20%;
  background:
    repeating-linear-gradient(0deg, rgba(61, 58, 52, 0.88) 0 5px, rgba(198, 178, 143, 0.88) 5px 10px),
    linear-gradient(135deg, rgba(195, 226, 235, 0.74), rgba(83, 104, 108, 0.58));
}

.house-grate {
  left: 29%;
  top: 74%;
  width: 12%;
  height: 12%;
  background:
    repeating-linear-gradient(90deg, rgba(25,25,25,0.9) 0 4px, transparent 4px 17px),
    repeating-linear-gradient(0deg, rgba(25,25,25,0.9) 0 4px, transparent 4px 16px),
    linear-gradient(135deg, rgba(192, 220, 226, 0.72), rgba(72, 92, 96, 0.48));
}

.house-sliding {
  right: 13%;
  top: 61%;
  width: 26%;
  height: 23%;
  background:
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.88) 48% 52%, transparent 52%),
    linear-gradient(135deg, rgba(210, 235, 241, 0.8), rgba(76, 108, 116, 0.58)),
    linear-gradient(90deg, rgba(255,255,255,0.4), transparent 34%);
}

.product-house-guide {
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 18px 44px rgba(17, 17, 17, 0.08);
}

.product-house-guide p {
  color: var(--muted);
}

.house-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.house-legend a {
  padding: 8px 11px;
  border: 1px solid rgba(200, 155, 92, 0.3);
  border-radius: 999px;
  background: rgba(200, 155, 92, 0.1);
  color: var(--dark);
  font-size: 0.84rem;
  font-weight: 800;
}

.product-house-section {
  background:
    linear-gradient(180deg, #f2f0eb 0%, #ffffff 72%),
    var(--white);
}

.product-house-stage {
  border-color: rgba(32, 30, 27, 0.12);
  background:
    linear-gradient(180deg, rgba(228, 226, 219, 0.96), rgba(246, 244, 239, 0.98) 52%, rgba(221, 214, 203, 0.96)),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.58), transparent 22%);
  box-shadow: 0 24px 70px rgba(32, 30, 27, 0.12);
}

.product-house-stage::before {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(56, 50, 42, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(164, 151, 128, 0.2), rgba(98, 91, 76, 0.1));
}

.product-house {
  filter: saturate(0.72) contrast(1.02);
}

.house-wall {
  border: 1px solid rgba(80, 72, 60, 0.16);
  background:
    linear-gradient(90deg, rgba(0,0,0,0.09), transparent 18%, rgba(255,255,255,0.22) 55%, rgba(0,0,0,0.12)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 38px),
    linear-gradient(180deg, #ded5c7, #c5b79f);
  box-shadow: inset -28px 0 42px rgba(0,0,0,0.1), inset 18px 0 28px rgba(255,255,255,0.16), 0 24px 44px rgba(0,0,0,0.16);
}

.house-roof {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 5px, rgba(72, 56, 44, 0.16) 5px 14px),
    linear-gradient(120deg, #5f5247, #8d7a65 48%, #4c4239);
}

.house-chimney {
  background: linear-gradient(90deg, #6d6257, #968771);
}

.house-balcony {
  background:
    repeating-linear-gradient(90deg, rgba(43, 40, 36, 0.82) 0 3px, transparent 3px 16px),
    linear-gradient(180deg, rgba(108, 95, 76, 0.92), rgba(58, 52, 45, 0.88));
}

.product-house-hotspot {
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 7px;
  box-shadow: inset 0 0 0 1px rgba(24, 23, 21, 0.28), 0 14px 28px rgba(24, 23, 21, 0.14);
  filter: saturate(0.82);
}

.product-house-hotspot::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(200, 155, 92, 0.18);
  border-radius: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.product-house-hotspot span {
  bottom: auto;
  top: calc(100% + 9px);
  padding: 7px 10px;
  border: 1px solid rgba(32, 30, 27, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: var(--dark);
  box-shadow: 0 10px 22px rgba(32, 30, 27, 0.11);
  opacity: 1;
  transform: translateX(-50%);
}

.product-house-hotspot:hover,
.product-house-hotspot:focus-visible {
  transform: translateY(-2px) scale(1.015);
  border-color: rgba(200, 155, 92, 0.78);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.32), 0 18px 38px rgba(24, 23, 21, 0.2);
  filter: saturate(0.98) contrast(1.04);
}

.product-house-hotspot:hover::after,
.product-house-hotspot:focus-visible::after {
  opacity: 1;
}

.product-house-hotspot:hover span,
.product-house-hotspot:focus-visible span {
  transform: translateX(-50%) translateY(2px);
}

.house-window-main,
.house-screen,
.house-sliding {
  background:
    linear-gradient(112deg, rgba(255,255,255,0.62), transparent 28%, rgba(255,255,255,0.2) 52%, transparent 72%),
    linear-gradient(90deg, transparent 48%, rgba(238,238,232,0.88) 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(238,238,232,0.72) 48% 52%, transparent 52%),
    linear-gradient(135deg, rgba(175, 190, 191, 0.78), rgba(70, 82, 83, 0.58));
}

.house-door-main {
  background:
    radial-gradient(circle at 82% 50%, rgba(218, 195, 148, 0.9) 0 3px, transparent 4px),
    linear-gradient(90deg, rgba(0,0,0,0.38), transparent 22%, rgba(255,255,255,0.1), rgba(0,0,0,0.3)),
    linear-gradient(180deg, #34312d, #161615);
}

.house-door-interior {
  background:
    linear-gradient(90deg, rgba(255,255,255,0.24), transparent 36%, rgba(0,0,0,0.13)),
    linear-gradient(180deg, #d6cbbd, #9c8d78);
}

.house-screen {
  background:
    repeating-linear-gradient(0deg, rgba(245,245,241,0.42) 0 1px, rgba(40,40,38,0.13) 1px 5px),
    repeating-linear-gradient(90deg, rgba(245,245,241,0.24) 0 1px, transparent 1px 6px),
    linear-gradient(135deg, rgba(160, 168, 166, 0.64), rgba(66, 72, 70, 0.42));
}

.house-shutters {
  background:
    linear-gradient(90deg, rgba(82, 75, 64, 0.96) 0 29%, transparent 29% 71%, rgba(82, 75, 64, 0.96) 71% 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.09) 0 5px, rgba(67, 60, 51, 0.55) 5px 13px),
    linear-gradient(135deg, rgba(174, 187, 188, 0.68), rgba(70, 78, 78, 0.52));
}

.house-roller {
  background:
    repeating-linear-gradient(0deg, rgba(66, 64, 60, 0.86) 0 4px, rgba(179, 171, 154, 0.86) 4px 9px),
    linear-gradient(135deg, rgba(172, 185, 187, 0.6), rgba(72, 80, 81, 0.45));
}

.house-grate {
  background:
    repeating-linear-gradient(90deg, rgba(30,30,29,0.88) 0 3px, transparent 3px 15px),
    repeating-linear-gradient(0deg, rgba(30,30,29,0.88) 0 3px, transparent 3px 14px),
    linear-gradient(135deg, rgba(172, 185, 186, 0.56), rgba(72, 80, 82, 0.38));
}

.house-window-main span,
.house-screen span,
.house-roller span {
  top: auto;
  bottom: calc(100% + 9px);
}

.house-door-main span,
.house-door-interior span,
.house-grate span,
.house-sliding span,
.house-shutters span {
  top: calc(100% + 9px);
  bottom: auto;
}

.house-window-main span {
  left: 20%;
}

.house-screen span {
  left: 86%;
}

.house-roller span {
  left: 78%;
}

.house-shutters span {
  left: 18%;
}

.house-door-main span {
  left: 44%;
}

.house-door-interior span {
  left: 112%;
}

.house-grate span {
  left: 20%;
}

.house-sliding span {
  left: 72%;
}

.product-house-guide {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(247,245,240,0.88)),
    var(--white);
}

.house-legend a {
  border-color: rgba(32, 30, 27, 0.12);
  background: rgba(255,255,255,0.74);
  box-shadow: 0 8px 18px rgba(32, 30, 27, 0.06);
}

.product-house-stage {
  min-height: auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(180deg, #d9dddc, #eef0ed);
}

.product-house-stage::before,
.product-house-shadow,
.product-house {
  display: none;
}

.product-house-render {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.9) contrast(1.02);
}

.product-house-hotspot {
  z-index: 3;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 8px;
  background: rgba(200, 155, 92, 0.08);
  backdrop-filter: blur(0.6px);
  box-shadow: inset 0 0 0 1px rgba(24, 23, 21, 0.28), 0 10px 24px rgba(24, 23, 21, 0.16);
}

.product-house-hotspot::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(200, 155, 92, 0.18);
  transform: translate(-50%, -50%);
}

.product-house-hotspot span {
  top: auto;
  bottom: calc(100% + 8px);
  border-color: rgba(17, 17, 17, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: var(--dark);
}

.house-window-main {
  left: 34.7%;
  top: 11.6%;
  width: 8%;
  height: 10%;
}

.house-door-main {
  left: 62%;
  top: 12%;
  width: 8%;
  height: 18%;
}

.house-door-interior {
  left: 69.9%;
  top: 23.9%;
  width: 7%;
  height: 18%;
}

.house-screen {
  left: 48.7%;
  top: 57.7%;
  width: 27%;
  height: 18%;
}

.house-shutters {
  left: 14.9%;
  top: 48.7%;
  width: 13%;
  height: 16%;
}

.house-roller {
  left: 84%;
  top: 46%;
  width: 11%;
  height: 16%;
}

.house-grate {
  left: 39%;
  top: 73.4%;
  width: 16%;
  height: 9%;
}

.house-sliding {
  left: 50%;
  top: 58%;
  width: 27%;
  height: 18%;
}

.house-window-main span {
  left: 48%;
}

.house-screen span {
  left: 52%;
}

.house-roller span {
  left: 64%;
}

.house-shutters span,
.house-grate span {
  top: calc(100% + 8px);
  bottom: auto;
}

.house-door-main span,
.house-door-interior span,
.house-sliding span {
  bottom: calc(100% + 8px);
}

.product-house-hotspot {
  border: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  overflow: visible;
}

.product-house-hotspot::before {
  width: 14px;
  height: 14px;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.92);
  background: var(--accent);
  box-shadow:
    0 0 0 7px rgba(200, 155, 92, 0.2),
    0 10px 22px rgba(17, 17, 17, 0.28);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.product-house-hotspot::after {
  content: "";
  position: absolute;
  inset: auto;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: min(96%, 120px);
  height: min(86%, 96px);
  border: 0;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.2s ease, transform 0.42s var(--ease-smooth), filter 0.32s ease;
}

.product-house-hotspot span {
  z-index: 3;
  opacity: 0;
  transform: translateX(-50%) translateY(5px);
}

.product-house-hotspot:hover,
.product-house-hotspot:focus-visible {
  transform: none;
  box-shadow: none;
  filter: none;
}

.product-house-hotspot:hover::before,
.product-house-hotspot:focus-visible::before {
  background: #d7a85d;
  transform: translate(-50%, -50%) scale(1.16);
  box-shadow:
    0 0 0 11px rgba(200, 155, 92, 0.24),
    0 0 0 20px rgba(200, 155, 92, 0.1),
    0 14px 28px rgba(17, 17, 17, 0.28);
}

.product-house-hotspot:hover::after,
.product-house-hotspot:focus-visible::after {
  opacity: 1;
  filter: drop-shadow(0 18px 20px rgba(17, 17, 17, 0.18));
}

.product-house-hotspot:hover span,
.product-house-hotspot:focus-visible span {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.house-window-main::after,
.house-door-main::after,
.house-door-interior::after,
.house-screen::after,
.house-shutters::after,
.house-roller::after,
.house-grate::after {
  display: none;
}

.product-house-stage:has(.product-house-hotspot:hover) .product-house-render,
.product-house-stage:has(.product-house-hotspot:focus-visible) .product-house-render {
  filter: saturate(0.84) contrast(1.02) brightness(0.86);
}

.product-house-hotspot {
  background: rgba(255, 255, 255, 0);
  transition: transform 0.2s ease, backdrop-filter 0.2s ease, background 0.2s ease;
}

.product-house-hotspot:hover,
.product-house-hotspot:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: brightness(1.24) saturate(1.16) contrast(1.08);
  transform: scale(1.04);
  border-radius: 10px;
}

.product-house-hotspot::before {
  background: var(--dot-color, var(--accent));
  border-color: var(--dot-border, rgba(255, 255, 255, 0.92));
  box-shadow:
    0 0 0 7px color-mix(in srgb, var(--dot-color, var(--accent)) 26%, transparent),
    0 10px 22px rgba(17, 17, 17, 0.28);
}

.product-house-hotspot:hover::before,
.product-house-hotspot:focus-visible::before {
  background: var(--dot-color, var(--accent));
  box-shadow:
    0 0 0 11px color-mix(in srgb, var(--dot-color, var(--accent)) 28%, transparent),
    0 0 0 20px color-mix(in srgb, var(--dot-color, var(--accent)) 12%, transparent),
    0 14px 28px rgba(17, 17, 17, 0.28);
}

.house-window-main {
  --dot-color: #c5a36c;
}

.house-shutters {
  --dot-color: #e21d2f;
}

.house-screen {
  --dot-color: #ffffff;
  --dot-border: rgba(17, 17, 17, 0.62);
}

.house-grate {
  --dot-color: #ffd21f;
}

.house-roller {
  --dot-color: #078a57;
}

.house-door-interior {
  --dot-color: #ef67e8;
}

.house-door-main {
  --dot-color: #16b7df;
}

.product-showcase-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at var(--showcase-glow, 26%) 18%, rgba(200, 155, 92, 0.26), transparent 26%),
    radial-gradient(circle at calc(var(--showcase-glow, 26%) + 28%) 76%, rgba(17, 17, 17, 0.12), transparent 30%),
    linear-gradient(120deg, #f4f1e8 0%, #ffffff 38%, #e8dfcf 100%);
}

.product-showcase-section::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  background:
    linear-gradient(115deg, transparent 0 26%, rgba(255, 255, 255, 0.55) 27% 32%, transparent 33% 100%),
    linear-gradient(62deg, transparent 0 44%, rgba(200, 155, 92, 0.16) 45% 48%, transparent 49% 100%);
  opacity: 0.8;
  transform: translateX(var(--showcase-shift, 0px));
  transition: transform 0.35s ease-out;
  pointer-events: none;
}

.product-showcase-section > * {
  position: relative;
  z-index: 1;
}

.product-showcase-grid {
  display: flex;
  gap: clamp(18px, 2vw, 28px);
  margin-inline: calc(clamp(18px, 5vw, 72px) * -1);
  padding: 14px clamp(18px, 5vw, 72px) 34px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(200, 155, 92, 0.75) rgba(17, 17, 17, 0.08);
}

.product-showcase-grid::-webkit-scrollbar {
  height: 9px;
}

.product-showcase-grid::-webkit-scrollbar-track {
  background: rgba(17, 17, 17, 0.08);
  border-radius: 999px;
}

.product-showcase-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(200, 155, 92, 0.45), rgba(200, 155, 92, 0.95));
}

.animated-product-card {
  position: relative;
  flex: 0 0 clamp(300px, 32vw, 440px);
  min-height: 520px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(17, 17, 17, 0.12);
  isolation: isolate;
  transition: transform 0.45s var(--ease-smooth), box-shadow 0.45s ease, border-color 0.45s ease;
  will-change: transform;
  scroll-snap-align: center;
}

.animated-product-card:hover {
  transform: translateY(-7px);
  border-color: rgba(200, 155, 92, 0.55);
  box-shadow: var(--shadow);
}

.animated-product-card > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
  will-change: transform;
}

/* Punto focale dedicato alla porta INC 184 nel solo pannello Porte interne. */
.animated-product-card > img.product-panel-image-inc184 {
  object-position: 28% center;
}

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

.animated-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.08), rgba(17, 17, 17, 0.82)),
    linear-gradient(90deg, rgba(17, 17, 17, 0.28), transparent);
}

.animated-product-content {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.animated-product-content span {
  width: fit-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--accent);
  font-weight: 900;
}

.animated-product-content h2 {
  margin-bottom: 0;
  color: var(--white);
  font-size: clamp(1.65rem, 2.4vw, 2.5rem);
}

.animated-product-content p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.78);
}

.animated-product-content .btn {
  width: fit-content;
}

.card-effect {
  position: absolute;
  inset: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.38s ease;
}

.animated-product-card:hover .card-effect {
  opacity: 1;
}

.card-effect i {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.26);
  border: 2px solid rgba(200, 155, 92, 0.8);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
}

.card-effect-window i {
  top: 10%;
  width: 34%;
  height: 42%;
  transform-origin: left center;
}

.card-effect-window i:first-child {
  left: 15%;
}

.card-effect-window i:last-child {
  right: 15%;
  transform-origin: right center;
}

.animated-product-card:hover .card-effect-window i:first-child {
  transform: perspective(620px) rotateY(-42deg);
  transition: transform 0.75s var(--ease-smooth);
}

.animated-product-card:hover .card-effect-window i:last-child {
  transform: perspective(620px) rotateY(42deg);
  transition: transform 0.75s var(--ease-smooth);
}

.card-effect-door i,
.card-effect-heavy i {
  left: 25%;
  top: 8%;
  width: 42%;
  height: 58%;
  transform-origin: left center;
}

.animated-product-card:hover .card-effect-door i {
  transform: perspective(680px) rotateY(-48deg);
  transition: transform 0.78s var(--ease-smooth);
}

.animated-product-card:hover .card-effect-heavy i {
  transform: perspective(680px) rotateY(-30deg);
  transition: transform 0.95s var(--ease-soft);
}

.card-effect-screen i,
.card-effect-roller i {
  left: 16%;
  top: 8%;
  width: 68%;
  height: 48%;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.42) 0 3px, rgba(255,255,255,0.1) 3px 8px);
}

.animated-product-card:hover .card-effect-screen i {
  transform: translateY(-38%);
  transition: transform 0.8s var(--ease-smooth);
}

.animated-product-card:hover .card-effect-roller i {
  transform: translateY(-55%) scaleY(0.35);
  transition: transform 0.85s var(--ease-smooth);
}

.card-effect-shutters i {
  top: 8%;
  width: 30%;
  height: 55%;
}

.card-effect-shutters i:first-child {
  left: 16%;
  transform-origin: left center;
}

.card-effect-shutters i:last-child {
  right: 16%;
  transform-origin: right center;
}

.animated-product-card:hover .card-effect-shutters i:first-child {
  transform: perspective(680px) rotateY(-62deg);
  transition: transform 0.82s var(--ease-smooth);
}

.animated-product-card:hover .card-effect-shutters i:last-child {
  transform: perspective(680px) rotateY(62deg);
  transition: transform 0.82s var(--ease-smooth);
}

.card-effect-grate i {
  left: 15%;
  top: 9%;
  width: 70%;
  height: 52%;
  background:
    repeating-linear-gradient(90deg, rgba(20,20,20,0.78) 0 8px, transparent 8px 30px),
    repeating-linear-gradient(0deg, rgba(20,20,20,0.55) 0 7px, transparent 7px 44px);
}

.animated-product-card:hover .card-effect-grate i {
  transform: translateX(42%);
  transition: transform 0.8s var(--ease-smooth);
}

.card-effect-sliding i {
  left: 12%;
  top: 8%;
  width: 46%;
  height: 54%;
  background: rgba(210, 235, 245, 0.28);
}

.animated-product-card:hover .card-effect-sliding i {
  transform: translateX(60%);
  transition: transform 0.85s var(--ease-smooth);
}

.product-transition {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.84), rgba(17, 17, 17, 0.36)),
    var(--transition-image) center / cover no-repeat,
    var(--dark);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.product-transition.is-active {
  opacity: 1;
  pointer-events: auto;
}

.transition-stage {
  position: relative;
  width: min(760px, 82vw);
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: var(--transition-image) center / cover no-repeat;
  overflow: hidden;
  perspective: 1200px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.5);
}

.transition-stage::before,
.transition-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.12), rgba(255,255,255,0)),
    var(--transition-image) center / cover no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.36);
  backface-visibility: hidden;
}

.product-transition p {
  margin: 18px 0 0;
  color: var(--accent);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-transition.is-window .transition-stage::before,
.product-transition.is-window .transition-stage::after {
  top: 0;
  bottom: 0;
  width: 50%;
  background-size: 200% 100%;
}

.product-transition.is-window .transition-stage::before {
  left: 0;
  background-position: left center;
  transform-origin: left center;
  animation: openLeftReal 0.9s ease forwards;
}

.product-transition.is-window .transition-stage::after {
  right: 0;
  background-position: right center;
  transform-origin: right center;
  animation: openRightReal 0.9s ease forwards;
}

.product-transition.is-interior-door .transition-stage::before,
.product-transition.is-heavy-door .transition-stage::before {
  inset: 0;
  width: 100%;
  height: 100%;
  transform-origin: left center;
}

.product-transition.is-interior-door .transition-stage::before {
  animation: openDoorReal 0.9s ease forwards;
}

.product-transition.is-heavy-door .transition-stage::before {
  filter: brightness(0.78) contrast(1.08);
  animation: openHeavyDoorReal 1.05s cubic-bezier(.18,.72,.18,1) forwards;
}

.product-transition.is-screen .transition-stage::before {
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.48) 0 2px, rgba(17,17,17,0.18) 2px 5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.3) 0 2px, rgba(17,17,17,0.12) 2px 7px),
    var(--transition-image) center / cover no-repeat;
  animation: screenRealUp 0.9s ease forwards;
}

.product-transition.is-screen .transition-stage::after {
  display: none;
}

.product-transition.is-roller .transition-stage::before {
  background:
    repeating-linear-gradient(0deg, rgba(235,235,235,0.92) 0 11px, rgba(120,120,120,0.5) 11px 14px),
    var(--transition-image) center / cover no-repeat;
  animation: rollerRealUp 0.9s ease forwards;
}

.product-transition.is-roller .transition-stage::after {
  display: none;
}

.product-transition.is-shutters .transition-stage::before,
.product-transition.is-shutters .transition-stage::after {
  top: 0;
  bottom: 0;
  width: 32%;
  background:
    repeating-linear-gradient(0deg, rgba(90,70,45,0.24) 0 14px, rgba(255,255,255,0.12) 14px 22px),
    var(--transition-image) center / cover no-repeat;
  background-size: 300% 100%;
}

.product-transition.is-shutters .transition-stage::before {
  left: 0;
  background-position: left center;
  transform-origin: left center;
  animation: openLeftReal 0.9s ease forwards;
}

.product-transition.is-shutters .transition-stage::after {
  right: 0;
  background-position: right center;
  transform-origin: right center;
  animation: openRightReal 0.9s ease forwards;
}

.product-transition.is-grate .transition-stage::before {
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(17,17,17,0.92) 0 12px, transparent 12px 44px),
    repeating-linear-gradient(0deg, rgba(17,17,17,0.7) 0 8px, transparent 8px 54px);
  animation: grateRealSlide 0.9s ease forwards;
}

.product-transition.is-grate .transition-stage::after {
  display: none;
}

.product-transition.is-sliding-glass .transition-stage::before {
  inset: 0 auto 0 0;
  width: 56%;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.32), rgba(185,225,240,0.18)),
    var(--transition-image) left center / 180% 100% no-repeat;
  animation: glassRealSlide 0.9s ease forwards;
}

.product-transition.is-sliding-glass .transition-stage::after {
  display: none;
}

.product-transition {
  background: rgba(245, 242, 234, 0.18);
  color: var(--dark);
  backdrop-filter: blur(10px) saturate(1.08);
}

.transition-stage {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.22)),
    linear-gradient(68deg, transparent 0 36%, rgba(255, 255, 255, 0.36) 38%, transparent 48% 100%);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(14px) saturate(1.18);
}

.transition-stage::before,
.transition-stage::after,
.product-transition.is-window .transition-stage::before,
.product-transition.is-window .transition-stage::after,
.product-transition.is-interior-door .transition-stage::before,
.product-transition.is-heavy-door .transition-stage::before,
.product-transition.is-screen .transition-stage::before,
.product-transition.is-roller .transition-stage::before,
.product-transition.is-shutters .transition-stage::before,
.product-transition.is-shutters .transition-stage::after,
.product-transition.is-grate .transition-stage::before,
.product-transition.is-sliding-glass .transition-stage::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.2)),
    linear-gradient(68deg, transparent 0 36%, rgba(255, 255, 255, 0.32) 38%, transparent 48% 100%);
}

.product-transition p {
  color: rgba(17, 17, 17, 0.72);
}

@keyframes openLeftReal {
  to { transform: rotateY(-74deg); filter: brightness(0.82); }
}

@keyframes openRightReal {
  to { transform: rotateY(74deg); filter: brightness(0.82); }
}

@keyframes openDoorReal {
  to { transform: rotateY(-68deg) translateX(-2%); filter: brightness(0.78); }
}

@keyframes openHeavyDoorReal {
  45% { transform: rotateY(-22deg); }
  100% { transform: rotateY(-48deg) translateX(-1%); filter: brightness(0.62); }
}

@keyframes screenRealUp {
  to { transform: translateY(-76%) scaleY(0.18); opacity: 0.72; }
}

@keyframes rollerRealUp {
  to { transform: translateY(-82%) scaleY(0.16); }
}

@keyframes grateRealSlide {
  to { transform: translateX(72%); opacity: 0.38; }
}

@keyframes glassRealSlide {
  to { transform: translateX(78%); opacity: 0.82; }
}

.page-open-effect {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  overflow: hidden;
  --page-object-image: url("../img/hero/casa-vetri-toscana.png");
  background:
    radial-gradient(circle at 50% 48%, rgba(200,155,92,0.18), transparent 34%),
    linear-gradient(135deg, #070707, #1c1c1c);
  color: var(--white);
  pointer-events: none;
  perspective: 1400px;
}

.page-open-effect::before,
.page-open-effect::after,
.page-open-pattern {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 1.35s var(--ease-smooth), opacity 1.12s ease, filter 1.12s ease;
  will-change: transform, opacity, filter;
}

.page-open-effect::before,
.page-open-effect::after {
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.48);
}

.page-open-effect p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.25rem, 3vw, 2.6rem);
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.56s ease, transform 0.56s var(--ease-smooth);
}

.page-open-effect.is-finished p {
  opacity: 0;
  transform: translateY(-12px);
}

.page-open-effect.is-window::before,
.page-open-effect.is-window::after {
  width: 50%;
  background:
    linear-gradient(90deg, rgba(17,17,17,0.68) 0 10px, transparent 10px calc(100% - 10px), rgba(17,17,17,0.68) calc(100% - 10px)),
    linear-gradient(135deg, rgba(255,255,255,0.68), rgba(210,230,236,0.24)),
    var(--page-object-image) center / cover no-repeat,
    linear-gradient(135deg, #f7f2e6, #d9cdb4);
  border: 10px solid rgba(20,20,20,0.78);
  box-shadow: inset 0 0 42px rgba(255,255,255,0.22), 0 28px 70px rgba(0,0,0,0.34);
  backdrop-filter: blur(8px);
}

.page-open-effect.is-window::before {
  right: 50%;
}

.page-open-effect.is-window::after {
  left: 50%;
}

.page-open-effect.is-window .page-open-pattern {
  background:
    linear-gradient(90deg, transparent 49.7%, rgba(17,17,17,0.18) 50%, transparent 50.3%),
    linear-gradient(0deg, transparent 49.7%, rgba(17,17,17,0.12) 50%, transparent 50.3%);
}

.page-open-effect.is-window.is-finished::before {
  transform: translateX(-104%) rotateY(-18deg);
  filter: brightness(0.86);
}

.page-open-effect.is-window.is-finished::after {
  transform: translateX(104%) rotateY(18deg);
  filter: brightness(0.86);
}

.page-open-effect.is-interior-door::before,
.page-open-effect.is-heavy-door::before {
  left: 18%;
  top: 7%;
  bottom: 7%;
  width: 64%;
  transform-origin: left center;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.28), transparent 24%, rgba(255,255,255,0.15) 58%, rgba(0,0,0,0.22)),
    var(--page-object-image) center / cover no-repeat,
    linear-gradient(110deg, #1c1c1c 0 8px, #c89b5c 8px 13px, #f5f2ea 13px 100%);
  border: 12px solid rgba(20,20,20,0.72);
  box-shadow: inset 0 0 44px rgba(0,0,0,0.16), 0 30px 90px rgba(0,0,0,0.42);
}

.page-open-effect.is-interior-door .page-open-pattern {
  background: linear-gradient(90deg, rgba(255,255,255,0.16), transparent 32%, rgba(0,0,0,0.18));
}

.page-open-effect.is-heavy-door::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,0.42), transparent 34%, rgba(255,255,255,0.08), rgba(0,0,0,0.35)),
    var(--page-object-image) center / cover no-repeat,
    linear-gradient(110deg, #070707 0 12px, #c89b5c 12px 18px, #2b2b2b 18px 100%);
  border-color: rgba(8,8,8,0.92);
  transition-duration: 1s;
}

.page-open-effect.is-interior-door.is-finished::before {
  transform: perspective(1100px) rotateY(-76deg) translateX(-4%);
  opacity: 0.16;
}

.page-open-effect.is-heavy-door.is-finished::before {
  transform: perspective(1100px) rotateY(-48deg) translateX(-2%);
  filter: brightness(0.68);
  opacity: 0.18;
}

.page-open-effect.is-screen::before {
  left: 18%;
  right: 18%;
  top: 9%;
  bottom: 9%;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.48) 0 1px, rgba(30,30,30,0.18) 1px 5px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.34) 0 1px, rgba(30,30,30,0.12) 1px 7px),
    linear-gradient(180deg, rgba(255,255,255,0.22), rgba(255,255,255,0.03)),
    var(--page-object-image) center / cover no-repeat,
    rgba(17, 17, 17, 0.86);
  border-top: 18px solid rgba(20,20,20,0.72);
  box-shadow: inset 0 -28px 44px rgba(0,0,0,0.28);
}

.page-open-effect.is-screen.is-finished::before {
  transform: translateY(-108%) scaleY(0.22);
  opacity: 0.12;
}

.page-open-effect.is-shutters::before,
.page-open-effect.is-shutters::after {
  width: 50%;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.13) 0 13px, rgba(17,17,17,0.22) 13px 23px),
    linear-gradient(90deg, rgba(0,0,0,0.28), transparent 22%, rgba(255,255,255,0.12)),
    var(--page-object-image) center / cover no-repeat,
    linear-gradient(135deg, #b98c4d, #2b241b);
  border: 9px solid rgba(38,28,18,0.78);
  box-shadow: inset 0 0 32px rgba(0,0,0,0.22), 0 24px 70px rgba(0,0,0,0.34);
  transform-origin: center;
}

.page-open-effect.is-shutters::before {
  right: 50%;
}

.page-open-effect.is-shutters::after {
  left: 50%;
}

.page-open-effect.is-shutters.is-finished::before {
  transform: translateX(-105%) rotateY(-16deg);
  opacity: 0.14;
}

.page-open-effect.is-shutters.is-finished::after {
  transform: translateX(105%) rotateY(16deg);
  opacity: 0.14;
}

.page-open-effect.is-roller::before {
  left: 18%;
  right: 18%;
  top: 8%;
  bottom: 8%;
  background:
    repeating-linear-gradient(0deg, #eeeeee 0 15px, #9f9f9f 15px 18px, #d4d4d4 18px 23px),
    linear-gradient(90deg, rgba(0,0,0,0.24), transparent 35%, rgba(255,255,255,0.2)),
    var(--page-object-image) center / cover no-repeat,
    var(--dark);
  border-top: 22px solid rgba(17,17,17,0.82);
  box-shadow: inset 0 -36px 46px rgba(0,0,0,0.3);
}

.page-open-effect.is-roller.is-finished::before {
  transform: translateY(-108%) scaleY(0.18);
  opacity: 0.12;
}

.page-open-effect.is-grate::before {
  left: 16%;
  right: 16%;
  top: 10%;
  bottom: 10%;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.9) 0 10px, transparent 10px 48px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.55) 0 8px, transparent 8px 58px),
    var(--page-object-image) center / cover no-repeat,
    rgba(17, 17, 17, 0.94);
}

.page-open-effect.is-grate.is-finished::before {
  transform: translateX(108%);
  opacity: 0.25;
}

.page-open-effect.is-sliding-glass::before {
  left: 12%;
  right: 12%;
  top: 9%;
  bottom: 9%;
  background:
    linear-gradient(90deg, rgba(230,250,255,0.72), rgba(230,250,255,0.18)),
    linear-gradient(135deg, rgba(255,255,255,0.4), transparent 45%),
    var(--page-object-image) center / cover no-repeat,
    rgba(17, 17, 17, 0.86);
  border: 10px solid rgba(22,22,22,0.72);
  box-shadow: inset 0 0 44px rgba(255,255,255,0.2), 0 30px 80px rgba(0,0,0,0.36);
  backdrop-filter: blur(8px);
}

.page-open-effect.is-sliding-glass.is-finished::before {
  transform: translateX(108%) skewY(0.5deg);
  opacity: 0.12;
}

.page-open-effect.is-finished .page-open-pattern,
.page-open-effect.is-finished::after {
  opacity: 0;
}

.page-open-effect {
  background: rgba(245, 242, 234, 0.18);
  color: var(--dark);
  backdrop-filter: blur(10px) saturate(1.08);
}

.page-open-effect::before,
.page-open-effect::after {
  border-color: rgba(255, 255, 255, 0.48);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.22)),
    linear-gradient(68deg, transparent 0 36%, rgba(255, 255, 255, 0.36) 38%, transparent 48% 100%);
  box-shadow: inset 0 0 42px rgba(255, 255, 255, 0.22), 0 24px 70px rgba(17, 17, 17, 0.12);
  backdrop-filter: blur(14px) saturate(1.18);
}

.page-open-effect p {
  color: rgba(17, 17, 17, 0.72);
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.58);
}

.page-open-effect.is-window::before,
.page-open-effect.is-window::after,
.page-open-effect.is-interior-door::before,
.page-open-effect.is-heavy-door::before,
.page-open-effect.is-screen::before,
.page-open-effect.is-shutters::before,
.page-open-effect.is-shutters::after,
.page-open-effect.is-roller::before,
.page-open-effect.is-grate::before,
.page-open-effect.is-sliding-glass::before {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0.22)),
    linear-gradient(68deg, transparent 0 36%, rgba(255, 255, 255, 0.36) 38%, transparent 48% 100%);
}

.page-open-effect.is-screen::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.24) 0 1px, rgba(17, 17, 17, 0.04) 1px 7px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, rgba(17, 17, 17, 0.03) 1px 8px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.06));
}

.page-open-effect.is-shutters::before,
.page-open-effect.is-shutters::after,
.page-open-effect.is-roller::before {
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.22) 0 12px, rgba(17, 17, 17, 0.06) 12px 16px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
}

.page-open-effect.is-grate::before {
  background:
    repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.28) 0 8px, transparent 8px 46px),
    repeating-linear-gradient(0deg, rgba(17, 17, 17, 0.18) 0 6px, transparent 6px 54px),
    linear-gradient(115deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05));
}

.catalog-card {
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  overflow: hidden;
}

.catalog-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.catalog-card div {
  padding: clamp(24px, 4vw, 42px);
}

.catalog-page-hero {
  min-height: 0;
}

.generated-catalog-section {
  background: linear-gradient(180deg, var(--stone-soft), var(--white) 24%);
}

.generated-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* I cataloghi non mostrano il conteggio totale sopra ai modelli. */
.generated-catalog-section > .section-head > .eyebrow {
  display: none;
}

.catalog-product-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 35px rgba(17, 17, 17, 0.07);
}

.catalog-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 16px;
  background: #f7f4ed;
}

.catalog-product-card div {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
}

.catalog-product-card h2 {
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
}

.catalog-product-card p:not(.eyebrow) {
  color: var(--muted);
}

.catalog-product-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.catalog-product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(96px, 11vw, 142px) clamp(18px, 5vw, 72px) clamp(56px, 8vw, 96px);
  background: var(--dark);
  color: var(--white);
}

.catalog-product-hero > div:first-child {
  overflow: hidden;
  border-radius: var(--radius);
  background: #f4f1ea;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.catalog-product-hero img {
  width: 100%;
  max-height: 620px;
  display: block;
  object-fit: contain;
  padding: clamp(16px, 3vw, 30px);
}

.catalog-product-hero .catalog-info-text p,
.catalog-product-hero p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.76);
}

.catalog-info-text {
  display: grid;
  gap: 12px;
  margin: 20px 0 26px;
}

.catalog-technical-summary dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.catalog-technical-summary dl > div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.055);
}

.catalog-technical-summary dt {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-technical-summary dd {
  margin: 0;
  color: var(--white);
  font-weight: 800;
}

.catalog-technical-summary h2 {
  margin: 8px 0 0;
  color: var(--white);
  font-size: 1.05rem;
}

.catalog-technical-summary ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-technical-summary li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.5;
}

.catalog-technical-summary li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.catalog-tech-section,
.catalog-docs-section {
  background: var(--white);
}

.catalog-tech-image {
  width: min(900px, 100%);
  display: block;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fbfaf7;
  box-shadow: 0 16px 35px rgba(17, 17, 17, 0.07);
}

.catalog-doc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-doc-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(200, 155, 92, 0.36);
  border-radius: 999px;
  background: #fffaf1;
  color: var(--dark);
  font-weight: 900;
}

.catalog-index-section {
  background: var(--white);
}

.catalog-index-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.catalog-index-grid a {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, #f7f3ec);
  color: var(--dark);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
}

.catalog-empty {
  color: var(--muted);
}

.catalog-card ul,
.product-detail ul,
.info-panel ul {
  padding-left: 20px;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter-btn {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--dark);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--text);
  background: #fbfaf8;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .check {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 400;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: #2f7d41;
  font-weight: 800;
}

.info-panel {
  padding: clamp(22px, 4vw, 34px);
}

.quote-page {
  background:
    linear-gradient(135deg, rgba(245, 242, 234, 0.96), rgba(232, 226, 211, 0.88)),
    url("../img/hero/toscana-slide-quote.png") center / cover fixed;
}

.quote-hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 24%, rgba(200, 155, 92, 0.22), transparent 28%),
    linear-gradient(110deg, rgba(245, 242, 234, 0.96), rgba(245, 242, 234, 0.78) 48%, rgba(17, 17, 17, 0.08)),
    url("../img/hero/casa-vetri-toscana.png") center / cover no-repeat;
}

.quote-hero::before,
.quote-hero::after {
  content: "";
  position: absolute;
  inset: -15%;
  pointer-events: none;
}

.quote-hero::before {
  background:
    linear-gradient(105deg, transparent 0 48%, rgba(82, 97, 72, 0.12) 48.2% 48.45%, transparent 48.7%),
    linear-gradient(24deg, transparent 0 34%, rgba(200, 155, 92, 0.1) 34.2% 34.45%, transparent 34.7%);
  background-size: 280px 220px, 360px 260px;
  animation: quotePatternDrift 22s linear infinite;
  opacity: 0.8;
}

.quote-hero::after {
  background: linear-gradient(90deg, rgba(245, 242, 234, 0.78), rgba(245, 242, 234, 0.24), rgba(17, 17, 17, 0.16));
}

.quote-hero-copy,
.quote-dynamic-visual {
  position: relative;
  z-index: 1;
}

.quote-hero-copy h1 {
  max-width: 780px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.92;
}

.quote-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.quote-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quote-hero .btn-ghost {
  color: var(--dark);
  border-color: rgba(17, 17, 17, 0.28);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.quote-dynamic-visual {
  min-height: clamp(420px, 58vh, 660px);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.24)),
    url("../img/hero/casa-vetri-toscana.png") center / cover no-repeat;
  box-shadow: 0 34px 90px rgba(17, 17, 17, 0.18);
  overflow: hidden;
  isolation: isolate;
}

.quote-dynamic-visual::before {
  content: "";
  position: absolute;
  inset: 9%;
  border: 14px solid rgba(17, 17, 17, 0.82);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(17,17,17,0.82) 0 2.5%, transparent 2.5% 48%, rgba(17,17,17,0.82) 48% 52%, transparent 52% 97.5%, rgba(17,17,17,0.82) 97.5%),
    linear-gradient(135deg, rgba(255,255,255,0.44), rgba(120,170,190,0.16));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.24), 0 28px 60px rgba(17, 17, 17, 0.22);
  animation: quoteWindowPulse 4.8s ease-in-out infinite;
}

.quote-dynamic-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(116deg, transparent 0 34%, rgba(255,255,255,0.42) 36%, transparent 44%),
    radial-gradient(circle at 76% 18%, rgba(200, 155, 92, 0.24), transparent 28%);
  animation: quoteLightSweep 6.5s ease-in-out infinite;
}

.quote-line {
  position: absolute;
  z-index: 2;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(200, 155, 92, 0.78), transparent);
  opacity: 0.7;
}

.quote-line-one {
  left: 9%;
  right: 18%;
  top: 28%;
  animation: quoteLineMove 5.8s ease-in-out infinite alternate;
}

.quote-line-two {
  left: 18%;
  right: 9%;
  bottom: 24%;
  animation: quoteLineMove 6.4s ease-in-out infinite alternate-reverse;
}

.quote-floating-card {
  position: absolute;
  z-index: 3;
  min-width: 132px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 18px;
  background: rgba(17,17,17,0.78);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(17,17,17,0.22);
  backdrop-filter: blur(12px);
  font-weight: 900;
  animation: quoteFloat 5s ease-in-out infinite;
}

.quote-floating-card-window {
  left: 8%;
  top: 13%;
}

.quote-floating-card-door {
  right: 8%;
  top: 42%;
  animation-delay: -1.5s;
}

.quote-floating-card-screen {
  left: 18%;
  bottom: 12%;
  animation-delay: -2.8s;
}

.quote-process {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: clamp(34px, 5vw, 62px);
  padding-bottom: 0;
}

.quote-process article {
  position: relative;
  overflow: hidden;
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 24px;
  background: rgba(255,255,255,0.68);
  box-shadow: 0 18px 48px rgba(17,17,17,0.1);
  backdrop-filter: blur(14px);
}

.quote-process article::after {
  content: "";
  position: absolute;
  inset: auto -20% -70% 30%;
  height: 120px;
  background: radial-gradient(circle, rgba(200,155,92,0.24), transparent 64%);
}

.quote-process span {
  display: block;
  color: var(--accent-dark);
  font-weight: 950;
  letter-spacing: 0.12em;
}

.quote-process strong {
  display: block;
  margin: 8px 0;
  font-size: 1.25rem;
}

.quote-process p {
  margin: 0;
  color: var(--muted);
}

.quote-form-layout {
  position: relative;
  padding-top: clamp(34px, 5vw, 62px);
}

.quote-form-layout::before {
  content: "";
  position: absolute;
  inset: 0 clamp(18px, 5vw, 72px);
  z-index: -1;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 155, 92, 0.16), transparent 26%),
    radial-gradient(circle at 86% 80%, rgba(67, 82, 58, 0.13), transparent 30%);
}

.quote-page .quote-form,
.quote-page .info-panel {
  border: 1px solid rgba(255,255,255,0.62);
  border-radius: 28px;
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 72px rgba(17,17,17,0.12);
}

.quote-page .quote-form input,
.quote-page .quote-form select,
.quote-page .quote-form textarea {
  background: rgba(255,255,255,0.82);
  border-color: rgba(17,17,17,0.12);
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.quote-page .quote-form input:focus,
.quote-page .quote-form select:focus,
.quote-page .quote-form textarea:focus {
  outline: none;
  border-color: rgba(200,155,92,0.75);
  box-shadow: 0 0 0 4px rgba(200,155,92,0.13);
  transform: translateY(-1px);
}

.quote-page .info-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

@keyframes quotePatternDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 220px -160px, -260px 180px; }
}

@keyframes quoteWindowPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.018); filter: brightness(1.06); }
}

@keyframes quoteLightSweep {
  0%, 100% { transform: translateX(-18%); opacity: 0.5; }
  50% { transform: translateX(18%); opacity: 0.82; }
}

@keyframes quoteLineMove {
  from { transform: translateX(-8%); }
  to { transform: translateX(8%); }
}

@keyframes quoteFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

.text-block {
  padding: clamp(22px, 4vw, 34px);
}

.company-story-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: start;
}

.company-story-card .company-story-text {
  max-width: 920px;
}

.company-story-card .made-italy-story {
  margin-top: 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
}

.contact-card {
  padding: clamp(22px, 4vw, 36px);
}

.map-placeholder {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  border: 1px dashed var(--accent);
  color: var(--accent-dark);
  background: linear-gradient(135deg, #f8f4ed, #ffffff);
  font-weight: 900;
}

.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(88px, 10vw, 130px) clamp(18px, 5vw, 72px) clamp(54px, 7vw, 88px);
  background: var(--dark);
  color: var(--white);
}

.product-hero img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.product-detail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mini-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.door-lines-section {
  background: linear-gradient(180deg, var(--stone-soft), var(--white));
}

.door-lines-section .section-head p:not(.eyebrow) {
  max-width: 780px;
  color: var(--muted);
}

.door-lines-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.door-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.door-category-panel {
  min-width: 0;
}

.door-category-button {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(130px, 0.62fr) minmax(0, 1.38fr);
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.door-category-button:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 155, 92, 0.65);
  box-shadow: var(--shadow);
}

.door-category-button img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  background: var(--stone-soft);
}

.door-category-content {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
}

.door-category-content h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.door-category-content p {
  color: var(--muted);
}

.open-models-label {
  display: inline-flex;
  width: fit-content;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 900;
}

.door-line-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.door-line-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 155, 92, 0.65);
  box-shadow: var(--shadow);
}

.door-line-preview {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: end center;
  padding: 18px 12px;
  background:
    linear-gradient(90deg, rgba(17, 17, 17, 0.14), transparent 24%, transparent 76%, rgba(17, 17, 17, 0.14)),
    linear-gradient(160deg, #f8f4ea, #c89b5c);
}

.door-line-preview::before {
  content: "";
  position: absolute;
  inset: 34px 28px 22px;
  border: 7px solid rgba(17, 17, 17, 0.82);
  border-radius: 4px 4px 0 0;
  background:
    linear-gradient(90deg, transparent 48%, rgba(17, 17, 17, 0.34) 49%, rgba(17, 17, 17, 0.34) 51%, transparent 52%),
    rgba(255, 255, 255, 0.42);
}

.door-line-preview::after {
  content: "";
  position: absolute;
  right: 40px;
  top: 48%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dark);
}

.door-line-preview span {
  position: relative;
  z-index: 1;
  max-width: 100%;
  color: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-align: center;
}

.door-line-body {
  padding: 24px;
}

.door-line-code {
  margin-bottom: 8px;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.door-line-body p {
  color: var(--muted);
}

.submodel-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.submodel-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid rgba(200, 155, 92, 0.45);
  border-radius: 999px;
  background: #fffaf1;
  color: var(--dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 0;
}

.spec-list div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.spec-list dt {
  color: var(--dark);
  font-weight: 900;
}

.spec-list dd {
  margin: 0;
  color: var(--muted);
}

.door-data-note {
  margin-top: 22px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid rgba(200, 155, 92, 0.55);
  border-radius: var(--radius);
  background: var(--dark);
  color: var(--white);
}

.door-data-note p {
  max-width: 980px;
  color: rgba(255, 255, 255, 0.76);
}

.real-catalog-section {
  background: var(--white);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.catalog-toolbar input {
  width: min(360px, 100%);
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fbfaf8;
  color: var(--text);
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

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

.model-card {
  min-width: 0;
}

.model-card.is-hidden,
.model-card.is-search-hidden {
  display: none;
}

.model-card-button {
  width: 100%;
  height: 100%;
  display: grid;
  gap: 10px;
  padding: 0 0 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(17, 17, 17, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.model-card-button:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 155, 92, 0.6);
  box-shadow: var(--shadow);
}

.model-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--stone-soft);
}

.model-category,
.model-card strong,
.model-card small {
  margin-left: 16px;
  margin-right: 16px;
}

.model-category {
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff5e3;
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-card strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.model-card small {
  color: var(--muted);
  font-size: 0.86rem;
}

.modal-open {
  overflow: hidden;
}

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.product-modal.is-open {
  display: block;
}

.product-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.72);
}

.product-modal-panel {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(1180px, calc(100vw - 28px));
  max-height: calc(100dvh - 28px);
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.05fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.product-modal-panel > img {
  width: 100%;
  height: 100%;
  min-height: min(620px, calc(100dvh - 28px));
  max-height: calc(100dvh - 28px);
  object-fit: contain;
  object-position: center;
  background: var(--stone-soft);
}

.product-modal-content {
  overflow-y: auto;
  padding: clamp(26px, 5vw, 48px);
}

.product-modal-content h2 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.product-modal-content p,
.product-modal-content li {
  color: var(--muted);
}

.product-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--dark);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.category-modal-panel {
  grid-template-columns: 1fr;
  overflow-y: auto;
  padding: clamp(22px, 4vw, 42px);
}

.category-modal-head {
  max-width: 900px;
  margin-bottom: 24px;
}

.category-modal-head p:not(.eyebrow) {
  color: var(--muted);
}

.category-model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.category-model-grid .model-card img {
  aspect-ratio: 4 / 5;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr;
  gap: clamp(16px, 3vw, 28px);
  padding: 24px clamp(18px, 5vw, 72px) 16px;
  background: var(--dark);
  color: var(--white);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  display: block;
  margin-bottom: 5px;
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 8px;
}

.site-footer h2 {
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
}

.site-footer h3 {
  font-size: clamp(1rem, 1.45vw, 1.22rem);
}

.site-footer p,
.site-footer a {
  font-size: 0.9rem;
  line-height: 1.35;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.home-slide-contact {
  align-content: center;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(8px, 1vw, 12px);
  padding-top: calc(var(--header-height) + clamp(8px, 1.2vh, 14px));
  padding-bottom: clamp(8px, 1.2vh, 14px);
}

.home-slide-contact::before {
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.6), rgba(245, 242, 234, 0.14) 12%, transparent 25%, transparent 78%, rgba(17, 17, 17, 0.08)),
    linear-gradient(90deg, rgba(245, 242, 234, 0.64), rgba(245, 242, 234, 0.46) 42%, rgba(245, 242, 234, 0.14)),
    linear-gradient(180deg, rgba(17, 17, 17, 0.01), rgba(17, 17, 17, 0.05));
}

.home-slide-contact .home-slide-content {
  width: min(1760px, calc(100vw - clamp(36px, 6vw, 96px)));
  grid-template-columns: minmax(360px, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(18px, 3.5vw, 56px);
  min-height: 0;
  height: auto;
  padding: clamp(16px, 2vw, 26px);
  align-self: center;
}

.home-slide-contact .home-slide-content {
  max-height: none;
  overflow: visible;
}

.home-slide-contact .home-slide-content h2 {
  font-size: clamp(2.2rem, 3.25vw, 3.75rem);
  line-height: 0.96;
}

.home-slide-contact .home-map-panel {
  min-height: 0;
  height: clamp(250px, 29vh, 310px);
  align-self: center;
  overflow: hidden;
  box-shadow: 0 22px 56px rgba(17, 17, 17, 0.16);
}

.home-contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 12px;
}

.home-contact-details span {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  flex: 1 1 250px;
  width: auto;
  max-width: 100%;
  padding: 7px 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
}

.home-contact-details a {
  color: #111111;
  font-weight: 900;
  word-break: break-word;
}

.home-slide-footer {
  position: relative;
  z-index: 2;
  width: min(1760px, calc(100vw - clamp(36px, 6vw, 96px)));
  align-self: start;
  margin: 0;
  padding: clamp(8px, 1vw, 12px) clamp(14px, 2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(17, 17, 17, 0.84);
  box-shadow: 0 14px 36px rgba(17, 17, 17, 0.14);
}

.home-slide-footer.site-footer {
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: clamp(14px, 2vw, 24px);
  padding: 6px clamp(14px, 2vw, 24px);
}

.product-page-hero,
.catalog-page-hero {
  position: relative;
  display: grid;
  box-sizing: border-box;
  height: clamp(230px, 26vh, 290px);
  align-content: center;
  justify-items: center;
  isolation: isolate;
  overflow: hidden;
  padding-top: calc(var(--header-height) + clamp(12px, 1.4vw, 20px));
  padding-bottom: clamp(18px, 2vw, 28px);
  border-bottom: 1px solid rgba(200, 155, 92, 0.3);
  background:
    radial-gradient(circle at 88% 28%, rgba(200, 155, 92, 0.18), transparent 26%),
    linear-gradient(118deg, #0a0a0b, #15120e 72%, #0d0d0e);
  text-align: center;
}

.product-page-hero::before,
.catalog-page-hero::before {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -36%;
  z-index: 0;
  width: 46%;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.025) 22%, rgba(255, 255, 255, 0.18) 40%, rgba(255, 252, 240, 0.48) 50%, rgba(247, 216, 165, 0.34) 57%, rgba(255, 255, 255, 0.09) 70%, transparent 100%),
    linear-gradient(90deg, transparent 34%, rgba(255, 255, 255, 0.16) 50%, transparent 66%);
  transform: skewX(-18deg) translateX(-135%);
  filter: blur(0.3px);
  mix-blend-mode: screen;
  animation: productHeroMirrorSweep 8s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  pointer-events: none;
}

.product-page-hero > *,
.catalog-page-hero > * {
  position: relative;
  z-index: 1;
}

.product-page-hero h1,
.catalog-page-hero h1 {
  max-width: min(100%, 1100px);
  font-size: clamp(2.25rem, 3.8vw, 3.7rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.product-page-hero p:not(.eyebrow),
.catalog-page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.84);
}

.catalog-page-hero > p:not(.eyebrow) {
  display: none;
}

.catalog-page-hero h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
}

.product-house-section .section-head > .eyebrow {
  display: none;
}

@keyframes productHeroMirrorSweep {
  0%, 30% {
    transform: skewX(-18deg) translateX(-135%);
  }
  74%, 100% {
    transform: skewX(-18deg) translateX(500%);
  }
}

.home-slide-footer h2,
.home-slide-footer h3 {
  margin-bottom: 6px;
  font-size: clamp(0.95rem, 1.4vw, 1.25rem);
}

.home-slide-footer p,
.home-slide-footer a {
  margin-bottom: 3px;
  font-size: 0.8rem;
  line-height: 1.25;
}

.home-slide-footer .copyright {
  padding-top: 6px;
  font-size: 0.72rem;
}

@media (min-width: 861px) and (max-height: 840px) {
  .home-slide-contact {
    height: auto;
    min-height: 100dvh;
    overflow: visible;
  }
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.26), transparent 24%),
    linear-gradient(135deg, rgba(87, 224, 111, 0.9), rgba(37, 211, 102, 0.86) 62%, rgba(22, 168, 82, 0.9));
  color: transparent;
  opacity: 0.82;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2), 0 0 0 5px rgba(37, 211, 102, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  background: #ffffff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.76 12.76 0 0 0 5.13 22.58L3.2 29l6.58-1.82A12.75 12.75 0 1 0 16.02 3.2Zm0 23.17c-2.07 0-4-.6-5.64-1.63l-.4-.25-3.9 1.08 1.12-3.78-.26-.4a10.37 10.37 0 1 1 9.08 4.98Zm5.68-7.77c-.31-.16-1.84-.91-2.13-1.01-.29-.11-.5-.16-.71.16-.21.31-.82 1.01-1 1.22-.18.21-.37.24-.68.08-.31-.16-1.31-.48-2.5-1.54-.92-.82-1.55-1.84-1.73-2.15-.18-.31-.02-.48.14-.64.14-.14.31-.37.47-.55.16-.18.21-.31.31-.52.11-.21.05-.39-.03-.55-.08-.16-.71-1.71-.97-2.34-.25-.61-.51-.53-.71-.54h-.61c-.21 0-.55.08-.84.39-.29.31-1.1 1.08-1.1 2.63s1.13 3.05 1.29 3.26c.16.21 2.23 3.4 5.4 4.77.75.32 1.34.52 1.8.66.76.24 1.45.21 1.99.13.61-.09 1.84-.75 2.1-1.48.26-.73.26-1.36.18-1.49-.08-.13-.29-.21-.6-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16.02 3.2A12.76 12.76 0 0 0 5.13 22.58L3.2 29l6.58-1.82A12.75 12.75 0 1 0 16.02 3.2Zm0 23.17c-2.07 0-4-.6-5.64-1.63l-.4-.25-3.9 1.08 1.12-3.78-.26-.4a10.37 10.37 0 1 1 9.08 4.98Zm5.68-7.77c-.31-.16-1.84-.91-2.13-1.01-.29-.11-.5-.16-.71.16-.21.31-.82 1.01-1 1.22-.18.21-.37.24-.68.08-.31-.16-1.31-.48-2.5-1.54-.92-.82-1.55-1.84-1.73-2.15-.18-.31-.02-.48.14-.64.14-.14.31-.37.47-.55.16-.18.21-.31.31-.52.11-.21.05-.39-.03-.55-.08-.16-.71-1.71-.97-2.34-.25-.61-.51-.53-.71-.54h-.61c-.21 0-.55.08-.84.39-.29.31-1.1 1.08-1.1 2.63s1.13 3.05 1.29 3.26c.16.21 2.23 3.4 5.4 4.77.75.32 1.34.52 1.8.66.76.24 1.45.21 1.99.13.61-.09 1.84-.75 2.1-1.48.26-.73.26-1.36.18-1.49-.08-.13-.29-.21-.6-.37Z'/%3E%3C/svg%3E") center / contain no-repeat;
  transform: translate(-50%, -50%);
}

.whatsapp-float:hover {
  opacity: 1;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.24), 0 0 0 7px rgba(37, 211, 102, 0.1);
}

.whatsapp-float span {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.home-map-panel,
.map-placeholder {
  overflow: hidden;
  border: 1px solid rgba(17, 17, 17, 0.1);
  background: var(--white);
  box-shadow: 0 16px 38px rgba(17, 17, 17, 0.08);
}

.home-map-panel iframe,
.map-placeholder iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
  filter: saturate(0.92) contrast(0.98);
}

.configurator-hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  padding: clamp(54px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(245, 242, 234, 0.94), rgba(245, 242, 234, 0.8) 44%, rgba(245, 242, 234, 0.5)),
    url("../img/hero/toscana-slide-products.png") center / cover no-repeat;
}

.configurator-copy h1 {
  max-width: 760px;
  font-size: clamp(2.8rem, 6vw, 5.9rem);
}

.configurator-copy p:not(.eyebrow) {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
}

.window-configurator {
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(18px, 3vw, 32px);
  align-items: stretch;
}

.window-preview-card,
.color-config-panel {
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: calc(var(--radius) + 12px);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 70px rgba(17, 17, 17, 0.14);
  backdrop-filter: blur(14px);
}

.window-preview-card {
  overflow: hidden;
}

.window-preview-scene {
  position: relative;
  min-height: clamp(420px, 54vh, 620px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.2), rgba(245, 242, 234, 0.88)),
    url("../img/hero/casa-vetri-toscana.png") center / cover no-repeat;
}

.window-preview-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.72), rgba(255,255,255,0.2) 46%, rgba(255,255,255,0.62)),
    radial-gradient(circle at 50% 42%, transparent 0 30%, rgba(17,17,17,0.18) 72%);
}

.window-wall {
  position: absolute;
  inset: 9% 12%;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.72), rgba(255,255,255,0.2)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.16) 0 2px, transparent 2px 46px);
  box-shadow: inset 0 0 70px rgba(17,17,17,0.12);
}

.config-window {
  position: relative;
  z-index: 1;
  width: min(72%, 440px);
  aspect-ratio: 0.76;
  filter: drop-shadow(0 34px 44px rgba(17, 17, 17, 0.28));
}

.config-window-frame {
  position: absolute;
  inset: 0;
  border: clamp(14px, 2.4vw, 24px) solid var(--frame-color);
  border-radius: 8px 8px 4px 4px;
  background:
    linear-gradient(90deg, var(--frame-color) 0 8%, transparent 8% 92%, var(--frame-color) 92% 100%),
    linear-gradient(0deg, var(--frame-color) 0 8%, transparent 8% 92%, var(--frame-color) 92% 100%),
    linear-gradient(135deg, rgba(180, 215, 228, 0.58), rgba(255, 255, 255, 0.28) 42%, rgba(125, 170, 188, 0.42));
  box-shadow:
    inset 0 0 0 2px var(--frame-highlight),
    inset 10px 0 20px var(--frame-highlight),
    inset -12px 0 24px var(--frame-shadow),
    0 8px 0 rgba(17, 17, 17, 0.1);
  transition: border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}

.config-window-frame::before,
.config-window-frame::after {
  content: "";
  position: absolute;
  background: var(--frame-color);
  box-shadow: inset 0 0 0 1px var(--frame-highlight), 5px 0 16px var(--frame-shadow);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.config-window-frame::before {
  left: calc(50% - 7px);
  top: 0;
  bottom: 0;
  width: 14px;
}

.config-window-frame::after {
  left: 0;
  right: 0;
  top: calc(50% - 6px);
  height: 12px;
}

.config-window-pane {
  position: absolute;
  inset: 8% 54% 55% 8%;
  border-radius: 3px;
  background:
    linear-gradient(125deg, rgba(255,255,255,0.62) 0 18%, transparent 19% 52%, rgba(255,255,255,0.24) 53% 100%),
    linear-gradient(180deg, rgba(155,198,214,0.38), rgba(230,244,248,0.18));
  box-shadow: inset 0 0 18px rgba(255,255,255,0.38);
}

.config-window-pane.pane-right {
  inset: 8% 8% 55% 54%;
}

.config-window-handle {
  position: absolute;
  right: 8.5%;
  top: 46%;
  z-index: 2;
  width: 10px;
  height: 46px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.72);
  box-shadow: 0 3px 10px rgba(17,17,17,0.22);
}

.config-window-sill {
  position: absolute;
  left: -9%;
  right: -9%;
  bottom: -7%;
  height: 28px;
  border-radius: 999px 999px 10px 10px;
  background: linear-gradient(180deg, #f7f4ed, #d8d0bf);
  box-shadow: 0 16px 26px rgba(17,17,17,0.16);
}

.selected-finish {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(17, 17, 17, 0.92);
  color: var(--white);
}

.selected-finish span {
  color: rgba(255,255,255,0.62);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.selected-finish strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.color-config-panel {
  display: grid;
  align-content: center;
  padding: clamp(22px, 4vw, 38px);
}

.color-config-panel p:not(.eyebrow) {
  color: var(--muted);
}

.color-options {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.color-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.82);
  color: var(--text);
  cursor: pointer;
  font-weight: 900;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.color-option:hover,
.color-option.is-active {
  transform: translateY(-2px);
  border-color: rgba(200, 155, 92, 0.72);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.1);
}

.color-option span {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  border: 2px solid rgba(255,255,255,0.84);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(17,17,17,0.14);
}

.wood-swatch {
  background:
    linear-gradient(90deg, rgba(60,32,12,0.24), transparent 28%, rgba(255,220,165,0.22) 52%, rgba(60,32,12,0.26)),
    repeating-linear-gradient(12deg, #8b5f38 0 7px, #a87643 7px 12px, #704521 12px 18px);
}

.btn,
.animated-product-card,
.product-card,
.work-card,
.door-category-button,
.door-line-card,
.model-card-button {
  transition-duration: 0.2s;
}

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

.product-card:hover,
.animated-product-card:hover,
.work-card:hover,
.door-category-button:hover,
.door-line-card:hover,
.model-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.11);
}

.home-glass-track::before,
.home-glass-track::after {
  transition-duration: 1.12s;
  opacity: 0.5;
}

.home-slide.is-active .home-glass-track::before,
.home-slide.is-active .home-glass-track::after {
  opacity: 0;
  filter: blur(0.5px);
}

.page-open-effect::before,
.page-open-effect::after,
.page-open-pattern {
  transition-duration: 0.82s;
}

.page-open-effect::before,
.page-open-effect::after {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.page-open-effect p {
  transition-duration: 0.32s;
}

.reveal {
  transform: translateY(10px);
  transition-duration: 0.38s;
}

@media (max-width: 1100px) {
  .home-product-strip {
    min-height: clamp(280px, 38vh, 420px);
  }

  .home-product-strip a,
  .home-product-strip a:nth-child(n) {
    flex-basis: clamp(220px, 40vw, 330px);
  }

  .home-product-strip a:nth-child(even) {
    margin-top: clamp(80px, 12vh, 150px);
  }

  .home-product-strip a:nth-child(odd) {
    margin-top: clamp(8px, 3vh, 42px);
  }

  .product-house-layout {
    grid-template-columns: 1fr;
  }

  .product-house-guide {
    order: -1;
  }

  .product-grid,
  .product-showcase-grid,
  .generated-catalog-grid,
  .work-grid.compact,
  .strength-grid,
  .door-lines-grid,
  .door-category-grid,
  .model-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .door-category-button {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .category-model-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  }

  .home-hero-content h1,
  .home-editorial h2 {
    font-size: 5rem;
  }

  .home-editorial p {
    font-size: 2.35rem;
  }

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

  .home-products-head {
    width: min(560px, 100%);
  }

  .home-work-slide {
    grid-template-columns: 1fr;
    align-items: end;
    inset: clamp(112px, 15vh, 150px) clamp(16px, 3vw, 36px) clamp(82px, 12vh, 120px);
  }

  .home-work-strip {
    left: clamp(16px, 3vw, 36px);
    right: auto;
    max-width: calc(100% - 32px);
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .home-sharknet-promo {
    top: 34px;
    right: 18px;
    width: min(500px, 52vw);
    min-height: 106px;
    grid-template-columns: auto minmax(0, 1fr);
    padding: 14px;
    background:
      linear-gradient(110deg, rgba(17, 17, 17, 0.94), rgba(17, 17, 17, 0.82)),
      url("../img/prodotti/card-zanzariere.png") right center / cover no-repeat;
  }

  .quote-home-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .quote-home-card {
    max-width: 680px;
  }

  .sharknet-discount-badge {
    width: 68px;
  }

  .home-slide-contact .home-slide-content {
    width: min(100%, calc(100vw - 36px));
    grid-template-columns: 1fr;
  }

  .home-contact-details span {
    flex-basis: min(100%, 320px);
  }

  .configurator-hero,
  .window-configurator {
    grid-template-columns: 1fr;
  }

  .quote-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 56px;
  }

  .quote-dynamic-visual {
    min-height: 420px;
  }

  .quote-process {
    grid-template-columns: 1fr;
  }

  .window-preview-scene {
    min-height: 480px;
  }
}

@media (max-width: 860px) {
  .menu-toggle {
    display: block;
  }

  .site-header {
    gap: 10px;
  }

  .home-document .site-header .brand {
    gap: 10px;
    font-size: 0.76rem;
    letter-spacing: 0.12em;
  }

  .home-document .site-header .brand img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .made-in-italy-pill {
    margin-left: auto;
    padding: 6px 9px;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-height);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px clamp(18px, 5vw, 72px) 18px;
    background: rgba(17, 17, 17, 0.98);
  }

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

  .main-nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a:hover {
    transform: translateX(4px);
  }

  .hero-content {
    margin-left: 18px;
    padding: 60px 0;
  }

  .home-hero-content h1,
  .home-editorial h2 {
    font-size: 4rem;
  }

  .home-editorial {
    padding-top: 44px;
  }

  .home-editorial h2 {
    margin-bottom: 44px;
  }

  .home-editorial p {
    font-size: 2rem;
  }

  .home-document {
    scroll-snap-type: none;
  }

  .home-slide {
    height: auto;
    min-height: auto;
    margin-top: 0;
    padding-top: 72px;
    padding-bottom: 72px;
    scroll-snap-align: none;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .home-slide-products {
    min-height: 560px;
    padding: 0;
  }

  .home-slide-products .home-slide-content {
    min-height: 560px;
    height: 560px;
    padding: 0;
  }

  .home-slide-products .home-product-strip {
    gap: 44px;
    padding: 82px 18px 70px;
  }

  .home-slide-products .home-product-strip + .btn {
    left: 18px;
    bottom: 18px;
  }

  .home-slide-contact {
    grid-template-rows: auto;
  }

  .home-slide-story {
    padding-top: calc(var(--header-height) + 18px);
    padding-bottom: 0;
  }

  .story-portrait {
    min-height: 280px;
    max-height: none;
    border-radius: 20px;
  }

  .story-partner-band {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: calc(100% + 36px);
    height: 60px;
    min-height: 0;
    margin: 24px -18px 0;
    border-radius: 0;
    transform: translateY(18px);
  }

  .story-partner-track {
    gap: 56px;
    animation-duration: 34s;
  }

  .story-partner-band img {
    min-width: 134px;
    height: 44px;
  }

  .home-slide-hero {
    min-height: calc(100dvh - var(--header-height));
  }

  .home-two-columns {
    grid-template-columns: 1fr;
  }

  .home-slide-content,
  .home-slide-contact .home-slide-content {
    max-height: none;
    overflow: visible;
  }

  .home-slide-footer.site-footer {
    grid-template-columns: 1fr;
  }

  .home-slide-content h1 {
    font-size: 4rem;
  }

  .hero-exclusive-offer {
    width: min(620px, 100%);
  }

  .home-map-panel {
    min-height: 320px;
  }

  .home-work-carousel {
    min-height: 0;
    height: 100%;
  }

  .home-work-feature {
    min-height: 100%;
    padding: 0;
  }

  .home-work-slide {
    inset: 108px 16px 92px;
  }

  .home-work-slide > img {
    aspect-ratio: 4 / 3;
    max-height: 320px;
  }

  .home-work-strip {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    padding: 0 18px 18px;
  }

  .home-work-strip button {
    flex: 0 0 112px;
  }

  .catalog-card,
  .catalog-product-hero,
  .form-layout,
  .text-grid,
  .contact-layout,
  .product-hero,
  .product-detail,
  .door-lines-grid,
  .door-category-grid,
  .product-showcase-grid,
  .model-grid {
    grid-template-columns: 1fr;
  }

  .company-story-card {
    gap: 8px;
  }

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

  .product-modal-panel {
    width: min(760px, calc(100vw - 22px));
    grid-template-columns: 1fr;
    overflow-y: auto;
  }

  .product-modal-panel > img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(48dvh, 460px);
    object-fit: contain;
  }

  .product-modal-content {
    overflow: visible;
  }

  .catalog-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-card img {
    min-height: 220px;
  }

  .cta-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .configurator-hero {
    padding-top: 44px;
  }

  .quote-hero {
    padding: 46px 16px;
  }

  .quote-hero-copy h1 {
    font-size: 3.4rem;
  }

  .quote-hero-actions,
  .quote-hero-actions .btn {
    width: 100%;
  }

  .quote-dynamic-visual {
    min-height: 320px;
    border-radius: 22px;
  }

  .quote-floating-card {
    min-width: auto;
    padding: 9px 11px;
    font-size: 0.78rem;
  }

  .quote-process {
    padding-left: 16px;
    padding-right: 16px;
  }

  .quote-page .info-panel {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  .home-product-strip {
    min-height: 310px;
    padding-bottom: 18px;
    gap: 42px;
  }

  .home-product-strip a,
  .home-product-strip a:nth-child(n) {
    flex-basis: min(72vw, 280px);
  }

  .home-product-strip a:nth-child(even) {
    margin-top: 72px;
  }

  .home-product-strip a:nth-child(odd) {
    margin-top: 0;
  }

  .home-slide-products .home-products-head {
    width: calc(100% - 118px);
  }

  .home-sharknet-promo {
    top: 16px;
    right: 10px;
    width: min(280px, calc(100vw - 20px));
    min-height: 92px;
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    gap: 6px;
    padding: 9px;
    border-radius: 18px;
  }

  .home-sharknet-promo .eyebrow,
  .home-sharknet-promo strong,
  .home-sharknet-promo .btn {
    display: none;
  }

  .sharknet-discount-badge {
    width: 48px;
  }

  .sharknet-discount-badge span {
    font-size: 1.1rem;
  }

  .sharknet-discount-badge small {
    font-size: 0.34rem;
    letter-spacing: 0.08em;
  }

  .home-sharknet-promo h3 {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.04;
  }

  .quote-home-card {
    padding: 10px;
  }

  .quote-form-shell {
    padding: 14px;
  }

  .quote-form-row {
    display: grid;
    gap: 4px;
    min-height: 54px;
  }

  .quote-form-row strong {
    text-align: left;
  }

  .quote-home-actions,
  .quote-home-actions .btn {
    width: 100%;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand {
    gap: 8px;
    font-size: 0.82rem;
    letter-spacing: 0.035em;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .home-document .site-header .brand {
    gap: 8px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .home-document .site-header .brand img {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .made-in-italy-pill {
    max-width: 118px;
    min-height: 28px;
    padding: 5px 7px;
    font-size: 0.52rem;
    line-height: 1.1;
    white-space: normal;
  }

  .italy-flag {
    width: 18px;
    height: 11px;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  .section {
    padding: 54px 16px;
  }

  .page-hero,
  .product-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-hero-content h1,
  .home-editorial h2 {
    font-size: 3rem;
    line-height: 0.98;
  }

  .home-editorial p {
    font-size: 1.45rem;
  }

  .product-grid,
  .product-showcase-grid,
  .generated-catalog-grid,
  .work-grid,
  .work-grid.compact,
  .strength-grid,
  .door-lines-grid,
  .door-category-grid,
  .model-grid,
  .mini-gallery {
    grid-template-columns: 1fr;
  }

  .home-work-gallery,
  .quote-preview {
    grid-template-columns: 1fr;
  }

  .home-slide-content h1 {
    font-size: 3.1rem;
  }

  .hero-exclusive-offer {
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-top: 18px;
    padding: 12px;
  }

  .hero-exclusive-offer small {
    font-size: 0.82rem;
  }

  .home-slide-content h2 {
    font-size: 2.35rem;
  }

  .home-slide-footer {
    width: calc(100vw - 24px);
    padding: 12px 14px;
  }

  .product-house-stage {
    min-height: 500px;
    border-radius: 18px;
  }

  .product-house {
    left: 5%;
    right: 4%;
    bottom: 13%;
  }

  .product-house-hotspot span {
    padding: 6px 8px;
    font-size: 0.66rem;
  }

  .home-glass-track::before,
  .home-glass-track::after {
    width: 68%;
    top: 12px;
    bottom: 34px;
    border-width: 7px;
    backdrop-filter: blur(10px) saturate(1.14);
  }

  .door-category-button {
    grid-template-columns: 1fr;
  }

  .door-category-button img {
    min-height: 260px;
    max-height: 360px;
  }

  .door-line-card {
    grid-template-columns: 1fr;
  }

  .door-line-preview {
    min-height: 210px;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .product-modal-panel {
    inset: 10px auto auto 50%;
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    grid-template-columns: 1fr;
    overflow-y: auto;
    transform: translateX(-50%);
  }

  .product-modal-panel > img {
    min-height: 0;
    max-height: 42dvh;
    padding: 10px;
    object-fit: contain;
  }

  .product-modal-content {
    padding: 22px;
  }

  .product-modal-close {
    top: 8px;
    right: 8px;
  }

  .product-back-link {
    top: calc(var(--header-height) + 8px);
    left: 12px;
    min-height: 38px;
    padding: 8px 11px;
    font-size: 0.78rem;
  }

  .category-model-grid {
    grid-template-columns: 1fr;
  }

  .button-row,
  .btn {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 18px 14px;
  }

  .window-preview-scene {
    min-height: 360px;
  }

  .config-window {
    width: min(80%, 330px);
  }

  .selected-finish {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }
}

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

/* Pagina prodotti: composizione compatta e focalizzata sulla selezione. */
.products-page .product-house-section {
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  align-content: center;
  padding-top: clamp(42px, 6vh, 82px);
  padding-bottom: clamp(42px, 6vh, 82px);
}

.products-page .product-house-section > .section-head,
.products-page .product-showcase-section > .section-head {
  margin-inline: auto;
  text-align: center;
}

.products-page .site-header.is-scrolled,
.catalog-category-page .site-header.is-scrolled {
  min-height: var(--header-height);
  padding-top: 16px;
  padding-bottom: 16px;
}

@media (max-width: 640px) {
  .products-page .site-header.is-scrolled,
  .catalog-category-page .site-header.is-scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

.products-page .product-page-hero,
.catalog-category-page .catalog-page-hero {
  position: sticky;
  top: var(--header-height);
  z-index: 24;
  height: clamp(230px, 26vh, 290px);
  padding-top: clamp(12px, 1.4vw, 20px);
  padding-bottom: clamp(18px, 2vw, 28px);
  transition:
    height 0.46s cubic-bezier(0.65, 0, 0.35, 1),
    padding 0.46s cubic-bezier(0.65, 0, 0.35, 1),
    box-shadow 0.46s ease;
}

.products-page .product-page-hero > :not(h1),
.catalog-category-page .catalog-page-hero > :not(h1) {
  max-height: 120px;
  overflow: hidden;
  transition:
    opacity 0.24s ease,
    transform 0.32s var(--ease-smooth),
    max-height 0.32s ease,
    margin 0.32s ease;
}

.products-page .product-page-hero h1,
.catalog-category-page .catalog-page-hero h1 {
  transition: font-size 0.46s cubic-bezier(0.65, 0, 0.35, 1);
}

.products-page .product-page-hero h1 {
  max-width: min(92vw, 1100px);
}

.products-page.is-product-hero-compact .product-page-hero,
.catalog-category-page.is-catalog-hero-compact .catalog-page-hero {
  height: clamp(66px, 8.5vh, 76px);
  padding: 8px 22px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2);
}

.products-page.is-product-hero-compact .product-page-hero > :not(h1),
.catalog-category-page.is-catalog-hero-compact .catalog-page-hero > :not(h1) {
  max-height: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.products-page.is-product-hero-compact .product-page-hero h1,
.catalog-category-page.is-catalog-hero-compact .catalog-page-hero h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  min-width: 0;
  max-width: calc(100vw - 44px);
  margin: 0;
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: nowrap;
  translate: -50% -50%;
  white-space: nowrap;
}

.products-page.is-product-hero-compact .product-page-hero h1 {
  font-size: clamp(0.72rem, 2.2vw, 2.45rem);
}

.catalog-category-page.is-catalog-hero-compact .catalog-page-hero h1 {
  font-size: clamp(1rem, 2.55vw, 2.65rem);
}

.products-page .product-house-layout {
  width: min(96%, 1500px);
}

.products-page .product-house-stage {
  aspect-ratio: 16 / 8;
  max-height: min(72dvh, 780px);
  margin-inline: auto;
}

.house-fullscreen-trigger {
  position: absolute;
  top: clamp(12px, 1.6vw, 22px);
  right: clamp(12px, 1.6vw, 22px);
  z-index: 5;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.68);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: transform 0.36s var(--ease-smooth), background 0.25s ease, box-shadow 0.25s ease;
}

.house-fullscreen-trigger span {
  display: block;
  font-size: 1.42rem;
  line-height: 1;
  transition: transform 0.46s var(--ease-smooth);
}

.house-fullscreen-trigger:hover,
.house-fullscreen-trigger:focus-visible {
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(200, 155, 92, 0.2), 0 14px 30px rgba(0, 0, 0, 0.3);
  outline: 0;
  transform: scale(1.08);
}

.house-fullscreen-trigger:hover span,
.house-fullscreen-trigger:focus-visible span {
  transform: rotate(180deg) scale(1.12);
}

.interactive-house-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: clamp(12px, 2vw, 28px);
}

.interactive-house-modal.is-open {
  display: grid;
}

.interactive-house-modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 5, 6, 0.86);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.interactive-house-modal-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.28fr);
  width: min(1540px, 100%);
  height: min(820px, calc(100dvh - clamp(24px, 4vw, 56px)));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: #121212;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.52);
}

.interactive-house-modal-view {
  min-width: 0;
  min-height: 0;
  padding: clamp(14px, 2vw, 28px);
  background: linear-gradient(145deg, #1f1f20, #0f0f10);
}

.interactive-house-modal .product-house-stage {
  width: 100%;
  height: 100%;
  max-height: none;
  aspect-ratio: auto;
}

.interactive-house-modal .product-house-render {
  object-fit: contain;
  background: #d9dddc;
}

.interactive-house-modal .product-house-hotspot {
  z-index: 3;
}

.interactive-house-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(17, 17, 17, 0.78);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.interactive-house-legend {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3.4vw, 52px);
  background: linear-gradient(180deg, #181716, #0d0d0e);
  color: var(--white);
}

.interactive-house-legend h2 {
  margin: 7px 0 12px;
  font-size: clamp(1.65rem, 2.7vw, 2.65rem);
}

.interactive-house-legend > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.68);
}

.interactive-house-legend nav {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.interactive-house-legend a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color 0.2s ease, transform 0.2s ease;
}

.interactive-house-legend a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.interactive-house-legend a span {
  width: 11px;
  height: 11px;
  flex: 0 0 11px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: var(--legend-color);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--legend-color) 22%, transparent);
}

@media (max-width: 860px) {
  .interactive-house-modal-panel {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    height: min(880px, calc(100dvh - 24px));
  }

  .interactive-house-modal-view {
    padding: 12px;
  }

  .interactive-house-legend {
    padding: 18px 22px;
  }

  .interactive-house-legend h2,
  .interactive-house-legend > p:not(.eyebrow) {
    display: none;
  }

  .interactive-house-legend nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    margin-top: 10px;
  }

  .interactive-house-legend a {
    font-size: 0.78rem;
  }
}

.products-page .product-showcase-section {
  background:
    radial-gradient(circle at 90% 12%, rgba(200, 155, 92, 0.14), transparent 28%),
    linear-gradient(180deg, #f6f4ef, #ffffff);
}

.products-page .product-showcase-grid {
  gap: clamp(16px, 1.8vw, 24px);
  padding-top: 18px;
  padding-bottom: 28px;
}

.products-page .animated-product-card {
  flex-basis: clamp(270px, 25vw, 350px);
  min-height: 430px;
  border-color: rgba(17, 17, 17, 0.13);
  border-radius: 24px;
  box-shadow: 0 20px 42px rgba(17, 17, 17, 0.13);
}

.products-page .animated-product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 8, 8, 0.82) 100%);
  pointer-events: none;
}

.products-page .animated-product-content {
  gap: 9px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(12, 12, 12, 0.04), rgba(12, 12, 12, 0.76));
}

.products-page .animated-product-content span {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.35);
  font-size: 0.72rem;
}

.products-page-footer {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 28px;
  padding-top: 16px;
  padding-bottom: 12px;
}

.products-page-footer > div:not(.products-page-footer-details) {
  display: none;
}

.products-page-footer-details {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
}

.products-page-footer h2,
.products-page-footer-details p {
  margin: 0;
}

.products-page-footer .copyright {
  grid-column: auto;
  padding-top: 0;
  border-top: 0;
  white-space: nowrap;
}

#cataloghi-prodotti {
  scroll-margin-top: 92px;
}

.door-catalog-page .generated-catalog-section {
  min-height: min(72dvh, 820px);
}

.door-catalog-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0 28px;
}

.door-catalog-picker > p {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  color: var(--muted);
}

.door-catalog-picker[hidden] {
  display: none;
}

.door-dedicated-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 26px 0 24px;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 20px;
  background: #f1eee6;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.07);
}

.door-dedicated-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.door-dedicated-header .eyebrow {
  margin-bottom: 6px;
}

.door-catalog-picker button {
  position: relative;
  display: flex;
  min-height: 260px;
  overflow: hidden;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 6px;
  padding: 22px;
  border: 1px solid rgba(17, 17, 17, 0.13);
  border-radius: 20px;
  background:
    radial-gradient(circle at 84% 16%, rgba(200, 155, 92, 0.24), transparent 28%),
    linear-gradient(145deg, #ffffff, #eee9df);
  color: var(--dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.07);
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.door-catalog-picker button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.06) 20%, rgba(17, 17, 17, 0.9) 100%);
  pointer-events: none;
}

.door-catalog-picker button > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s var(--ease-smooth), filter 0.3s ease;
}

.door-catalog-picker button > span,
.door-catalog-picker button > strong,
.door-catalog-picker button > small {
  position: relative;
  z-index: 2;
}

.door-catalog-picker button span,
.door-catalog-picker button small {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.door-catalog-picker button span {
  color: #e4bd7d;
}

.door-catalog-picker button strong {
  color: var(--white);
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.door-catalog-picker button small {
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.08em;
}

.door-catalog-picker button:hover,
.door-catalog-picker button.is-active {
  transform: translateY(-5px);
  border-color: var(--accent);
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 22px 38px rgba(17, 17, 17, 0.18);
}

.door-catalog-picker button:hover > img,
.door-catalog-picker button.is-active > img {
  transform: scale(1.045);
  filter: saturate(1.06) contrast(1.03);
}

.door-catalog-picker button:hover small,
.door-catalog-picker button.is-active small {
  color: rgba(255, 255, 255, 0.66);
}

.door-catalog-page .generated-catalog-grid.is-door-filtered {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.door-catalog-page .generated-catalog-grid.is-door-filtered .catalog-product-card {
  animation: doorCatalogCardIn 0.42s var(--ease-smooth) both;
}

.door-catalog-page .generated-catalog-grid .catalog-product-card[hidden] {
  display: none;
}

.door-catalog-page .generated-catalog-grid[hidden] {
  display: none;
}

.window-catalog-page .generated-catalog-grid[hidden] {
  display: none;
}

.roller-catalog-page .generated-catalog-grid[hidden] {
  display: none;
}

.grate-catalog-page .generated-catalog-grid[hidden] {
  display: none;
}

.grate-catalog-page .generated-catalog-grid.is-grate-filtered {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

/* Nelle card Finestre mostriamo soltanto categoria e nome del modello. */
.window-catalog-page .catalog-product-card div > p:not(.eyebrow) {
  display: none;
}

/* Nelle card Avvolgibili mostriamo soltanto categoria e nome del modello. */
.roller-catalog-page .catalog-product-card div > p:not(.eyebrow) {
  display: none;
}

/* Nei sette cataloghi principali le card mostrano solo il nome del modello. */
.catalog-category-page .generated-catalog-grid .catalog-product-card div > p {
  display: none;
}

.window-catalog-page .generated-catalog-grid.is-window-filtered {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.roller-catalog-page .generated-catalog-grid.is-roller-filtered {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

/* Catalogo Zanzariere: identità SharkNet e card essenziali. */
.mosquito-catalog-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 38px);
}

.mosquito-catalog-heading h2 {
  margin: 0;
}

.mosquito-catalog-heading > img {
  width: clamp(130px, 15vw, 210px);
  max-height: 64px;
  object-fit: contain;
}

.catalog-hero-windows .catalog-page-hero,
.catalog-hero-doors .catalog-page-hero,
.catalog-hero-security-doors .catalog-page-hero,
.catalog-hero-screens .catalog-page-hero,
.catalog-hero-shutters .catalog-page-hero,
.catalog-hero-rollers .catalog-page-hero,
.catalog-hero-grates .catalog-page-hero {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.catalog-hero-windows .catalog-page-hero {
  background-image: linear-gradient(90deg, rgba(8, 9, 8, 0.8), rgba(8, 9, 8, 0.18) 72%), url("../img/hero/casa-vetri-toscana.png");
}

.catalog-hero-doors .catalog-page-hero {
  background-image: linear-gradient(90deg, rgba(8, 9, 8, 0.78), rgba(8, 9, 8, 0.2) 72%), url("../img/catalogo/porte/GEO_230_NERO_HERO_HD.png");
  background-size: 112% auto;
  background-position: 82% 56%;
}

.catalog-hero-security-doors .catalog-page-hero {
  background-image: linear-gradient(90deg, rgba(8, 9, 8, 0.76), rgba(8, 9, 8, 0.16) 72%), url("../img/prodotti/card-porte-blindate.png");
}

.catalog-hero-screens .catalog-page-hero {
  background-image: linear-gradient(90deg, rgba(8, 9, 8, 0.82), rgba(8, 9, 8, 0.2) 70%), url("../img/prodotti/card-zanzariere.png");
  background-position: center 48%;
}

.catalog-hero-shutters .catalog-page-hero {
  background-image: linear-gradient(90deg, rgba(8, 9, 8, 0.8), rgba(8, 9, 8, 0.18) 72%), url("../img/prodotti/card-persiane.png");
}

.catalog-hero-rollers .catalog-page-hero {
  background-image: linear-gradient(90deg, rgba(8, 9, 8, 0.78), rgba(8, 9, 8, 0.18) 72%), url("../img/prodotti/card-avvolgibili.png");
}

.catalog-hero-grates .catalog-page-hero {
  background-image: linear-gradient(90deg, rgba(8, 9, 8, 0.8), rgba(8, 9, 8, 0.18) 72%), url("../img/prodotti/card-inferriate.png");
}

/* Quando l'hero fotografico si compatta, il nero entra in dissolvenza. */
.catalog-category-page.is-catalog-hero-compact .catalog-page-hero::before {
  opacity: 0;
  animation: none;
}

.catalog-category-page.is-catalog-hero-compact .catalog-page-hero::after {
  opacity: 1;
}

.catalog-hero-windows .catalog-page-hero::after,
.catalog-hero-doors .catalog-page-hero::after,
.catalog-hero-security-doors .catalog-page-hero::after,
.catalog-hero-screens .catalog-page-hero::after,
.catalog-hero-shutters .catalog-page-hero::after,
.catalog-hero-rollers .catalog-page-hero::after,
.catalog-hero-grates .catalog-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #080808;
  opacity: 0.2;
  transition: opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.mosquito-catalog-page .mosquito-hero-logo {
  width: clamp(74px, 8vw, 112px);
  max-height: 84px;
  margin-bottom: 10px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.42));
}

.mosquito-catalog-page .catalog-product-card div > p {
  display: none;
}

/* Persiane: nelle card restano soltanto nome del modello e pulsante. */
.catalog-hero-shutters .catalog-product-card div > p {
  display: none;
}

@media (max-width: 640px) {
  .mosquito-catalog-heading {
    align-items: flex-start;
    flex-direction: column;
  }

}

.door-catalog-more {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-top: 30px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 22px;
  background: var(--dark);
  color: var(--white);
  box-shadow: 0 18px 42px rgba(17, 17, 17, 0.14);
}

.door-catalog-more[hidden] {
  display: none;
}

.door-catalog-more h2 {
  margin: 4px 0 8px;
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
}

.door-catalog-more p:not(.eyebrow) {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

@keyframes doorCatalogCardIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1000px) {
  .door-catalog-page .generated-catalog-grid.is-door-filtered,
  .window-catalog-page .generated-catalog-grid.is-window-filtered,
  .roller-catalog-page .generated-catalog-grid.is-roller-filtered,
  .grate-catalog-page .generated-catalog-grid.is-grate-filtered {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .door-catalog-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-page .product-house-section {
    min-height: 0;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .products-page .product-house-layout {
    width: 100%;
  }

  .products-page .product-house-stage {
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .products-page-footer {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .products-page-footer .copyright {
    white-space: normal;
  }

  .door-catalog-page .generated-catalog-section {
    min-height: 0;
  }

  .door-catalog-more {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .catalog-technical-summary dl {
    grid-template-columns: 1fr;
  }

  .door-catalog-picker {
    grid-template-columns: 1fr;
  }

  .door-catalog-page .generated-catalog-grid.is-door-filtered,
  .window-catalog-page .generated-catalog-grid.is-window-filtered,
  .roller-catalog-page .generated-catalog-grid.is-roller-filtered,
  .grate-catalog-page .generated-catalog-grid.is-grate-filtered {
    grid-template-columns: 1fr;
  }

  .door-catalog-picker button {
    flex: 1 1 calc(50% - 10px);
  }

  .door-dedicated-header {
    align-items: stretch;
    flex-direction: column;
  }

}

/* Preventivo 2026: percorso editoriale e configuratore guidato. */
.quote-page-modern {
  background: #eceae4;
  color: #171817;
}

.quote-page-modern .estimate-main {
  overflow: clip;
  background: #eceae4;
}

.estimate-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #a9854e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.estimate-kicker span {
  color: inherit;
  opacity: 0.64;
}

.estimate-hero {
  position: relative;
  min-height: calc(100dvh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(42px, 6vw, 104px);
  align-items: center;
  padding: clamp(64px, 8vw, 118px) clamp(20px, 6vw, 92px) clamp(96px, 10vw, 140px);
  overflow: hidden;
  isolation: isolate;
  background: #0b0d0c;
  color: #f7f5ef;
}

.estimate-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, transparent 49.94%, rgba(255,255,255,0.055) 50%, transparent 50.06%),
    linear-gradient(0deg, transparent 49.94%, rgba(255,255,255,0.04) 50%, transparent 50.06%);
  background-size: 108px 108px;
  mask-image: linear-gradient(90deg, #000, rgba(0,0,0,0.24) 72%, transparent);
}

.estimate-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(66vw, 940px);
  aspect-ratio: 1;
  left: -28vw;
  bottom: -70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(177, 132, 72, 0.2), transparent 67%);
  pointer-events: none;
}

.estimate-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.estimate-hero-copy h1 {
  margin: 0;
  max-width: 1040px;
  font-family: var(--font-display);
  font-size: clamp(4.15rem, 7.6vw, 8.4rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.estimate-hero-copy h1 em {
  color: #caa56c;
  font-weight: 400;
}

.estimate-lead {
  max-width: 660px;
  margin: clamp(30px, 4vw, 52px) 0 0;
  color: rgba(247, 245, 239, 0.66);
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  line-height: 1.65;
}

.estimate-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 34px;
}

.estimate-primary-action {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 15px 18px 15px 22px;
  background: #caa56c;
  color: #10110f;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s ease, transform 0.3s var(--ease-smooth);
}

.estimate-primary-action span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(17,17,17,0.28);
  border-radius: 50%;
}

.estimate-primary-action:hover {
  background: #dfbf8d;
  transform: translateY(-3px);
}

.estimate-text-action {
  padding: 9px 0 7px;
  border-bottom: 1px solid rgba(247,245,239,0.34);
  color: rgba(247,245,239,0.78);
  font-size: 0.88rem;
  font-weight: 800;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.estimate-text-action:hover {
  border-color: #caa56c;
  color: #caa56c;
}

.estimate-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 660px;
  margin: clamp(42px, 6vw, 76px) 0 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.estimate-proof div {
  padding: 20px 18px 0 0;
}

.estimate-proof div + div {
  padding-left: 22px;
  border-left: 1px solid rgba(255,255,255,0.12);
}

.estimate-proof dt {
  color: #f7f5ef;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1;
}

.estimate-proof dd {
  margin: 8px 0 0;
  color: rgba(247,245,239,0.5);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.estimate-hero-visual {
  position: relative;
  min-height: min(680px, 70dvh);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  background: #242824;
  box-shadow: 0 44px 110px rgba(0,0,0,0.35);
}

.estimate-hero-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.68) contrast(1.04) brightness(0.86);
  transform: scale(1.015);
}

.estimate-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9,11,10,0.08), rgba(9,11,10,0.08) 48%, rgba(9,11,10,0.86)),
    linear-gradient(90deg, rgba(9,11,10,0.42), transparent 55%);
}

.estimate-visual-copy {
  position: absolute;
  z-index: 2;
  left: clamp(22px, 3.5vw, 52px);
  right: clamp(22px, 3.5vw, 52px);
  bottom: clamp(28px, 4vw, 58px);
}

.estimate-visual-copy span {
  display: block;
  margin-bottom: 14px;
  color: #d9b77f;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.estimate-visual-copy h2 {
  margin: 0;
  max-width: 580px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.7vw, 4.2rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.035em;
}

.estimate-visual-status {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(10,12,11,0.76);
  border: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate-visual-status i,
.estimate-submit-note i {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #90bb79;
  box-shadow: 0 0 0 5px rgba(144,187,121,0.12);
}

.estimate-coordinate {
  position: absolute;
  z-index: 2;
  top: 28px;
  color: rgba(255,255,255,0.48);
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  writing-mode: vertical-rl;
}

.estimate-coordinate-one { left: 20px; }
.estimate-coordinate-two { left: 42px; }

.estimate-scroll-cue {
  position: absolute;
  left: clamp(20px, 6vw, 92px);
  bottom: 30px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.48);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.estimate-scroll-cue i {
  position: relative;
  width: 64px;
  height: 1px;
  overflow: hidden;
  background: rgba(255,255,255,0.18);
}

.estimate-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #caa56c;
  transform: translateX(-100%);
  animation: estimateCue 2.4s ease-in-out infinite;
}

.estimate-path {
  padding: clamp(86px, 10vw, 150px) clamp(20px, 6vw, 92px);
  background: #f4f2ed;
}

.estimate-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 24px 60px;
  align-items: end;
  max-width: 1440px;
  margin: 0 auto clamp(52px, 7vw, 92px);
}

.estimate-section-heading .estimate-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.estimate-section-heading h2 {
  margin: 0;
  max-width: 920px;
  color: #171817;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.8vw, 6.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.05em;
}

.estimate-section-heading > p {
  max-width: 420px;
  margin: 0 0 8px;
  color: #696a65;
  font-size: 1.02rem;
}

.estimate-path > ol {
  max-width: 1440px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid #c8c5bc;
  list-style: none;
}

.estimate-path > ol > li {
  position: relative;
  min-height: 210px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-content: end;
  padding: 40px 34px 34px 0;
}

.estimate-path > ol > li + li {
  padding-left: 34px;
  border-left: 1px solid #c8c5bc;
}

.estimate-path > ol > li::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b98d50;
}

.estimate-path > ol > li + li::before { left: 34px; }

.estimate-path li > span {
  color: #a9854e;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.estimate-path h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw, 2.6rem);
  font-weight: 400;
}

.estimate-path li p {
  max-width: 280px;
  margin: 0;
  color: #72736e;
  font-size: 0.9rem;
}

.estimate-builder {
  display: grid;
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 5vw, 82px);
  align-items: start;
  padding: clamp(76px, 9vw, 138px) clamp(20px, 6vw, 92px);
  background: #dcd9d1;
}

.estimate-builder-aside,
.estimate-form {
  min-width: 0;
}

.estimate-builder-sticky {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  padding: clamp(30px, 4vw, 56px);
  overflow: hidden;
  background: #111310;
  color: #f5f2eb;
  box-shadow: 0 30px 80px rgba(20,21,18,0.2);
}

.estimate-builder-sticky::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -210px;
  bottom: -210px;
  border: 1px solid rgba(202,165,108,0.25);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(202,165,108,0.035), 0 0 0 100px rgba(202,165,108,0.025);
}

.estimate-builder-sticky > * {
  position: relative;
  z-index: 1;
}

.estimate-builder-sticky h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 4.4vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.estimate-builder-sticky > p:not(.estimate-kicker) {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(245,242,235,0.58);
  font-size: 0.94rem;
}

.estimate-progress-list {
  display: grid;
  gap: 0;
  margin: 40px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
  list-style: none;
}

.estimate-progress-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.34);
  transition: color 0.25s ease, padding 0.3s var(--ease-smooth);
}

.estimate-progress-list li.is-active,
.estimate-progress-list li.is-complete {
  color: #fff;
}

.estimate-progress-list li.is-active {
  padding-left: 10px;
}

.estimate-progress-list li > span {
  color: #caa56c;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.estimate-progress-list li div {
  display: grid;
  gap: 2px;
}

.estimate-progress-list strong {
  font-size: 0.9rem;
}

.estimate-progress-list small {
  color: inherit;
  font-size: 0.7rem;
}

.estimate-aside-note {
  display: grid;
  gap: 8px;
  margin-top: 34px;
  padding-top: 24px;
}

.estimate-aside-note > span {
  color: rgba(255,255,255,0.42);
  font-size: 0.72rem;
}

.estimate-aside-note a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #dfc08e;
  font-size: 0.86rem;
  font-weight: 900;
}

.quote-page-modern .quote-form.estimate-form {
  display: block;
  margin: 0;
  padding: clamp(26px, 4.5vw, 62px);
  scroll-margin-top: calc(var(--header-height) + 16px);
  border: 1px solid rgba(22,24,21,0.08);
  border-radius: 0;
  background: #f9f8f4;
  box-shadow: 0 32px 90px rgba(31,32,28,0.13);
}

.estimate-form-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.estimate-form-head span {
  display: block;
  margin-bottom: 8px;
  color: #9a7440;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.estimate-form-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.7vw, 4rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.estimate-form-head > strong {
  color: #c4c1b9;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  font-weight: 400;
  line-height: 0.8;
}

.estimate-progress-track {
  height: 2px;
  margin: 30px 0 clamp(34px, 5vw, 58px);
  overflow: hidden;
  background: #dcd9d1;
}

.estimate-progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  background: #b68a4f;
  transition: width 0.46s var(--ease-smooth);
}

.estimate-form.is-step-form .estimate-form-step {
  display: none;
}

.estimate-form.is-step-form .estimate-form-step.is-active {
  display: block;
  animation: estimateStepIn 0.42s var(--ease-smooth) both;
}

.estimate-step-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.estimate-step-intro p {
  margin: 0;
  color: #1b1d1a;
  font-size: 1.08rem;
  font-weight: 900;
}

.estimate-step-intro span {
  max-width: 390px;
  color: #777871;
  font-size: 0.8rem;
  text-align: right;
}

.estimate-choice-grid,
.estimate-contact-choice {
  margin: 0;
  padding: 0;
  border: 0;
}

.estimate-choice-grid > legend,
.estimate-contact-choice > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.estimate-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.estimate-choice {
  position: relative;
  min-height: 172px;
  display: grid;
  grid-template-columns: minmax(86px, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  align-items: center;
  padding: 16px;
  overflow: hidden;
  border: 1px solid #d8d5cd;
  background: #efede7;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.3s var(--ease-smooth), box-shadow 0.3s ease;
}

.estimate-choice:hover {
  transform: translateY(-4px);
  border-color: #b68a4f;
  box-shadow: 0 18px 34px rgba(28,29,26,0.09);
}

.estimate-choice:has(input:checked) {
  border-color: #b68a4f;
  background: #171916;
  color: #fff;
  box-shadow: inset 0 0 0 1px #b68a4f, 0 18px 34px rgba(28,29,26,0.14);
}

.estimate-choice:has(input:focus-visible) {
  outline: 3px solid rgba(182,138,79,0.26);
  outline-offset: 3px;
}

.quote-page-modern .estimate-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.estimate-choice-visual {
  height: 136px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ddd9d0;
}

.estimate-choice-visual img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform 0.4s var(--ease-smooth), filter 0.25s ease;
}

.estimate-choice:hover .estimate-choice-visual img {
  transform: scale(1.06);
}

.estimate-choice:has(input:checked) .estimate-choice-visual img {
  filter: saturate(0.7) contrast(1.08);
}

.estimate-choice > span:last-child {
  display: grid;
  gap: 8px;
}

.estimate-choice small {
  color: #a27b45;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.estimate-choice strong {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2.1rem);
  font-weight: 400;
  line-height: 1;
}

.estimate-choice-other {
  grid-column: 1 / -1;
  min-height: 112px;
  grid-template-columns: 78px 1fr;
}

.estimate-choice-symbol {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid #bbb7ad;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 400;
}

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

.quote-page-modern .estimate-form .estimate-field {
  display: grid;
  gap: 9px;
  color: #343631;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.estimate-field > small {
  display: inline;
  color: #989990;
  font-weight: 600;
}

.estimate-field-wide {
  grid-column: 1 / -1;
}

.quote-page-modern .estimate-form .estimate-field input,
.quote-page-modern .estimate-form .estimate-field select,
.quote-page-modern .estimate-form .estimate-field textarea {
  min-height: 54px;
  padding: 14px 15px;
  border: 1px solid #d5d2ca;
  border-radius: 0;
  background: #fff;
  color: #171817;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.quote-page-modern .estimate-form .estimate-field textarea {
  min-height: 142px;
  margin-top: 18px;
  resize: vertical;
}

.quote-page-modern .estimate-form .estimate-field input:focus,
.quote-page-modern .estimate-form .estimate-field select:focus,
.quote-page-modern .estimate-form .estimate-field textarea:focus {
  outline: 0;
  border-color: #a87c43;
  background: #fffdf8;
  box-shadow: 0 0 0 4px rgba(182,138,79,0.12);
  transform: none;
}

.estimate-file-field {
  position: relative;
  min-height: 92px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed #b7b3a9;
  background: #efede7;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.estimate-file-field:hover {
  border-color: #a87c43;
  background: #e9e5dd;
}

.quote-page-modern .estimate-file-field input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.estimate-file-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #171916;
  color: #fff;
  font-size: 1.25rem;
}

.estimate-file-field > span:nth-of-type(2) {
  display: grid;
  gap: 4px;
}

.estimate-file-field strong {
  color: #20221e;
  font-size: 0.86rem;
}

.estimate-file-field small {
  color: #777970;
  font-size: 0.72rem;
}

.estimate-file-field > b {
  color: #956d39;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate-contact-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.estimate-contact-choice label {
  position: relative;
  cursor: pointer;
}

.quote-page-modern .estimate-contact-choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.estimate-contact-choice span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 9px 15px;
  border: 1px solid #d2cfc7;
  background: #fff;
  color: #666860;
  font-size: 0.76rem;
  font-weight: 900;
}

.estimate-contact-choice input:checked + span {
  border-color: #171916;
  background: #171916;
  color: #fff;
}

.quote-page-modern .estimate-form .estimate-privacy {
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  margin-top: 24px;
  color: #666860;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.5;
}

.quote-page-modern .estimate-form .estimate-privacy input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #a87c43;
}

.estimate-submit-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: #777970;
  font-size: 0.74rem;
}

.estimate-step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #ddd9d1;
}

.estimate-step-actions-end {
  justify-content: flex-end;
}

.estimate-next,
.estimate-submit,
.estimate-back {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 18px;
  border: 0;
  border-radius: 0;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.28s var(--ease-smooth), background 0.22s ease, color 0.22s ease;
}

.estimate-next,
.estimate-submit {
  min-width: 180px;
  background: #171916;
  color: #fff;
}

.estimate-submit {
  background: #b4874d;
  color: #11120f;
}

.estimate-back {
  padding-left: 0;
  background: transparent;
  color: #777970;
}

.estimate-next:hover,
.estimate-submit:hover,
.estimate-back:hover {
  transform: translateY(-2px);
}

.estimate-next:hover { background: #2c302a; }
.estimate-submit:hover { background: #c9a36e; }
.estimate-back:hover { color: #171916; }

.quote-page-modern .estimate-form .form-message {
  min-height: 0;
  margin: 0;
}

.quote-page-modern .estimate-form .form-message:not(:empty) {
  margin-top: 24px;
  padding: 16px 18px;
  border-left: 3px solid #739160;
  background: #e8efe3;
  color: #36532c;
  font-size: 0.82rem;
}

.estimate-reassurance {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(44px, 7vw, 110px);
  padding: clamp(84px, 10vw, 150px) clamp(20px, 6vw, 92px);
  background: #f4f2ed;
}

.estimate-reassurance > p {
  margin: 0;
  max-width: 560px;
  color: #1a1c19;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.estimate-reassurance > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  border-top: 1px solid #c8c5bc;
}

.estimate-reassurance article {
  padding: 30px 28px 0 0;
}

.estimate-reassurance article + article {
  padding-left: 28px;
  border-left: 1px solid #c8c5bc;
}

.estimate-reassurance article > span {
  color: #a27b45;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.estimate-reassurance h3 {
  margin: 38px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 400;
}

.estimate-reassurance article p {
  margin: 0;
  color: #777970;
  font-size: 0.82rem;
}

@keyframes estimateCue {
  0%, 20% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

@keyframes estimateStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1100px) {
  .estimate-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
    gap: 38px;
  }

  .estimate-hero-copy h1 {
    font-size: clamp(3.8rem, 7vw, 6.2rem);
  }

  .estimate-builder {
    grid-template-columns: minmax(300px, 0.62fr) minmax(0, 1.38fr);
    gap: 30px;
  }

  .estimate-choice {
    grid-template-columns: 90px 1fr;
  }
}

@media (max-width: 860px) {
  .estimate-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 72px;
  }

  .estimate-hero-copy {
    max-width: 760px;
  }

  .estimate-hero-visual {
    min-height: 520px;
  }

  .estimate-scroll-cue {
    display: none;
  }

  .estimate-section-heading,
  .estimate-builder,
  .estimate-reassurance {
    grid-template-columns: 1fr;
  }

  .estimate-section-heading .estimate-kicker {
    grid-column: auto;
  }

  .estimate-path > ol {
    grid-template-columns: 1fr;
  }

  .estimate-path > ol > li,
  .estimate-path > ol > li + li {
    min-height: 0;
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid #c8c5bc;
  }

  .estimate-path > ol > li + li::before {
    left: 0;
  }

  .estimate-builder-sticky {
    position: relative;
    top: auto;
  }

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

  .estimate-progress-list li {
    align-content: start;
    grid-template-columns: 1fr;
    padding: 16px 12px 0 0;
    border-bottom: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .estimate-progress-list li.is-active {
    padding-left: 0;
  }

  .estimate-reassurance > div {
    margin-top: 12px;
  }
}

@media (max-width: 640px) {
  .estimate-hero {
    gap: 48px;
    padding: 54px 16px 72px;
  }

  .estimate-hero-copy h1 {
    font-size: clamp(3.2rem, 16vw, 4.65rem);
    line-height: 0.88;
  }

  .estimate-lead {
    margin-top: 26px;
    font-size: 0.94rem;
  }

  .estimate-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .estimate-primary-action {
    width: 100%;
  }

  .estimate-text-action {
    width: fit-content;
  }

  .estimate-proof {
    margin-top: 46px;
  }

  .estimate-proof div,
  .estimate-proof div + div {
    padding: 16px 8px 0;
  }

  .estimate-proof div:first-child {
    padding-left: 0;
  }

  .estimate-proof dt {
    font-size: 1.25rem;
  }

  .estimate-proof dd {
    font-size: 0.59rem;
    line-height: 1.35;
  }

  .estimate-hero-visual {
    min-height: 390px;
  }

  .estimate-coordinate {
    display: none;
  }

  .estimate-visual-copy h2 {
    font-size: 2.25rem;
  }

  .estimate-path,
  .estimate-reassurance {
    padding: 72px 16px;
  }

  .estimate-section-heading {
    margin-bottom: 44px;
  }

  .estimate-section-heading h2,
  .estimate-reassurance > p {
    font-size: 3.05rem;
  }

  .estimate-builder {
    gap: 18px;
    padding: 60px 16px 72px;
  }

  .estimate-builder-sticky {
    padding: 28px 22px;
  }

  .estimate-builder-sticky h2 {
    font-size: 2.75rem;
  }

  .estimate-progress-list small {
    display: none;
  }

  .quote-page-modern .quote-form.estimate-form {
    padding: 28px 18px;
  }

  .estimate-form-head > strong {
    font-size: 3rem;
  }

  .estimate-step-intro {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .estimate-step-intro span {
    text-align: left;
  }

  .estimate-choice-grid {
    gap: 8px;
  }

  .estimate-choice {
    min-height: 148px;
    grid-template-columns: 1fr;
    gap: 10px;
    align-content: space-between;
    padding: 10px;
  }

  .estimate-choice-visual {
    height: 92px;
  }

  .estimate-choice strong {
    font-size: 1.22rem;
  }

  .estimate-choice-other {
    min-height: 94px;
    grid-template-columns: 60px 1fr;
    align-content: center;
  }

  .estimate-choice-symbol {
    width: 48px;
    height: 48px;
  }

  .estimate-field-grid {
    grid-template-columns: 1fr;
  }

  .estimate-field-wide {
    grid-column: auto;
  }

  .estimate-file-field {
    grid-template-columns: auto 1fr;
  }

  .estimate-file-field > b {
    display: none;
  }

  .estimate-step-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .estimate-next,
  .estimate-submit,
  .estimate-back {
    width: 100%;
  }

  .estimate-step-actions-end {
    flex-direction: column;
  }

  .estimate-reassurance > div {
    grid-template-columns: 1fr;
  }

  .estimate-reassurance article,
  .estimate-reassurance article + article {
    padding: 26px 0;
    border-left: 0;
    border-bottom: 1px solid #c8c5bc;
  }

  .estimate-reassurance h3 {
    margin-top: 20px;
  }
}

/* Preventivo compatto: il configuratore resta il contenuto principale. */
.quote-page-modern .estimate-main {
  font-family: var(--font-body);
}

.quote-page-modern .estimate-main h1,
.quote-page-modern .estimate-main h2,
.quote-page-modern .estimate-main h3,
.quote-page-modern .estimate-form-head > strong,
.quote-page-modern .estimate-choice strong {
  font-family: var(--font-body);
}

.estimate-compact-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(30px, 6vw, 100px);
  align-items: end;
  padding: clamp(38px, 5vw, 68px) clamp(20px, 6vw, 92px) clamp(32px, 4vw, 52px);
  background: #0b0d0c;
  color: #f7f5ef;
}

.estimate-compact-intro > *,
.estimate-compact-intro li {
  min-width: 0;
}

.estimate-compact-intro .estimate-kicker {
  margin-bottom: 12px;
}

.estimate-compact-intro h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.8rem, 5.2vw, 5.5rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.estimate-compact-intro > div > p:last-child {
  max-width: 680px;
  margin: 18px 0 0;
  color: rgba(255,255,255,0.64);
  font-size: 0.95rem;
}

.estimate-compact-intro ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(105px, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.estimate-compact-intro li {
  min-height: 78px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-left: 1px solid rgba(255,255,255,0.16);
}

.estimate-compact-intro li strong {
  color: #c49a60;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.estimate-compact-intro li span {
  max-width: 120px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35;
}

.quote-page-modern .estimate-builder {
  padding-top: clamp(28px, 4vw, 58px);
  padding-bottom: clamp(60px, 7vw, 96px);
}

@media (max-width: 860px) {
  .estimate-compact-intro {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 42px;
  }

  .estimate-compact-intro ul {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quote-page-modern .estimate-builder {
    gap: 12px;
    padding-top: 18px;
  }

  .quote-page-modern .estimate-builder-sticky {
    padding: 14px 18px;
  }

  .estimate-builder-sticky > .estimate-kicker,
  .estimate-builder-sticky > h2,
  .estimate-builder-sticky > p,
  .estimate-builder-sticky > .estimate-aside-note {
    display: none;
  }

  .quote-page-modern .estimate-progress-list {
    margin-top: 0;
    border-top: 0;
  }

  .quote-page-modern .estimate-progress-list li {
    padding-top: 6px;
  }
}

@media (max-width: 640px) {
  .estimate-compact-intro {
    gap: 22px;
    padding: 30px 16px 24px;
  }

  .estimate-compact-intro h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
    letter-spacing: -0.045em;
  }

  .estimate-compact-intro > div > p:last-child {
    margin-top: 12px;
    font-size: 0.84rem;
  }

  .estimate-compact-intro li {
    min-height: 68px;
    padding: 8px 9px;
  }

  .estimate-compact-intro li span {
    font-size: 0.62rem;
    overflow-wrap: anywhere;
  }

  .quote-page-modern .estimate-builder {
    padding: 12px 16px 54px;
  }

  .quote-page-modern .quote-form.estimate-form {
    padding: 24px 18px;
  }
}

/* Dettagli scenografici limitati esclusivamente alla pagina preventivo. */
.quote-page-modern .estimate-compact-intro {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(255,255,255,0.035) 50%, transparent 50.1%),
    radial-gradient(circle at 72% 12%, rgba(196,154,96,0.16), transparent 28%),
    #0b0d0c;
  background-size: 96px 96px, auto, auto;
}

.quote-page-modern .estimate-compact-intro::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(260px, 36vw, 560px);
  aspect-ratio: 1;
  right: clamp(-250px, -13vw, -90px);
  top: 50%;
  border: 1px solid rgba(196,154,96,0.28);
  border-radius: 50%;
  box-shadow:
    0 0 0 54px rgba(196,154,96,0.025),
    0 0 0 108px rgba(196,154,96,0.018);
  transform: translateY(-50%);
  pointer-events: none;
}

.quote-page-modern .estimate-compact-intro::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c49a60);
  box-shadow: 0 0 20px rgba(196,154,96,0.55);
  pointer-events: none;
}

.quote-page-modern .estimate-compact-intro h1 .estimate-title-accent {
  display: block;
  color: #c8a46c;
  background: linear-gradient(105deg, #9f743c 8%, #edcf97 45%, #b78649 72%);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 36px rgba(196,154,96,0.08);
}

.quote-page-modern .estimate-compact-intro h1 .estimate-title-line {
  display: block;
  color: #f7f5ef;
}

.quote-page-modern .estimate-compact-intro li {
  position: relative;
  transition: transform 0.35s var(--ease-smooth), background 0.3s ease;
}

.quote-page-modern .estimate-compact-intro li::after {
  content: "";
  position: absolute;
  left: -1px;
  bottom: 0;
  width: 1px;
  height: 0;
  background: #d0a765;
  box-shadow: 0 0 12px rgba(208,167,101,0.7);
  transition: height 0.35s var(--ease-smooth);
}

.quote-page-modern .estimate-compact-intro li:hover {
  background: rgba(255,255,255,0.025);
  transform: translateY(-3px);
}

.quote-page-modern .estimate-compact-intro li:hover::after {
  height: 100%;
}

.quote-page-modern .estimate-builder {
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,0.72), transparent 28%),
    linear-gradient(135deg, #d8d5cd, #e6e3dc 55%, #d5d2ca);
}

.quote-page-modern .estimate-builder-sticky {
  border: 1px solid rgba(210,171,110,0.16);
  box-shadow: 0 34px 90px rgba(20,21,18,0.24), inset 0 1px 0 rgba(255,255,255,0.055);
}

.quote-page-modern .estimate-builder-sticky::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, #d9b372, transparent);
  box-shadow: 0 0 22px rgba(217,179,114,0.62);
}

.quote-page-modern .estimate-progress-list li.is-active > span {
  text-shadow: 0 0 15px rgba(202,165,108,0.78);
}

.quote-page-modern .quote-form.estimate-form {
  position: relative;
  border-top-color: #b98b4c;
  box-shadow: 0 34px 90px rgba(31,32,28,0.16), 0 0 0 1px rgba(255,255,255,0.66) inset;
}

.quote-page-modern .quote-form.estimate-form::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 28%;
  height: 2px;
  background: linear-gradient(90deg, #8f642d, #edc98f, transparent);
  box-shadow: 0 0 18px rgba(182,138,79,0.42);
}

.quote-page-modern .estimate-progress-track span {
  background: linear-gradient(90deg, #8e632f, #ddb979);
  box-shadow: 0 0 16px rgba(182,138,79,0.5);
}

.quote-page-modern .estimate-choice::after {
  content: "\2713";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d2aa6a;
  color: #11130f;
  font-size: 0.72rem;
  font-weight: 900;
  opacity: 0;
  transform: scale(0.45) rotate(-18deg);
  transition: opacity 0.25s ease, transform 0.4s var(--ease-smooth);
  pointer-events: none;
}

.quote-page-modern .estimate-choice:hover {
  box-shadow: 0 20px 42px rgba(28,29,26,0.13), 0 0 0 1px rgba(182,138,79,0.3);
}

.quote-page-modern .estimate-choice:has(input:checked) {
  transform: translateY(-3px);
  box-shadow: inset 0 0 0 1px #c9a465, 0 22px 46px rgba(22,23,20,0.22);
}

.quote-page-modern .estimate-choice:has(input:checked)::after {
  opacity: 1;
  transform: scale(1) rotate(0);
}

.quote-page-modern .estimate-choice:has(input:checked) .estimate-choice-visual {
  box-shadow: inset 0 0 0 1px rgba(210,170,104,0.4);
}

.quote-page-modern .estimate-next,
.quote-page-modern .estimate-submit {
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 24px rgba(20,21,18,0.14);
}

.quote-page-modern .estimate-next::before,
.quote-page-modern .estimate-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.22) 48%, transparent 76%);
  transform: translateX(-125%);
  transition: transform 0.72s var(--ease-smooth);
}

.quote-page-modern .estimate-next:hover::before,
.quote-page-modern .estimate-submit:hover::before {
  transform: translateX(125%);
}

.quote-page-modern .estimate-next > *,
.quote-page-modern .estimate-submit > * {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .quote-page-modern .estimate-compact-intro h1 .estimate-title-accent {
    animation: estimateGoldShift 7s ease-in-out infinite alternate;
  }

  .quote-page-modern .estimate-compact-intro::before {
    animation: estimateHalo 8s ease-in-out infinite alternate;
  }
}

@keyframes estimateGoldShift {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes estimateHalo {
  from { transform: translateY(-50%) scale(0.96); opacity: 0.66; }
  to { transform: translateY(-50%) scale(1.04); opacity: 1; }
}

@media (max-width: 640px) {
  .quote-page-modern .estimate-compact-intro::before {
    right: -190px;
    opacity: 0.62;
  }

  .quote-page-modern .estimate-compact-intro li:hover {
    transform: none;
  }
}

/* Micro-interazioni del configuratore preventivo. */
.quote-page-modern .estimate-builder {
  --quote-light-x: 78%;
  --quote-light-y: 18%;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.quote-page-modern .estimate-builder::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: radial-gradient(420px circle at var(--quote-light-x) var(--quote-light-y), rgba(202,157,88,0.2), transparent 68%);
  opacity: 0.76;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.quote-page-modern .estimate-builder > * {
  position: relative;
  z-index: 1;
}

.quote-page-modern .estimate-progress-list li.is-active > span {
  position: relative;
}

.quote-page-modern .estimate-progress-list li.is-active > span::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  right: -2px;
  top: -3px;
  border-radius: 50%;
  background: #e2bd7d;
  box-shadow: 0 0 0 0 rgba(226,189,125,0.5);
  animation: estimateProgressPulse 2.2s ease-out infinite;
}

.quote-page-modern .estimate-form.is-step-form .estimate-form-step.is-active {
  animation: estimateStepReveal 0.52s var(--ease-smooth) both;
}

.quote-page-modern .estimate-field:has(select.is-urgent) {
  color: #8b5e26;
}

.quote-page-modern .estimate-field select.is-urgent {
  border-color: #b98849;
  background: linear-gradient(90deg, #fffaf0, #fff);
  box-shadow: 0 0 0 4px rgba(185,136,73,0.1);
  font-weight: 800;
}

.quote-page-modern .estimate-next::before,
.quote-page-modern .estimate-submit::before {
  pointer-events: none;
}

.quote-page-modern .estimate-next:focus-visible,
.quote-page-modern .estimate-submit:focus-visible,
.quote-page-modern .estimate-back:focus-visible {
  outline: 3px solid rgba(185,139,76,0.34);
  outline-offset: 3px;
}

@keyframes estimateProgressPulse {
  0% { box-shadow: 0 0 0 0 rgba(226,189,125,0.52); }
  72%, 100% { box-shadow: 0 0 0 9px rgba(226,189,125,0); }
}

@keyframes estimateStepReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
    clip-path: inset(0 0 10% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .quote-page-modern .estimate-progress-list li.is-active > span::after {
    animation: none;
  }

  .quote-page-modern .estimate-form.is-step-form .estimate-form-step.is-active {
    animation: none;
  }
}

@media (hover: none) {
  .quote-page-modern .estimate-choice:hover,
  .quote-page-modern .estimate-compact-intro li:hover {
    transform: none;
  }

  .quote-page-modern .estimate-builder::before {
    opacity: 0.42;
  }
}

/* Footer compatto riservato alla pagina preventivo. */
.quote-page-modern .estimate-footer.site-footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 13px clamp(18px, 6vw, 92px);
  border-top: 1px solid rgba(200,155,92,0.3);
}

.quote-page-modern .estimate-footer > div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.quote-page-modern .estimate-footer strong {
  color: #fff;
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.quote-page-modern .estimate-footer span,
.quote-page-modern .estimate-footer a {
  margin: 0;
  color: rgba(255,255,255,0.66);
  font-size: 0.76rem;
  line-height: 1.2;
}

.quote-page-modern .estimate-footer a {
  display: inline;
  margin-bottom: 0;
  color: #d6ad6f;
  font-weight: 800;
  text-decoration: none;
}

.quote-page-modern .estimate-footer a:hover {
  color: #f0d39e;
}

@media (max-width: 640px) {
  .quote-page-modern .estimate-footer.site-footer {
    min-height: 0;
    padding: 15px 16px;
  }

  .quote-page-modern .estimate-footer > div {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 6px 16px;
  }

  .quote-page-modern .estimate-footer strong {
    width: 100%;
  }
}

/* Preventivo: prima rotellina compatta l'intestazione come nella pagina Prodotti. */
.quote-page-modern .site-header.is-scrolled {
  min-height: var(--header-height);
  padding-top: 16px;
  padding-bottom: 16px;
}

.quote-page-modern .estimate-compact-intro {
  position: sticky;
  top: var(--header-height);
  z-index: 24;
  height: clamp(310px, 36vh, 340px);
  will-change: height, padding;
  backface-visibility: hidden;
  transition:
    height 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    padding 0.62s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
}

.quote-page-modern .estimate-compact-intro > ul,
.quote-page-modern .estimate-compact-intro .estimate-kicker,
.quote-page-modern .estimate-compact-intro > div > p:last-child {
  max-height: 120px;
  overflow: hidden;
  transition:
    opacity 0.25s ease,
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-page-modern .estimate-compact-intro h1 {
  position: relative;
  backface-visibility: hidden;
  transition: font-size 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.quote-page-modern .estimate-compact-intro h1 > span {
  opacity: 1;
  transition: opacity 0.2s ease;
}

.quote-page-modern .estimate-compact-intro h1::after {
  content: "Preventivo";
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 0.22s ease;
  pointer-events: none;
}

.quote-page-modern.is-estimate-hero-compact .estimate-compact-intro {
  height: clamp(66px, 8.5vh, 76px);
  padding: 8px 22px;
  background: #0b0d0c;
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.quote-page-modern.is-estimate-hero-compact .estimate-compact-intro > ul,
.quote-page-modern.is-estimate-hero-compact .estimate-compact-intro .estimate-kicker,
.quote-page-modern.is-estimate-hero-compact .estimate-compact-intro > div > p:last-child {
  max-height: 0;
  margin: 0;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.quote-page-modern.is-estimate-hero-compact .estimate-compact-intro::before {
  animation: none;
  opacity: 0;
}

.quote-page-modern.is-estimate-hero-compact .estimate-compact-intro h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  max-width: calc(100vw - 44px);
  margin: 0;
  color: transparent;
  font-size: 0;
  line-height: 1;
  text-align: center;
  translate: -50% -50%;
  white-space: nowrap;
}

.quote-page-modern.is-estimate-hero-compact .estimate-compact-intro h1 span {
  opacity: 0;
}

.quote-page-modern.is-estimate-hero-compact .estimate-compact-intro h1::after {
  content: "Preventivo";
  opacity: 1;
  color: #c8a46c;
  background: linear-gradient(105deg, #9f743c 8%, #edcf97 45%, #b78649 72%);
  background-size: 180% auto;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(1.15rem, 2.4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  .quote-page-modern.is-estimate-hero-compact .estimate-compact-intro h1::after {
    animation: estimateGoldShift 7s ease-in-out infinite alternate;
  }
}

.quote-page-modern .quote-form.estimate-form {
  scroll-margin-top: calc(var(--header-height) + clamp(66px, 8.5vh, 76px) + 16px);
}

@media (max-width: 640px) {
  .quote-page-modern .site-header.is-scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .quote-page-modern .estimate-compact-intro {
    height: 340px;
  }

  .quote-page-modern.is-estimate-hero-compact .estimate-compact-intro {
    height: 66px;
    padding: 8px 16px;
  }

  .quote-page-modern.is-estimate-hero-compact .estimate-compact-intro h1::after {
    font-size: 1.2rem;
  }
}

/* Fotografie reali nelle scelte prodotto del preventivo. */
.quote-page-modern .estimate-choice-photo {
  position: relative;
  background: #d8d5cd;
}

.quote-page-modern .estimate-choice-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 52%, rgba(13,15,13,0.18));
  pointer-events: none;
}

.quote-page-modern .estimate-choice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: normal;
  filter: saturate(0.82) contrast(1.04);
}

.quote-page-modern .estimate-choice-photo-door img {
  object-position: center;
}

.quote-page-modern .estimate-choice:hover .estimate-choice-photo img {
  transform: scale(1.075);
  filter: saturate(1) contrast(1.03);
}

.quote-page-modern .estimate-choice:has(input:checked) .estimate-choice-photo img {
  filter: saturate(0.92) contrast(1.08) brightness(0.82);
}

.quote-page-modern .estimate-choice > span:last-child {
  gap: 0;
}

.quote-page-modern .estimate-choice-screening > span:last-child {
  justify-items: center;
  text-align: center;
}

.quote-page-modern .estimate-choice-screening strong {
  width: 100%;
  font-size: clamp(1.25rem, 1.85vw, 1.8rem);
  text-align: center;
}

/* Home preload: firma minimale e autorevole. */
.site-intro.site-intro-minimal {
  --intro-gold: #c89b5c;
  gap: clamp(24px, 4vh, 38px);
  background:
    radial-gradient(circle at 50% 44%, rgba(200,155,92,0.105), transparent 24%),
    linear-gradient(145deg, #070807, #10110f 55%, #080908);
  opacity: 1;
  clip-path: inset(0);
  transition:
    clip-path 0.8s cubic-bezier(0.76, 0, 0.24, 1),
    opacity 0.52s ease;
}

.site-intro.site-intro-minimal::before {
  inset: 0;
  z-index: 0;
  width: auto;
  background:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 88px 88px;
  box-shadow: none;
  opacity: 0.66;
  transform: none;
  transition: opacity 0.45s ease;
  mask-image: radial-gradient(circle at center, #000 8%, transparent 68%);
}

.site-intro.site-intro-minimal::after {
  inset: auto 0 0;
  z-index: 3;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 12%, rgba(200,155,92,0.24), #e3bd7d 50%, rgba(200,155,92,0.24), transparent 88%);
  box-shadow: 0 0 18px rgba(200,155,92,0.28);
  opacity: 1;
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-smooth) 0.15s, opacity 0.35s ease;
}

.site-intro-minimal .site-intro-signature {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: clamp(12px, 2vh, 20px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.62s ease, transform 0.82s var(--ease-smooth);
}

.site-intro-minimal .site-intro-eyebrow {
  color: rgba(223,188,128,0.74);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease 0.16s, transform 0.64s var(--ease-smooth) 0.16s;
}

.site-intro-minimal .site-intro-mark {
  width: clamp(132px, 14vw, 180px);
  aspect-ratio: 1;
  opacity: 1;
  transform: none;
  perspective: none;
  transition: none;
}

.site-intro-minimal .site-intro-mark::before {
  inset: 4%;
  border: 1px solid rgba(219,181,117,0.32);
  border-radius: 0;
  background: rgba(255,255,255,0.008);
  box-shadow: 0 24px 70px rgba(0,0,0,0.28), inset 0 0 28px rgba(200,155,92,0.025);
  opacity: 0;
  transform: rotate(38deg) scale(0.74);
  transition: opacity 0.6s ease 0.12s, transform 1s var(--ease-smooth) 0.12s;
}

.site-intro-minimal .site-intro-mark::after {
  left: 50%;
  right: auto;
  bottom: 7%;
  width: 38%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d7ad6b, transparent);
  box-shadow: 0 0 16px rgba(200,155,92,0.34);
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
  transition: opacity 0.4s ease 0.42s, transform 0.72s var(--ease-smooth) 0.42s;
}

.site-intro-minimal .site-intro-mark img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.78);
  filter: brightness(1.34) drop-shadow(0 14px 30px rgba(0,0,0,0.48));
  transition: opacity 0.55s ease 0.22s, transform 0.9s var(--ease-smooth) 0.22s, filter 0.55s ease;
}

.site-intro-minimal p {
  gap: 7px;
  margin: 0;
  color: #f5f4f0;
  font-size: clamp(0.84rem, 1.15vw, 1rem);
  letter-spacing: 0.17em;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.52s ease 0.4s, transform 0.72s var(--ease-smooth) 0.4s;
}

.site-intro-minimal p small {
  color: rgba(220,188,132,0.64);
  font-size: 0.62em;
  letter-spacing: 0.22em;
}

.site-intro-minimal .site-intro-progress {
  z-index: 2;
  width: min(190px, 48vw);
  height: 1px;
  border-radius: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transform: none;
  transition: opacity 0.4s ease 0.52s;
}

.site-intro-minimal .site-intro-progress::before {
  background: linear-gradient(90deg, #7c592d, #edc98c);
  box-shadow: 0 0 14px rgba(200,155,92,0.32);
  transform: scaleX(0);
  transform-origin: left;
}

.site-intro-minimal.is-ready .site-intro-signature,
.site-intro-minimal.is-ready .site-intro-eyebrow,
.site-intro-minimal.is-ready p,
.site-intro-minimal.is-ready .site-intro-progress {
  opacity: 1;
  transform: none;
}

.site-intro-minimal.is-ready .site-intro-mark::before {
  opacity: 1;
  transform: rotate(45deg) scale(0.82);
}

.site-intro-minimal.is-ready .site-intro-mark::after {
  opacity: 1;
  transform: translateX(-50%) scaleX(1);
  animation: none;
}

.site-intro-minimal.is-ready .site-intro-mark img {
  opacity: 1;
  transform: scale(1);
}

.site-intro-minimal.is-ready::after {
  transform: scaleX(1);
}

.site-intro-minimal.is-ready .site-intro-progress::before {
  animation: introMinimalProgress 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

.site-intro.site-intro-minimal.is-leaving {
  opacity: 0.98;
  clip-path: inset(0 0 100% 0);
}

.site-intro-minimal.is-leaving .site-intro-signature,
.site-intro-minimal.is-leaving .site-intro-progress {
  opacity: 0;
  transform: translateY(-8px) scale(0.985);
  transition-duration: 0.3s;
}

.site-intro.site-intro-minimal.is-leaving::before {
  opacity: 0;
  transform: none;
}

.site-intro.site-intro-minimal.is-leaving::after {
  opacity: 0;
  transform: scaleX(1);
}

@keyframes introMinimalProgress {
  0% { transform: scaleX(0); }
  68% { transform: scaleX(0.82); }
  100% { transform: scaleX(1); }
}

@media (max-width: 640px) {
  .site-intro.site-intro-minimal {
    gap: 26px;
  }

  .site-intro-minimal .site-intro-mark {
    width: 128px;
  }

  .site-intro-minimal p {
    padding-inline: 18px;
    font-size: 0.76rem;
  }
}

/* Home mobile: layout dedicato, immagini responsive e navigazione touch. */
@media (max-width: 640px) {
  html.home-document,
  html.home-document body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .home-window-scroll {
    width: 100%;
    touch-action: pan-x pan-y pinch-zoom;
  }

  .home-slide {
    width: 100%;
    padding: 56px 16px;
    overflow: hidden;
  }

  .home-slide > .home-slide-bg,
  .home-slide > img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
  }

  .home-slide-hero {
    min-height: 100svh;
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: max(34px, env(safe-area-inset-bottom));
  }

  .home-slide-hero > img {
    object-position: 62% center;
  }

  .home-slide-hero .home-slide-content {
    width: 100%;
  }

  .home-slide-content h1 {
    max-width: 11ch;
    font-size: clamp(2.45rem, 12vw, 3.25rem);
    line-height: 0.96;
  }

  .home-slide-content h2 {
    font-size: clamp(2rem, 9vw, 2.55rem);
    line-height: 1.02;
  }

  .home-slide .button-row {
    align-items: stretch;
    width: 100%;
  }

  .home-slide-hero .button-row {
    margin-top: 28px;
  }

  .home-slide .button-row .btn {
    min-height: 48px;
  }

  .hero-exclusive-offer {
    width: 100%;
    max-width: none;
  }

  .home-slide-story {
    padding-inline: 16px;
  }

  .home-slide-story > .home-slide-bg {
    object-position: 58% center;
  }

  .home-slide-story .home-two-columns {
    gap: 26px;
  }

  .story-portrait {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .story-portrait > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .home-slide-products,
  .home-slide-products .home-slide-content {
    height: auto;
    min-height: 0;
  }

  .home-slide-products {
    padding: 46px 0 28px;
    background: #f5f2ea !important;
  }

  .home-slide-products > .home-slide-bg,
  .home-slide-products .home-products-fluid-canvas,
  .home-slide-products .home-glass-track {
    display: none !important;
  }

  .home-slide-products .home-slide-content {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 0;
    opacity: 1;
    transform: none;
  }

  .home-slide-products .home-product-strip {
    position: relative;
    inset: auto;
    align-items: stretch;
    gap: 12px;
    height: auto;
    min-height: 0;
    padding: 0 16px 16px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .home-slide-products .home-product-strip::-webkit-scrollbar {
    display: none;
  }

  .home-product-strip a,
  .home-product-strip a:nth-child(n) {
    flex: 0 0 min(52vw, 205px);
    max-width: 205px;
    margin-top: 0;
    border: 1px solid rgba(17, 17, 17, 0.1);
    border-radius: 14px;
    background: #ffffff;
    color: #171717;
    box-shadow: 0 10px 26px rgba(17, 17, 17, 0.1);
    scroll-snap-align: center;
  }

  .home-product-strip img,
  .home-slide-products .home-product-strip img {
    width: 100%;
    height: min(39vw, 155px);
    object-fit: cover;
  }

  .home-slide-products .home-product-strip strong {
    min-height: 50px;
    padding: 13px 14px;
    color: #171717;
    font-size: 0.88rem;
  }

  .home-slide-products .home-product-strip + .btn {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: fit-content;
    max-width: calc(100% - 32px);
    margin: 6px auto 0;
    white-space: nowrap;
  }

  .home-slide-works {
    min-height: 0;
    padding: 54px 16px 34px;
    background: #f7f5ef;
  }

  .home-slide-works > .home-slide-bg,
  .home-slide-works .home-work-backdrop,
  .home-slide-works .home-glass-track {
    display: none;
  }

  .home-slide-works .home-slide-content {
    position: relative;
    width: 100%;
    min-height: 0;
    opacity: 1;
    transform: none;
  }

  .home-slide-works .home-slide-content > .eyebrow,
  .home-slide-works .home-slide-content > h2 {
    position: relative;
    top: auto;
    left: auto;
    color: #171717;
    text-shadow: none;
  }

  .home-slide-works .home-slide-content > .eyebrow {
    margin: 0 0 8px;
    color: var(--accent-dark);
  }

  .home-slide-works .home-slide-content > h2 {
    margin: 0 0 24px;
  }

  .home-work-carousel {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(17, 17, 17, 0.12);
  }

  .home-work-feature {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .home-work-slide {
    display: none;
    position: relative;
    inset: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0;
  }

  .home-work-slide.is-active {
    display: grid;
  }

  .home-work-slide > img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
  }

  .home-work-slide > div {
    max-width: none;
    padding: 20px 18px 22px;
  }

  .home-work-slide h3 {
    margin: 7px 0 8px;
    color: #171717;
    font-size: 1.55rem;
    text-shadow: none;
  }

  .home-work-slide p {
    color: #5e5e5e;
    text-shadow: none;
  }

  .home-work-strip {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 3;
    gap: 8px;
    width: 100%;
    max-width: none;
    padding: 12px;
    overflow-x: auto;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }

  .home-work-strip button {
    flex: 0 0 92px;
    width: 92px;
    min-width: 92px;
    min-height: 58px;
    border-radius: 10px;
    transform: none;
  }

  .home-work-strip button:hover,
  .home-work-strip button.is-active {
    transform: none;
  }

  .home-slide-contact {
    padding: 58px 16px 0;
  }

  .home-slide-contact > .home-slide-bg {
    object-position: 68% center;
  }

  .home-slide-contact .home-two-columns {
    gap: 26px;
  }

  .home-contact-details span,
  .home-contact-details a {
    overflow-wrap: anywhere;
  }

  .home-map-panel {
    width: 100%;
    min-height: 300px;
    aspect-ratio: 1 / 1;
  }

  .home-map-panel iframe {
    width: 100%;
    height: 100%;
  }

  .home-slide-footer.site-footer {
    width: 100%;
    margin-inline: 0;
    padding: 28px 18px max(28px, env(safe-area-inset-bottom));
  }

  .menu-toggle,
  .main-nav a,
  .home-work-strip button,
  .home-slide .btn {
    touch-action: manipulation;
  }

  /* Controllo finale mobile: pannelli contenuti e testi sempre nel flusso. */
  .home-slide .home-slide-content,
  .home-slide .home-two-columns,
  .hero-exclusive-offer,
  .story-portrait,
  .home-product-strip,
  .home-work-carousel,
  .home-work-slide,
  .home-work-strip,
  .home-map-panel,
  .home-slide-footer.site-footer {
    box-sizing: border-box;
    max-width: 100%;
  }

  .home-slide-story {
    height: auto;
    min-height: 0;
    padding: calc(var(--header-height) + 24px) 16px 28px;
    overflow: hidden;
  }

  .home-slide-story .home-slide-content,
  .home-slide-story .home-two-columns {
    position: relative;
    inset: auto;
    display: grid;
    width: 100%;
    height: auto;
    max-height: none;
    align-items: start;
    overflow: visible;
  }

  .home-slide-story .home-two-columns > div:first-child,
  .home-slide-story .company-story-text {
    position: relative;
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .home-slide-story .home-slide-content h2 {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 0 18px;
    font-size: clamp(1.9rem, 9vw, 2.45rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .home-slide-story .made-italy-story {
    position: relative;
    inset: auto;
    margin: 0 0 14px;
  }

  .home-slide-story .company-story-text p {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 0 12px;
    overflow-wrap: break-word;
  }

  .home-slide-story .story-portrait {
    justify-self: stretch;
    transform: none;
  }

  .home-slide-story .story-signature {
    filter: brightness(0) invert(1) drop-shadow(0 5px 14px rgba(0, 0, 0, 0.52));
  }
}

/* Foto e video reali: galleria zanzariere nella home. */
.home-work-slide .work-screen-media { margin: 0; min-width: 0; width: 100%; height: min(52vh, 520px); background: #111; box-shadow: 0 28px 80px rgba(0, 0, 0, .28); }
.work-screen-media > img, .work-screen-media > video { display: block; width: 100%; height: 100%; object-fit: contain; }
.work-screen-media > [hidden] { display: none; }
.work-screen-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.work-screen-controls button { border: 1px solid var(--accent); border-radius: var(--radius); padding: 10px 16px; background: rgba(17, 17, 17, .7); color: #fff; font: inherit; cursor: pointer; }
.work-screen-controls button[aria-pressed="true"] { background: var(--accent); color: var(--dark); }
.work-screen-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 860px) {
  .home-work-slide .work-screen-media { height: auto; aspect-ratio: 4 / 3; box-shadow: none; }
}

.home-work-slide > img.work-door-photo, .work-card > img.work-door-photo { object-fit: contain; background: #111; }
