:root {
  --brand: #d89a4b;
  --brand-dark: #b77525;
  --ink: #163d34;
  --ink-2: #24584b;
  --cream: #f6f2e9;
  --paper: #fffdf8;
  --muted: #66746f;
  --line: rgba(22, 61, 52, 0.12);
  --shadow: 0 24px 60px rgba(13, 42, 35, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  color: #1d2d29;
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
.navbar-brand strong {
  font-family: Georgia, "Times New Roman", serif;
}

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  padding: .75rem 1rem;
  border-radius: 10px;
  color: #fff;
  background: #000;
  text-decoration: none;
}

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

.navbar {
  padding: 1rem 0;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}

.navbar.scrolled {
  padding: .65rem 0;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 10px 30px rgba(13, 42, 35, .08);
  backdrop-filter: blur(14px);
}

.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) .navbar-brand,
.navbar:not(.scrolled) .navbar-toggler {
  color: #fff;
}

.navbar:not(.scrolled) .navbar-toggler {
  border-color: rgba(255, 255, 255, .35);
}

.navbar:not(.scrolled) .navbar-toggler-icon {
  filter: invert(1) brightness(2);
}

.navbar-brand {
  color: var(--ink);
}

.brand-mark {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--brand);
  border-radius: 14px;
  color: #fff;
  background: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.04em;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .08);
}

.brand-mark-small {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: .95rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 1.03rem;
  letter-spacing: .01em;
}

.brand-copy small {
  margin-top: .22rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .7;
}

.nav-link {
  color: var(--ink);
  font-size: .93rem;
  font-weight: 700;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-dark) !important;
}

.btn {
  border-radius: 12px;
  font-weight: 800;
}

.btn-brand {
  border-color: var(--brand);
  color: #182b26;
  background: var(--brand);
  box-shadow: 0 12px 24px rgba(216, 154, 75, .18);
}

.btn-brand:hover,
.btn-brand:focus {
  border-color: #e7aa5a;
  color: #14231f;
  background: #e7aa5a;
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  min-height: 790px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 12%, rgba(216, 154, 75, .24), transparent 30%),
    linear-gradient(135deg, #12362e 0%, #173f35 52%, #0c2822 100%);
}

.hero-section::before,
.hero-section::after {
  position: absolute;
  content: "";
  border-radius: 50%;
  filter: blur(2px);
}

.hero-section::before {
  width: 430px;
  height: 430px;
  right: -180px;
  bottom: -170px;
  border: 1px solid rgba(255, 255, 255, .09);
}

.hero-section::after {
  width: 220px;
  height: 220px;
  right: 12%;
  top: 17%;
  border: 1px solid rgba(216, 154, 75, .28);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .05;
  background-image:
    linear-gradient(rgba(255, 255, 255, .7) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .7) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.25rem;
  color: #f2c98d;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

.hero-section h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.055em;
}

.hero-section h1 span {
  color: #f0c78e;
}

.hero-lead {
  max-width: 760px;
  margin-top: 1.6rem;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.15rem;
  color: rgba(255, 255, 255, .75);
  font-size: .9rem;
}

.hero-points i {
  margin-right: .35rem;
  color: #f0c78e;
}

.hero-card {
  position: relative;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .085);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .18);
  backdrop-filter: blur(16px);
}

.hero-card::before {
  position: absolute;
  inset: 12px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  pointer-events: none;
}

.hero-card-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-card-icon {
  display: grid;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: #182b26;
  background: var(--brand);
  font-size: 1.45rem;
}

.hero-card small {
  color: rgba(255, 255, 255, .55);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero-card h2 {
  margin: .15rem 0 0;
  font-size: 1.55rem;
}

.hero-card p,
.hero-card li {
  color: rgba(255, 255, 255, .74);
}

.hero-card li {
  display: flex;
  gap: .55rem;
  margin-top: .65rem;
}

.hero-card li i {
  color: #f0c78e;
}

.trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -36px;
}

.trust-strip .container {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.trust-item {
  display: flex;
  min-height: 150px;
  padding: 1.5rem .75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item i {
  margin-bottom: .55rem;
  color: var(--brand-dark);
  font-size: 1.55rem;
}

.trust-item strong {
  color: var(--ink);
}

.trust-item span {
  color: var(--muted);
  font-size: .82rem;
}

.section-padding {
  padding: 110px 0;
}

.bg-soft {
  background: var(--cream);
}

.section-heading {
  max-width: 720px;
}

.section-heading h2,
.display-title,
.contact-section h2 {
  color: var(--ink);
  font-size: clamp(2.25rem, 4vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.section-heading p,
.lead-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-card {
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md);
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(13, 42, 35, .14);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 199, 142, .4);
  box-shadow: 0 24px 44px rgba(13, 42, 35, .2);
}

.service-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 1.25rem;
  place-items: center;
  border: 1px solid rgba(240, 199, 142, .28);
  border-radius: 16px;
  color: #f0c78e;
  background: rgba(255, 255, 255, .08);
  font-size: 1.35rem;
}

.service-card h3 {
  color: #fff;
  font-size: 1.4rem;
}

.service-card p {
  min-height: 84px;
  color: rgba(255, 255, 255, .68);
}

.service-tag {
  display: inline-block;
  padding-top: .85rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: #f0c78e;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.note-box {
  position: relative;
  margin-top: 2rem;
  padding: 1.5rem 1.5rem 1.25rem 2rem;
  border-left: 4px solid var(--brand);
  border-radius: 0 18px 18px 0;
  background: var(--cream);
}

.note-box > i {
  position: absolute;
  left: 1rem;
  top: 1rem;
  color: rgba(183, 117, 37, .25);
  font-size: 2rem;
}

.note-box p {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.12rem;
  font-style: italic;
}

.process-list {
  border-top: 1px solid var(--line);
}

.process-step {
  display: grid;
  padding: 1.45rem 0;
  grid-template-columns: 70px 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.process-step > span {
  color: var(--brand-dark);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.process-step h3 {
  margin-bottom: .35rem;
  color: var(--ink);
  font-size: 1.45rem;
}

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

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

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

.section-heading-light p {
  color: rgba(255, 255, 255, .64);
}

.work-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
  transition: transform .25s ease, border-color .25s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240, 199, 142, .4);
}

.work-visual {
  position: relative;
  min-height: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin: 0;
  background: #17241f;
}

.work-visual::after {
  position: absolute;
  inset: 0 auto 0 50%;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 0 0 1px rgba(18, 34, 29, .08);
}

.work-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.work-card:hover .work-visual img {
  transform: scale(1.012);
}

.work-stage {
  position: absolute;
  top: 12px;
  z-index: 2;
  padding: .36rem .7rem;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 999px;
  color: #fff;
  background: rgba(13, 31, 26, .78);
  box-shadow: 0 5px 14px rgba(0, 0, 0, .14);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.work-stage-before {
  left: 12px;
}

.work-stage-after {
  right: 12px;
  border-color: rgba(232, 208, 156, .65);
  background: rgba(51, 64, 30, .88);
}

.work-content {
  padding: 1.35rem 1.5rem 1.5rem;
}

.work-content small {
  color: #f0c78e;
  font-size: .73rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.work-content h3 {
  margin: .25rem 0 .45rem;
  font-size: 1.55rem;
}

.work-content p {
  margin: 0;
  color: rgba(255, 255, 255, .62);
}

.reviews-section {
  background: #fbfaf6;
}

.review-card {
  position: relative;
  display: flex;
  padding: 1.8rem;
  flex-direction: column;
  border: 1px solid rgba(51, 64, 30, .12);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 14px 34px rgba(39, 47, 28, .08);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.review-card::before {
  position: absolute;
  right: 1.35rem;
  top: 1rem;
  content: "\201D";
  color: rgba(199, 164, 92, .2);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5rem;
  line-height: 1;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(199, 164, 92, .5);
  box-shadow: 0 22px 42px rgba(39, 47, 28, .12);
}

.review-stars {
  position: relative;
  z-index: 1;
  display: flex;
  gap: .28rem;
  margin-bottom: 1.1rem;
  color: #c18c2f;
  font-size: .92rem;
}

.review-card blockquote {
  position: relative;
  z-index: 1;
  flex: 1;
  margin: 0 0 1.5rem;
  color: #34423d;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.65;
}

.review-author {
  display: flex;
  padding-top: 1rem;
  align-items: center;
  gap: .8rem;
  border-top: 1px solid var(--line);
}

.review-avatar {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--home-olive, var(--ink));
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
}

.review-author strong,
.review-author small {
  display: block;
}

.review-author strong {
  color: var(--ink);
  font-size: .95rem;
}

.review-author small {
  color: var(--muted);
  font-size: .78rem;
}

.reviews-disclaimer {
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: .78rem;
}

.reviews-disclaimer i {
  margin-right: .3rem;
  color: var(--brand-dark);
}

.contact-section {
  color: #fff;
  background:
    radial-gradient(circle at 90% 20%, rgba(216, 154, 75, .18), transparent 28%),
    linear-gradient(135deg, #153a31, #0d2c25);
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  color: rgba(255, 255, 255, .68);
}

.contact-list {
  display: grid;
  gap: .85rem;
  margin-top: 2rem;
}

.contact-list a {
  display: flex;
  padding: 1rem 1.1rem;
  align-items: center;
  gap: .9rem;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 15px;
  color: #fff;
  background: rgba(255, 255, 255, .055);
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.contact-list a:hover {
  border-color: rgba(240, 199, 142, .45);
  background: rgba(255, 255, 255, .09);
}

.contact-list i {
  color: #f0c78e;
  font-size: 1.25rem;
}

.contact-list span {
  display: flex;
  flex-direction: column;
}

.contact-list small {
  color: rgba(255, 255, 255, .5);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-note {
  margin-top: 1rem;
  font-size: .78rem;
}

.contact-form {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .07);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .12);
  backdrop-filter: blur(14px);
}

.contact-form .form-label {
  color: rgba(255, 255, 255, .82);
  font-size: .85rem;
  font-weight: 800;
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 52px;
  border-color: rgba(255, 255, 255, .16);
  border-radius: 12px;
  color: #fff;
  background-color: rgba(255, 255, 255, .08);
}

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

.contact-form .form-control::placeholder {
  color: rgba(255, 255, 255, .42);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: #efc88e;
  box-shadow: 0 0 0 .25rem rgba(216, 154, 75, .16);
}

.contact-form .form-select option {
  color: #1f2e2a;
}

.form-help {
  color: rgba(255, 255, 255, .52);
}

.site-footer {
  padding: 2rem 0;
  color: rgba(255, 255, 255, .68);
  background: #071d18;
}

.site-footer strong {
  color: #fff;
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 999;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .18);
  font-size: 1.55rem;
  text-decoration: none;
  transition: transform .2s ease;
}

.floating-whatsapp:hover {
  color: #fff;
  transform: translateY(-3px) scale(1.03);
}

@media (max-width: 991.98px) {
  .navbar {
    background: rgba(255, 253, 248, .97);
    box-shadow: 0 10px 30px rgba(13, 42, 35, .08);
  }

  .navbar:not(.scrolled) .nav-link,
  .navbar:not(.scrolled) .navbar-brand,
  .navbar:not(.scrolled) .navbar-toggler {
    color: var(--ink);
  }

  .navbar:not(.scrolled) .navbar-toggler-icon {
    filter: none;
  }

  .navbar-collapse {
    padding-top: 1rem;
  }

  .hero-section {
    min-height: auto;
    padding: 155px 0 100px;
  }

  .trust-strip {
    margin-top: -28px;
  }

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .review-card {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 82px 0;
  }

  .brand-copy small {
    display: none;
  }

  .hero-section h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .hero-card {
    padding: 1.4rem;
  }

  .trust-item {
    min-height: 132px;
  }

  .service-card p {
    min-height: auto;
  }

  .process-step {
    grid-template-columns: 46px 1fr;
  }

  .contact-form {
    padding: 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .brand-copy strong {
    font-size: .9rem;
  }

  .hero-section {
    padding-top: 135px;
  }

  .hero-points {
    display: grid;
    gap: .45rem;
  }

  .trust-strip .container {
    border-radius: 16px;
  }

  .trust-item {
    padding: 1.15rem .4rem;
  }

  .trust-item strong {
    font-size: .87rem;
  }

  .trust-item span {
    font-size: .72rem;
  }

  .review-card {
    padding: 1.25rem;
  }

  .review-card blockquote {
    font-size: 1rem;
  }
}

/* Invito PWA discreto, mostrato via JavaScript solo sui dispositivi installabili. */
.pwa-install-prompt[hidden] {
  display: none !important;
}

.pwa-install-prompt {
  position: fixed;
  left: 14px;
  bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 1045;
  display: flex;
  width: min(310px, calc(100vw - 28px));
  padding: 11px 38px 11px 11px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(51, 64, 30, .2);
  border-radius: 15px;
  color: #243019;
  background: rgba(255, 253, 248, .96);
  box-shadow: 0 12px 30px rgba(31, 40, 21, .16);
  backdrop-filter: blur(12px);
}

.pwa-install-prompt > img {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
}

.pwa-install-content {
  min-width: 0;
}

.pwa-install-content strong {
  display: block;
  margin-bottom: 1px;
  color: var(--home-olive-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: .88rem;
  line-height: 1.18;
}

.pwa-install-content p {
  margin: 0 0 6px;
  color: #5a6152;
  font-size: .7rem;
  line-height: 1.3;
}

.pwa-install-button {
  min-height: 30px;
  padding: .3rem .7rem;
  border: 1px solid var(--home-olive);
  border-radius: 8px;
  color: #fff;
  background: var(--home-olive);
  font-size: .7rem;
  font-weight: 800;
  line-height: 1;
}

.pwa-install-button:hover,
.pwa-install-button:focus-visible {
  border-color: var(--home-olive-dark);
  background: var(--home-olive-dark);
}

.pwa-install-dismiss {
  position: absolute;
  right: 7px;
  top: 5px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: #68705f;
  background: transparent;
  font-size: 1.15rem;
  line-height: 1;
}

.pwa-install-dismiss:hover,
.pwa-install-dismiss:focus-visible {
  color: var(--home-olive-dark);
  background: rgba(51, 64, 30, .08);
}

@media (min-width: 768px) {
  .pwa-install-prompt {
    display: none !important;
  }
}

@media (max-width: 379.98px) {
  .pwa-install-prompt {
    left: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    width: calc(100vw - 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* =========================================================
   Header e prima sezione ispirati alla proposta grafica Home
   ========================================================= */
:root {
  --home-olive: #33401e;
  --home-olive-dark: #263316;
  --home-gold: #c7a45c;
  --home-cream: #f8f6f0;
  --home-text: #10180d;
}

html {
  scroll-padding-top: 118px;
}

.site-header {
  z-index: 1030;
  border-bottom: 1px solid rgba(38, 51, 22, .12);
  background: rgba(250, 249, 245, .98);
  box-shadow: 0 5px 18px rgba(45, 39, 27, .05);
}

.home-shell {
  width: min(100%, 1570px);
  margin-inline: auto;
  padding-inline: clamp(22px, 3.7vw, 64px);
}

.site-header .main-navbar,
.site-header .main-navbar.scrolled {
  position: relative;
  padding: 14px 0;
  color: var(--home-text);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.site-header .brand-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: clamp(12px, 1.25vw, 20px);
}

.site-header .navbar-logo-link {
  display: block;
  flex: 0 0 auto;
  width: clamp(76px, 7vw, 106px);
  height: clamp(76px, 7vw, 106px);
  overflow: hidden;
  border-radius: 50%;
  background: #f8f4eb;
  box-shadow: 0 5px 15px rgba(38, 51, 22, .12);
}

.site-header .navbar-logo-link img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.site-header .brand-copy {
  display: flex;
  min-width: 0;
  margin: 0;
  padding: 0;
  flex-direction: column;
  color: var(--home-olive);
  line-height: 1.08;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .brand-name {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  color: var(--home-olive-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.15rem, 1.55vw, 1.55rem);
  letter-spacing: -.025em;
}

.site-header .brand-name strong {
  font-size: 1.35em;
  font-weight: 500;
}

.site-header .brand-name > span {
  color: var(--home-gold);
  font-size: .62em;
}

.site-header .brand-tagline {
  display: flex;
  margin-top: .3rem;
  align-items: center;
  gap: .5rem;
  color: #a77c31;
  font-size: clamp(.58rem, .68vw, .72rem);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-header .brand-tagline::before,
.site-header .brand-tagline::after {
  width: 30px;
  height: 1px;
  content: "";
  background: rgba(167, 124, 49, .65);
}

.site-header .brand-services {
  margin-top: .38rem;
  color: var(--home-olive);
  font-size: clamp(.57rem, .68vw, .7rem);
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.site-header .brand-services > span {
  margin-inline: .22rem;
  color: var(--home-gold);
}

.site-header .home-nav-list {
  gap: clamp(8px, 1.25vw, 26px);
}

.site-header .nav-link,
.site-header .navbar:not(.scrolled) .nav-link {
  padding: .72rem .45rem;
  color: #171a15;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(.94rem, 1.05vw, 1.08rem);
  font-weight: 650;
  white-space: nowrap;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--home-olive) !important;
}

.home-nav-cta {
  margin-left: clamp(2px, .7vw, 12px);
}

.btn-home-primary {
  min-height: 56px;
  padding: .82rem 1.65rem;
  border: 1px solid var(--home-olive);
  border-radius: 9px;
  color: #fff;
  background: var(--home-olive);
  box-shadow: 0 9px 22px rgba(51, 64, 30, .12);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.btn-home-primary:hover,
.btn-home-primary:focus {
  border-color: var(--home-olive-dark);
  color: #fff;
  background: var(--home-olive-dark);
  transform: translateY(-1px);
}

.site-header .home-nav-cta .btn-home-primary {
  min-height: 58px;
  padding-inline: clamp(1.15rem, 1.8vw, 1.85rem);
  font-size: clamp(.94rem, 1vw, 1.06rem);
  white-space: nowrap;
}

.site-header .navbar-toggler,
.site-header .navbar:not(.scrolled) .navbar-toggler {
  border-color: rgba(51, 64, 30, .32);
  color: var(--home-olive);
}

.site-header .navbar-toggler-icon,
.site-header .navbar:not(.scrolled) .navbar-toggler-icon {
  filter: none;
}

.home-hero {
  position: relative;
  min-height: 776px;
  overflow: hidden;
  color: var(--home-text);
  background:
    radial-gradient(circle at 40% 50%, rgba(255, 255, 255, .9), transparent 40%),
    linear-gradient(90deg, #fbfaf6 0%, #f7f5ef 58%, #f1eee7 100%);
}

.home-hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 49%;
  background-image: url("../img/hero-bagno.jpg");
  background-position: center;
  background-size: cover;
}

.home-hero::after {
  position: absolute;
  inset: 0 auto 0 42%;
  z-index: 1;
  width: 18%;
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, #f8f6f0 0%, rgba(248, 246, 240, .86) 32%, rgba(248, 246, 240, 0) 100%);
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  min-height: 776px;
  padding-top: 76px;
  padding-bottom: 188px;
}

.home-hero-copy {
  width: min(58%, 840px);
}

.home-hero h1 {
  max-width: 830px;
  margin: 0;
  color: #0e180c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.5rem, 5.15vw, 5.35rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.043em;
}

.home-title-line {
  display: block;
  width: 96px;
  height: 4px;
  margin: 39px 0 28px;
  background: linear-gradient(90deg, #b98d3d 0%, #dfcc9f 100%);
}

.home-hero-copy > p {
  max-width: 790px;
  margin: 0;
  color: #474a45;
  font-size: clamp(1.05rem, 1.45vw, 1.45rem);
  line-height: 1.55;
}

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

.home-hero-actions .btn {
  display: inline-flex;
  min-height: 64px;
  padding-inline: 29px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 9px;
  font-size: 1.16rem;
}

.home-hero-actions .btn-home-primary {
  min-width: 328px;
}

.btn-home-outline {
  min-width: 220px;
  border: 1px solid #6f7567;
  color: #1e211b;
  background: rgba(255, 255, 255, .45);
}

.btn-home-outline:hover,
.btn-home-outline:focus {
  border-color: var(--home-olive);
  color: #fff;
  background: var(--home-olive);
}

.home-trust {
  position: absolute;
  left: clamp(22px, 3.7vw, 64px);
  bottom: 69px;
  display: grid;
  width: min(1065px, 68.5vw);
  min-height: 132px;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid rgba(68, 63, 49, .13);
  border-radius: 10px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 17px 34px rgba(49, 43, 32, .12);
  backdrop-filter: blur(10px);
}

.home-trust-item {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 27px 31px;
  align-items: center;
  gap: 20px;
}

.home-trust-item + .home-trust-item::before {
  position: absolute;
  left: 0;
  top: 29px;
  bottom: 29px;
  width: 1px;
  content: "";
  background: rgba(51, 64, 30, .12);
}

.home-trust-icon {
  display: grid;
  flex: 0 0 70px;
  width: 70px;
  height: 70px;
  place-items: center;
  border-radius: 50%;
  color: var(--home-olive);
  background: #f0efe7;
  font-size: 2rem;
}

.home-trust h2 {
  margin: 0 0 2px;
  color: #161a13;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.home-trust p {
  margin: 0;
  color: #555951;
  font-size: .98rem;
  line-height: 1.38;
}

@media (max-width: 1399.98px) {
  .site-header .navbar-logo-link {
    width: clamp(76px, 6.5vw, 92px);
    height: clamp(76px, 6.5vw, 92px);
  }

  .site-header .brand-identity {
    gap: 12px;
  }

  .site-header .home-nav-list {
    gap: 8px;
  }

  .site-header .home-nav-cta .btn-home-primary {
    min-height: 52px;
    padding-inline: 1.15rem;
  }

  .home-hero h1 {
    font-size: clamp(3.25rem, 5.2vw, 4.65rem);
  }

  .home-hero-copy > p {
    font-size: 1.12rem;
  }

  .home-trust {
    width: min(980px, 72vw);
  }

  .home-trust-item {
    padding-inline: 23px;
    gap: 15px;
  }

  .home-trust-icon {
    flex-basis: 61px;
    width: 61px;
    height: 61px;
    font-size: 1.7rem;
  }
}

@media (max-width: 1199.98px) {
  html {
    scroll-padding-top: 88px;
  }

  .site-header .main-navbar,
  .site-header .main-navbar.scrolled {
    padding: 10px 0;
  }

  .site-header .brand-identity {
    max-width: calc(100% - 72px);
  }

  .site-header .navbar-logo-link {
    width: 68px;
    height: 68px;
  }

  .site-header .brand-name {
    font-size: 1.15rem;
  }

  .site-header .brand-tagline {
    font-size: .6rem;
  }

  .site-header .brand-services {
    font-size: .58rem;
  }

  .site-header .navbar-collapse {
    margin-top: 10px;
    padding: 18px;
    border: 1px solid rgba(51, 64, 30, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(35, 42, 25, .1);
  }

  .site-header .home-nav-list {
    align-items: stretch !important;
    gap: 3px;
  }

  .site-header .nav-link,
  .site-header .navbar:not(.scrolled) .nav-link {
    padding: .7rem .75rem;
    color: var(--home-text);
  }

  .home-nav-cta {
    margin: 9px 0 0;
  }

  .site-header .home-nav-cta .btn-home-primary {
    width: 100%;
  }

  .home-hero,
  .home-hero-inner {
    min-height: 720px;
  }

  .home-hero-inner {
    padding-top: 60px;
    padding-bottom: 190px;
  }

  .home-hero-copy {
    width: 60%;
  }

  .home-hero-actions .btn-home-primary {
    min-width: 285px;
  }

  .home-trust {
    width: calc(100% - 44px);
  }
}

@media (max-width: 991.98px) {
  .home-hero {
    min-height: auto;
    background: #f8f6f0;
  }

  .home-hero::after {
    display: none;
  }

  .home-hero-photo {
    position: relative;
    width: 100%;
    height: clamp(360px, 60vw, 560px);
    margin-top: 0;
    background-position: center 35%;
  }

  .home-hero-inner {
    display: flex;
    min-height: auto;
    padding-top: 58px;
    padding-bottom: 58px;
    flex-direction: column;
  }

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

  .home-hero h1 {
    max-width: 760px;
    font-size: clamp(3rem, 8vw, 4.9rem);
  }

  .home-hero-copy > p {
    max-width: 700px;
    font-size: 1.12rem;
  }

  .home-trust {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 42px;
  }
}

@media (max-width: 767.98px) {
  .home-shell {
    padding-inline: 18px;
  }

  .site-header .brand-identity {
    max-width: calc(100% - 62px);
    gap: 9px;
  }

  .site-header .navbar-logo-link {
    width: 58px;
    height: 58px;
  }

  .site-header .brand-name {
    gap: .28rem;
    font-size: 1rem;
  }

  .site-header .brand-tagline {
    margin-top: .2rem;
    font-size: .55rem;
    letter-spacing: .12em;
  }

  .site-header .brand-tagline::before,
  .site-header .brand-tagline::after {
    width: 20px;
  }

  .site-header .brand-services {
    display: none;
  }

  .home-hero-photo {
    height: 390px;
    background-position: 38% center;
  }

  .home-hero-inner {
    padding-top: 44px;
    padding-bottom: 42px;
  }

  .home-hero h1 {
    font-size: clamp(2.65rem, 12vw, 4rem);
    line-height: 1.02;
  }

  .home-title-line {
    width: 78px;
    margin: 28px 0 22px;
  }

  .home-hero-copy > p {
    font-size: 1.02rem;
    line-height: 1.55;
  }

  .home-hero-actions {
    display: grid;
    gap: 12px;
    margin-top: 25px;
  }

  .home-hero-actions .btn,
  .home-hero-actions .btn-home-primary,
  .home-hero-actions .btn-home-outline {
    width: 100%;
    min-width: 0;
    min-height: 57px;
    padding: .75rem 1rem;
    font-size: 1rem;
  }

  .home-trust {
    grid-template-columns: 1fr;
    border-radius: 12px;
  }

  .home-trust-item {
    padding: 20px 22px;
  }

  .home-trust-item + .home-trust-item::before {
    left: 22px;
    right: 22px;
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .home-trust-icon {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
    font-size: 1.55rem;
  }
}

@media (max-width: 479.98px) {
  .site-header .brand-identity {
    max-width: calc(100% - 52px);
    gap: 7px;
  }

  .site-header .navbar-logo-link {
    width: 49px;
    height: 49px;
  }

  .site-header .brand-name {
    gap: .22rem;
    font-size: clamp(.82rem, 4.2vw, .95rem);
  }

  .site-header .brand-tagline {
    font-size: .49rem;
    letter-spacing: .1em;
  }

  .site-header .brand-tagline::before,
  .site-header .brand-tagline::after {
    width: 12px;
  }

  .site-header .navbar-toggler {
    padding: .35rem .5rem;
  }

  .home-hero-photo {
    height: 315px;
    background-position: 43% center;
  }

  .home-hero h1 {
    font-size: clamp(2.35rem, 12.8vw, 3.3rem);
  }

  .home-trust-item {
    align-items: flex-start;
  }

  .home-trust h2 {
    font-size: 1rem;
  }

  .home-trust p {
    font-size: .91rem;
  }
}

/* =========================================================
   Ridimensionamento NAV + HOME in base alla finestra
   La prima schermata resta interamente visibile sui desktop,
   mantenendo le proporzioni del mockup di riferimento.
   ========================================================= */
.home-hero-photo {
  background-position: center top;
}

@media (min-width: 1200px) {
  :root {
    --home-header-height: clamp(122px, 17.65vh, 166px);
  }

  html {
    scroll-padding-top: var(--home-header-height);
  }

  .site-header .main-navbar,
  .site-header .main-navbar.scrolled {
    height: var(--home-header-height);
    min-height: var(--home-header-height);
    padding: 6px 0;
  }

  .site-header .brand-identity {
    flex: 0 0 auto;
  }

  .site-header .navbar-logo-link {
    width: clamp(78px, min(7vw, 12vh), 106px);
    height: clamp(78px, min(7vw, 12vh), 106px);
  }

  .site-header .home-nav-list {
    gap: clamp(4px, .75vw, 18px);
  }

  .site-header .nav-link,
  .site-header .navbar:not(.scrolled) .nav-link {
    padding: clamp(.5rem, 1.15vh, .72rem) clamp(.32rem, .55vw, .55rem);
    font-size: clamp(.88rem, min(1.03vw, 1.9vh), 1.08rem);
  }

  .home-nav-cta {
    margin-left: clamp(2px, .45vw, 9px);
  }

  .site-header .home-nav-cta .btn-home-primary {
    min-height: clamp(46px, 6.2vh, 58px);
    padding-inline: clamp(1rem, 1.45vw, 1.75rem);
    font-size: clamp(.88rem, min(1vw, 1.85vh), 1.04rem);
  }

  .home-hero,
  .home-hero-inner {
    height: calc(100vh - var(--home-header-height));
    min-height: 0;
  }

  @supports (height: 100svh) {
    .home-hero,
    .home-hero-inner {
      height: calc(100svh - var(--home-header-height));
    }
  }

  .home-hero-inner {
    padding-top: clamp(34px, 7.1vh, 76px);
    padding-bottom: clamp(126px, 20vh, 188px);
  }

  .home-hero-copy {
    width: min(58%, 840px);
  }

  .home-hero h1 {
    font-size: clamp(3.05rem, min(5.15vw, 9vh), 5.35rem);
    line-height: 1.04;
  }

  .home-title-line {
    width: clamp(74px, 5.75vw, 96px);
    height: clamp(3px, .42vh, 4px);
    margin: clamp(22px, 4.15vh, 39px) 0 clamp(17px, 3vh, 28px);
  }

  .home-hero-copy > p {
    font-size: clamp(1rem, min(1.45vw, 2.65vh), 1.45rem);
    line-height: 1.5;
  }

  .home-hero-actions {
    gap: clamp(12px, 1.2vw, 20px);
    margin-top: clamp(20px, 3.2vh, 30px);
  }

  .home-hero-actions .btn {
    min-height: clamp(50px, 6.8vh, 64px);
    padding-inline: clamp(20px, 1.75vw, 29px);
    gap: clamp(9px, .85vw, 14px);
    font-size: clamp(1rem, min(1.16rem, 2.25vh), 1.16rem);
  }

  .home-hero-actions .btn-home-primary {
    min-width: clamp(280px, 19.65vw, 328px);
  }

  .btn-home-outline {
    min-width: clamp(190px, 13.2vw, 220px);
  }

  .home-trust {
    bottom: clamp(24px, 7.3vh, 69px);
    width: min(1065px, 68.5vw);
    min-height: clamp(112px, 15.95vh, 150px);
  }

  .home-trust-item {
    padding: clamp(18px, 2.85vh, 27px) clamp(18px, 1.85vw, 31px);
    gap: clamp(12px, 1.2vw, 20px);
  }

  .home-trust-item + .home-trust-item::before {
    top: clamp(21px, 3.1vh, 29px);
    bottom: clamp(21px, 3.1vh, 29px);
  }

  .home-trust-icon {
    flex-basis: clamp(52px, 7.45vh, 70px);
    width: clamp(52px, 7.45vh, 70px);
    height: clamp(52px, 7.45vh, 70px);
    font-size: clamp(1.45rem, 3.4vh, 2rem);
  }

  .home-trust h2 {
    font-size: clamp(.96rem, min(1.12rem, 2.15vh), 1.12rem);
  }

  .home-trust p {
    font-size: clamp(.82rem, min(.98rem, 1.9vh), .98rem);
    line-height: 1.34;
  }
}

@media (min-width: 1200px) and (max-height: 720px) {
  :root {
    --home-header-height: clamp(108px, 17vh, 122px);
  }

  .home-hero-inner {
    padding-top: 28px;
    padding-bottom: 118px;
  }

  .home-title-line {
    margin-top: 18px;
    margin-bottom: 15px;
  }

  .home-hero-copy > p {
    line-height: 1.42;
  }

  .home-hero-actions {
    margin-top: 16px;
  }

  .home-trust {
    bottom: 16px;
    min-height: 104px;
  }

  .home-trust-item {
    padding-top: 14px;
    padding-bottom: 14px;
  }
}

@media (max-width: 1199.98px) {
  .home-hero-photo {
    background-position: center top;
  }
}

@media (max-width: 767.98px) {
  .home-hero-photo {
    background-position: 38% top;
  }
}

@media (max-width: 479.98px) {
  .home-hero-photo {
    height: 280px;
    background-position: 43% top;
  }
}

/* =========================================================
   Sezione CONTATTI ottimizzata
   Su desktop rimane interamente visibile sotto l'header fisso.
   Su tablet e mobile mantiene una disposizione fluida e leggibile.
   ========================================================= */
#contatti {
  scroll-margin-top: var(--home-header-height, 118px);
}

.contact-section.section-padding {
  padding: clamp(28px, 4vh, 44px) 0;
}

.contact-section > .container {
  width: min(100%, 1320px);
}

.contact-section .contact-layout {
  --bs-gutter-x: clamp(2rem, 4.8vw, 5rem);
  --bs-gutter-y: 1.15rem;
}

.contact-section .eyebrow {
  margin-bottom: .5rem;
}

.contact-section h2 {
  max-width: 570px;
  margin-bottom: .6rem;
  font-size: clamp(2.1rem, 3.1vw, 3.2rem);
  line-height: 1.04;
}

.contact-section .col-lg-5 > p {
  max-width: 540px;
  margin-bottom: 0;
  font-size: .96rem;
  line-height: 1.45;
}

.contact-list {
  gap: .45rem;
  margin-top: .8rem;
}

.contact-list a {
  min-height: 52px;
  padding: .58rem .82rem;
  gap: .8rem;
}

.contact-list i {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .065);
  font-size: 1.08rem;
}

.contact-list span {
  min-width: 0;
  line-height: 1.28;
  overflow-wrap: anywhere;
}

.contact-list small {
  margin-bottom: .08rem;
  font-size: .64rem;
}

.contact-form {
  padding: clamp(1rem, 1.7vw, 1.4rem);
}

.contact-form .contact-form-grid {
  --bs-gutter-x: .9rem;
  --bs-gutter-y: .58rem;
}

.contact-form .form-label {
  margin-bottom: .2rem;
  font-size: .78rem;
}

.contact-form .form-control,
.contact-form .form-select {
  min-height: 43px;
  padding: .46rem .72rem;
}

.contact-form textarea.form-control {
  min-height: 82px;
  line-height: 1.35;
  resize: vertical;
}

.contact-form .invalid-feedback {
  margin-top: .2rem;
  font-size: .73rem;
}

.contact-form .btn-brand {
  min-height: 44px;
  padding: .55rem 1.05rem;
  font-size: .98rem;
}

.contact-form .form-help {
  max-width: 255px;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .contact-section.section-padding {
    display: flex;
    min-height: calc(100vh - var(--home-header-height, 118px));
    align-items: center;
  }

  @supports (height: 100svh) {
    .contact-section.section-padding {
      min-height: calc(100svh - var(--home-header-height, 118px));
    }
  }

  .contact-section > .container {
    margin-block: auto;
  }
}

@media (min-width: 992px) and (max-height: 760px) {
  .contact-section.section-padding {
    padding: 14px 0;
  }

  .contact-section h2 {
    margin-bottom: .45rem;
    font-size: clamp(1.95rem, 2.85vw, 2.75rem);
  }

  .contact-section .col-lg-5 > p {
    font-size: .92rem;
    line-height: 1.45;
  }

  .contact-list {
    gap: .32rem;
    margin-top: .55rem;
  }

  .contact-list a {
    min-height: 46px;
    padding: .44rem .7rem;
  }

  .contact-form {
    padding: .9rem;
  }

  .contact-form .contact-form-grid {
    --bs-gutter-y: .42rem;
  }

  .contact-form .form-control,
  .contact-form .form-select {
    min-height: 40px;
    padding-block: .36rem;
  }

  .contact-form textarea.form-control {
    min-height: 70px;
  }

  .contact-form .btn-brand {
    min-height: 40px;
  }
}

@media (max-width: 991.98px) {
  .contact-section.section-padding {
    padding: 68px 0;
  }

  .contact-section .contact-layout {
    --bs-gutter-y: 2rem;
  }

  .contact-section h2 {
    max-width: 680px;
    font-size: clamp(2.25rem, 6vw, 3.4rem);
  }

  .contact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-list a {
    min-height: 76px;
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
  .contact-section.section-padding {
    padding: 58px 0;
  }

  .contact-section h2 {
    font-size: clamp(2.1rem, 8vw, 3rem);
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-list a {
    min-height: 56px;
    align-items: center;
  }

  .contact-form {
    padding: 1.2rem;
    border-radius: 20px;
  }
}

@media (max-width: 575.98px) {
  .contact-section.section-padding {
    padding: 50px 0;
  }

  .contact-section .contact-layout {
    --bs-gutter-y: 1.5rem;
  }

  .contact-section h2 {
    font-size: clamp(2rem, 10.2vw, 2.65rem);
  }

  .contact-form {
    padding: 1rem;
  }

  .contact-form .btn-brand {
    width: 100%;
  }

  .contact-form .form-help {
    max-width: none;
    text-align: center;
  }
}


/* =========================================================
   Sezioni dopo la home: layout più compatto e proporzionato
   ========================================================= */
#servizi,
#metodo,
#lavori,
#recensioni,
#contatti {
  scroll-margin-top: var(--home-header-height, 118px);
}

#servizi.section-padding,
#metodo.section-padding,
#lavori.section-padding,
#recensioni.section-padding,
#contatti.section-padding {
  padding-block: clamp(58px, 5.6vw, 78px);
}

#servizi .section-heading,
#lavori .section-heading {
  max-width: 660px;
}

#servizi .section-heading .eyebrow,
#metodo .eyebrow,
#lavori .section-heading .eyebrow,
#recensioni .eyebrow,
#contatti .eyebrow {
  margin-bottom: .65rem;
}

#servizi .section-heading h2,
#metodo .display-title,
#lavori .section-heading h2,
#recensioni .section-heading h2,
#contatti h2 {
  margin-bottom: .65rem;
  font-size: clamp(2rem, 3.15vw, 3rem);
  line-height: 1.06;
}

#servizi .section-heading p,
#metodo .lead-copy,
#lavori .section-heading p,
#recensioni .section-heading p,
#contatti .col-lg-5 > p {
  font-size: .98rem;
  line-height: 1.52;
}

#servizi .row,
#lavori .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
  margin-top: .7rem !important;
}

#servizi .service-card {
  padding: 1.3rem;
  border-radius: 17px;
}

#servizi .service-icon {
  width: 46px;
  height: 46px;
  margin-bottom: .85rem;
  border-radius: 13px;
  font-size: 1.15rem;
}

#servizi .service-card h3 {
  margin-bottom: .4rem;
  font-size: 1.27rem;
}

#servizi .service-card p {
  min-height: 66px;
  margin-bottom: .75rem;
  font-size: .92rem;
  line-height: 1.48;
}

#servizi .service-tag {
  padding-top: .65rem;
  font-size: .7rem;
}

#metodo .row {
  --bs-gutter-x: clamp(2rem, 4vw, 4rem);
  --bs-gutter-y: 1.5rem;
}

#metodo .lead-copy {
  margin-bottom: 0;
}

#metodo .note-box {
  margin-top: 1.25rem;
  padding: 1.05rem 1.1rem 1rem 1.65rem;
  border-radius: 0 14px 14px 0;
}

#metodo .note-box > i {
  left: .72rem;
  top: .65rem;
  font-size: 1.55rem;
}

#metodo .note-box p {
  font-size: 1rem;
  line-height: 1.48;
}

#metodo .process-step {
  padding: 1rem 0;
  grid-template-columns: 52px 1fr;
  gap: .8rem;
}

#metodo .process-step h3 {
  margin-bottom: .2rem;
  font-size: 1.25rem;
}

#metodo .process-step p {
  font-size: .92rem;
  line-height: 1.45;
}

#lavori .work-card {
  border-radius: 18px;
}

#lavori .work-visual {
  min-height: 0;
}

#lavori .work-content {
  padding: 1rem 1.15rem 1.15rem;
}

#lavori .work-content h3 {
  margin: .18rem 0 .3rem;
  font-size: 1.32rem;
}

#lavori .work-content p {
  font-size: .9rem;
  line-height: 1.45;
}

#recensioni .row {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 1rem;
  margin-top: .7rem !important;
}

#recensioni .review-card {
  padding: 1.45rem;
  border-radius: 18px;
}

#recensioni .review-card blockquote {
  font-size: 1rem;
  line-height: 1.55;
}

#contatti.contact-section.section-padding {
  min-height: auto;
  padding-block: clamp(54px, 5vw, 72px);
}

#contatti .contact-layout {
  --bs-gutter-x: clamp(2rem, 4vw, 4rem);
  --bs-gutter-y: 1.5rem;
}

#contatti .contact-list {
  gap: .45rem;
  margin-top: 1rem;
}

#contatti .contact-form {
  padding: clamp(1rem, 1.55vw, 1.3rem);
  border-radius: 21px;
}

.site-footer {
  padding-block: 1.35rem;
  font-size: .9rem;
}

@media (max-width: 991.98px) {
  #servizi.section-padding,
  #metodo.section-padding,
  #lavori.section-padding,
  #recensioni.section-padding,
  #contatti.contact-section.section-padding {
    min-height: auto;
    padding-block: 56px;
  }

  #servizi .section-heading,
  #lavori .section-heading {
    max-width: 620px;
  }

  #servizi .service-card p {
    min-height: auto;
  }

  #metodo .row,
  #recensioni .row,
  #contatti .contact-layout {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
  }

  #recensioni .review-card {
    padding: 1.35rem;
  }

  #contatti .contact-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  #servizi.section-padding,
  #metodo.section-padding,
  #lavori.section-padding,
  #recensioni.section-padding,
  #contatti.contact-section.section-padding {
    padding-block: 44px;
  }

  #servizi .section-heading h2,
  #metodo .display-title,
  #lavori .section-heading h2,
  #recensioni .section-heading h2,
  #contatti h2 {
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  #servizi .section-heading p,
  #metodo .lead-copy,
  #lavori .section-heading p,
  #recensioni .section-heading p,
  #contatti .col-lg-5 > p {
    font-size: .93rem;
  }

  #servizi .service-card {
    padding: 1.1rem;
  }

  #metodo .process-step {
    padding: .85rem 0;
    grid-template-columns: 42px 1fr;
  }

  #lavori .work-visual {
    min-height: 0;
  }

  #lavori .work-stage {
    top: 9px;
    padding: .32rem .58rem;
    font-size: .62rem;
  }

  #lavori .work-stage-before {
    left: 9px;
  }

  #lavori .work-stage-after {
    right: 9px;
  }

  #recensioni .review-card {
    padding: 1.2rem;
  }

  #contatti .contact-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  #servizi.section-padding,
  #metodo.section-padding,
  #lavori.section-padding,
  #recensioni.section-padding,
  #contatti.contact-section.section-padding {
    padding-block: 38px;
  }

  #servizi .row,
  #lavori .row {
    --bs-gutter-y: .8rem;
  }

  #servizi .service-card h3,
  #metodo .process-step h3,
  #lavori .work-content h3 {
    font-size: 1.18rem;
  }

  #recensioni .review-card blockquote {
    font-size: .96rem;
  }

  .site-footer {
    padding-block: 1.1rem;
  }
}

/* Galleria compatta: esclusivamente tablet e desktop. */
@media (min-width: 768px) {
  #lavori.section-padding {
    padding-block: clamp(42px, 4vw, 58px);
  }

  #lavori .section-heading {
    max-width: 760px;
    margin-bottom: .25rem;
  }

  #lavori .section-heading .eyebrow {
    margin-bottom: .5rem;
  }

  #lavori .section-heading h2 {
    margin-bottom: .45rem;
  }

  #lavori .section-heading p {
    max-width: 720px;
    margin-bottom: 0;
    line-height: 1.42;
  }

  #lavori .row {
    --bs-gutter-x: .9rem;
    --bs-gutter-y: .9rem;
    margin-top: .45rem !important;
  }

  #lavori .work-visual {
    height: clamp(200px, 24vw, 280px);
    min-height: 0;
    aspect-ratio: auto;
  }

  #lavori .work-stage {
    top: 10px;
    display: inline-flex;
    min-height: 24px;
    padding: .34rem .65rem;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    line-height: 1;
    pointer-events: none;
  }

  #lavori .work-stage-before {
    left: 10px;
  }

  #lavori .work-stage-after {
    right: 10px;
  }

  #lavori .work-content {
    padding: .82rem 1rem .95rem;
  }

  #lavori .work-content small {
    font-size: .66rem;
  }

  #lavori .work-content h3 {
    margin: .12rem 0 .22rem;
    font-size: 1.18rem;
  }

  #lavori .work-content p {
    font-size: .84rem;
    line-height: 1.38;
  }
}

/* Immagini compatte e uniformi per le card dei servizi. */
#servizi .service-card.service-card-with-image {
  padding: 0;
  overflow: hidden;
}

#servizi .service-card-media {
  height: clamp(144px, 12vw, 168px);
  overflow: hidden;
  margin: 0;
  background: #102e27;
}

#servizi .service-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform .35s ease;
}

#servizi .service-card-media-bagno img,
#servizi .service-card-media-impianti img {
  object-position: center 38%;
}

#servizi .service-card-media-cartongesso img,
#servizi .service-card-media-clima img {
  object-position: center 42%;
}

#servizi .service-card-media-pittura img {
  object-position: center 50%;
}

#servizi .service-card-with-image:hover .service-card-media img {
  transform: scale(1.018);
}

#servizi .service-card-with-image .service-card-body {
  padding: .72rem 1.05rem .85rem;
}

#servizi .service-card-with-image .service-icon {
  width: 38px;
  height: 38px;
  margin-bottom: .48rem;
  border-radius: 10px;
  font-size: .95rem;
}

#servizi .service-card-with-image h3 {
  margin-bottom: .22rem;
  font-size: 1.14rem;
}

#servizi .service-card-with-image p {
  min-height: 0;
  margin-bottom: .48rem;
  font-size: .8rem;
  line-height: 1.34;
}

#servizi .service-card-with-image .service-tag {
  padding-top: .42rem;
  font-size: .62rem;
  line-height: 1.25;
}

/* Card della Home uniformate alle altre card: solo iPad e desktop. */
@media (min-width: 768px) {
  .home-trust {
    gap: clamp(10px, 1vw, 16px);
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .home-trust-item {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 17px;
    background: var(--ink);
    box-shadow: 0 12px 30px rgba(13, 42, 35, .14);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }

  .home-trust-item:hover {
    border-color: rgba(240, 199, 142, .4);
    box-shadow: 0 24px 44px rgba(13, 42, 35, .2);
    transform: translateY(-5px);
  }

  .home-trust-item + .home-trust-item::before {
    display: none;
  }

  .home-trust-icon {
    border: 1px solid rgba(240, 199, 142, .28);
    color: #f0c78e;
    background: rgba(255, 255, 255, .08);
  }

  .home-trust h2 {
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
  }

  .home-trust p {
    color: rgba(255, 255, 255, .68);
  }
}

/* Home ottimizzata esclusivamente per smartphone. */
@media (max-width: 575.98px) {
  .site-header .brand-services {
    display: block !important;
    margin-top: .2rem;
    overflow: hidden;
    font-size: clamp(.4rem, 1.7vw, .48rem);
    letter-spacing: .06em;
    text-overflow: ellipsis;
  }

  .home-hero {
    --mobile-header-height: 72px;
    --mobile-photo-height: 280px;
    overflow: hidden;
    margin-bottom: 0;
  }

  .home-hero-photo {
    height: var(--mobile-photo-height);
    background-position: 43% top;
  }

  .home-hero-inner {
    display: flex;
    min-height: max(280px, calc(100vh - var(--mobile-header-height) - var(--mobile-photo-height)));
    padding-top: 18px;
    padding-bottom: 20px;
    flex-direction: column;
  }

  .home-hero-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
  }

  .home-hero h1 {
    font-size: clamp(2.15rem, 10.2vw, 2.75rem);
    line-height: 1.02;
    letter-spacing: -.035em;
  }

  .home-title-line {
    width: 52px;
    height: 3px;
    margin: 12px 0 10px;
  }

  .home-hero-copy > p {
    font-size: .84rem;
    line-height: 1.35;
  }

  .home-hero-copy > p br {
    display: none;
  }

  .home-hero-actions {
    grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
    gap: 7px;
    margin-top: auto;
    margin-bottom: 44px;
    padding-top: 18px;
  }

  .home-hero-actions .btn,
  .home-hero-actions .btn-home-primary,
  .home-hero-actions .btn-home-outline {
    min-height: 44px;
    padding: .48rem .55rem;
    gap: 6px;
    border-radius: 8px;
    font-size: .78rem;
    white-space: nowrap;
  }

  .home-trust {
    display: none;
  }

  @supports (height: 100svh) {
    .home-hero-inner {
      min-height: max(280px, calc(100svh - var(--mobile-header-height) - var(--mobile-photo-height)));
    }
  }
}
