:root {
  --ares-black: #1a1a1a;
  --ares-charcoal: #2d2d2d;
  --ares-gray: #6b6b6b;
  --ares-gray-light: #e5e5e5;
  --ares-gray-bg: #f2f2f2;
  --ares-white: #ffffff;
  --ares-copper: #a86b42;
  --ares-copper-hover: #8f5a36;
  --ares-copper-light: #c4895f;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --container: 1180px;
  --header-h: 88px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --image-shadow: 0 16px 42px rgba(0, 0, 0, 0.21), 0 8px 18px rgba(0, 0, 0, 0.12);
  /*
    Taglio fondo hero (header):
    - diagonale ~30° da sinistra fino a x = 1/6 schermo
    - sinistra parte più in alto (75% Y), destra invariata (90% Y)
  */
  --hero-clip: polygon(0 0, 100% 0, 100% 90%, 16.6667% 100%, 0 75%);
  --hero-shadow-strength: 0.83;
  --texture-material: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0.38 0 0 0 0 0.33 0 0 0 0 0.27 0 0 0 0.22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ares-charcoal);
  background-color: var(--ares-white);
  background-image: var(--texture-material);
  background-repeat: repeat;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* Scroll reveal */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
}

.reveal {
  transform: translateY(36px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.is-visible,
.reveal-left.is-visible,
.reveal-right.is-visible {
  opacity: 1;
  transform: translate(0);
}

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  overflow: visible;
  padding: 22px 0;
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease,
    padding 0.35s ease;
}

.site-header.is-scrolled {
  background-color: black;
  background-image: var(--texture-material);
  background-repeat: repeat;
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.06);
  padding: 14px 0;
}

/* Pagine senza hero scuro (es. legali): header sempre solido, mai trasparente */
.legal-page .site-header {
  background-color: var(--ares-black);
  background-image: var(--texture-material);
  background-repeat: repeat;
  padding: 14px 0;
}

.site-header.is-scrolled .nav-link {
  color: var(--ares-white);
}

.site-header.is-scrolled .menu-toggle span {
  background: var(--ares-white);
}

.site-header.is-scrolled .btn-nav {
  background: var(--ares-copper-light);
  color: var(--ares-white);
}

.site-header.site-header.is-scrolled .btn-nav:hover {
  background: var(--ares-charcoal);
  color: var(--ares-white);
}


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

.logo {
  display: flex;
  align-items: center;
  justify-self: start;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  justify-self: center;
  position: relative;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* Bridge hover area between "PRODOTTI" and megamenu */
.nav-item--mega::after {
  content: "";
  position: absolute;
  top: 100%;
  left: -40px;
  right: -40px;
  height: 56px;
}

.nav-link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ares-white);
  text-transform: uppercase;
  position: relative;
  padding-bottom: 6px;
  transition: color 0.35s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: transparent;
  transition: background 0.25s ease;
}

.nav-link:hover::after {
  background: currentColor;
}

.mega-menu {
  position: fixed;
  top: 88px;
  left: 0;
  right: 0;
  transform: translateY(0);
  opacity: 0;
  pointer-events: none;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 18px 24px 10px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 54px;
  width: 100%;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  transition: opacity 0.25s ease;
  z-index: 120;
}

.site-header.is-scrolled .mega-menu {
  top: 72px;
  background: rgba(0, 0, 0, 0.92);
}

.nav-item--mega:hover .mega-menu,
.nav-item--mega:focus-within .mega-menu {
  opacity: 1;
  pointer-events: auto;
}

.mega-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 180px;
  padding-bottom: 6px;
}

.mega-option-image {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.mega-option-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.25;
  color: var(--ares-white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition:
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

.btn-nav {
  padding: 14px 22px;
  background: var(--ares-copper-light);
  color: var(--ares-white);
  border-radius: 6px;
  white-space: nowrap;
  justify-self: end;
}

.btn-nav:hover {
  background: var(--ares-black);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ares-white);
  transition: background 0.35s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--ares-white);
  overflow: hidden;
  background: var(--ares-white);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
  clip-path: var(--hero-clip);
  -webkit-clip-path: var(--hero-clip);
}

.hero-media img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center 42%;
  transform: translateY(0);
  transition: transform 0.1s linear;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.2) 45%,
    rgba(0, 0, 0, 0.05) 70%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* Ombra interna sul fondo hero: stacco 3D in scroll */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: var(--hero-clip);
  -webkit-clip-path: var(--hero-clip);
  pointer-events: none;
  z-index: 2;
  box-shadow:
    inset 0 -42px 84px -8px rgba(0, 0, 0, calc(0.53 * var(--hero-shadow-strength))),
    inset 0 -15px 36px rgba(0, 0, 0, calc(0.3 * var(--hero-shadow-strength)));
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, calc(0.63 * var(--hero-shadow-strength))) 0%,
    rgba(0, 0, 0, calc(0.21 * var(--hero-shadow-strength))) 18%,
    transparent 38%
  );
  transition: opacity 0.2s ease;
}

.hero-frames {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: flex-end;
  gap: 14px;
  z-index: 3;
  opacity: 0;
  animation: framesIn 1.2s var(--ease-out) 0.4s forwards;
}

@keyframes framesIn {
  from {
    opacity: 0;
    transform: translateY(-42%);
  }
  to {
    opacity: 0.92;
    transform: translateY(-50%);
  }
}

.hero-frame {
  display: block;
  border: 2px solid rgba(0, 0, 0, 0.75);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero-frame--short {
  width: 72px;
  height: 140px;
}

.hero-frame--mid {
  width: 72px;
  height: 200px;
}

.hero-frame--tall {
  width: 72px;
  height: 280px;
}

.hero-copy {
  position: relative;
  z-index: 5;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-h);
  padding-bottom: 100px;
  opacity: 0;
  animation: heroTextIn 1s var(--ease-out) 0.2s forwards;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-brand,
.hero-title {
  line-height: 0.8em;
  text-shadow: 0 4px 5px rgba(0, 0, 0, 0.8);
}

.hero-brand {
  font-family: var(--font-serif);
  font-size: clamp(5.2rem, 12.8vw, 9.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 0.15em;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.96rem, 6.08vw, 4.8rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.01em;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.05vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--ares-white);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  max-width: 460px;
  margin-top: 22px;
}

.hero-subtitle--center {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections */
.section {
  padding: 96px 0;
  background-color: var(--ares-white);
  background-image: var(--texture-material);
  background-repeat: repeat;
}

.section.section-alt {
  background-color: var(--ares-gray-bg);
  background-image: var(--texture-material);
  background-repeat: repeat;
}

/* Home: "I NOSTRI SERVIZI" must remain white */
#servizi.section,
#servizi.section.section-alt {
  background-color: var(--ares-white);
  background-image: var(--texture-material);
  background-repeat: repeat;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ares-charcoal);
  margin-bottom: 56px;
}

.section-heading::before,
.section-heading::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--ares-gray-light);
}

/* Products */
.products {
  padding-top: 48px;
  padding-bottom: 48px;
}

.about {
  padding-top: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.product-card-link {
  display: block;
}

.product-card-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--ares-gray-bg);
  border-radius: 2px;
  box-shadow: var(--image-shadow);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.product-card-link:hover .product-card-image img {
  transform: scale(1.06);
}

.product-card-link:hover .product-card-title {
  color: var(--ares-copper);
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  text-align: center;
  color: var(--ares-charcoal);
  transition: color 0.3s ease;
}

.made-in-italy {
  text-align: center;
}

.made-in-italy p {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: 14px;
  color: var(--ares-gray);
}

.italy-bar {
  display: flex;
  max-width: 220px;
  height: 4px;
  margin: 0 auto;
  overflow: hidden;
}

.italy-green {
  flex: 1;
  background: #009246;
}

.italy-white {
  flex: 1;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #ddd;
}

.italy-red {
  flex: 1;
  background: #ce2b37;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  margin-bottom: 18px;
  color: var(--ares-gray);
  font-size: 14px;
  line-height: 1.85;
}

.about-lead,
.about-closing {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
  color: var(--ares-charcoal);
}

.about-lead {
  margin-bottom: 24px;
}

.about-closing {
  margin-top: 8px;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: var(--image-shadow);
}

/* Services */
.services {
  background: var(--ares-gray-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  text-align: center;
  padding: 32px 20px;
}

.service-card.is-visible .service-icon {
  animation: iconPulse 0.7s var(--ease-out);
}

@keyframes iconPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.service-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 22px;
  color: var(--ares-copper-light);
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  color: var(--ares-black);
}

.service-card p {
  font-size: 13px;
  color: var(--ares-gray);
}

/* Google Reviews */
.google-reviews-root {
  max-width: 980px;
  margin: 0 auto;
  min-height: 120px;
}

.gr-loading,
.gr-error {
  text-align: center;
  color: var(--ares-gray);
  font-size: 14px;
  padding: 32px 16px;
}

.gr-error {
  color: #a33;
  margin-bottom: 16px;
}

.gr-widget {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gr-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 28px;
  background: var(--ares-gray-bg);
  border-radius: 4px;
  flex-wrap: wrap;
}

.gr-summary__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ares-gray);
  margin-bottom: 6px;
}

.gr-summary__score {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--ares-black);
  margin-bottom: 8px;
}

.gr-summary__count,
.gr-summary__hint {
  font-size: 13px;
  color: var(--ares-gray);
  margin-top: 8px;
}

.gr-summary__link {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 22px;
  background: var(--ares-copper);
  color: var(--ares-white);
  border-radius: 6px;
  transition: background 0.2s ease;
  white-space: nowrap;
}

.gr-summary__link:hover {
  background: var(--ares-copper-hover);
}

.gr-stars {
  display: inline-flex;
  gap: 2px;
}

.gr-star {
  color: #ddd;
  font-size: 1.9rem;
  line-height: 1;
}

.gr-star.is-filled {
  color: #f4b400;
}

.gr-carousel {
  position: relative;
  min-height: 292px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.gr-carousel__track {
  position: relative;
  width: 100%;
  display: grid;
}

.gr-card {
  grid-area: 1 / 1;
  padding: 26px 36px 22px;
  background: #ececef;
  border-radius: 24px;
  opacity: 0;
  transform: translateX(12px);
  transition:
    opacity 0.45s var(--ease-out),
    transform 0.45s var(--ease-out);
  pointer-events: none;
  text-align: center;
}

.gr-card.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.gr-card__top {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.gr-card__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
}

.gr-card__avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: var(--image-shadow);
}

.gr-card__avatar--initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ares-copper-light);
  color: var(--ares-white);
  font-weight: 600;
  font-size: 1.25rem;
}

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

.gr-card__name {
  font-size: 1.85rem;
  font-family: var(--font-serif);
  font-weight: 600;
  color: #121212;
  line-height: 1.2;
}

.gr-card__date {
  display: block;
  font-size: 1.2rem;
  color: #666;
  margin-top: 3px;
}

.gr-card__text {
  font-size: 14px;
  font-family: var(--font-sans);
  font-style: normal;
  line-height: 1.85;
  color: #1f1f1f;
  max-width: 62ch;
  margin: 0 auto;
}

.gr-card__text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

.gr-more {
  margin-top: 10px;
  padding: 8px 4px;
  background: none;
  border: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ares-copper-hover);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.gr-more:hover {
  color: var(--ares-black);
}

.gr-more:focus-visible,
.gr-nav:focus-visible,
.gr-dots button:focus-visible {
  outline: 2px solid var(--ares-copper);
  outline-offset: 3px;
}

.gr-nav {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111;
  border: 1px solid #ddd;
  font-size: 2rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.gr-nav:hover {
  background: #f7f7f7;
  transform: translateY(-1px);
}

.gr-nav[hidden] {
  display: none;
}

.gr-dots {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 0;
}

.gr-dots button {
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.gr-dots button::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #bdbdbd;
  transition: background 0.25s ease, transform 0.25s ease;
}

.gr-dots button.is-active::before {
  background: #222;
  transform: scale(1.15);
}

.gr-powered {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ares-gray);
  text-decoration: none;
}

.gr-powered:hover {
  text-decoration: underline;
}

.gr-embed {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--image-shadow);
  background: var(--ares-gray-bg);
}

.gr-embed iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: 0;
}

.google-reviews {
  padding-bottom: 48px;
}

/* Contact */
.contact {
  text-align: center;
  padding-top: 48px;
  padding-bottom: 108px;
}

.contact-inner .section-heading {
  justify-content: center;
}

.contact-inner .section-heading::before,
.contact-inner .section-heading::after {
  max-width: 140px;
}

.contact-lead {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 32px;
  color: var(--ares-gray);
}

.btn-cta {
  padding: 20px 52px;
  background: var(--ares-copper);
  color: var(--ares-white);
  font-size: 11px;
  border-radius: 10px;
  margin-bottom: 40px;
}

.btn-cta:hover {
  background: var(--ares-copper-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(168, 107, 66, 0.35);
}

.contact-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 2px;
  font-size: 12px;
  font-style: normal;
  color: var(--ares-gray);
  line-height: 1.8;
}

.contact-details > * {
  white-space: nowrap;
}

.contact-details > *:not(:first-child):not(.contact-hours)::before {
  content: "|";
  margin: 0 10px;
  color: var(--ares-gray-light);
}

.contact-details .contact-hours {
  flex-basis: 100%;
  white-space: normal;
}

@media (max-width: 640px) {
  .contact-details {
    flex-direction: column;
    align-items: center;
    font-size: 13px;
  }

  .contact-details > *:not(:first-child):not(.contact-hours)::before {
    content: none;
  }

  .contact-details a {
    padding: 6px 0;
  }

  .contact-details .contact-hours {
    margin-top: 8px;
  }
}

.contact-details a:hover {
  color: var(--ares-copper);
  text-decoration: underline;
}

/* Footer partners marquee */
.site-footer {
  background-color: var(--ares-gray-bg);
  background-image: var(--texture-material);
  background-repeat: repeat;
  padding: 52px 0;
  overflow: hidden;
  border-top: 1px solid var(--ares-gray-light);
}

.partners-track {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.partners-inner {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.partners-inner:hover {
  animation-play-state: paused;
}

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

.partner-logo-image {
  width: 170px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.98;
  background: transparent;
  /* Riduce il fondo nero dei file raster simulando trasparenza */
  mix-blend-mode: lighten;
}

/* Persit ha uno sfondo davvero trasparente: niente blend, mantiene i colori reali */
.partner-logo-image[src*="persit"] {
  mix-blend-mode: normal;
}

/* Serramenti subpage */
.serramenti-page .serramenti-hero .hero-copy {
  align-items: center;
  text-align: center;
  padding-bottom: 130px;
}

.serramenti-hero-title {
  font-size: clamp(5.04rem, 12.6vw, 9.135rem);
  font-style: normal;
  font-weight: 600;
}

.serramenti-intro {
  padding-top: 56px;
}

.serramenti-intro .section-heading {
  margin-bottom: 28px;
}

.serramenti-intro .made-in-italy {
  margin-bottom: 48px;
}

.serramenti-intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.serramenti-intro-image {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--image-shadow);
}

.serramenti-intro-text p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ares-gray);
  margin-bottom: 14px;
}

.serramenti-intro-text p strong {
  font-weight: 600;
  color: var(--ares-charcoal);
}

.serramenti-brand-row {
  margin-top: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 6vw, 72px);
  width: 100%;
}

.serramenti-brand-logo {
  height: 72px;
  width: min(220px, 38vw);
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

/* Profili serramenti (VEKA, Softline, Aluplast) */
.profile-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.profile-section + .profile-section {
  padding-top: 0;
}

.profile-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.profile-block--text-right .profile-block-text {
  order: 2;
}

.profile-block--text-right .profile-block-visual {
  order: 1;
}

.profile-block-text p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ares-gray);
  margin-bottom: 14px;
}

.profile-block-text p:last-child {
  margin-bottom: 0;
}

.profile-block-text > p:first-child {
  margin-bottom: 22px;
}

.profile-block-text p strong {
  font-weight: 600;
  color: var(--ares-charcoal);
}

.profile-block-visual {
  position: relative;
}

.profile-photo {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ares-gray-bg);
  box-shadow: var(--image-shadow);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-infographic {
  margin: 0;
}

.profile-infographic img {
  width: 100%;
  height: auto;
  display: block;
}

/* VEKA: testo centrato rispetto all'infografica */
#veka .profile-block,
#softline-82-md .profile-block,
#softline-76-md .profile-block,
#aluplast .profile-block {
  align-items: center;
}

@media (max-width: 1024px) {
  #veka .profile-block-text,
  #softline-82-md .profile-block-text,
  #softline-76-md .profile-block-text,
  #aluplast .profile-block-text {
    text-align: center;
    justify-self: center;
    width: 100%;
    max-width: 640px;
  }

  #veka .profile-block-visual,
  #softline-82-md .profile-block-visual,
  #softline-76-md .profile-block-visual,
  #aluplast .profile-block-visual {
    justify-self: center;
    width: 100%;
  }
}

.profile-colors {
  margin-top: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ares-copper-light) transparent;
  padding-bottom: 2px;
}

.profile-colors::-webkit-scrollbar {
  height: 6px;
}

.profile-colors::-webkit-scrollbar-thumb {
  background: var(--ares-copper-light);
  border-radius: 3px;
}

.profile-colors-track {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 6px 4px 10px;
}

.color-swatch {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-out);
}

.color-swatch:hover,
.color-swatch:focus-visible {
  border-color: var(--ares-copper);
  transform: scale(1.08);
  outline: none;
}

.color-swatch-chip {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  background-clip: padding-box;
}

.color-swatch-chip--texture {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-origin: border-box;
}

#softline-82-md .profile-colors,
#softline-76-md .profile-colors,
#aluplast .profile-colors {
  --color-swatch-slot: 88px;
  --color-swatch-gap: 14px;
  width: min(100%, calc(var(--color-swatch-slot) * 5 + var(--color-swatch-gap) * 4));
  max-width: calc(var(--color-swatch-slot) * 5 + var(--color-swatch-gap) * 4);
  margin-inline: auto;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

#softline-82-md .color-swatch--labeled,
#softline-76-md .color-swatch--labeled,
#aluplast .color-swatch--labeled {
  flex: 0 0 var(--color-swatch-slot);
  min-width: var(--color-swatch-slot);
  max-width: var(--color-swatch-slot);
  scroll-snap-align: start;
}

.color-swatch--labeled {
  display: flex;
  width: auto;
  min-width: 76px;
  max-width: 104px;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
}

.color-swatch--labeled:hover,
.color-swatch--labeled:focus-visible {
  border-color: transparent;
  transform: none;
}

.color-swatch--labeled:hover .color-swatch-chip,
.color-swatch--labeled:focus-visible .color-swatch-chip {
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.12),
    0 0 0 2px var(--ares-copper);
  transform: scale(1.08);
}

.color-swatch--labeled .color-swatch-chip {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  flex-shrink: 0;
  margin-inline: auto;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}

.color-swatch-label {
  display: block;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--ares-charcoal);
  max-width: 100%;
}

.color-swatch-label-sub {
  font-weight: 400;
  color: var(--ares-gray);
}

.profile-colors-track--labeled {
  gap: 14px;
  padding-bottom: 4px;
}

.color-preview-popup {
  position: absolute;
  z-index: 30;
  pointer-events: auto;
  transition: opacity 0.15s ease;
}

.color-preview-popup[hidden] {
  display: none;
}

.color-preview-popup-inner {
  background: var(--ares-white);
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  padding: 10px;
  width: min(300px, calc(100vw - 48px));
}

.color-preview-popup-inner img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.color-preview-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-top: 10px;
  color: var(--ares-charcoal);
}

.profile-block-visual .btn-sheet {
  margin-top: 20px;
  margin-bottom: 0;
  width: 100%;
  display: block;
  text-align: center;
  padding: 16px 28px;
  font-size: 10px;
}

.btn-sheet[data-sheet-url=""] {
  opacity: 0.92;
}

.system-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.system-card--reverse {
  grid-template-columns: 1.08fr 0.92fr;
}

.system-card--reverse .system-image {
  order: 2;
}

.system-card--reverse .system-content {
  order: 1;
}

.system-image {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--image-shadow);
}

.system-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 14px;
}

.system-content p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ares-gray);
  margin-bottom: 18px;
}

.system-swatches {
  display: flex;
  gap: 10px;
  margin: 16px 0 24px;
}

.system-swatches span {
  width: 34px;
  height: 34px;
  background: #222;
}

.system-swatches span:nth-child(2) { background: #3f3f3f; }
.system-swatches span:nth-child(3) { background: #646464; }
.system-swatches span:nth-child(4) { background: #8d8d8d; }
.system-swatches span:nth-child(5) { background: #b1b1b1; }

/* Persiane / Blindate / Zanzariere page layout */
.pbz-section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.pbz-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.pbz-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  box-shadow: var(--image-shadow);
}

.pbz-card h3 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  text-align: center;
  margin-top: 10px;
  font-weight: 400;
}

.pbz-card--photo-only h3 {
  display: none;
}

.pbz-detail {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.pbz-detail--blindate {
  grid-template-columns: 0.9fr 1.1fr;
}

.pbz-detail-text p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ares-gray);
  margin-bottom: 12px;
  text-align: center;
}

.pbz-detail-brand {
  text-align: center;
}

.pbz-detail-brand img {
  width: min(210px, 100%);
  height: auto;
  object-fit: contain;
}

.pbz-section--persiane .pbz-detail-brand {
  width: 100%;
  text-align: right;
  justify-self: end;
}

.pbz-section--persiane .pbz-detail-brand img {
  display: block;
  margin-left: auto;
  margin-right: 0;
}

.pbz-cta-wrap {
  text-align: center;
  margin-top: 16px;
}

.pbz-z-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.pbz-z-logo {
  width: 140px;
  height: auto;
  display: block;
  margin: 0 auto 14px;
}

.pbz-z-text p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--ares-gray);
  text-align: center;
}

.pbz-z-image {
  margin: 0;
}

.pbz-z-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--image-shadow);
}

@media (max-width: 1024px) {
  .pbz-section--persiane .pbz-detail-brand {
    text-align: center;
    justify-self: center;
  }
}

/* Mobile nav: pannello a tutta larghezza sotto l'header */
.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  transition:
    background 0.35s ease,
    transform 0.3s var(--ease-out),
    opacity 0.2s ease;
}

@media (max-width: 768px) {
  .site-header.is-open {
    background-color: var(--ares-black);
    background-image: var(--texture-material);
    background-repeat: repeat;
  }

  .site-header.is-open .header-inner {
    grid-template-columns: 1fr auto;
  }

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

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

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

  .site-header.is-open .main-nav {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-self: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    gap: 0;
    padding: 8px 24px 28px;
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    background-color: var(--ares-black);
    background-image: var(--texture-material);
    background-repeat: repeat;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.35);
  }

  .site-header.is-open .nav-item {
    flex-direction: column;
    align-items: stretch;
  }

  .site-header.is-open .nav-item--mega::after {
    display: none;
  }

  .site-header.is-open .nav-link {
    display: block;
    padding: 16px 0;
    font-size: 13px;
    color: var(--ares-white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header.is-open .nav-link::after {
    display: none;
  }

  .site-header.is-open .nav-link.is-active {
    color: var(--ares-copper-light);
  }

  .site-header.is-open .mega-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: static;
    width: auto;
    opacity: 1;
    pointer-events: auto;
    padding: 0 0 0 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-header.is-open .mega-option {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    max-width: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header.is-open .mega-option-image {
    width: 40px;
    height: 40px;
    border-width: 1px;
    box-shadow: none;
  }

  .site-header.is-open .mega-option-label {
    text-align: left;
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-frames {
    right: 4%;
    gap: 10px;
    opacity: 0.7;
  }

  .hero-frame--short { width: 52px; height: 100px; }
  .hero-frame--mid { width: 52px; height: 150px; }
  .hero-frame--tall { width: 52px; height: 210px; }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .products-grid,
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .serramenti-intro-grid,
  .system-card,
  .system-card--reverse,
  .profile-block,
  .profile-block--text-right,
  .pbz-cards,
  .pbz-detail,
  .pbz-detail--blindate,
  .pbz-z-grid {
    grid-template-columns: 1fr;
  }

  .system-card--reverse .system-image,
  .system-card--reverse .system-content,
  .profile-block--text-right .profile-block-text,
  .profile-block--text-right .profile-block-visual {
    order: initial;
  }

  .profile-block-visual {
    max-width: 520px;
    margin: 0 auto;
  }
}

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

  .main-nav,
  .btn-nav {
    display: none;
  }

  .mega-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-frames {
    display: none;
  }

  .hero-copy {
    padding-bottom: 80px;
    min-height: 100vh;
    min-height: 100dvh;
  }

  .gr-summary {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .services-grid {
    gap: 4px;
  }

  .service-card {
    padding: 18px 16px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 14px;
  }

  /* Mobile: la scheda usa tutta la larghezza, le frecce vanno sotto */
  .gr-carousel {
    min-height: 0;
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .gr-carousel__track {
    order: -1;
    flex: 0 0 100%;
  }

  .gr-nav {
    width: 44px;
    height: 44px;
    font-size: 1.65rem;
  }

  .gr-card {
    padding: 24px 20px 20px;
    border-radius: 18px;
  }

  .gr-card__name {
    font-size: 1.25rem;
  }

  .gr-card__date {
    font-size: 0.85rem;
  }

  .gr-card__text {
    font-size: 14px;
    line-height: 1.7;
  }

  .gr-star {
    font-size: 1.5rem;
  }

  .gr-embed iframe {
    min-height: 320px;
  }

  .section {
    padding: 72px 0;
  }

  /* Mantieni la stessa riduzione del gap tra prodotti e chi siamo */
  .products {
    padding-top: 48px;
    padding-bottom: 36px;
  }

  .about {
    padding-top: 36px;
  }

  .google-reviews {
    padding-bottom: 36px;
  }

  .contact {
    padding-top: 36px;
  }

  /* Mobile: prevent visual crop/overflow of content images */
  .serramenti-intro-image,
  .system-image,
  .profile-photo img,
  .profile-infographic img,
  .pbz-card img,
  .pbz-z-image img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
  }

  .pbz-cards {
    gap: 16px;
  }
}

/* Form preventivo */
.preventivo-intro {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
  color: var(--ares-gray);
  font-size: 14px;
  line-height: 1.85;
}

.preventivo-form {
  max-width: 820px;
  margin: 0 auto;
}

.form-section {
  border: none;
  padding: 0;
  margin: 0 0 48px;
}

.form-section legend {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ares-black);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ares-gray-light);
  width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 22px;
}

.form-row.form-row--single {
  grid-template-columns: 1fr;
}

.form-field label,
.form-field-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ares-charcoal);
  margin-bottom: 8px;
}

.form-field {
  margin-bottom: 22px;
}

.form-field-hint {
  font-size: 12px;
  color: var(--ares-gray);
  margin-top: 6px;
  line-height: 1.6;
}

.preventivo-form input[type="text"],
.preventivo-form input[type="email"],
.preventivo-form input[type="tel"],
.preventivo-form input[type="number"],
.preventivo-form select,
.preventivo-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--ares-gray-light);
  border-radius: 8px;
  background: var(--ares-white);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ares-black);
  transition: border-color 0.25s ease;
}

.preventivo-form textarea {
  resize: vertical;
  min-height: 110px;
}

.preventivo-form input:focus,
.preventivo-form select:focus,
.preventivo-form textarea:focus {
  outline: none;
  border-color: var(--ares-copper);
}

.preventivo-form input:invalid:not(:placeholder-shown),
.preventivo-form input:required:invalid {
  box-shadow: none;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice-option {
  position: relative;
}

.choice-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice-option span {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border: 1px solid var(--ares-gray-light);
  border-radius: 24px;
  font-size: 13px;
  color: var(--ares-charcoal);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.choice-option input:checked + span {
  border-color: var(--ares-copper);
  background: var(--ares-copper);
  color: var(--ares-white);
}

.choice-option input:focus-visible + span {
  outline: 2px solid var(--ares-copper-light);
  outline-offset: 2px;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}

.consent-row input {
  margin-top: 3px;
  flex-shrink: 0;
}

.consent-row label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ares-charcoal);
}

.consent-row a {
  color: var(--ares-copper);
}

.preventivo-file-hint {
  background: var(--ares-gray-bg);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 12.5px;
  color: var(--ares-charcoal);
  margin-top: 10px;
}

.preventivo-submit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

.preventivo-confirmation {
  max-width: 620px;
  margin: 24px auto 0;
  padding: 16px 22px;
  background: var(--ares-gray-bg);
  border-radius: 10px;
  text-align: center;
  font-size: 13.5px;
  color: var(--ares-charcoal);
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: var(--ares-black);
  color: var(--ares-white);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
}

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cookie-banner-inner p {
  flex: 1 1 420px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ares-gray-light);
}

.cookie-banner-inner a {
  color: var(--ares-copper-light);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner-reject {
  padding: 12px 20px;
  background: transparent;
  color: var(--ares-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
}

.cookie-banner-reject:hover {
  border-color: var(--ares-white);
}

.cookie-banner .btn-cta {
  padding: 12px 26px;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .cookie-banner-inner {
    padding: 16px;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
  }
}

/* Pagine legali (Privacy / Cookie Policy) */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding-top: 24px;
}

.legal-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  margin-bottom: 8px;
}

.legal-content .legal-updated {
  color: var(--ares-gray);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content p,
.legal-content li {
  font-size: 14px;
  line-height: 1.85;
  color: var(--ares-charcoal);
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--ares-copper);
}

.legal-content strong {
  color: var(--ares-black);
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--ares-gray-light);
  border-radius: 10px;
  padding: 4px 26px;
  background: var(--ares-white);
  transition: border-color 0.25s ease;
}

.faq-item[open] {
  border-color: var(--ares-copper-light);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ares-charcoal);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 20px;
  font-weight: 400;
  color: var(--ares-copper);
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--ares-gray);
  padding-bottom: 22px;
  padding-right: 30px;
}

/* Footer legale */
.footer-legal {
  background-color: var(--ares-gray-bg);
  background-image: var(--texture-material);
  background-repeat: repeat;
  border-top: 1px solid var(--ares-gray-light);
  color: var(--ares-gray);
  text-align: center;
  padding: 28px 20px 34px;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.footer-legal p {
  margin: 6px 0;
}

.footer-legal a {
  color: var(--ares-copper);
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-legal a:hover {
  color: var(--ares-copper-hover);
  text-decoration: underline;
}

/* ==== Scheda tecnica prodotto ==== */
.scheda-breadcrumb {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ares-gray);
  margin-bottom: 24px;
}

.scheda-breadcrumb a {
  color: var(--ares-gray);
  text-decoration: none;
  transition: color 0.25s ease;
}

.scheda-breadcrumb a:hover {
  color: var(--ares-copper);
}

.scheda-figure {
  margin: 32px 0;
}

.scheda-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  box-shadow: var(--image-shadow);
}

.image-credit {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--ares-gray);
  text-align: right;
  margin-top: 8px;
}

.scheda-table-wrap {
  overflow-x: auto;
  margin-bottom: 8px;
}

.spec-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--ares-gray-light);
  vertical-align: top;
}

.spec-table th {
  width: 32%;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ares-copper);
  white-space: nowrap;
}

.spec-table td {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ares-charcoal);
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: none;
}

.scheda-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 24px;
}

.scheda-cta .btn-cta {
  margin-bottom: 0;
}

.scheda-source {
  font-size: 12px !important;
  color: var(--ares-gray) !important;
}

.scheda-source a {
  color: var(--ares-copper);
}

.scheda-secondary-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ares-copper);
  text-decoration: none;
  transition: color 0.25s ease;
}

.scheda-secondary-link:hover {
  color: var(--ares-copper-hover);
}

@media (max-width: 640px) {
  .spec-table {
    min-width: 0;
  }

  .spec-table tr {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--ares-gray-light);
  }

  .spec-table tr:last-child {
    border-bottom: none;
  }

  .spec-table th,
  .spec-table td {
    display: block;
    width: auto;
    padding: 0;
    border: none;
    white-space: normal;
  }

  .spec-table th {
    margin-bottom: 4px;
  }
}

/* ==== Guide ==== */
.legal-content ol {
  padding-left: 20px;
  margin-bottom: 14px;
}

.scheda-figure--small {
  max-width: 471px;
}

.guide-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.guide-card {
  padding: 24px 28px;
  border: 1px solid var(--ares-gray-light);
  border-radius: 4px;
}

.legal-content .guide-card h2 {
  margin-top: 0;
  font-size: 1.35rem;
}

.guide-card h2 a {
  color: var(--ares-charcoal);
  text-decoration: none;
}

.guide-card h2 a:hover {
  color: var(--ares-copper);
}

.legal-content .guide-meta {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ares-gray);
  margin-bottom: 6px;
}

.guide-card .scheda-secondary-link {
  margin-top: 4px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.guide-links .guide-meta {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ares-gray);
  margin-bottom: 8px;
}

.guide-links .guide-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  text-wrap: balance;
}

.contact-hours span {
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .gr-card,
  .service-card.is-visible .service-icon {
    transition: none;
    animation: none;
  }
}

@media (max-width: 768px) {
  /* Titoli hero lunghi (es. "Portoncini", "Zanzariere") non devono uscire dallo schermo */
  .serramenti-hero-title {
    font-size: clamp(2.6rem, 12vw, 5rem);
    line-height: 1;
    overflow-wrap: break-word;
    text-wrap: balance;
  }

  /* Sotto i 16px iOS ingrandisce la pagina quando si tocca un campo */
  .preventivo-form input[type="text"],
  .preventivo-form input[type="email"],
  .preventivo-form input[type="tel"],
  .preventivo-form input[type="number"],
  .preventivo-form select,
  .preventivo-form textarea {
    font-size: 16px;
  }
}

/* La fila dei campioni colore scorre in orizzontale al proprio interno:
   senza min-width: 0 allarga la colonna e quindi tutta la pagina su mobile. */
.profile-block > * {
  min-width: 0;
}

@media (max-width: 1024px) {
  .profile-block,
  .profile-block--text-right {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Su mobile le animazioni laterali spostano i blocchi fuori schermo prima di comparire
   e allargano la pagina: entrano dal basso come gli altri elementi. */
html {
  overflow-x: clip;
}

@media (max-width: 768px) {
  .reveal-left,
  .reveal-right {
    transform: translateY(36px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-left,
  .reveal-right {
    transform: none;
  }
}
