:root {
  --site-primary: #8f4f4a;
  --site-primary-light: #d68779;
  --site-primary-dark: #760000;
  --site-secondary: #647747;
  --site-accent: #0091ba;
  --site-background: #ffdee8;
  --site-surface: #fffafa;
  --site-text: #1e0d09;
  --site-text-secondary: #594746;
  --bs-body-bg: #ffdee8;
  --bs-body-color: #1e0d09;
  --bs-body-font-family: 'Mulish', sans-serif;
  --bs-link-color: #8f4f4a;
  --bs-link-hover-color: #760000;
  --fs-body: 1.125rem;
  --fs-small: .95rem;
  --fs-eyebrow: .78rem;
  --fs-h1: clamp(2.4rem, 5vw, 3.4rem);
  --fs-h2: 2.2rem;
  --fs-h3: 1.5rem;
  --section-pad: clamp(5rem, 8vw, 7rem);
  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
}
* { border-radius: 0 !important; box-shadow: none !important; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; background: var(--bs-body-bg); color: var(--bs-body-color); font-family: var(--bs-body-font-family); font-size: var(--fs-body); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Lora', serif; color: var(--site-text); text-wrap: balance; line-height: 1.13; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p, li { text-wrap: pretty; }
a { color: var(--site-primary); }
a:hover { color: var(--site-primary-dark); }
img { max-width: 100%; display: block; }
.btn { border-radius: 0; padding: .75rem 1.25rem; font-weight: 700; box-shadow: none; letter-spacing: .01em; transition: background-color .2s ease, color .2s ease, border-color .2s ease; border-width: 1.5px; }
.btn-primary { background-color: var(--site-primary); border-color: var(--site-primary); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--site-primary-dark); border-color: var(--site-primary-dark); color: #fff; }
.btn-outline-primary { color: var(--site-primary); border-color: var(--site-primary); background-color: transparent; }
.btn-outline-primary:hover, .btn-outline-primary:focus { background-color: var(--site-primary); border-color: var(--site-primary); color: #fff; }
.bg-primary { background-color: var(--site-primary) !important; }
.text-primary { color: var(--site-primary) !important; }
.border-primary { border-color: var(--site-primary) !important; }
.card { border-radius: 0; box-shadow: none; border: 1px solid rgba(30,13,9,.35); background: transparent; }
.form-control, .form-select { border-radius: 0; box-shadow: none; border: 1px solid var(--site-text-secondary); background-color: var(--site-surface); color: var(--site-text); padding: .75rem; }
.form-control:focus, .form-select:focus { border-color: var(--site-primary); box-shadow: 0 0 0 .15rem rgba(143,79,74,.18) !important; }
.eyebrow { margin-bottom: var(--space-2); font-size: var(--fs-eyebrow); text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--site-primary-dark); }
.lead-copy { max-width: 66ch; margin-inline: auto; color: var(--site-text-secondary); }
.measure { max-width: 68ch; }
.section-pad { padding-block: var(--section-pad); }
.section-tight { padding-block: clamp(3rem, 4.8vw, 4.2rem); }
.site-header { background: var(--site-surface); border-bottom: 1px solid rgba(100,119,71,.7); }
.navbar { min-height: 92px; }
.navbar-brand { display: flex; align-items: center; font-family: 'Lora', serif; font-weight: 700; color: var(--site-text); }
.navbar-brand img { width: 46px; height: 46px; object-fit: contain; margin-right: .65rem; }
.desktop-centered-nav { position: relative; width: 100%; min-height: 58px; }
.desktop-centered-nav .navbar-brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.nav-side { width: 38%; display: flex; align-items: center; justify-content: space-around; }
.nav-link { color: var(--site-text); font-size: .94rem; font-weight: 700; }
.nav-link:hover, .nav-link:focus { color: var(--site-primary-dark); }
.hero-band { padding: clamp(4rem, 7vw, 6rem) 0 var(--section-pad); text-align: center; background: var(--site-background); }
.hero-text { max-width: 850px; margin: 0 auto var(--space-5); }
.hero-text .lead { max-width: 720px; margin-inline: auto; color: var(--site-text-secondary); }
.hero-strip { width: 100%; height: clamp(280px, 42vw, 520px); object-fit: cover; }
.home-main section { position: relative; }
.home-main section:not(:last-of-type)::after { content: ''; position: absolute; bottom: 0; left: 20%; width: 60%; border-bottom: 1px solid var(--site-secondary); opacity: .75; }
.about-band { background: var(--site-surface); }
.about-grid { display: grid; grid-template-columns: 45% 55%; align-items: stretch; }
.about-visual img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.about-copy { padding: clamp(3rem, 6vw, 6rem); align-self: center; }
.number-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; counter-reset: item; }
.number-list li { counter-increment: item; display: grid; grid-template-columns: 2.4rem 1fr; padding: .85rem 0; border-top: 1px solid rgba(30,13,9,.35); }
.number-list li::before { content: '0' counter(item); font-family: 'Lora', serif; color: var(--site-primary-dark); }
.services-band { background: var(--site-background); border-top: 1px solid var(--site-secondary); }
.full-inner { padding-inline: clamp(1.25rem, 5vw, 5rem); }
.offset-grid { display: grid; grid-template-columns: minmax(0, 70%) minmax(0, 30%); }
.offset-main { padding-right: clamp(2rem, 5vw, 5rem); }
.pull-aside { border-left: 1px solid var(--site-secondary); padding-left: clamp(1.5rem, 3vw, 3rem); align-self: start; }
.service-table { margin-top: var(--space-4); border-top: 1px solid var(--site-text); }
.service-row { display: grid; grid-template-columns: 1fr auto; padding: 1.1rem 0; border-bottom: 1px solid rgba(30,13,9,.35); }
.price { font-family: 'Lora', serif; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: var(--space-3); }
.process-band { display: grid; grid-template-columns: 55% 45%; background: rgba(214,135,121,.3); }
.process-visual { min-height: 580px; background-image: url('../../images/dettaglio-tegole-impermeabilizzazione.jpg'); background-size: cover; background-position: center; }
.process-copy { padding: var(--section-pad) clamp(1.25rem, 6vw, 6rem); align-self: center; }
.contact-band { background: var(--site-background); border-top: 1px solid var(--site-secondary); }
.contact-area { background: var(--site-surface); border-top: 1px solid var(--site-secondary); }
.map-wrap { aspect-ratio: 16 / 6; min-height: 320px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.site-footer { background: var(--site-text); color: var(--site-background); padding: 1.5rem 0 .8rem; font-size: .86rem; line-height: 1.45; }
.site-footer a { color: var(--site-background); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; align-items: start; padding-bottom: 1rem; }
.footer-contact { text-align: center; }
.footer-links { text-align: right; }
.footer-bottom { border-top: 1px solid rgba(255,222,232,.45); padding-top: .7rem; text-align: center; }
.cookie-banner { position: fixed; z-index: 1080; left: 1rem; right: 1rem; bottom: 1rem; max-width: 760px; margin-inline: auto; padding: 1rem; border: 1px solid var(--site-primary); background: var(--site-surface); color: var(--site-text); }
.cookie-banner[hidden] { display: none; }
.page-hero { padding: clamp(4rem, 7vw, 6rem) 0; text-align: center; border-bottom: 1px solid var(--site-secondary); }
.content-section { padding: clamp(3.5rem, 6vw, 5rem) 0; border-bottom: 1px solid rgba(100,119,71,.7); }
.content-section:nth-child(even) { background: var(--site-surface); }
.price-card .card-body { padding: 1.5rem; }
.price-card .amount { font-family: 'Lora', serif; font-size: 1.4rem; font-variant-numeric: tabular-nums; color: var(--site-primary-dark); }
.legal-main { padding: var(--section-pad) 0; }
.legal-main h2 { margin-top: 2.5rem; }
.legal-main h3 { margin-top: 1.8rem; }
.form-status { margin-top: 1.5rem; padding: 1rem; border: 1px solid var(--site-secondary); background: var(--site-surface); }
.small-note { font-size: var(--fs-small); color: var(--site-text-secondary); }
.hours { font-variant-numeric: tabular-nums; }
.not-found { min-height: 58vh; display: grid; place-items: center; text-align: center; padding: var(--section-pad) 1rem; }
@media (max-width: 991.98px) {
  .desktop-centered-nav { display: block; }
  .desktop-centered-nav .navbar-brand { position: static; transform: none; }
  .nav-side { width: 100%; display: block; }
  .navbar-collapse { padding: 1rem 0; border-top: 1px solid var(--site-secondary); }
  .about-grid, .offset-grid, .process-band { grid-template-columns: 1fr; }
  .about-visual img { min-height: 360px; }
  .offset-main { padding-right: 0; }
  .pull-aside { border-left: 0; border-top: 1px solid var(--site-secondary); padding: 2rem 0 0; margin-top: 2rem; }
  .process-visual { min-height: 380px; }
  .footer-top { grid-template-columns: 1fr; text-align: center; }
  .footer-contact, .footer-links { text-align: center; margin-top: .65rem; }
}
@media (max-width: 575.98px) {
  body { font-size: 1rem; }
  .hero-strip { height: 270px; }
  .service-row { grid-template-columns: 1fr; }
  .price { padding: .4rem 0 0; }
  .map-wrap { aspect-ratio: auto; height: 360px; }
}
