@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("fonts/montserrat-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg: #EEF1F2;
  --surface: #FFFFFF;
  --surface-2: #E6EBED;

  --text: #232F35;
  --muted: #5B6A72;
  --line: #D3DBDF;

  --primary: #2F3E46;
  --primary-dark: #1F2B31;

  --dark: #26333A;
  --dark-2: #182126;

  --accent: #B87333;
  --accent-dark: #96591F;
  --accent-soft: #EBD9C6;
  --patina: #6B8F82;

  --white: #FFFFFF;
  --shadow: 0 20px 50px rgba(24, 33, 38, 0.10);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  z-index: 999;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-sub {
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--primary);
}

.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
}

.nav a:hover,
.nav a.active {
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  border: none;
  background: var(--surface);
  color: var(--text);
  font-size: 1.3rem;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  border: 1px solid var(--line);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 0 4% 18px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  font-weight: 600;
  color: #334155;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  transition: 0.25s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid #cbd5e1;
}

.btn-secondary:hover {
  background: #f1f5f9;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-ghost:hover {
  background: #f8fafc;
}

.btn-full {
  width: 100%;
}

.hero {
  padding: 96px 0;
  background:
    radial-gradient(circle at top left, #E3E8EA 0%, transparent 35%),
    linear-gradient(to bottom, #F4F6F7, #f8fafc);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.eyebrow.light {
  color: #E8BE95;
}

.hero h1,
.page-hero h1 {
  font-size: 3.15rem;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  max-width: 760px;
}

.hero-text,
.page-hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 650px;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-points li {
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  color: #334155;
}

.hero-card {
  display: flex;
  justify-content: flex-end;
}

.hero-box {
  width: 100%;
  max-width: 430px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-box h2 {
  font-size: 1.55rem;
  line-height: 1.2;
  margin-bottom: 14px;
}

.hero-box p {
  color: var(--muted);
  margin-bottom: 20px;
}

.mini-badge {
  display: inline-block;
  margin-bottom: 14px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 12px;
  border-radius: 999px;
}

.page-hero {
  padding: 72px 0 34px;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: #fff;
}

.section-dark {
  background: linear-gradient(180deg, var(--dark), var(--dark-2));
  color: #fff;
}

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

.section-heading h2,
.cta-box h2,
.feature-banner h2 {
  font-size: 2.15rem;
  line-height: 1.1;
  margin-bottom: 12px;
}

.section-heading p,
.section-intro {
  color: var(--muted);
}

.section-dark .section-intro {
  color: #d6e3eb;
}

.cards,
.portfolio,
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card,
.testimonial,
.portfolio-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.card {
  padding: 26px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

.card p,
.testimonial p,
.portfolio-content p {
  color: #64748b;
}

.broof-grid,
.cta-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: start;
}

.broof-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 28px;
}

.broof-box h3 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.broof-box ul {
  padding-left: 18px;
}

.broof-box li {
  margin-bottom: 10px;
  color: #d6e3eb;
}

.portfolio-item {
  overflow: hidden;
}

.portfolio-image {
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #E3E8EA, #cbd5e1);
  color: #0f172a;
  font-weight: 800;
  padding: 20px;
  text-align: center;
}

.portfolio-content {
  padding: 22px;
}

.portfolio-content h3 {
  margin-bottom: 10px;
}

.feature-banner {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  box-shadow: var(--shadow);
}

.feature-banner p {
  color: var(--muted);
  max-width: 760px;
}

.testimonials-section {
  background: #f1f5f9;
}

.testimonial {
  padding: 24px;
}

.testimonial strong {
  color: var(--text);
}

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

.cta-box p {
  color: #d4dee7;
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 20px;
}

.contact-direct a {
  font-weight: 700;
  color: #fff;
}

.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 28px;
  display: grid;
  gap: 14px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

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

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}

.faq-item p {
  color: var(--muted);
  padding-top: 14px;
}

.site-footer {
  background: #151D21;
  color: #dbe5ee;
  padding: 50px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

.site-footer h3,
.site-footer h4 {
  color: #fff;
  margin-bottom: 14px;
}

.site-footer p,
.site-footer a {
  color: #cbd5e1;
  margin-bottom: 8px;
}

.whatsapp-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: #22c55e;
  color: #fff;
  font-weight: 800;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(34, 197, 94, 0.28);
  z-index: 999;
}

.whatsapp-button:hover {
  background: #16a34a;
}

@media (max-width: 1080px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
  .broof-grid,
  .cta-box,
  .cards,
  .portfolio,
  .testimonials,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .feature-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }
}

@media (max-width: 720px) {
  .header-actions .btn-ghost,
  .header-actions .btn-primary {
    display: none;
  }

  .hero,
  .section,
  .page-hero {
    padding: 58px 0;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2rem;
  }

  .section-heading h2,
  .feature-banner h2,
  .cta-box h2 {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-box,
  .feature-banner,
  .contact-form,
  .portfolio-content,
  .testimonial,
  .card {
    padding: 20px;
  }

  .hero-points {
    flex-direction: column;
  }

  .whatsapp-button {
    right: 14px;
    left: 14px;
    bottom: 14px;
    justify-content: center;
    text-align: center;
  }
}

.identity-box {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.identity-steps {
  display: grid;
  gap: 12px;
  margin: 22px 0 20px;
}

.identity-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
}

.identity-step strong {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.identity-step span {
  font-weight: 700;
  color: #1f2937;
}

.hero {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(22, 31, 36, 0.92) 0%,
      rgba(31, 43, 50, 0.82) 40%,
      rgba(38, 52, 60, 0.5) 68%,
      rgba(38, 52, 60, 0.3) 100%
    ),
    url("images/hero-tetto-web.jpg") center center / cover no-repeat;
}



/* ===== Home: leggibilità hero e nuove sezioni ===== */
.hero h1 {
  color: #fff;
}

.hero .hero-text {
  color: #e2eaf0;
}

.hero .eyebrow {
  color: #E8BE95;
}

.hero .hero-points li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  backdrop-filter: blur(4px);
}

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

.hero .btn-primary:hover {
  background: #7E4A1A;
}

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

.btn-accent:hover {
  background: #7E4A1A;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
}

.cta-actions {
  margin: 24px 0 0;
}

.text-link {
  color: var(--accent-dark);
  font-weight: 700;
}

.text-link:hover {
  text-decoration: underline;
}

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

@media (max-width: 720px) {
  .whatsapp-button {
    left: auto;
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
  }

  .hero .hero-points {
    flex-direction: row;
  }

  .hero .hero-points li {
    font-size: 0.9rem;
    padding: 8px 12px;
  }
}

.card:hover {
  border-color: var(--patina);
}

.broof-box li::marker {
  color: var(--accent);
}

.services-note {
  margin-top: 26px;
  color: var(--muted);
}

.hero-box h2 {
  font-size: 1.5rem;
}


/* ===== Home: header trasparente sopra la hero ===== */
.home .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.home .site-header.scrolled {
  background: rgba(24, 33, 38, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.home .logo-main {
  color: #fff;
}

.home .logo-sub {
  color: #E8BE95;
}

.home .nav a {
  color: rgba(255, 255, 255, 0.88);
}

.home .nav a:hover,
.home .nav a.active {
  color: #fff;
}

.home .site-header .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.home .site-header .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.home .site-header .btn-primary {
  background: var(--accent-dark);
}

.home .site-header .btn-primary:hover {
  background: #7E4A1A;
}

.home .menu-toggle {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.home .mobile-menu {
  background: rgba(24, 33, 38, 0.97);
  border-bottom: none;
  padding-top: 8px;
}

.home .mobile-menu a {
  color: #fff;
}

.home .hero {
  padding-top: 176px;
  padding-bottom: 104px;
}

.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hero .eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.hero .hero-points li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #E8BE95;
  vertical-align: middle;
}

.hero h1 {
  text-wrap: balance;
}

.hero-box {
  box-shadow: 0 30px 70px rgba(10, 16, 20, 0.35);
}

@media (max-width: 720px) {
  .home .hero {
    padding-top: 128px;
    padding-bottom: 64px;
  }
}


/* ===== Hero minimal, testo centrato ===== */
.home .hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 96px;
  background:
    linear-gradient(180deg, rgba(22, 31, 36, 0.78) 0%, rgba(22, 31, 36, 0.62) 55%, rgba(22, 31, 36, 0.82) 100%),
    url("images/hero-tetto-web.jpg") center center / cover no-repeat;
}

.hero-center {
  max-width: 820px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center .eyebrow::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
}

.hero-center h1 {
  max-width: 800px;
  font-size: 3.6rem;
  margin-bottom: 22px;
}

.hero-center .hero-text {
  max-width: 560px;
  font-size: 1.15rem;
  margin: 0 auto 36px;
}

.hero-center .hero-actions {
  justify-content: center;
  margin-bottom: 0;
}

@media (max-width: 1080px) {
  .hero-center h1 {
    font-size: 2.7rem;
  }
}

@media (max-width: 720px) {
  .home .hero {
    padding-top: 110px;
    padding-bottom: 64px;
  }

  .hero-center h1 {
    font-size: 2.1rem;
  }

  .hero-center .hero-text {
    font-size: 1.05rem;
  }

  .hero-center .hero-actions {
    width: 100%;
  }
}


/* ===== Badge certificazione in hero ===== */
.home .hero {
  position: relative;
}

.hero-badge-wrap {
  position: absolute;
  top: 108px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px 12px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
  backdrop-filter: blur(8px);
  pointer-events: auto;
}

.hero-badge svg {
  flex-shrink: 0;
  color: #E8BE95;
}

.hero-badge strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
}

.hero-badge span {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

@media (max-width: 720px) {
  .hero-badge-wrap {
    top: 92px;
  }

  .hero-badge {
    gap: 10px;
    padding: 9px 13px 9px 11px;
  }

  .hero-badge svg {
    width: 24px;
    height: 24px;
  }

  .hero-badge strong {
    font-size: 0.68rem;
  }

  .hero-badge span {
    font-size: 0.8rem;
  }
}


.hero-badge {
  padding: 10px 20px 10px 14px;
  gap: 14px;
}

.hero-badge .rosette {
  width: 54px;
  height: 68px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

@media (max-width: 720px) {
  .hero-badge .rosette {
    width: 40px;
    height: 50px;
  }
}

/* ===== Pulsanti del menu: più piccoli ed eleganti ===== */
.header-actions {
  gap: 8px;
}

.header-actions .btn {
  padding: 9px 18px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
}

.header-actions .btn-ghost {
  border-width: 1px;
}

.header-actions .menu-toggle {
  padding: 8px 12px;
  border-radius: 10px;
}

.header-inner {
  min-height: 72px;
}


/* ===== Montserrat ===== */
button,
input,
textarea,
select {
  font-family: inherit;
}

.hero-center h1 {
  font-size: 3.2rem;
  letter-spacing: -0.025em;
}

.hero h1,
.page-hero h1 {
  letter-spacing: -0.025em;
}

.logo-main {
  letter-spacing: -0.01em;
}

.nav a {
  font-size: 0.88rem;
}

@media (max-width: 1080px) {
  .hero-center h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 720px) {
  .hero-center h1 {
    font-size: 1.95rem;
  }
}

@media (max-width: 720px) {
  .hero-center .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    gap: 0;
  }

  .hero-center .eyebrow::before,
  .hero-center .eyebrow::after {
    display: none;
  }
}


/* ===== Logo immagine ===== */
.logo img {
  display: block;
  height: 64px;
  width: auto;
}

.footer-logo {
  height: 78px;
  width: auto;
  margin-bottom: 16px;
}

.header-inner {
  min-height: 84px;
}

.hero-badge-wrap {
  top: 120px;
}

@media (max-width: 720px) {
  .logo img {
    height: 52px;
  }

  .header-inner {
    min-height: 72px;
  }

  .hero-badge-wrap {
    top: 98px;
  }
}


/* ===== Home: sezioni sotto la hero (palette zinco e rame) ===== */
.facts {
  background: var(--accent-dark);
  color: #fff;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fact {
  padding: 22px 20px;
  text-align: center;
  line-height: 1.35;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.fact:first-child {
  border-left: none;
}

.fact strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
}

.fact span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
}

.section-services {
  background: linear-gradient(180deg, #26333A 0%, #1B252B 100%);
  color: #fff;
}

.section-services .eyebrow {
  color: #E8BE95;
}

.section-services .section-heading h2 {
  color: #fff;
}

.section-services .section-intro {
  color: rgba(255, 255, 255, 0.74);
}

.section-services .card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.section-services .card:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.section-services .card h3 {
  color: #fff;
}

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

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #E8BE95;
  background: rgba(184, 115, 51, 0.18);
  border: 1px solid rgba(232, 190, 149, 0.3);
}

.services-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 34px;
}

.section-services .services-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.section-services .text-link {
  color: #E8BE95;
}

.section-sand {
  background: #F2E9DE;
}

.section-sand .section-heading {
  margin-bottom: 40px;
}

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

.why-item {
  padding-top: 22px;
  border-top: 2px solid var(--accent);
}

.why-num {
  display: block;
  margin-bottom: 14px;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.why-item h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--primary);
}

.why-item p {
  color: #4F5E66;
}

.section-faq {
  background: #E3E9EB;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.faq-wrap .section-heading {
  margin-bottom: 0;
}

.faq-wrap .text-link {
  display: inline-block;
  margin-top: 18px;
}

.section-faq .faq-item {
  background: #fff;
  border-color: #D3DBDF;
}

.section-faq .faq-item summary {
  color: var(--primary);
}

.section-faq .faq-item[open] {
  border-color: var(--accent);
}

.cta-copper {
  background: linear-gradient(135deg, #A5622A 0%, #7E4A1A 100%);
}

.cta-copper h2 {
  color: #fff;
}

.cta-copper .cta-box > div > p {
  color: rgba(255, 255, 255, 0.92);
}

.cta-copper .broof-box {
  background: #26333A;
  border: none;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.btn-dark {
  background: #1F2B31;
  color: #fff;
}

.btn-dark:hover {
  background: #151D21;
}

@media (max-width: 1080px) {
  .why-grid,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .faq-wrap {
    gap: 28px;
  }
}

@media (max-width: 720px) {
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .fact {
    padding: 14px 20px;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }

  .fact:first-child {
    border-top: none;
  }

  .services-cta {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===== Pagina Servizi ===== */
.svc-hero {
  position: relative;
  padding: 84px 0 88px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(22, 31, 36, 0.86) 0%, rgba(22, 31, 36, 0.78) 100%),
    url("images/hero-tetto-web.jpg") center 40% / cover no-repeat;
}

.svc-hero-inner {
  max-width: 920px;
}

.svc-hero .eyebrow {
  color: #E8BE95;
}

.svc-hero h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: 3rem;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
}

.svc-hero-text {
  max-width: 640px;
  margin-bottom: 30px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.86);
}

.svc-hero .btn-primary {
  background: var(--accent-dark);
}

.svc-hero .btn-primary:hover {
  background: #7E4A1A;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: #fff;
}

.chip-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.chip-nav a {
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.chip-nav a:hover {
  background: rgba(184, 115, 51, 0.55);
  border-color: #E8BE95;
}

.svc {
  padding: 88px 0;
  scroll-margin-top: 84px;
}

.svc-grey {
  background: var(--bg);
}

.svc-sand {
  background: #F2E9DE;
}

.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.svc-flip .svc-head {
  order: 2;
}

.svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.svc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  color: #E8BE95;
  background: var(--primary);
  border-radius: 18px;
}

.svc-num {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(184, 115, 51, 0.35);
}

.svc-head h2 {
  margin-bottom: 16px;
  font-size: 2.2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary);
}

.svc-lead {
  margin-bottom: 28px;
  font-size: 1.05rem;
  color: #4F5E66;
}

.svc-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.svc-panel {
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.svc-panel h3 {
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.svc-panel h3:not(:first-child) {
  margin-top: 30px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 32px;
  color: var(--text);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B87333' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  list-style: none;
  counter-reset: none;
}

.step {
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  font-weight: 800;
  color: #fff;
  background: var(--accent-dark);
  border-radius: 50%;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: #fff;
}

.step p {
  color: rgba(255, 255, 255, 0.74);
}

.zone-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.zone h2 {
  margin-bottom: 10px;
  font-size: 2rem;
  color: var(--primary);
}

.zone-text {
  max-width: 640px;
  color: #4F5E66;
}

@media (max-width: 1080px) {
  .svc-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .svc-flip .svc-head {
    order: 0;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-hero h1 {
    font-size: 2.4rem;
  }
}

@media (max-width: 720px) {
  .svc-hero {
    padding: 56px 0 60px;
  }

  .svc-hero h1 {
    font-size: 1.95rem;
  }

  .svc {
    padding: 58px 0;
  }

  .svc-head h2 {
    font-size: 1.7rem;
  }

  .svc-panel {
    padding: 24px;
  }

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

  .zone-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

.svc-hero-inner {
  max-width: none;
}

.svc-hero-inner > * {
  max-width: 820px;
}

.svc-hero-inner > .chip-nav {
  max-width: none;
}

/* ===== Menu sempre senza sfondo (si muove con la pagina) ===== */
.site-header,
.home .site-header,
.home .site-header.scrolled {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

.page-hero {
  padding-top: 150px;
}

.svc-hero {
  padding-top: 150px;
}

@media (max-width: 720px) {
  .page-hero,
  .svc-hero {
    padding-top: 118px;
  }
}


/* ===== Pagina BROOF (t3) ===== */
.test-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.test-card {
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.test-card.is-focus {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow);
}

.test-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 14px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
}

.test-card.is-focus .test-tag {
  color: #fff;
  background: var(--accent-dark);
}

.test-card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
  color: var(--primary);
}

.test-card p {
  color: #4F5E66;
}

.test-card.is-focus h3 {
  color: #fff;
}

.test-card.is-focus p {
  color: rgba(255, 255, 255, 0.82);
}

.dark-title {
  margin-bottom: 18px;
  font-size: 2.1rem;
  line-height: 1.15;
  color: #fff;
}

.section-services .svc-grid .section-intro + .section-intro {
  margin-top: 14px;
}

.norm-box {
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 3px solid var(--accent);
  border-radius: 20px;
}

.norm-box h3 {
  margin-bottom: 18px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8BE95;
}

.norm-list {
  display: grid;
  gap: 18px;
  list-style: none;
}

.norm-list li {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.norm-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.norm-list strong {
  display: block;
  color: #fff;
}

.norm-list span {
  display: block;
  margin-top: 4px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.72);
}

.svc-lead strong {
  color: var(--primary);
}

.svc-lead + .svc-lead {
  margin-top: -12px;
}

.note-section {
  padding: 40px 0;
  background: var(--bg);
}

.note-box {
  padding: 20px 24px;
  font-size: 0.92rem;
  color: #4F5E66;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
}

@media (max-width: 1080px) {
  .test-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .test-cards {
    grid-template-columns: 1fr;
  }

  .dark-title {
    font-size: 1.7rem;
  }
}


/* ===== Pagina Lavori ===== */
.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.job-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  color: #E8BE95;
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 115, 51, 0.45), transparent 55%),
    linear-gradient(135deg, #2F3E46, #1B252B);
}

.job-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.job-body h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
  color: var(--primary);
}

.job-body p {
  margin-bottom: 16px;
  color: #4F5E66;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  list-style: none;
}

.job-tags li {
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: 999px;
}

.job-body .text-link {
  margin-top: auto;
}

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

.work-gallery:empty {
  display: none;
}

.work-gallery:not(:empty) + .work-empty {
  display: none;
}

.work {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #1B252B;
}

.work a {
  display: block;
}

.work img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.work:hover img {
  transform: scale(1.04);
}

.work figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 16px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(0deg, rgba(15, 22, 26, 0.85), transparent);
}

.work-empty {
  max-width: 640px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
}

.work-empty h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  color: #fff;
}

.work-empty p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: rgba(10, 15, 18, 0.92);
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 80vh;
  border-radius: 12px;
}

.lightbox p {
  color: #fff;
  font-weight: 600;
}

.lightbox button {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .job-grid,
  .work-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .job-grid,
  .work-gallery {
    grid-template-columns: 1fr;
  }

  .work-empty {
    padding: 26px;
  }
}


/* ===== Pagina FAQ ===== */
.faq-search {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 560px;
  margin-bottom: 26px;
  padding: 0 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 14px;
}

.faq-search:focus-within {
  border-color: #E8BE95;
  background: rgba(255, 255, 255, 0.18);
}

.faq-search input {
  flex: 1;
  min-width: 0;
  padding: 15px 0;
  font-size: 1rem;
  color: #fff;
  background: none;
  border: none;
  outline: none;
}

.faq-search input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.faq-search input::-webkit-search-cancel-button {
  filter: invert(1);
}

.faq-group {
  padding: 72px 0;
  scroll-margin-top: 20px;
}

.faq-group .faq-wrap {
  grid-template-columns: 0.8fr 1.2fr;
}

.faq-group .eyebrow {
  color: var(--accent-dark);
}

.faq-group .section-heading h2 {
  margin-bottom: 12px;
  font-size: 2rem;
  color: var(--primary);
}

.faq-group .faq-item {
  background: #fff;
  border-color: var(--line);
}

.faq-group .faq-item summary {
  color: var(--primary);
}

.faq-group .faq-item[open] {
  border-color: var(--accent);
}

.faq-group .faq-item p a {
  font-weight: 700;
}

.faq-group[hidden],
.faq-item[hidden] {
  display: none;
}

.faq-none {
  padding: 60px 24px;
  text-align: center;
  color: #4F5E66;
}

@media (max-width: 1080px) {
  .faq-group .faq-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .faq-group {
    padding: 52px 0;
  }
}


/* ===== Pagina Contatti ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-section {
  padding-top: 72px;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.contact-card .svc-icon {
  margin-bottom: 20px;
}

.contact-card h3 {
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.contact-value {
  margin-bottom: 10px;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
}

.contact-mail {
  font-size: 1.05rem;
  overflow-wrap: anywhere;
}

.contact-help {
  margin-bottom: 24px;
  color: #4F5E66;
}

.contact-card .btn {
  margin-top: auto;
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  color: var(--accent-dark);
  background: #fff;
  border: 1px solid var(--accent-soft);
  border-radius: 16px;
}

.steps-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1080px) {
  .contact-cards,
  .steps-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-card {
    padding: 26px;
  }

  .contact-section {
    padding-top: 52px;
  }
}

.contact-mail {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  overflow-wrap: normal;
  white-space: nowrap;
}

@media (max-width: 420px) {
  .contact-mail {
    font-size: 0.82rem;
  }
}


/* ===== Ottimizzazione mobile ===== */
.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.faq-item {
  padding: 0;
}

.faq-item summary {
  display: block;
  padding: 18px 20px;
  min-height: 56px;
  cursor: pointer;
}

.faq-item p {
  padding: 0 20px 20px;
}

.header-actions .btn {
  min-height: 44px;
}

.mobile-cta {
  display: none;
}

@media (max-width: 1080px) {
  .home .mobile-menu {
    gap: 0;
    padding: 6px 4% 22px;
  }

  .home .mobile-menu a:not(.btn) {
    padding: 14px 0;
    font-size: 1.02rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .home .mobile-menu .mobile-cta {
    display: flex;
    margin-top: 18px;
    width: 100%;
    color: #fff;
    background: var(--accent-dark);
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 96px;
  }

  .btn {
    min-height: 50px;
  }

  .home .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 48px;
  }

  .home .hero-badge-wrap {
    position: static;
    transform: none;
    width: min(92%, 420px);
    margin: 0 auto 22px;
    justify-content: center;
  }

  .home .hero-badge {
    width: 100%;
  }

  .hero-center {
    width: 92%;
  }

  .whatsapp-button {
    left: auto;
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .whatsapp-button .wa-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .svc-hero-actions,
  .hero-actions {
    width: 100%;
  }

  .chip-nav {
    margin-top: 28px;
    padding-top: 22px;
  }
}

@media (max-width: 380px) {
  .hero-center h1 {
    font-size: 1.8rem;
  }

  .contact-value {
    font-size: 1.35rem;
  }
}

@media (max-width: 1080px) {
  .home .mobile-menu {
    background: #182126;
  }

  .text-link,
  .contact-direct a {
    display: inline-block;
    padding: 10px 0;
  }

  .site-footer p a {
    display: inline-block;
    padding: 6px 0;
  }
}

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

.contact-mail {
  max-width: 100%;
  font-size: clamp(0.66rem, 3.6vw, 0.9rem);
}

@media (max-width: 1080px) {
  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }
}

.cta-box > div,
.cta-box h2 {
  min-width: 0;
}

.contact-direct a {
  overflow-wrap: anywhere;
}

@media (max-width: 380px) {
  .contact-direct a {
    font-size: 0.92rem;
  }
}

.whatsapp-button svg {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .whatsapp-button svg {
    width: 32px;
    height: 32px;
  }
}
