:root {
  --paper: #f5f6ef;
  --surface: #fbfcf8;
  --ink: #142c23;
  --muted: #4a5b51;
  --tint: #e9ede3;
  --line: #c5cfc5;
  --dark: #142c23;
  --dark-muted: #c8d5c9;
  --action: #173e2e;
  --action-hover: #23533f;
  --accent-ink: #285d45;
  --lime: #d9f39d;
  --header-offset: 76px;
}

html { scroll-padding-top: calc(var(--header-offset) + 14px); }
.site-header {
  padding: 0;
  border-bottom: 1px solid rgb(24 57 40 / 16%);
  background: var(--paper);
  pointer-events: auto;
}
@supports ((backdrop-filter: blur(10px)) or (-webkit-backdrop-filter: blur(10px))) {
  .site-header {
    background: rgb(247 248 241 / 93%);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
}
.home-page .site-header { margin-bottom: 0; }
.header__inner, .page-simple .site-header .wrap {
  min-height: calc(var(--header-offset) - 1px);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.site-header .brand { gap: .75rem; }
.brand img {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.brand__text { gap: .18rem; }
.brand__name { font-size: 1.24rem; line-height: 1; font-weight: 730; letter-spacing: -.065em; }
.brand__small { font-size: .72rem; letter-spacing: .09em; line-height: 1.15; }
.site-header .nav ul { gap: clamp(1.1rem, 2vw, 2.25rem); }
.site-header .nav a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 550;
  text-decoration: none;
}
.site-header .nav a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  height: 1px;
  inset-inline: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
}
.site-header .nav a:is(:hover, :focus-visible, [aria-current])::after { transform: scaleX(1); }
.site-header .header__actions { gap: clamp(.85rem, 2vw, 2rem); }
.site-header .nav__phone { font-weight: 550; min-height: 44px; }
.site-header .btn--small {
  min-height: 44px;
  padding-inline: 1.2rem;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -.025em;
  font-size: .92rem;
  box-shadow: none;
}
.site-header .btn--small svg { display: none; }
@media (max-width: 1180px) {
  .site-header .header__actions .nav__phone { display: none; }
}
@media (min-width: 801px) and (max-width: 960px) {
  .site-header .nav, .site-header .header__actions { display: none; }
  .site-header .mobile-nav { display: block; }
}
.page-simple .site-header + main { margin-top: 0; }
.mobile-nav summary { border: 0; border-radius: 0; background: transparent; font-weight: 590; padding-inline: .55rem 0; }
.mobile-nav__panel {
  inset-inline: calc((100vw - 100%) / -2);
  top: calc(100% + 1px);
  padding: .4rem var(--gutter) .75rem;
  background: var(--surface);
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: 0 14px 22px rgb(20 44 35 / 9%);
  max-height: calc(100dvh - var(--header-offset) - 75px);
  overflow-y: auto;
}
.mobile-nav__panel a { font-size: 1.08rem; font-weight: 550; line-height: 1.3; }
.menu-icon { position: relative; }
.mobile-nav[open] .menu-icon { height: 12px; border: 0; }
.mobile-nav[open] .menu-icon::before, .mobile-nav[open] .menu-icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto;
  height: 1.5px;
  background: currentColor;
  transform: rotate(45deg);
}
.mobile-nav[open] .menu-icon::after { transform: rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) {
  .site-header .nav a::after { transition: transform .22s ease; }
}
@media (max-width: 800px) {
  :root { --header-offset: 62px; }
  .site-header .brand { gap: .55rem; }
  .brand img { width: 36px; height: 36px; }
  .brand__name { font-size: 1.12rem; }
}
@media (max-width: 760px) {
  .mobile-bar {
    border-radius: 28px;
    border-color: rgb(23 62 46 / 20%);
    background: rgb(246 248 240 / 94%);
    box-shadow: 0 2px 16px rgb(20 44 35 / 14%);
  }
  .mobile-bar a { border-radius: 25px; }
}

.page-svc .svc-hero { background: var(--paper); border-bottom: 0; }
.svc-hero__grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 5vw, 6rem);
  padding-block: clamp(2.15rem, 4.8vw, 5rem);
}
.page-svc .crumbs {
  font-size: .84rem;
  gap: .55rem;
  margin-bottom: clamp(1.3rem, 2.4vw, 2.5rem);
}
.page-svc .label, .page-simple .label {
  letter-spacing: .095em;
  font-size: .78rem;
  font-weight: 650;
}
.svc-hero h1, .page-simple h1 {
  font-weight: 560;
  line-height: .99;
  letter-spacing: -.065em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.svc-hero h1 { font-size: clamp(2.45rem, 4.4vw, 4.7rem); }
.page-svc .svc-hero .accent { color: #3a654c; }
.page-svc .svc-hero__lead { margin-top: 1.15rem; max-width: 59ch; }
.svc-hero__lead p + p { margin-top: .55em; }
.page-svc .hero__ctas { margin-top: clamp(1.2rem, 2vw, 1.8rem); }
.page-svc .btn { font-weight: 640; box-shadow: none; }
.svc-hero__img, .compare-fallback, .page-svc .compare {
  border-radius: 3px;
  border: 0;
  box-shadow: none;
}
.svc-hero__img img { aspect-ratio: 1.05; }
.svc-hero__img figcaption, .compare-fallback figcaption, .rel__img figcaption {
  border-radius: 2px;
  inset: auto auto .7rem .7rem;
  color: #fff;
  background: #19382ce8;
  font-size: .78rem;
  font-weight: 540;
}
.svc-hero__img figcaption a { display: inline-flex; align-items: center; min-height: 36px; padding-inline: .35rem; }
.svc-hero__img figcaption a:focus-visible { outline-color: #fff; outline-offset: 0; }
.service-index { border-block: 1px solid var(--line); column-gap: clamp(1rem, 3.7vw, 4rem); }
.service-index a { color: var(--ink); font-weight: 570; }
.practice-plates {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
}
.practice-plates label {
  display: grid;
  place-items: center;
  min-height: 46px;
  padding: .35rem .2rem;
  border-bottom: 2px solid var(--line);
  color: var(--muted);
  font-size: clamp(.82rem, 1.2vw, .98rem);
  font-weight: 630;
  cursor: pointer;
}
.practice-plates label:first-of-type { border-top-left-radius: 5px; }
.practice-plates label:last-of-type { border-top-right-radius: 5px; }
.practice-plates input:checked + label { border-color: var(--action); background: var(--action); color: white; }
.practice-plates input:focus-visible + label { outline: 2px solid currentColor; outline-offset: -5px; }
.practice-plates__view { display: none; grid-column: 1 / -1; border-radius: 0 0 5px 5px; }
#scegli-documenti:checked ~ #tavola-documenti,
#scegli-difformita:checked ~ #tavola-difformita,
#scegli-procedure:checked ~ #tavola-procedure { display: block; }
.interiors-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: .8rem 2rem;
  margin-bottom: clamp(1.25rem, 3vw, 2.4rem);
}
.interiors-head .label { margin-bottom: .65rem; }
.interiors-head .link-arrow { min-height: 44px; }
.interiors-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 2rem); }
.interiors-views figure { margin: 0; }
.interiors-views img { border-radius: 3px; display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.interiors-views figcaption { margin-top: .65rem; color: var(--ink); font-weight: 570; }
@media (max-width: 700px) {
  .interiors-views { grid-template-columns: 1fr; gap: 1.5rem; }
}
.page-svc .section--tint { background: var(--tint); }
.page-svc :is(.svc-h2, .section-head h2, .contact h2) { font-weight: 565; line-height: 1.01; }
.page-svc :is(.duo__card, .rel) { border-radius: 2px; box-shadow: none; background: var(--surface); }
.page-svc .duo__card--green { background: #e2ead8; }
.page-svc .svc-h2 + .psteps { margin-top: clamp(1.4rem, 3vw, 2.7rem); }
.page-svc .psteps a[data-servizio] { display: block; width: fit-content; margin-top: .85rem; font-weight: 630; text-decoration: underline; text-underline-offset: .22em; }
@media (min-width: 761px) {
  .page-svc .psteps--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 5rem); }
}
.page-svc .psteps li { border-top: 1px solid #53705d; }
.page-svc .contact { background: var(--dark); }
.page-svc .form { border-radius: 4px; box-shadow: none; background: var(--surface); }
.page-svc .field :is(input, select, textarea) { border-radius: 3px; }
.page-simple .page-hero { background: var(--tint); }

.site-footer {
  background: #10271e;
  padding-block: clamp(2.5rem, 5vw, 5.5rem) 1.5rem;
  border-top: 1px solid #456050;
}
.footer__grid { gap: 1.65rem; }
.footer-logo img { background: transparent; border-radius: 50%; max-width: 76px; }
.footer__grid h2 { font-size: 1.12rem; font-weight: 610; }
.footer__grid p, .footer__grid ul { font-size: .92rem; }
.footer__grid ul { margin-top: .85rem; }
.footer__grid a:hover { color: #d9f39d; }
.footer__legal { margin-top: 2rem; padding-top: 1.2rem; }
@media (max-width: 760px) {
  .svc-hero__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .svc-hero__img img { aspect-ratio: 3 / 2; }
}
@media (max-width: 420px) {
  .page-svc .psteps { grid-template-columns: 1fr; }
}

/* Section links and service menus in the shared header. */
.site-header .nav > ul { align-items: center; gap: clamp(.7rem, 1.25vw, 1.45rem); }
.nav-group { position: relative; }
.site-header .nav-group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: .4rem;
  min-height: 44px; padding: .6rem 0; font: inherit; font-size: .9rem; font-weight: 550;
  list-style: none; cursor: pointer; color: inherit;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after { content: ""; width: .42em; height: .42em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.nav-group[open] > summary::after { transform: rotate(225deg); }
.site-header .nav .nav-group ul {
  display: grid; gap: 0; position: absolute; z-index: 2; top: 100%; left: -.9rem;
  width: max-content; max-width: 21rem; padding: .35rem .9rem; background: var(--surface);
  border: 1px solid var(--line); border-radius: 4px; box-shadow: 0 8px 24px #16382818;
}
.site-header .nav-group li + li { border-top: 1px solid var(--line); }
.site-header .nav .nav-group a { width: 100%; white-space: normal; }
.mobile-nav__panel .nav-group > summary { font-size: 1.08rem; }
.mobile-nav__panel .nav-group ul { padding-left: 1rem; }
.site-header .mobile-nav__panel .nav-group a { font-size: .96rem; }
@media (max-width: 1340px) { .site-header .header__actions .nav__phone { display: none; } }
@media (max-width: 1100px) {
  .site-header .nav, .site-header .header__actions { display: none; }
  .site-header .mobile-nav { display: block; }
}

.service-context { max-width: 70ch; margin: 1rem 0 1.8rem; color: var(--muted); }
