/* Serramenti Design Vicenza — design system ispirato Oknoplast */
:root {
  --bg: #f7f5f2;
  --bg-alt: #ffffff;
  --ink: #1a1c1e;
  --ink-soft: #4a4f55;
  --line: #e2ddd6;
  --accent: #2c4a6e;
  --accent-hover: #1e3550;
  --accent-soft: #e8eef4;
  --warm: #c4a574;
  --ok: #25d366;
  --shadow: 0 12px 40px rgba(26, 28, 30, 0.08);
  --radius: 2px;
  --header-h: 4.5rem;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "DM Sans", "Helvetica Neue", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 245, 242, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(26, 28, 30, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: var(--ink);
  min-height: 44px;
  justify-content: center;
  min-width: 0;
  flex: 1 1 auto;
  max-width: calc(100% - 3.5rem);
}

.logo-mark {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-sub {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  padding: 1rem;
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--accent);
  background: var(--accent-soft);
}

/* Più specifico di .btn, altrimenti WhatsApp resta visibile su mobile e schiaccia il logo */
.btn.header-cta {
  display: none;
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav {
    position: static;
    inset: auto;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: 0;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.15rem;
  }

  .nav-list a {
    padding: 0.4rem 0.65rem;
    font-size: 0.875rem;
    background: transparent !important;
  }

  .btn.header-cta {
    display: inline-flex;
  }

  .logo {
    flex: 0 1 auto;
    max-width: none;
  }

  .logo-mark {
    font-size: 1.35rem;
  }

  .logo-sub {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-wa {
  background: var(--ok);
  color: #fff;
}

.btn-wa:hover {
  background: #1ebe57;
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 52rem);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img,
.hero-media video,
.hero-media .hero-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.hero-fallback {
  background:
    linear-gradient(135deg, rgba(44, 74, 110, 0.35) 0%, transparent 50%),
    linear-gradient(to top, #1a1c1e 0%, transparent 55%),
    radial-gradient(ellipse at 70% 40%, #8fa4b8 0%, #3d5166 45%, #1a2430 100%);
}

.media-credit {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-top: 0.75rem;
}

.section-dark .media-credit,
.hero .media-credit {
  color: rgba(255, 255, 255, 0.45);
}

.video-block {
  position: relative;
  overflow: hidden;
  background: #111;
  aspect-ratio: 16 / 9;
}

.video-block video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(16, 18, 20, 0.88) 0%, rgba(16, 18, 20, 0.35) 45%, rgba(16, 18, 20, 0.25) 100%);
}

.hero-content {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4rem 0 3.5rem;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
  color: #fff;
}

.hero-lead {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 1rem;
}

.badge::before {
  content: "";
  width: 1.5rem;
  height: 1px;
  background: var(--warm);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--ink);
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.78);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section-head .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-dark .eyebrow {
  color: var(--warm);
}

/* Brand spotlight Oknoplast */
.spotlight {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 800px) {
  .spotlight {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3.5rem;
  }
}

.spotlight-visual {
  position: relative;
  min-height: 18rem;
  overflow: hidden;
  background: var(--accent-soft);
}

.spotlight-visual img,
.spotlight-visual .visual-fallback {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  object-fit: cover;
}

.visual-fallback {
  background:
    linear-gradient(160deg, #d8e2ec 0%, #9eb0c2 40%, #4a6278 100%);
}

.visual-fallback.wood {
  background: linear-gradient(160deg, #e8d5b8 0%, #a67c52 45%, #5c3d28 100%);
}

.visual-fallback.comp {
  background: linear-gradient(160deg, #e6ebe8 0%, #8a9a90 45%, #3d4a42 100%);
}

.visual-fallback.security {
  background: linear-gradient(160deg, #dfe3e8 0%, #6b7a8a 45%, #2a323c 100%);
}

.visual-fallback.air {
  background: linear-gradient(160deg, #e4eef5 0%, #7aa0b8 45%, #2f4f63 100%);
}

/* Cards / product grid — interaction containers only */
.product-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  min-height: 100%;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.product-link:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  color: inherit;
}

.product-link .thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--accent-soft);
}

.product-link .thumb img,
.product-link .thumb .visual-fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-link:hover .thumb img,
.product-link:hover .thumb .visual-fallback {
  transform: scale(1.04);
}

.product-link .body {
  padding: 1.25rem 1.35rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-link h3 {
  margin-bottom: 0.4rem;
  color: var(--ink);
}

.product-link p {
  font-size: 0.95rem;
  flex: 1;
}

.product-link .more {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.04em;
}

/* Trust / features */
.feature-row {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 720px) {
  .feature-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.section-dark .feature {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.feature h3 {
  margin-bottom: 0.5rem;
}

.feature p {
  margin: 0;
  font-size: 0.95rem;
}

/* Page hero (inner) */
.page-hero {
  padding: clamp(3rem, 7vw, 5rem) 0 2.5rem;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, #eef1f4 0%, var(--bg) 100%);
}

.page-hero .eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.page-hero p {
  max-width: 40rem;
  font-size: 1.1rem;
}

/* Content blocks */
.prose {
  max-width: 42rem;
}

.prose ul {
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.prose li {
  margin-bottom: 0.4rem;
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.75rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
}

/* Zones */
.zone-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .zone-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .zone-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.zone-item {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.zone-item h3 {
  margin-bottom: 0.35rem;
}

.zone-item p {
  margin: 0;
  font-size: 0.95rem;
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
  }
}

.contact-card {
  padding: 0;
}

.contact-card h3 {
  margin-top: 1.5rem;
}

.contact-card a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--accent);
}

.form {
  display: grid;
  gap: 1rem;
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  font: inherit;
  color: var(--ink);
  border-radius: var(--radius);
}

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

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.form-note {
  font-size: 0.85rem;
  margin: 0;
}

.form-error {
  color: #a33;
  font-size: 0.85rem;
  display: none;
}

.form-error.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.92);
  padding: 3.5rem 0 2rem;
  font-size: 0.9rem;
}

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

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 720px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--warm);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-email {
  margin: 0.85rem 0 0;
}

.footer-email a {
  word-break: break-word;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff !important;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--warm);
  color: #fff !important;
}

.social-link svg {
  display: block;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
}

.site-credit {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.site-credit a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

.site-credit a:hover {
  color: var(--warm);
}

/* FAB WhatsApp */
.fab-wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.75rem 1.1rem;
  max-width: calc(100vw - 2rem);
  background: var(--ok);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease);
}

.fab-wa:hover {
  background: #1ebe57;
  color: #fff;
  transform: translateY(-2px);
}

.fab-wa svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

@media (min-width: 720px) {
  .fab-wa {
    right: 1.5rem;
    bottom: 1.5rem;
  }
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Brand strip */
.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  padding: 1.25rem 0;
  border-block: 1px solid var(--line);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.brand-strip strong {
  color: var(--accent);
  font-weight: 600;
}

/* CTA band */
.cta-band {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
  color: var(--ink);
}

.cta-band .btn-group {
  justify-content: center;
}

.cta-band h2 {
  color: inherit;
}

.section-dark .cta-band {
  color: #fff;
}

.section-dark .cta-band h2 {
  color: #fff;
}

/* Offerte / campagne */
.offer-banner {
  display: grid;
  gap: 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
}

@media (min-width: 860px) {
  .offer-banner {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: stretch;
    min-height: 22rem;
  }
}

.offer-banner-media {
  position: relative;
  min-height: 14rem;
}

.offer-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 14rem;
}

.offer-banner-body {
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.offer-banner-body p {
  color: rgba(255, 255, 255, 0.82);
}

.offer-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--warm);
  margin-bottom: 0.65rem;
}

.offer-discount {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1;
  margin: 0.35rem 0 0.75rem;
  color: #fff;
}

.offer-discount span {
  font-size: 0.45em;
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-left: 0.25rem;
}

.offer-valid {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 1.25rem;
}

.offer-strip {
  background: linear-gradient(90deg, #1e3550, #2c4a6e 55%, #3d5f82);
  color: #fff;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.offer-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.offer-strip strong {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 3.5vw, 1.25rem);
  font-weight: 600;
}

@media (max-width: 520px) {
  .offer-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .fab-wa {
    padding: 0.75rem;
    border-radius: 999px;
    font-size: 0;
    gap: 0;
  }

  .fab-wa svg {
    width: 24px;
    height: 24px;
  }
}

.offer-strip a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.offer-strip a:hover {
  border-bottom-color: #fff;
}

.offer-strip-soft {
  background: linear-gradient(90deg, #e8eef4, #f7f5f2 40%, #e8eef4);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.offer-strip-soft strong {
  color: var(--accent);
}

.offer-strip-soft span {
  color: var(--ink-soft);
}

.offer-strip-soft a {
  color: var(--accent);
  border-bottom-color: rgba(44, 74, 110, 0.35);
}

.offer-strip-soft a:hover {
  color: var(--accent-hover);
  border-bottom-color: var(--accent);
}

.bonus-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .bonus-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bonus-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.bonus-card img {
  width: 64px;
  height: auto;
  flex-shrink: 0;
}

.fine-print {
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-top: 1.5rem;
}

.nav-offer {
  color: var(--accent) !important;
  font-weight: 600;
}

/* Linee prodotto / FAQ */
.line-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  margin: 1.25rem 0 0;
}

.line-toc a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
}

.line-toc a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.line-block {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.faq-list {
  max-width: 44rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-list details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0;
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-weight: 500;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  margin: 0.65rem 0 0.25rem;
  font-size: 0.98rem;
}

/* Lavori reali — gallery */
.gallery-block {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 1000px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-grid a {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--line);
  aspect-ratio: 4 / 3;
  text-decoration: none;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease);
}

.gallery-grid a:hover img,
.gallery-grid a:focus-visible img {
  transform: scale(1.04);
}

.gallery-subhead {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.85rem;
  color: var(--ink);
}

.gallery-subhead:first-of-type {
  margin-top: 0.5rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 12, 14, 0.92);
  padding: 1rem;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 2px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox-close {
  top: 1rem;
  right: 1rem;
}

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

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

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  max-width: 90vw;
  text-align: center;
}

body.lightbox-open {
  overflow: hidden;
}

/* Map link */
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

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

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

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}


/* Breadcrumb */
.breadcrumb {
  font-size: 0.88rem;
  margin: 0 0 1rem;
  color: var(--ink-soft);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line);
  opacity: 0.9;
}
.breadcrumb a { color: var(--ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb [aria-current="page"] { color: var(--ink); font-weight: 500; }

/* Town chips GEO */
.town-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}
.town-list li {
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* Recensioni */
.reviews-section .section-head {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.reviews-section .section-head h2 {
  color: #fff;
}

.google-rating {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  margin-top: 1.1rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}

.google-rating:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.google-g {
  flex-shrink: 0;
}

.google-rating-score {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
}

.google-rating-stars {
  color: var(--warm);
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  line-height: 1;
}

.google-rating-meta {
  width: 100%;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}

@media (min-width: 520px) {
  .google-rating-meta {
    width: auto;
    text-align: left;
    padding-left: 0.35rem;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
  }
}

.reviews-grid {
  display: grid;
  gap: 1rem;
  margin: 2rem auto 0;
  max-width: 68rem;
}

@media (min-width: 720px) {
  .reviews-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
  }
}

@media (min-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  margin: 0;
  padding: 1.35rem 1.35rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.review-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(196, 165, 116, 0.35);
}

.review-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.review-quote {
  font-family: var(--font-display);
  font-size: 2.75rem;
  line-height: 0.7;
  color: var(--warm);
  font-weight: 600;
}

.review-stars {
  margin: 0 !important;
  color: var(--warm);
  letter-spacing: 0.08em;
  font-size: 0.78rem !important;
  line-height: 1 !important;
}

.review-card > p {
  margin: 0 0 1.15rem;
  flex: 1;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: auto;
}

.review-avatar {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #3d5a7a, #2c4a6e);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.review-author cite {
  font-style: normal;
  font-size: 0.92rem;
  font-weight: 500;
  color: #fff;
}

.reviews-note {
  margin: 1.5rem auto 0;
  max-width: 40rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.reviews-actions {
  margin-top: 1.35rem;
  justify-content: center;
}

