:root {
  --bg: #0f172a;
  --bg-soft: #f8fafc;
  --accent: #f59e0b;
  --accent-2: #14b8a6;
  --text: #0f172a;
  --text-light: #e2e8f0;
  --muted: #94a3b8;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text-light);
  background: var(--bg);
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Inter", "Montserrat", "Manrope", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 1px;
}

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

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

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

#preventivo {
  scroll-margin-top: 100px;
}
/* =========================
          HEADER
========================= */
/* Header: wrapper fisso in alto e transizione stato normale/scrolled */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  z-index: 50;
  transition: all 0.3s ease;
  color: #fff;
}

/* Header: aspetto dello stato scrolled */
.site-header.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

/* Header: riduzione spazio interno in scroll */
.site-header.scrolled .header-inner {
  padding: 0;
  min-height: 65px;
  position: relative;
}

/* Header: logo ridotto quando si scrolla */
.site-header.scrolled .brand img {
  height: 45px !important;
  width: auto;
}

/* Header: layout interno (logo, menu, lingua) */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  gap: 2rem;
  width: min(1200px, 92vw);
  margin: 0 auto;
  min-height: 100px;
  transition: min-height 0.3s ease;
}

/* Header: blocco logo + contatti rapidi */
.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* Header: contenitore link brand/logo */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* Header: dimensione base logo in stato iniziale */
.brand img {
  height: 88px;
  width: auto;
  transition: all 0.4s ease;
  object-fit: contain;
  transform: none;
}

.header-contact-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
  position: relative;
  top: -1px;
}

.header-contact-icons a,
.mobile-nav-quick-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid #00338d;
  background: #00338d;
  padding: 0;
  color: #ffffff;
  line-height: 0;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.header-contact-icons svg,
.mobile-nav-quick-actions svg {
  display: block;
  fill: #ffffff;
  flex-shrink: 0;
}

.icon-phone svg {
  width: 20px;
  height: 20px;
  position: relative;
  right:1px;
  top:0.5px;
}

.icon-mail svg {
  width: 15px;
  height: 15px;
}

.icon-instagram svg {
  width: 16px;
  height: 16px;
}

/* Header: menu */
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px; /* Leggermente più spazio tra i link per eleganza */
  font-weight: 600;
  flex: 0 1 auto;
  /* Spostiamo il menu verso destra: */
  margin-left: auto;
  margin-right: 0;
  transition: all 0.3s ease-in-out;
}

.site-header.scrolled .nav-links {
 position: absolute;
  left: 50%;
  /* Ridotto a +45px per centrarlo meglio visivamente rispetto alle icone */
  transform: translateX(calc(-50% + 50px)); 
  width: max-content;
  margin: 0;
  z-index: 1;
  gap: 26px;
}

.site-header.scrolled .lang-switch {
  margin-left: auto;
  position: relative;
  z-index: 2;
}

.site-header.scrolled .header-contact-icons {
  opacity: 1;
  pointer-events: auto;
}

.header-contact-icons a:hover {
  background:#002a73;
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,51,141,.30);
}

.site-header.scrolled .header-contact-icons a {
  background-color: #00338d;
  border-color: #00338d;
}

.site-header.scrolled .header-contact-icons a:hover {
  background: #00338d;
  color: #ffffff;
}

/* Header: stile singolo link menu */
.nav-links a {
  position: relative;
  padding-bottom: 4px;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.2s ease;
}

.site-header.scrolled .nav-links a {
  color: #1a237e;
}

/* Header: underline animata sui link menu */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #7ec8ff;
  transition: width 0.2s ease;
}

/* Header: espansione underline al passaggio mouse */
.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #7ec8ff;
}

/* Header: blocco selezione lingua */
.lang-switch {
  position: relative;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: 16px;
}

.mobile-header-actions {
  display: flex;
  align-items: center;
  margin-left: auto;
  gap: 14px;
}

.mobile-menu-toggle,
.mobile-nav-close {
  display: none;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  padding: 0;
  margin-right: 0;
  cursor: pointer;
}

.mobile-nav-close svg {
  width: 28px;
  height: 28px;
  display: block;
}

.menu-icon-mobile {
  display: block;
  font-size: 32px;
  line-height: 1;
  color: #ffffff;
}

.site-header.scrolled .menu-icon-mobile {
  color: #1a237e;
}

.site-header.scrolled .mobile-menu-toggle {
  margin-right: 20px;
}

.mobile-nav-backdrop,
.mobile-nav-panel {
  display: none;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1100;
}

.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100vh;
  background: #ffffff;
  box-shadow: -18px 0 42px rgba(15, 23, 42, 0.16);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  z-index: 1101;
  padding: 24px 22px 32px;
  flex-direction: column;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 32px;
  width: 100%;
  padding: 0 10px;
}

.mobile-nav-links a {
  color: #1a237e;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  padding: 14px 0;
  border-bottom: 1px solid #6f8dc6;
}

.mobile-nav-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  width: 100%;
  padding: 16px 10px 8px;
}

.mobile-nav-quick-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.mobile-nav-quick-actions a:hover {
  background: #002a73;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 51, 141, 0.3);
}

.mobile-nav-brandmark {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mobile-nav-brandmark img {
  width: min(264px, 100%);
  height: auto;
  object-fit: contain;
}

body.mobile-nav-open {
  overflow: hidden;
}

body.mobile-nav-open .mobile-nav-backdrop {
  opacity: 1;
  pointer-events: auto;
}

body.mobile-nav-open .mobile-nav-panel {
  transform: translateX(0);
}

/* Header: trigger lingua (bandiera + testo) */
.lang-switch .flag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: inherit;
  cursor: pointer;
}

.lang-switch .flag::before,
.lang-switch .flag::after {
  content: none !important;
  display: none !important;
}

/* Header: dimensione icona bandiera */
.lang-switch .flag-icon {
  display: inline-block;
  width: 24px;
  font-style: normal;
  font-size: 1.3rem;
  line-height: 1;
  margin: 0;
  padding: 0;
}

/* Header: menu lingua secondaria (dropdown) */
.lang-switch .dropdown {
  position: absolute;
  top: 120%;
  left: 50%;
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  color: #fff;
  border-radius: 8px;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  line-height: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
  transform: translateX(-50%);
}

.lang-switch .dropdown::before {
  content: "";
  position: absolute;
  top: -25px;
  left: 0;
  width: 100%;
  height: 25px;
  background: transparent;
}

.site-header.scrolled .lang-switch .dropdown {
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.lang-switch .dropdown a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-switch .dropdown img {
  width: 19px !important;
  height: 12px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 1px;
  filter: brightness(1);
  transition: filter 0.2s ease;
}

.lang-switch .dropdown .flag-icon {
  width: auto !important;
  line-height: 0 !important;
}

.lang-flag {
  display: block;
  width: 24px;
  height: auto;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}

/* Header: visualizzazione dropdown su hover */
.lang-switch:hover .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 2px);
}

.lang-switch .dropdown .lang-flag {
  width: 20px !important;
  height: 12px !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 1px;
  filter: brightness(1);
  transition: filter 0.2s ease;
}

.lang-switch .dropdown:hover {
  background: rgba(255, 255, 255, 0.08);
}

.lang-switch .dropdown:hover img,
.lang-switch .dropdown:hover .lang-flag {
  filter: brightness(1.1);
}

@media (max-width: 1078px) {
  .site-header:not(.scrolled) {
    padding: clamp(6px, calc(6px + (100vw - 480px) * 0.033), 20px) 0;
  }

  /* Header: riduzione spaziature su tablet/mobile */
  .header-inner,
  .header-inner.px-6,
  .site-header.scrolled .header-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .header-inner {
    min-height: clamp(72px, calc(72px + (100vw - 480px) * 0.0667), 100px);
    gap: clamp(0.75rem, 1.6vw, 1rem);
  }

  .site-header:not(.scrolled) .brand img {
    height: clamp(56px, calc(56px + (100vw - 480px) * 0.0762), 88px);
    width: auto;
  }
  .nav-links {
    display: none;
  }

  .mobile-header-actions {
    gap: 12px;
  }

  .lang-switch {
    display: inline-flex;
    margin-left: 0;
  }

  .site-header.scrolled .lang-switch {
    margin-left: 0;
  }

  .mobile-menu-toggle,
  .mobile-nav-close,
  .mobile-nav-backdrop,
  .mobile-nav-panel {
    display: flex;
  }

  .site-header.scrolled .mobile-menu-toggle {
    margin-right: 0;
  }

  .mobile-nav-close {
    align-self: flex-end;
  }

  .header-contact-icons {
    display: none !important;
    margin: 0;
  }
}

@media (min-width: 1079px) and (max-width: 1240px) {
  .site-header.scrolled .header-inner {
    padding: 0 16px;
  }
}

@media (min-width: 1079px) {
  .site-header:not(.scrolled) .header-inner.px-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .site-header.scrolled .header-inner,
  .site-header.scrolled .header-inner.px-6 {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 900px) {
  .site-header.scrolled {
    padding: clamp(4px, calc(4px + (100vw - 480px) * 0.0143), 10px) 0;
  }

  .site-header.scrolled .header-inner {
    min-height: clamp(48px, calc(48px + (100vw - 480px) * 0.0405), 65px);
  }

  .site-header.scrolled .brand img {
    height: clamp(38px, calc(38px + (100vw - 480px) * 0.0167), 45px) !important;
  }
}

@media (max-width: 768px) {
  .px-6 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .mobile-menu-toggle {
    margin-right: 0;
  }

  .site-header.scrolled .header-inner {
    padding: 0 1.25rem;
  }

}

@media (max-width: 480px) {
  .site-header {
    padding: 6px 0 !important;
  }

  .site-header.scrolled {
    padding: 4px 0;
  }

  .px-6 {
    padding-left: 0;
    padding-right: 0;
  }

  .header-inner.px-6, 
  .site-header.scrolled .header-inner {
    padding: 0 8px !important;
    min-height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }

  .header-contact-icons {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
  }

  /* Spostiamo il LOGO più a sinistra */
  .brand-wrapper {
    margin-left: 0;
    flex-shrink: 1;
    min-width: 0;
  }

  .brand {
    margin: 0;
  }
  
  .site-header:not(.scrolled) .brand img {
    width: clamp(170px, 60vw, 225px);
  }
    
  .brand img {
    width: auto;
    max-width: none;
    min-width: 0;
    height: auto;
  }

  .site-header.scrolled .brand img {
    height: 38px !important;
  }

  /* Spostiamo BANDIERA + HAMBURGER più a destra */
  .mobile-header-actions {
    margin-left: auto;
    margin-right: 0 !important;
    gap: 10px;
    display: flex;
    align-items: center;
  }

  .mobile-menu-toggle {
    margin-right: 0 !important;
    padding: 0;
  }

  .site-header.scrolled .mobile-menu-toggle {
    margin-right: 0 !important;
    transform: none;
  }

  .lang-switch .dropdown {
    width: 32px !important;
    height: 32px !important;
  }

  .lang-switch .dropdown img {
    width: 16px !important;
    height: 10px !important;
  } 
}

.hero {
  position: relative;
  min-height: 100vh;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 180px 0 110px;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 16px;
  transform: translateY(68px);
  text-align: left;
}

.hero h1 {
  font-family: "Montserrat", "Poppins", "Inter", "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 5px;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background-color: #00a3e0;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(0, 163, 224, 0.35);
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-outline {
  border: 1px solid #fff;
  color: #fff;
  background: transparent;
}

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

.section {
  padding: 96px 0;
  background: var(--bg-soft);
  color: var(--text);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 20px;
}

.trust-bar {
  --trust-slant-height: 170px;
  --trust-brand-width: clamp(90px, 15vw, 240px);
  --trust-brand-height: clamp(34px, 4.8vw, 72px);
  margin-top: 0;
  border-top: 170px solid #ffffff;
  padding: 24px 0;
  background: #d3e7f6;
  color: var(--text);
  position: relative;
}

.trust-bar::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(-1 * var(--trust-slant-height));
  width: 100%;
  height: var(--trust-slant-height);
  background: #dff5fb;
  clip-path: polygon(0 0, 86% 46%, 100% 100%, 0 100%);
  z-index: 0;
  pointer-events: none;
}

.trust-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(-1 * var(--trust-slant-height));
  width: var(--trust-brand-width);
  height: var(--trust-brand-height);
  background: #00a3da;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
  pointer-events: none;
}

.trust-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 370px));
  justify-content: center;
  gap: 14px;
  align-items: start;
}

.trust-item {
  margin: 0;
  width: 100%;
}

.trust-item-featured {
  width: 370px;
  max-width: 100%;
  justify-self: center;
}

.trust-image-frame {
  overflow: hidden;
  background: #dbeafe;
  width: 100%;
  height: 370px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.trust-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.trust-label {
  margin-top: 10px;
  font-family: "Dosis", "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 2.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #1a237e;
  text-align: center;
  text-transform: none;
}

.about-home {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  color: #0f172a;
  padding-top: 140px;
  padding-bottom: 88px;
}

.about-home .container {
  width: min(1120px, 90vw);
}

.about-home + .section .container {
  width: min(1120px, 90vw);
  padding: 0 28px;
}

.about-home + .section {
  padding-top: 66px;
}

.about-home-header {
  display: flex;
  justify-content: center;
  margin-bottom: 42px;
}

.about-home-title {
  position: relative;
  margin: 0;
  padding: 0 20px 8px;
  font-family: "Dosis", "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
  color: #0f172a;
}

.about-home-title::before,
.about-home-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(48px, 7vw, 84px);
  height: 1px;
  background: rgba(15, 23, 42, 0.2);
}

.about-home-title::before {
  right: 100%;
}

.about-home-title::after {
  left: 100%;
}

.about-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  padding: 0 28px;
  align-items: stretch;
}

.about-home-copy {
  height: 100%;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 1.04rem;
  line-height: 1.9;
  color: #213047;
}

.about-home-copy p {
  margin: 0 0 20px;
}

.about-home-copy p:last-child {
  margin-bottom: 0;
}

.about-home-media {
  position: relative;
  overflow: hidden;
  min-height: 0;
  background: #e8f2fb;
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.14);
}

.about-home-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 900px) {
  .trust-items {
    grid-template-columns: repeat(2, minmax(0, 370px));
  }

  .about-home {
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .about-home-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 0;
  }

  .about-home + .section .container {
    padding: 0;
  }

  .about-home-media {
    order: -1;
    min-height: 320px;
  }

  .about-home-media img {
    position: absolute;
    inset: 0;
  }
}

@media (max-width: 640px) {
  .trust-bar {
    --trust-slant-height: 56px;
    --trust-brand-width: clamp(82px, 26vw, 150px);
    --trust-brand-height: clamp(28px, 8vw, 52px);
    margin-top: 0;
    border-top-width: 56px;
    padding: 24px 0;
  }

  .trust-items {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .trust-item-featured {
    max-width: none;
  }
}

.cta-box {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow);
}

.cta-box h3 {
  margin: 0 0 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.services-showcase {
  background:
    radial-gradient(circle at top left, rgba(126, 200, 255, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #f6f8fc 100%);
  padding-top: 85px;
  padding-bottom: 120px;
}

body[data-route="servizi"] .services-showcase + .section {
  padding-top: 0;
}

body[data-route="servizi"] .services-showcase + .section .section-title {
  margin-top: 0;
  font-family: "Montserrat", "Poppins", "Inter", "Manrope", "Segoe UI", sans-serif;
  letter-spacing: -1px;
  text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
}

.services-showcase-layout {
  display: flex;
  gap: 34px;
  align-items: stretch;
}

.services-columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-content: start;
  justify-content: start;
  min-width: 0;
  flex: 1 1 0;
}

.service-feature {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: start;
  gap: 16px;
  padding: 8px 0;
  margin: 0;
}

.service-feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #00338d;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.service-feature-icon i {
  font-size: 1.3rem;
  line-height: 1;
}

.icon-eventi {
  width: 25px;
  height: 25px;
}

.icon-sport-court {
  width: 32px;
  height: 20px;
}

.service-feature-copy h3 {
  margin: 0 0 6px;
  font-size: 1.16rem;
  line-height: 1.2;
  font-family: "Montserrat", "Inter", "Manrope", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: underline;
  text-underline-offset: 1px;
  text-decoration-thickness: 1.5px;
  color: #0f172a;
}

.service-feature-copy ul {
  margin: 0;
  padding-left: 18px;
  color: #0f172a;
  line-height: 1.5;
  font-size: 1rem;
}

.service-feature-copy li {
  margin: 0 0 2px;
}

.service-feature-copy li:last-child {
  margin-bottom: 0;
}

.services-showcase-media {
  position: relative;
  align-self: stretch;
  overflow: hidden;
  min-width: 0;
  flex: 1 1 0;
}

.services-showcase-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

.service-card {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(20, 184, 166, 0.15);
  display: grid;
  place-items: center;
  color: var(--accent-2);
  margin-bottom: 14px;
  font-weight: 700;
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
  margin-top: 60px;
}

@media (max-width: 900px) {
  .services-showcase {
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .services-showcase-layout {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: start;
  }

  .services-columns,
  .services-showcase-media {
    flex: none;
    width: 100%;
  }

  .services-showcase-media {
    order: -1;
    display: block;
    position: static;
    align-self: start;
    overflow: visible;
    width: min(100%, 640px);
  }

  .services-showcase-media img {
    position: static;
    inset: auto;
    width: 100%;
    height: clamp(260px, 46vw, 360px);
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 640px) {
  .services-showcase-media img {
    height: clamp(220px, 58vw, 300px);
  }

  .service-feature {
    grid-template-columns: 54px 1fr;
    gap: 14px;
    padding: 8px 0;
  }

  .service-feature-icon {
    width: 46px;
    height: 46px;
  }

  .service-feature-copy h3 {
    font-size: 1.05rem;
  }

  .service-feature-copy ul {
    padding-left: 16px;
    line-height: 1.45;
    font-size: 0.96rem;
  }
}

.fleet-card {
  background: transparent;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fleet-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 370px;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 auto;
}

.fleet-content {
  padding: 20px 0 0;
  width: min(100%, 370px);
}

.fleet-content h3 {
  margin: 0;
  font-family: "Dosis", "Manrope", "Segoe UI", sans-serif;
  font-size: clamp(1.02rem, 1.35vw, 1.32rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.22;
  text-align: center;
  color: #0f172a;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.gadget-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.gadget {
  background: rgba(15, 23, 42, 0.08);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .fleet-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
}

@media (max-width: 640px) {
  .fleet-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.contact-card {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-card iframe {
  width: 100%;
  border: 0;
  border-radius: 16px;
  height: 260px;
  margin-top: 16px;
}

body[data-route="sedi-e-contatti"] .contatti-section {
  background-color: #f8fafc;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.18) 1px, transparent 1px);
  background-size: 18px 18px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: calc(100vh - 120px);
  height: auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
}

body[data-route="sedi-e-contatti"] .contatti-section .container {
  width: min(1600px, 96vw);
  height: auto;
  display: flex;
  align-items: center;
}

body[data-route="sedi-e-contatti"] .two-col {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  min-height: 0;
  height: auto;
  max-width: 1600px;
  gap: 40px;
}

body[data-route="sedi-e-contatti"] .contatti-journey {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  width: 100%;
  max-width: 1000px;
}

body[data-route="sedi-e-contatti"] .contatti-journey-inner {
  position: relative;
  width: min(100%, 700px);
  aspect-ratio: 360 / 520;
}

body[data-route="sedi-e-contatti"] .contatti-scene {
  width: 100%;
  display: block;
  overflow: visible;
}

body[data-route="sedi-e-contatti"] .contatti-map-image {
  opacity: 0.3;
}

body[data-route="sedi-e-contatti"] .italy-route {
  fill: none;
  stroke: #007bff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 5 5;
  stroke-dashoffset: 260;
  animation: route-draw 12s linear infinite;
}

body[data-route="sedi-e-contatti"] .contatti-bus-svg {
  overflow: visible;
}

body[data-route="sedi-e-contatti"] .contact-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  width: 450px;
  max-width: 450px;
  flex: 0 0 450px;
}

body[data-route="sedi-e-contatti"] .contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

body[data-route="sedi-e-contatti"] .contact-card h2 {
  font-size: 2.2rem;
  font-family: "Montserrat", "Poppins", "Inter", "Manrope", "Segoe UI", sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #0f172a;
}

body[data-route="sedi-e-contatti"] .contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 10px;
}

body[data-route="sedi-e-contatti"] .contact-icon {
  width: 18px;
  height: 18px;
  color: #0f172a;
  flex-shrink: 0;
  margin-top: 2px;
}

body[data-route="sedi-e-contatti"] .contact-card a {
  transition: color 0.25s ease;
}

body[data-route="sedi-e-contatti"] .contact-card a:hover {
  color: #00a3e0;
}

body[data-route="sedi-e-contatti"] .map-frame {
  margin-top: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

body[data-route="sedi-e-contatti"] .map-frame iframe {
  margin-top: 0;
  border-radius: 0;
  height: 250px;
}

@keyframes route-draw {
  0% {
    stroke-dashoffset: 360;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@media (max-width: 975px) {
  body[data-route="sedi-e-contatti"] .contatti-section {
    min-height: auto;
    height: auto;
    padding: 64px 0;
  }

  body[data-route="sedi-e-contatti"] .contatti-section .container {
    height: auto;
  }

  body[data-route="sedi-e-contatti"] .two-col {
    min-height: auto;
    height: auto;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  body[data-route="sedi-e-contatti"] .contatti-journey {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    order: 2;
    min-height: 420px;
    width: 100%;
    max-width: 560px;
  }

  body[data-route="sedi-e-contatti"] .contatti-journey-inner {
    width: min(100%, 520px);
    min-height: 420px;
  }

  body[data-route="sedi-e-contatti"] .contact-card {
    width: 100%;
    max-width: 450px;
    flex: 0 0 auto;
  }
}

@media (max-width: 900px) {
  body[data-route="sedi-e-contatti"] .contatti-journey {
    display: none;
  }
}

.form-section {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  max-width: 680px !important;
  margin: 0 auto 50px auto !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

body[data-route="preventivo"] .form-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

body[data-route="preventivo"] .form-grid .messaggio-field {
  grid-column: span 2;
}

body[data-route="preventivo"] .form-section .section-title {
  margin-bottom: 35px;
  text-align: left;
  font-family: "Inter", "Montserrat", "Manrope", "Segoe UI", sans-serif;
  font-weight: 600;
}

@media (max-width: 768px) {
  .form-section {
    max-width: 95% !important;
  }

  body[data-route="preventivo"] .form-grid {
    grid-template-columns: 1fr;
  }

  body[data-route="preventivo"] .form-grid .messaggio-field {
    grid-column: auto;
  }
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

input,
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.95rem;
  background-color: #f1f5f9;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #64748b;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #00a3e0;
  background-color: #ffffff;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

/* =========================
          FOOTER
========================= */

.site-footer{
  background:#0f172a;
  color:#e2e8f0;
  padding: 60px 0;
}

.footer-container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  /* 3 parti al logo, 1 ai contatti, 1 ai social per evitare sfasamenti */
  grid-template-columns: 1.5fr 1fr 1fr; 
  gap: 50px;
  align-items: start;
}

/* BRAND: LOGO E SOTTOTITOLO */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: start;
  width: 100%;            /* Occupa lo spazio della colonna */
  max-width: 450px;       /* DEVE essere uguale alla max-width dell'img */  
}

.footer-brand img {
  width: 100%;
  max-width: 450px; /* La dimensione che desideravi */
  height: auto;
  display: block;
  /* Se il ritaglio è perfetto, non serve margin negativo. 
     Se c'è ancora un filo di spazio sotto, usa: margin-bottom: -5px; */
}

.footer-brand p {
  margin: 18px 0 0 0;
  width: 100%;
  text-align: center;
  padding-right: 18px; /* Il tuo compenso per il logo */
  font-size: 1.1rem;
  color: #94a3b8;
  text-transform: uppercase;
  
  /* UNICA RIGA PER IL LETTER SPACING */
  letter-spacing: 4px !important; 
}

/* COLONNE TITOLI */
.site-footer h4 {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
}

/* CONTATTI E LINK */
.footer-info-text, .footer-links {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer a {
  display: inline-flex;
  transition: all 0.3s ease;
  text-decoration: none;
}

.site-footer a:hover {
  color: #38bdf8 !important;
  transform: translateX(5px) !important;
}

.footer-info-text a[href^="mailto:"]:hover {
  text-decoration: underline;
}

.social-link {
  gap: 4px;
}

/* COPYRIGHT BAR */
.footer-copy-wrapper {
  margin-top: 60px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.footer-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  color: #94a3b8;
  font-size: 0.85rem;
  line-height: 1.35;
  opacity: 0.8;
}

.footer-copy-separator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
}

.footer-copy-text,
.footer-vat {
  display: inline-flex;
  align-items: center;
}

@media (min-width: 769px) {
  .footer-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }

  .footer-vat {
    order: 1;
  }

  .footer-copy-text {
    order: 2;
  }

  .footer-copy-separator {
    display: none;
  }

  .footer-copy-text {
    display: inline;
    text-align: left;
  }

  .footer-copy-prefix,
  .footer-copy-name {
    display: inline;
  }

  .footer-copy-name {
    margin-left: 0.25ch;
  }

  .footer-vat {
    display: inline;
    text-align: left;
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr; /* Compensa schermi medi */
  }
}

@media (max-width: 850px) {
  .footer-grid {
    grid-template-columns: 1fr; /* Tutto in colonna su mobile */
    text-align: center;
    gap: 50px;
  }

  .footer-brand {
    align-items: center;
    justify-self: center;
    margin: 0 auto;
  }
  
  .footer-brand img {
    max-width: 80%; /* Si adatta meglio su telefoni */
    margin: 0 auto;
  }

  .footer-brand p {
    padding-right: 0;
    margin-left: 0;
    text-align: center;
    letter-spacing: 2px !important;
  }

  .footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .site-footer a {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .footer-copy {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    flex-wrap: nowrap;
    font-size: 0.6875rem;
  }

  .footer-copy-text,
  .footer-vat,
  .footer-copy-separator {
    order: initial;
  }

  .footer-copy-text,
  .footer-vat {
    flex: 0 1 auto;
    min-width: 0;
    margin: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-copy-text {
    display: inline;
  }

  .footer-copy-separator {
    display: none;
  }

  .footer-copy-prefix,
  .footer-copy-name {
    display: inline;
    width: auto;
    white-space: normal;
  }

  .footer-copy-name {
    margin-left: 0.25ch;
  }

  .footer-vat {
    white-space: nowrap;
  }
}

/* =========================
         FINE FOOTER
========================= */

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 1200px;
}

@media (min-width: 1300px) {
  .container {
    width: min(1360px, 94vw);
  }

  .header-inner {
    width: min(1360px, 94vw);
  }

  .max-w-7xl {
    max-width: 1360px;
  }

  .footer-container {
    width: min(1360px, 94vw);
  }
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

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

.gap-12 {
  gap: 3rem;
}

.gap-16 {
  gap: 4rem;
}


@media (min-width: 768px) {
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
/* =========================
          WHATSAPP
========================= */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 60;
  font-size: 0;
  line-height: 0;
  color: #fff;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.whatsapp-fab:hover {
  opacity: 1;
  transform: scale(1.1);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  margin-left: 1px; 
  margin-top: 1px;
}
/*========================= */

.page-hero {
  position: relative;
  min-height: 52vh;
  color: #fff;
  display: flex;
  align-items: flex-end;
  padding: 210px 0 60px;
  background-size: cover;
  background-position: center;
}

.page-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Hero Section Contatti */
.contatti-hero {
  position: relative;
  min-height: auto !important;
  height: auto !important;
  display: block !important;
  padding: 0 !important;
  overflow: hidden;
  background: #0f172a;
}

.contatti-hero .page-hero-media {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  display: block !important;
  object-fit: contain !important;
  z-index: 1;
}

.contatti-hero .content {
  position: absolute !important;
  bottom: 5%;
  left: 0;
  right: 0;
  z-index: 3;
  text-align: left;
  transform: translateY(40px);
}

.contatti-hero .overlay {
  position: absolute !important;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.26) 0%,
    rgba(0, 0, 0, 0.08) 42%,
    rgba(0, 0, 0, 0.04) 72%,
    rgba(0, 0, 0, 0.18) 100%
  ) !important;
}

body[data-route="sedi-e-contatti"] .page-hero h1 {
  font-family: "Montserrat", "Poppins", "Inter", "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 5px !important;
}

body[data-route="sedi-e-contatti"] .page-hero p {
  margin-top: 1em !important;
  font-size: 1.1rem;
  font-weight: 500;
}

body[data-route="sedi-e-contatti"] .page-hero h1,
body[data-route="sedi-e-contatti"] .page-hero p {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 0.5);
}

body[data-route="servizi"] .page-hero h1 {
  font-family: "Montserrat", "Poppins", "Inter", "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 5px !important;
}

body[data-route="servizi"] .page-hero p {
  margin-top: 0.82em !important;
  font-size: 1.1rem;
  font-weight: 500;
}

body[data-route="servizi"] .page-hero h1,
body[data-route="servizi"] .page-hero p {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 1), 0 0 20px rgba(0, 0, 0, 0.5);
}

@media (min-width: 901px) {
  .contatti-hero .page-hero-media {
    height: clamp(480px, 43vw, 635px) !important;
    object-fit: cover !important;
    object-position: center center;
  }
}

@media (max-width: 1000px) {
  .contatti-hero .content {
    text-align: left;
  }

  body[data-route="sedi-e-contatti"] .page-hero h1 {
    font-size: clamp(2.1rem, 3.8vw, 2.6rem);
    line-height: 1.06;
    margin-bottom: 0 !important;
  }

  body[data-route="sedi-e-contatti"] .page-hero p {
    max-width: 34ch;
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    line-height: 1.4;
    margin-top: 0.65em !important;
  }

  body[data-route="servizi"] .page-hero h1 {
    font-size: clamp(2.1rem, 3.8vw, 2.6rem);
    line-height: 1.06;
    margin-bottom: 0 !important;
  }

  body[data-route="servizi"] .page-hero p {
    max-width: 34ch;
    font-size: clamp(1rem, 1.35vw, 1.1rem);
    line-height: 1.4;
    margin-top: 0.5em !important;
  }
}

@media (max-width: 900px) {
  .contatti-hero {
    min-height: clamp(360px, calc(360px + (900px - 100vw) * 0.22), 455px) !important;
  }

  .contatti-hero .page-hero-media {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
  }
}

@media (max-width: 768px) {
  .contatti-hero .content {
    bottom: 2%;
    padding: 0 15px;
    text-align: left;
  }

  body[data-route="sedi-e-contatti"] .page-hero p {
    max-width: 30ch;
    font-size: 0.96rem;
    line-height: 1.32;
  }

  body[data-route="servizi"] .page-hero p {
    max-width: 30ch;
    font-size: 0.96rem;
    line-height: 1.32;
  }
}

.page-hero .content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 40px;
  text-align: left;
}

body[data-route="servizi"] .page-hero .content {
  margin-top: auto;
  padding-bottom: 0;
  transform: translateY(40px);
}

.page-hero h1 {
  font-family: "Montserrat", "Poppins", "Inter", "Manrope", "Segoe UI", sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 5px;
  line-height: 1.2;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
}

.page-hero p {
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.9);
}

.simple-hero {
  padding: 225px 0 60px;
  background: #0f172a;
  color: #fff;
}

body[data-route="preventivo"] #preventivo {
  scroll-margin-top: 100px;
}

/* 1. Reset e Bilanciamento Layout */
body[data-route="preventivo"] .section-preventivo-form {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding-top: 96px !important;
  padding-bottom: 8px !important;
  min-height: calc(100vh - 220px) !important;
  height: auto !important;
  background-color: var(--bg-soft) !important;
}

/* 2. Titolo "Preventivo" - Look premium (Manrope 800) */
body[data-route="preventivo"] .form-section .section-title {
  font-family: "Manrope", sans-serif !important;
  font-weight: 800 !important;
  font-size: 2.6rem !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 24px !important;
  color: #0f172a !important;
  line-height: 1.1;
}

/* 3. Ottimizzazione Card per visibilità pulsante */
body[data-route="preventivo"] .form-section {
  margin: 0 auto !important;
  padding: 32px 40px !important;
  max-width: 780px !important;
  border-radius: 28px !important;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.1) !important;
}

@media (max-width: 900px) {
  body[data-route="preventivo"] .section-preventivo-form {
    min-height: auto !important;
    height: auto !important;
    padding-top: clamp(72px, calc(72px + (100vw - 480px) * 0.0571), 96px) !important;
    padding-bottom: 8px !important;
  }
}

/* 4. Raffinamento Campi (leggermente più compatti ma usabili) */
body[data-route="preventivo"] .form-grid {
  gap: 12px 20px !important;
}

body[data-route="preventivo"] input,
body[data-route="preventivo"] select,
body[data-route="preventivo"] textarea {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  padding: 10px 15px !important;
}

/* 5. Pulsante "Invia Preventivo" */
body[data-route="preventivo"] .btn-primary {
  margin-top: 12px !important;
  width: auto !important;
  padding: 12px 40px !important;
  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.thanks-card {
  background: #fff;
  padding: 34px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.thanks-actions {
  justify-content: center;
}

.muted {
  color: var(--muted);
}

@media (max-width: 720px) {
  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

.social-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}


