﻿:root {
  --surface: #ffffff;
  --surface-soft: #f6f9fc;
  --ink: #1e293b;
  --ring: rgba(116, 185, 255, 0.45);
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 12% 8%, rgba(116, 185, 255, 0.18), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 42%, #ffffff 100%);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary, #74b9ff));
  z-index: 5000;
  box-shadow: 0 0 18px rgba(116, 185, 255, 0.6);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  transform: translateY(-140%);
  background: var(--primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 6000;
  text-decoration: none;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--ring);
}

header {
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94) !important;
}

.logo-link img {
  max-height: 118px;
  object-fit: contain;
}

nav a,
.dropbtn {
  border-radius: 999px;
  padding: 10px 12px;
}

nav a:hover,
.dropbtn:hover {
  background: rgba(116, 185, 255, 0.14);
}

.mobile-menu-toggle {
  display: none;
  border: 0;
  min-width: 70px;
  height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.22);
}

.hero,
.page-hero {
  overflow: hidden;
  isolation: isolate;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
  pointer-events: none;
  z-index: -1;
}

.hero-content,
.hero h1,
.page-hero h1 {
  animation: heroRise 700ms ease both;
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.news-card,
.review-card,
.monopattini-card,
.doc-box,
.faq-section,
.timeline-item,
.article-card,
.sidebar-card,
.contact-modern {
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    opacity 500ms ease;
}

.service-card:hover,
.news-card:hover,
.review-card:hover,
.monopattini-card:hover,
.doc-box:hover,
.sidebar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(10, 61, 98, 0.14) !important;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(18px);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.faq-question:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
    font-size: 0.82rem;
  text-transform: uppercase;
cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  z-index: 1100;
  box-shadow: 0 10px 24px rgba(10, 61, 98, 0.25);
  transition: 220ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.whatsapp-fixed {
  animation: whatsappPulse 2.8s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 2px 4px 15px rgba(0,0,0,0.4), 0 0 0 0 rgba(37, 211, 102, 0.32); }
  50% { box-shadow: 2px 4px 15px rgba(0,0,0,0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 5% !important;
    gap: 8px !important;
    align-items: stretch !important;
  }

  .logo-container {
    width: 100%;
  }

  .logo-link {
    width: 100%;
  }

  .logo-link img {
    height: 68px !important;
  }

  .agency-name {
    font-size: 1.15rem !important;
    white-space: normal !important;
    line-height: 1.1;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    position: absolute;
    top: 22px;
    right: 18px;
  }

  header nav {
    display: none !important;
    margin-top: 6px !important;
    padding: 12px;
    border-radius: 18px;
    background: rgba(241, 248, 255, 0.96);
    box-shadow: inset 0 0 0 1px rgba(10, 61, 98, 0.08);
  }

  body.nav-open header nav {
    display: flex !important;
  }

  nav a,
  .dropbtn {
    width: 100%;
    text-align: center;
    background: #fff;
  }

  .dropdown-content {
    border-radius: 16px !important;
    overflow: hidden;
  }

  .hero {
    min-height: 58vh;
    height: auto !important;
    padding: 70px 5% 58px;
  }

  .hero-content h1,
  .hero h1,
  .page-hero h1 {
    font-size: 2rem !important;
    letter-spacing: 0 !important;
  }

  .btn {
    width: 100%;
    max-width: 340px;
    text-align: center;
  }
}

.sidebar-title a {
  color: inherit;
  text-decoration: none;
}

.sidebar-title a:hover {
  color: var(--secondary);
}


/* Home: sezione monopattini stile card moderna */
.monopattini-home-upgrade {
  position: relative;
  overflow: hidden;
  padding: 86px 5% !important;
  background:
    radial-gradient(circle at 88% 12%, rgba(116,185,255,0.28), transparent 18rem),
    linear-gradient(135deg, #f4faff 0%, #eaf5ff 52%, #f8fbff 100%) !important;
}

.monopattini-home-upgrade::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(132deg, transparent 0 50%, rgba(255,255,255,0.42) 50% 64%, transparent 64%),
    radial-gradient(circle, rgba(10,61,98,0.12) 1px, transparent 1.5px);
  background-size: auto, 18px 18px;
  background-position: center, right 42px top 34px;
  opacity: 0.55;
  pointer-events: none;
}

.monopattini-home-upgrade .monopattini-container {
  position: relative;
  max-width: 1180px;
  z-index: 1;
}

.monopattini-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  align-items: center;
  gap: clamp(28px, 5vw, 62px);
}

.monopattini-feature {
  color: #fff;
  background:
    linear-gradient(145deg, rgba(7, 58, 94, 0.98), rgba(9, 72, 115, 0.96)),
    linear-gradient(45deg, transparent, rgba(255,255,255,0.08));
  border-radius: 18px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 28px 58px rgba(10, 61, 98, 0.26);
  overflow: hidden;
  position: relative;
}

.monopattini-feature::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 0 0 28px rgba(255,255,255,0.035);
}

.monopattini-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 2px solid var(--secondary, #74b9ff);
  border-radius: 999px;
  color: var(--secondary, #74b9ff);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.monopattini-feature h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  margin: 0 0 20px;
}

.monopattini-feature h2::after,
.monopattini-docs h3::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--secondary, #74b9ff);
}

.monopattini-feature p {
  color: rgba(255,255,255,0.92);
  font-size: 1.04rem;
  line-height: 1.65;
  max-width: 520px;
}

.monopattini-feature strong {
  color: #9cc7e6;
}

.monopattini-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 26px 0;
}

.monopattini-benefits div {
  min-height: 124px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 16px 14px;
  background: rgba(255,255,255,0.055);
}

.monopattini-benefits span {
  color: var(--secondary, #74b9ff);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 12px;
}

.monopattini-benefits strong,
.monopattini-benefits small {
  display: block;
}

.monopattini-benefits strong {
  color: #fff;
  line-height: 1.25;
  margin-bottom: 8px;
}

.monopattini-benefits small {
  color: rgba(255,255,255,0.72);
  line-height: 1.35;
}

.monopattini-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  color: #092b45;
  background: linear-gradient(135deg, #9cc7e6, #58a8f5);
  padding: 17px 22px;
  border-radius: 10px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(10,61,98,0.18);
}

.monopattini-trust {
  margin: 14px 0 0 !important;
  font-size: 0.86rem !important;
  color: rgba(255,255,255,0.86) !important;
}

.monopattini-docs {
  background: rgba(255,255,255,0.94);
  border-radius: 18px;
  padding: clamp(26px, 4vw, 42px);
  box-shadow: 0 25px 55px rgba(10, 61, 98, 0.16);
  border: 1px solid rgba(10, 61, 98, 0.08);
}

.monopattini-docs h3 {
  color: #10253f;
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  margin: 0 0 22px;
}

.monopattini-docs p {
  color: #5f7188;
  margin: 0 0 24px;
}

.monopattini-docs ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 14px;
}

.monopattini-docs li {
  display: grid;
  grid-template-columns: 50px 1fr 28px;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid rgba(10,61,98,0.08);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(10, 61, 98, 0.07);
}

.monopattini-docs li > span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: var(--primary);
  font-weight: 900;
}

.monopattini-docs li strong {
  color: #172b45;
  line-height: 1.25;
}

.monopattini-docs li small {
  display: block;
  color: #687a90;
  font-weight: 700;
}

.monopattini-docs li em {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #0a3d62;
  color: #fff;
  font-style: normal;
  font-size: 0.82rem;
}

.monopattini-details {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
}

@media (max-width: 900px) {
  .monopattini-layout {
    grid-template-columns: 1fr;
  }

  .monopattini-benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .monopattini-home-upgrade {
    padding: 54px 5% !important;
  }

  .monopattini-docs li {
    grid-template-columns: 44px 1fr;
  }

  .monopattini-docs li em {
    grid-column: 2;
    justify-self: start;
  }
}



/* Rimosso pulsante torna-su per lasciare pulito il tasto WhatsApp */
.back-to-top {
  display: none !important;
}

/* Footer premium Agenzia Nocera */
.site-footer {
  --footer-bg: #052f4d;
  --footer-bg-dark: #031f34;
  --footer-accent: #74b9ff;
  --footer-accent-soft: #9cc7e6;
  --footer-line: rgba(116, 185, 255, 0.35);
  --footer-text: #eaf4ff;
  --footer-muted: #b8c8d6;
  background:
    linear-gradient(180deg, rgba(116,185,255,0.10) 0, rgba(116,185,255,0.02) 18px, transparent 48px),
    radial-gradient(circle at 12% 18%, rgba(116,185,255,0.10), transparent 28rem),
    linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-dark) 100%);
  border-top: 1px solid var(--footer-line);
  box-shadow: inset 0 14px 34px rgba(0,0,0,0.16), 0 -10px 28px rgba(10,61,98,0.08);
  color: var(--footer-text);
  text-align: left;
  padding: 0;
  font-size: 0.95rem;
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 30px 5%;
  border-top: 1px solid rgba(116,185,255,0.22);
  border-bottom: 1px solid rgba(116,185,255,0.25);
  background: rgba(116,185,255,0.06);
}

.footer-cta-text {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer-cta strong,
.footer-column h4,
.footer-brand h3 {
  color: var(--white);
}

.footer-cta strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.footer-cta span span,
.footer-cta-text div > span {
  color: var(--footer-muted);
}

.footer-cta a {
  background: var(--white);
  color: var(--primary);
  padding: 15px 30px;
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0,0,0,0.16);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.footer-cta a:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.20);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.18fr 1.15fr 1fr 1fr;
  gap: 34px;
  padding: 48px 5%;
}

.footer-column {
  border-left: 1px solid rgba(156,199,230,0.22);
  padding-left: 28px;
}

.footer-brand {
  border-left: 0;
  padding-left: 0;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-logo-row img {
  width: 96px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand h3 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.05;
}

.footer-column h4 {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-column h4::after,
.footer-brand h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 14px 0 20px;
  background: var(--footer-accent);
  border-radius: 999px;
  opacity: 0.82;
}

.footer-column p {
  margin: 0 0 14px;
  line-height: 1.62;
  color: var(--footer-muted);
}

.footer-column p strong {
  color: var(--footer-text);
}

.footer-column a {
  display: block;
  color: var(--footer-text);
  text-decoration: none;
  margin: 0 0 12px;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--footer-accent-soft);
  transform: translateX(3px);
}

.footer-bottom {
  border-top: 1px solid rgba(156,199,230,0.22);
  padding: 24px 5% 34px;
  color: var(--footer-muted);
  font-size: 0.86rem;
}

.footer-bottom p {
  margin: 0 0 8px;
}

.footer-bottom a {
  display: inline-block;
  color: var(--footer-accent-soft);
  font-weight: 700;
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .footer-cta-text {
    align-items: flex-start;
  }

  .footer-cta a {
    width: 100%;
    text-align: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-column {
    border-left: 0;
    padding-left: 0;
  }

  .footer-logo-row img {
    width: 76px;
  }

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


/* Home hero upgrade */
.home-hero-upgrade {
  min-height: 600px;
  height: auto !important;
  padding: 72px 5.75% 104px;
  justify-content: flex-start;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(4,44,75,0.94) 0%, rgba(6,56,95,0.82) 43%, rgba(6,56,95,0.34) 100%),
    url('sfondo.jpg') center/cover no-repeat !important;
}

.home-hero-upgrade::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 66%, rgba(0,0,0,0.16) 100%);
  pointer-events: none;
}

.home-hero-upgrade .hero-content {
  width: min(1040px, 100%);
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 24px;
  color: var(--secondary);
  font-size: 1.04rem;
  font-weight: 800;
  text-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

.hero-kicker::before {
  content: "";
  width: 66px;
  height: 4px;
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: 0 0 18px rgba(116,185,255,0.35);
  flex: 0 0 auto;
}

.home-hero-upgrade .hero-content h1 {
  margin: 0 0 12px;
  color: var(--white);
  font-size: clamp(3.45rem, 5.9vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-shadow: 0 14px 34px rgba(0,0,0,0.36);
}

.hero-subtitle {
  margin: 0 0 32px !important;
  color: var(--white) !important;
  font-size: clamp(1.55rem, 2.55vw, 2.25rem) !important;
  line-height: 1.22;
  font-weight: 850;
  text-shadow: 0 10px 26px rgba(0,0,0,0.34);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 34px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 244px;
  padding: 18px 31px;
  border-radius: 9px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-action-primary {
  background: linear-gradient(135deg, #74b9ff, #58a8f5);
  color: var(--white);
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}

.hero-action-secondary {
  background: rgba(255,255,255,0.07);
  color: var(--white);
  border: 2px solid var(--secondary);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

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

.hero-icon {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.hero-benefits {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  max-width: 980px;
}

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  padding: 0 24px;
  color: var(--white);
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

.hero-benefit:first-child {
  padding-left: 0;
}

.hero-benefit + .hero-benefit {
  border-left: 1px solid rgba(255,255,255,0.25);
}

.hero-mini-icon {
  width: 38px;
  height: 38px;
  padding: 7px;
  border: 1px solid rgba(116,185,255,0.82);
  border-radius: 999px;
  background: rgba(116,185,255,0.12);
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.16));
}

.quick-services-bar {
  position: relative;
  z-index: 3;
  width: min(1120px, 86%);
  margin: -44px auto 0;
  background: rgba(255,255,255,0.98);
  border: 1px solid rgba(10,61,98,0.08);
  border-radius: 11px;
  box-shadow: 0 18px 42px rgba(10,61,98,0.18);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.quick-service-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 86px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.92rem;
  line-height: 1.25;
  border-right: 1px solid rgba(10,61,98,0.12);
  transition: background .2s ease, color .2s ease;
}

.quick-service-link:last-child {
  border-right: 0;
}

.quick-service-link:hover {
  background: var(--light);
  color: #073052;
}

.quick-icon {
  width: 44px;
  height: 44px;
  padding: 9px;
  border-radius: 13px;
  background: rgba(116,185,255,0.13);
  fill: none;
  stroke: var(--secondary);
  stroke-width: 2.05;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
  transition: background .2s ease, transform .2s ease;
}

.quick-service-link:hover .quick-icon {
  background: rgba(116,185,255,0.22);
  transform: translateY(-2px);
}

.quick-services-bar + .services-section {
  padding-top: 66px;
}

@media (max-width: 1100px) {
  .hero-benefits {
    display: grid;
    gap: 14px;
  }

  .hero-benefit {
    padding: 0;
    white-space: normal;
  }

  .hero-benefit + .hero-benefit {
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .home-hero-upgrade {
    min-height: 560px;
    padding: 58px 5% 88px;
  }

  .quick-services-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .home-hero-upgrade {
    padding: 48px 5% 84px;
  }

  .hero-kicker {
    align-items: flex-start;
    font-size: 0.95rem;
  }

  .hero-kicker::before {
    width: 42px;
    margin-top: 10px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-action {
    min-width: 0;
    width: 100%;
  }

  .quick-services-bar {
    grid-template-columns: 1fr;
    margin-top: -34px;
  }

  .quick-service-link {
    justify-content: flex-start;
    min-height: 72px;
    padding: 0 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(10,61,98,0.10);
  }

  .quick-service-link:last-child {
    border-bottom: 0;
  }
}

/* Services cards upgrade */
.services-section {
  background:
    linear-gradient(180deg, var(--white) 0%, #fbfdff 100%);
}

.section-title-link {
  display: block;
  width: fit-content;
  max-width: calc(100% - 40px);
  margin: 0 auto 50px;
  padding: 18px 34px 16px;
  color: var(--primary);
  text-align: center;
  text-decoration: none;
  background: linear-gradient(180deg, var(--white) 0%, #f1f8ff 100%);
  border: 1px solid rgba(10, 61, 98, 0.22);
  border-radius: 18px;
  box-shadow: 0 10px 26px rgba(10, 61, 98, 0.08);
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.section-title-link h2 {
  margin: 0 !important;
  color: inherit;
  line-height: 1.12;
}

.section-title-link:hover,
.section-title-link:focus-visible {
  color: var(--primary);
  background: #eaf5ff;
  border-color: rgba(116, 185, 255, 0.82);
  box-shadow: 0 16px 34px rgba(10, 61, 98, 0.13);
  transform: translateY(-2px);
}

.section-title-link:focus-visible {
  outline: 3px solid rgba(116, 185, 255, 0.38);
  outline-offset: 4px;
}

.services-section h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 4px;
  margin: 12px auto 0;
  border-radius: 999px;
  background: var(--secondary);
}

.services-section .services-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  align-items: stretch;
}

.services-section .service-card {
  display: flex !important;
  flex-direction: column;
  height: 100%;
  min-height: 390px;
  padding: 0 !important;
  overflow: hidden;
  text-align: left !important;
  color: var(--dark);
  background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%) !important;
  border: 1px solid rgba(10,61,98,0.10) !important;
  border-radius: 14px !important;
  box-shadow: 0 12px 28px rgba(10,61,98,0.10);
  transform: none;
}

.services-section .service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(116,185,255,0.78) !important;
  box-shadow: 0 20px 42px rgba(10,61,98,0.16) !important;
}

.service-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--primary);
}

.services-section .service-card video {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  display: block;
  border-radius: 0 !important;
  object-fit: cover;
  aspect-ratio: auto !important;
  box-shadow: none !important;
}

.service-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 30px 30px;
}

.services-section .service-card h3 {
  margin: 0 0 10px !important;
  color: var(--primary);
  font-size: 1.55rem;
  line-height: 1.2;
}

.services-section .service-card p {
  margin: 0 0 22px;
  color: #4b5f73;
  font-size: 1rem;
  line-height: 1.58;
  flex: 1;
}

.service-readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  font-weight: 900;
  font-size: 0.95rem;
  margin-top: auto;
}

.service-readmore span {
  transition: transform .2s ease;
}

.services-section .service-card:hover .service-readmore span {
  transform: translateX(4px);
}

@media (max-width: 980px) {
  .services-section .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .section-title-link {
    max-width: calc(100% - 32px);
    margin-bottom: 32px;
    padding: 15px 24px 14px;
    border-radius: 16px;
  }

  body .services-section .section-title-link h2 {
    font-size: clamp(1.7rem, 8vw, 2.2rem) !important;
    margin: 0 !important;
  }

  .services-section .services-grid {
    grid-template-columns: 1fr;
  }

  .services-section .service-card {
    min-height: 0;
  }

  .service-card-body {
    padding: 24px;
  }
}

/* FASE 3 monopattini sober refinement */
.monopattini-home-upgrade {
  background:
    radial-gradient(circle at 88% 12%, rgba(116,185,255,0.20), transparent 18rem),
    linear-gradient(135deg, #f7fbff 0%, #edf7ff 52%, #ffffff 100%) !important;
  border-top: 1px solid rgba(116,185,255,0.22);
  border-bottom: 1px solid rgba(116,185,255,0.24);
}

.monopattini-home-upgrade::before {
  background:
    linear-gradient(132deg, transparent 0 50%, rgba(255,255,255,0.48) 50% 64%, transparent 64%),
    radial-gradient(circle, rgba(116,185,255,0.16) 1px, transparent 1.5px);
  background-size: auto, 18px 18px;
  opacity: 0.46;
}

.monopattini-feature {
  background:
    radial-gradient(circle at 86% 18%, rgba(116,185,255,0.20), transparent 18rem),
    linear-gradient(145deg, #06385f 0%, #052f4d 55%, #031f34 100%);
  border: 1px solid rgba(156,199,230,0.25);
  box-shadow: 0 24px 54px rgba(10, 61, 98, 0.22);
}

.monopattini-feature::after {
  border-color: rgba(116,185,255,0.18);
  box-shadow: inset 0 0 0 28px rgba(116,185,255,0.045);
}

.monopattini-badge {
  border: 1px solid rgba(156,199,230,0.72);
  color: #d9efff;
  background: rgba(116,185,255,0.10);
}

.monopattini-feature h2::after,
.monopattini-docs h3::after {
  background: var(--secondary);
  height: 3px;
}

.monopattini-feature strong {
  color: #d9efff;
}

.monopattini-benefits div {
  border-color: rgba(156,199,230,0.24);
  background: rgba(255,255,255,0.065);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.monopattini-benefits span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #eaf6ff;
  background: rgba(116,185,255,0.14);
  border: 1px solid rgba(156,199,230,0.52);
  font-size: 0.94rem;
  margin-bottom: 14px;
}

.monopattini-cta {
  color: var(--primary);
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.88);
  box-shadow: 0 16px 30px rgba(0,0,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.monopattini-cta:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 20px 38px rgba(0,0,0,0.20);
}

.monopattini-cta span,
.monopattini-details span {
  color: var(--secondary);
}

.monopattini-trust {
  color: rgba(234,246,255,0.86) !important;
}

.monopattini-docs {
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(116,185,255,0.20);
  box-shadow: 0 22px 48px rgba(10, 61, 98, 0.12);
}

.monopattini-docs h3 {
  color: var(--primary);
}

.monopattini-docs li {
  border-color: rgba(116,185,255,0.16);
  box-shadow: 0 10px 22px rgba(10, 61, 98, 0.06);
}

.monopattini-docs li > span {
  color: var(--primary);
  background: var(--light);
  border: 1px solid rgba(116,185,255,0.32);
}

.monopattini-docs li em {
  background: var(--primary);
  color: var(--white);
}

.monopattini-details {
  color: var(--primary);
}

.monopattini-details:hover {
  color: #0f5f93;
}

@media (max-width: 520px) {
  .monopattini-feature {
    padding: 28px 22px;
  }

  .monopattini-cta {
    padding: 16px 18px;
    font-size: 0.92rem;
  }
}

/* FASE 3 monopattini mockup exact */
.monopattini-home-upgrade {
  position: relative;
  overflow: hidden;
  padding: 34px 5% 36px !important;
  background:
    linear-gradient(132deg, transparent 0 52%, rgba(255,255,255,0.52) 52% 65%, transparent 65%),
    radial-gradient(circle, rgba(116,185,255,0.17) 1px, transparent 1.5px),
    linear-gradient(135deg, #f7fbff 0%, #edf7ff 52%, #ffffff 100%) !important;
  background-size: auto, 18px 18px, auto !important;
  background-position: center, right 34px top 28px, center !important;
  border-top: 1px solid rgba(116,185,255,0.18);
  border-bottom: 1px solid rgba(116,185,255,0.26);
}

.monopattini-home-upgrade::before {
  display: none !important;
}

.monopattini-home-upgrade .monopattini-container {
  max-width: 1340px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.monopattini-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(390px, 0.96fr);
  gap: 28px;
  align-items: stretch;
}

.monopattini-feature {
  min-height: 396px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(5,47,77,0.98) 0%, rgba(5,55,91,0.95) 58%, rgba(5,47,77,0.72) 100%),
    url('foto-monopattino.jpg') right center / auto 112% no-repeat,
    linear-gradient(145deg, #06385f 0%, #052f4d 55%, #031f34 100%) !important;
  border: 1px solid rgba(156,199,230,0.28);
  border-radius: 12px;
  padding: 30px 46px 25px;
  box-shadow: 0 18px 38px rgba(10,61,98,0.18);
  overflow: hidden;
  position: relative;
}

.monopattini-feature::after {
  display: none !important;
}

.monopattini-copy {
  max-width: 560px;
  position: relative;
  z-index: 1;
}

.monopattini-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border: 1px solid rgba(156,199,230,0.76);
  border-radius: 999px;
  color: #d9efff;
  background: rgba(116,185,255,0.10);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 14px;
}

.monopattini-feature h2 {
  max-width: 560px;
  color: var(--white);
  font-size: clamp(2.15rem, 3vw, 3rem);
  line-height: 1.02;
  margin: 0 0 18px;
}

.monopattini-feature h2::after,
.monopattini-docs h3::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--secondary);
}

.monopattini-feature p {
  max-width: 560px;
  color: rgba(255,255,255,0.93);
  font-size: 0.98rem;
  line-height: 1.52;
  margin: 0 0 10px;
}

.monopattini-feature strong {
  color: #d9efff;
}

.monopattini-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 600px;
  margin: 22px 0 14px;
}

.monopattini-benefits div {
  min-height: 112px;
  padding: 15px 12px 13px;
  text-align: center;
  border: 1px solid rgba(156,199,230,0.32);
  border-radius: 7px;
  background: rgba(255,255,255,0.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
}

.monopattini-benefits span {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #d9efff;
  background: rgba(116,185,255,0.12);
  border: 2px solid rgba(156,199,230,0.74);
  margin: 0 auto 10px;
}

.monopattini-benefits svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.monopattini-benefits strong,
.monopattini-benefits small {
  display: block;
}

.monopattini-benefits strong {
  color: var(--white);
  font-size: 0.95rem;
  line-height: 1.2;
  margin-bottom: 5px;
}

.monopattini-benefits small {
  color: rgba(255,255,255,0.76);
  font-size: 0.82rem;
  line-height: 1.28;
}

.monopattini-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(440px, 100%);
  color: var(--primary);
  background: var(--white) !important;
  border: 1px solid rgba(255,255,255,0.92);
  border-radius: 6px;
  padding: 14px 22px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.monopattini-cta span {
  color: var(--primary);
  font-size: 1.55rem;
  line-height: 1;
}

.monopattini-cta:hover {
  background: var(--light) !important;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,0.18);
}

.monopattini-trust {
  position: relative;
  z-index: 1;
  margin: 12px 0 0 !important;
  color: rgba(234,246,255,0.90) !important;
  font-size: 0.82rem !important;
}

.monopattini-trust span {
  color: #d9efff;
}

.monopattini-docs {
  min-height: 396px;
  background: rgba(255,255,255,0.98) !important;
  border: 1px solid rgba(116,185,255,0.16);
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: 0 16px 34px rgba(10,61,98,0.11);
}

.monopattini-docs h3 {
  color: var(--primary);
  font-size: clamp(1.65rem, 2vw, 2.05rem);
  line-height: 1.1;
  margin: 0 0 22px;
}

.monopattini-docs p {
  color: #5f7188;
  font-size: 0.95rem;
  margin: 0 0 20px;
}

.monopattini-docs ul {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: grid;
  gap: 14px;
}

.monopattini-docs li {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(10,61,98,0.08);
  border-radius: 10px;
  padding: 11px 14px;
  box-shadow: 0 9px 20px rgba(10,61,98,0.07);
}

.monopattini-docs li > span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--primary);
  background: var(--light);
  border: 1px solid rgba(116,185,255,0.38);
  font-weight: 900;
}

.monopattini-docs li > span svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.monopattini-docs li strong {
  color: var(--primary);
  line-height: 1.22;
  font-size: 0.94rem;
}

.monopattini-docs li small {
  display: block;
  color: #5f7188;
  font-weight: 700;
}

.monopattini-docs li em {
  display: inline-flex;
  width: 21px;
  height: 21px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-style: normal;
  font-size: 0.74rem;
}

.monopattini-details {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 900;
}

.monopattini-details span {
  color: var(--primary);
  font-size: 1.35rem;
  line-height: 1;
}

@media (max-width: 1040px) {
  .monopattini-layout {
    grid-template-columns: 1fr;
  }

  .monopattini-feature,
  .monopattini-docs {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .monopattini-home-upgrade {
    padding: 28px 5% 32px !important;
  }

  .monopattini-feature,
  .monopattini-docs {
    padding: 26px 22px;
  }

  .monopattini-feature {
    background:
      linear-gradient(90deg, rgba(5,47,77,0.98) 0%, rgba(5,47,77,0.88) 100%),
      url('foto-monopattino.jpg') center / cover no-repeat,
      linear-gradient(145deg, #06385f 0%, #052f4d 100%) !important;
  }

  .monopattini-benefits {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .monopattini-cta {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .monopattini-docs li {
    grid-template-columns: 40px 1fr 22px;
    gap: 10px;
    padding: 10px;
  }

  .monopattini-docs li > span {
    width: 36px;
    height: 36px;
  }
}

/* FASE 6 contact section upgrade */
.contact-box {
  padding: 58px 5% !important;
  background:
    radial-gradient(circle at 82% 18%, rgba(116,185,255,0.15), transparent 24rem),
    linear-gradient(135deg, #06385f 0%, #052f4d 56%, #031f34 100%) !important;
  color: var(--white);
}

.contact-layout {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.82fr);
  gap: clamp(30px, 5vw, 58px);
  align-items: center;
}

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

.contact-title-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.contact-title-row span {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex: 0 0 auto;
}

.contact-title-row svg,
.contact-info-card svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-title-row h2 {
  color: var(--white) !important;
  margin: 0 !important;
  font-size: clamp(2rem, 3vw, 2.55rem);
  line-height: 1.1;
}

.contact-title-row h2::after,
.contact-info-card h3::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin-top: 12px;
  border-radius: 999px;
  background: var(--secondary);
}

.contact-map a {
  display: block !important;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.34);
}

.contact-map img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: clamp(270px, 29vw, 370px);
  object-fit: cover;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transition: transform .25s ease, filter .25s ease;
}

.contact-map a:hover img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.map-hint,
.map-address {
  margin: 12px 0 0 !important;
  text-align: left;
}

.map-hint {
  color: var(--secondary) !important;
  font-size: 0.9rem !important;
}

.map-address {
  color: rgba(255,255,255,0.92) !important;
  font-weight: 800 !important;
  font-size: 1rem !important;
}

.contact-info-card {
  background: var(--white);
  color: var(--dark);
  border-radius: 14px;
  padding: clamp(28px, 3vw, 40px);
  box-shadow: 0 20px 42px rgba(0,0,0,0.20);
  border: 1px solid rgba(116,185,255,0.20);
}

.contact-info-card h3 {
  color: var(--primary);
  margin: 0 0 26px;
  font-size: clamp(1.75rem, 2.4vw, 2.2rem);
  line-height: 1.1;
}

.contact-info-card h4 {
  color: var(--primary);
  margin: 0 0 10px;
  font-size: 1.02rem;
}

.contact-info-card .info-item-modern {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 16px;
  align-items: start;
  margin: 0 0 18px;
  color: #3f5265;
  font-size: 1rem;
  line-height: 1.4;
}

.contact-info-card .info-item-modern svg {
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  color: var(--secondary);
  fill: none !important;
}

.contact-info-card .info-item-modern a {
  color: inherit !important;
  text-decoration: none !important;
}

.contact-info-card .info-item-modern a:hover {
  color: var(--primary) !important;
}

.contact-info-card .info-item-modern small {
  display: block;
  color: #6d8092;
  font-weight: 700;
  margin-top: 1px;
}

.contact-divider {
  height: 1px;
  background: rgba(10,61,98,0.12);
  margin: 22px 0 18px;
}

.contact-info-card .hours-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info-card .hours-list-modern li {
  display: grid;
  grid-template-columns: minmax(125px, 0.75fr) 1fr;
  gap: 18px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid rgba(10,61,98,0.10);
  color: #405367;
  font-size: 0.98rem;
}

.contact-info-card .hours-list-modern li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-info-card .hours-list-modern strong {
  color: var(--primary);
}

.contact-info-card .hours-list-modern span {
  justify-self: end;
  text-align: right;
}

.contact-info-card .hours-list-modern .closed {
  color: #3b82d6 !important;
  font-weight: 900;
  background: rgba(116,185,255,0.12);
  border: 1px solid rgba(116,185,255,0.24);
  border-radius: 999px;
  padding: 4px 10px;
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info-card {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .contact-box {
    padding: 46px 5% !important;
  }

  .contact-title-row {
    align-items: flex-start;
  }

  .contact-map img {
    height: 240px;
  }

  .map-hint,
  .map-address {
    text-align: center;
  }

  .contact-info-card .hours-list-modern li {
    grid-template-columns: 1fr;
    gap: 4px;
    text-align: left;
  }

  .contact-info-card .hours-list-modern span {
    justify-self: start;
    text-align: left;
  }
}

/* FASE 7 footer final refinement */
.site-footer {
  --footer-bg: #042843;
  --footer-bg-dark: #021a2c;
  --footer-accent: #74b9ff;
  --footer-accent-soft: #9cc7e6;
  --footer-line: rgba(116,185,255,0.32);
  --footer-text: #edf7ff;
  --footer-muted: #bed0df;
  background:
    radial-gradient(circle at 16% 12%, rgba(116,185,255,0.10), transparent 28rem),
    linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-dark) 100%) !important;
  border-top: 1px solid var(--footer-line);
  box-shadow: inset 0 16px 36px rgba(0,0,0,0.22), 0 -1px 0 rgba(116,185,255,0.20);
  color: var(--footer-text);
  text-align: left;
  padding: 0;
}

.footer-cta {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 26px max(5%, calc((100% - 1280px) / 2));
  border-top: 1px solid rgba(116,185,255,0.25);
  border-bottom: 1px solid rgba(116,185,255,0.30);
  background: rgba(116,185,255,0.055);
}

.footer-cta-text {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-cta-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--footer-accent);
  flex: 0 0 auto;
}

.footer-cta-icon svg,
.footer-mini-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-cta strong {
  display: block;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 3px;
}

.footer-cta-text div > span {
  color: var(--footer-muted);
}

.footer-cta-button,
.footer-cta a.footer-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--primary);
  padding: 14px 26px;
  border: 1px solid rgba(255,255,255,0.88);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(0,0,0,0.18);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.footer-cta-button:hover,
.footer-cta a.footer-cta-button:hover {
  background: var(--light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
}

.footer-main {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1.25fr 1fr 0.95fr;
  gap: 40px;
  padding: 44px 5% 40px;
}

.footer-column {
  border-left: 1px solid rgba(156,199,230,0.22);
  padding-left: 30px;
}

.footer-brand {
  border-left: 0;
  padding-left: 0;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.footer-logo-row img {
  width: 74px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.footer-brand h3,
.footer-column h4 {
  color: var(--white);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-brand h3 {
  line-height: 1.08;
}

.footer-column h4::after,
.footer-brand h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  margin: 13px 0 20px;
  background: var(--footer-accent);
  border-radius: 999px;
  opacity: 0.92;
}

.footer-column p {
  margin: 0 0 13px;
  color: var(--footer-muted);
  line-height: 1.55;
}

.footer-contact p {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
}

.footer-mini-icon {
  width: 20px;
  height: 20px;
  color: var(--footer-accent);
  margin-top: 2px;
}

.footer-column a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.footer-column a:hover,
.footer-bottom a:hover {
  color: var(--footer-accent-soft);
  transform: translateX(3px);
}

.footer-services a {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
}

.footer-services a span {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116,185,255,0.72);
  border-radius: 999px;
  color: var(--footer-accent);
  font-size: 0.68rem;
  flex: 0 0 auto;
}

.footer-info a {
  display: block;
  margin: 0 0 12px;
}

.footer-vat {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(156,199,230,0.20);
  color: var(--footer-text);
}

.footer-vat strong,
.footer-vat span {
  display: block;
}

.footer-vat span {
  color: var(--footer-accent-soft);
  font-weight: 900;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(156,199,230,0.22);
  max-width: none;
  padding: 24px max(5%, calc((100% - 1280px) / 2)) 34px;
  color: var(--footer-muted);
  font-size: 0.86rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.footer-bottom p {
  margin: 0 0 7px;
}

.footer-bottom p:last-child {
  margin-bottom: 0;
}

.footer-bottom a {
  color: var(--footer-accent-soft);
  font-weight: 800;
}

.footer-policy-links {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}

.footer-policy-links span {
  color: rgba(156,199,230,0.45);
}

@media (max-width: 980px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .footer-policy-links {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .footer-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-cta-text {
    align-items: flex-start;
  }

  .footer-cta-icon {
    width: 42px;
    height: 42px;
  }

  .footer-cta-button,
  .footer-cta a.footer-cta-button {
    width: 100%;
    justify-content: center;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-column {
    border-left: 0;
    padding-left: 0;
  }

  .footer-logo-row img {
    width: 68px;
  }

  .footer-policy-links {
    flex-wrap: wrap;
    gap: 10px;
  }

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

/* Footer spacing polish */
.footer-cta {
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-main {
  grid-template-columns: minmax(260px, 1.05fr) minmax(285px, 1.18fr) minmax(220px, 0.82fr) minmax(220px, 0.78fr);
  gap: 32px;
  padding-top: 38px;
  padding-bottom: 34px;
}

.footer-column {
  padding-left: 26px;
}

.footer-brand {
  padding-right: 24px;
}

.footer-logo-row {
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.footer-logo-row img {
  width: 64px;
}

.footer-brand h3 {
  font-size: 1.18rem;
  line-height: 1.12;
  max-width: none;
}

.footer-brand p {
  max-width: 300px;
  line-height: 1.68;
}

.footer-column h4 {
  font-size: 1rem;
}

.footer-contact p {
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 15px;
}

.footer-contact p span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-contact p:nth-of-type(2) span:last-child br {
  display: none;
}

.footer-contact p:nth-of-type(2) span:last-child::after {
  content: " - Anche WhatsApp";
  color: var(--footer-muted);
}

.footer-contact p:nth-of-type(4) span:last-child {
  line-height: 1.5;
}

.footer-services a {
  margin-bottom: 12px;
  line-height: 1.25;
}

.footer-info a {
  margin-bottom: 13px;
}

.footer-vat {
  margin-top: 18px;
}

.footer-bottom {
  padding-top: 22px;
  padding-bottom: 28px;
}

.footer-legal {
  max-width: 820px;
}

@media (max-width: 1180px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 42px;
  }

  .footer-column:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .footer-brand {
    padding-right: 0;
  }
}

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

  .footer-column {
    border-left: 0;
    padding-left: 0;
  }

  .footer-logo-row {
    gap: 14px;
  }

  .footer-logo-row img {
    width: 62px;
  }

  .footer-brand p {
    max-width: none;
  }

  .footer-contact p:nth-of-type(2) span:last-child br {
    display: block;
  }

  .footer-contact p:nth-of-type(2) span:last-child::after {
    content: "";
  }
}

/* Footer compact polish */
.footer-cta {
  padding-top: 18px;
  padding-bottom: 18px;
}

.footer-cta-icon {
  width: 42px;
  height: 42px;
}

.footer-main {
  align-items: start;
  padding-top: 30px;
  padding-bottom: 28px;
  gap: 30px;
}

.footer-column {
  min-height: 230px;
}

.footer-logo-row {
  margin-bottom: 16px;
}

.footer-logo-row img {
  width: 58px;
}

.footer-brand h3 {
  font-size: 1.12rem;
  white-space: nowrap;
}

.footer-brand p,
.footer-column p,
.footer-column a {
  font-size: 0.9rem;
}

.footer-brand p {
  line-height: 1.58;
}

.footer-column h4::after,
.footer-brand h3::after {
  margin-top: 10px;
  margin-bottom: 16px;
}

.footer-contact p {
  margin-bottom: 10px;
  line-height: 1.42;
}

.footer-mini-icon {
  width: 18px;
  height: 18px;
}

.footer-services a,
.footer-info a {
  margin-bottom: 9px;
}

.footer-vat {
  margin-top: 14px;
  padding-top: 14px;
}

.footer-bottom {
  padding-top: 18px;
  padding-bottom: 22px;
  font-size: 0.82rem;
}

.footer-bottom p {
  margin-bottom: 5px;
}

@media (max-width: 1180px) {
  .footer-column {
    min-height: 0;
  }
}

/* Footer visible error fixes */
.footer-contact p:nth-of-type(2) span:last-child br {
  display: block !important;
}

.footer-contact p:nth-of-type(2) span:last-child::after {
  content: "" !important;
}

.footer-logo-row img {
  width: 72px;
}

.footer-logo-row {
  align-items: center;
}

.footer-brand h3 {
  font-size: 1.16rem;
}

.footer-contact p {
  align-items: start;
}

.footer-contact p span:last-child {
  line-height: 1.42;
}

.footer-main {
  grid-template-columns: minmax(285px, 1.08fr) minmax(300px, 1.18fr) minmax(220px, 0.82fr) minmax(220px, 0.78fr);
}

@media (max-width: 1180px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .footer-logo-row img {
    width: 66px;
  }
}

/* Contact hours card simplification */
.contact-hours-card {
  align-self: center;
  max-width: 460px;
  width: 100%;
  padding: clamp(30px, 3vw, 42px);
}

.contact-hours-card h3 {
  margin-bottom: 26px;
}

.contact-hours-card .hours-list-modern li {
  grid-template-columns: minmax(135px, 0.85fr) 1fr;
  padding: 16px 0;
  font-size: 1rem;
}

.contact-hours-card .hours-list-modern li:first-child {
  padding-top: 0;
}

.contact-hours-card .hours-list-modern .closed {
  justify-self: end;
}

@media (max-width: 980px) {
  .contact-hours-card {
    max-width: 680px;
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  .contact-hours-card .hours-list-modern li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .contact-hours-card .hours-list-modern .closed {
    justify-self: start;
  }
}

/* FASE 8 final home polish */
body::before {
  background: linear-gradient(90deg, var(--secondary), #9cc7e6) !important;
}

.news-section .news-tag,
.news-tag {
  background: rgba(241, 248, 255, 0.96) !important;
  color: var(--primary) !important;
  border: 1px solid rgba(116, 185, 255, 0.48) !important;
}

.news-section .news-readmore,
.news-readmore {
  color: var(--primary) !important;
}

.news-section .news-card:hover .news-readmore,
.news-card:hover .news-readmore {
  color: var(--secondary) !important;
}

@media (max-width: 640px) {
  .site-footer .footer-main {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .site-footer .footer-column {
    border-left: 0 !important;
    padding-left: 0 !important;
    min-height: 0 !important;
  }

  .whatsapp-fixed {
    width: 64px !important;
    height: 64px !important;
    right: 14px !important;
    bottom: 14px !important;
  }

  .whatsapp-fixed svg {
    width: 36px !important;
    height: 36px !important;
  }
}
/* Header unico Agenzia Nocera */
.site-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding: 12px 5% !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 4px 16px rgba(10, 61, 98, 0.10) !important;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .logo-container {
  flex: 0 0 auto;
}

.site-header .logo-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--primary, #0a3d62);
  text-decoration: none;
  font-weight: 900;
}

.site-header .logo-link img {
  height: 76px;
  width: auto;
  max-height: 82px;
  object-fit: contain;
}

.site-header .agency-name {
  color: var(--primary, #0a3d62);
  font-size: 1.25rem;
  line-height: 1.1;
  white-space: nowrap;
}

.site-header nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.site-header nav > a,
.site-header .dropbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--primary, #0a3d62);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.site-header nav > a:hover,
.site-header .dropbtn:hover {
  color: var(--primary, #0a3d62);
  background: rgba(116, 185, 255, 0.14);
}

.site-header .dropdown {
  position: relative;
  margin: 0;
}

.site-header .dropdown-content {
  min-width: 230px;
  z-index: 1200;
}

@media (max-width: 980px) {
  .site-header {
    align-items: stretch !important;
    gap: 10px !important;
  }

  .site-header nav {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column !important;
    padding: 10px 5% !important;
  }

  .site-header .logo-link img {
    height: 68px !important;
  }

  .site-header .agency-name {
    max-width: 170px;
    white-space: normal;
  }

  .site-header nav {
    display: none !important;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  body.nav-open .site-header nav {
    display: flex !important;
  }

  .site-header nav > a,
  .site-header .dropbtn {
    width: 100%;
    background: #fff;
  }

  .site-header .dropdown {
    width: 100%;
    text-align: center;
  }
}

/* SobrietÃ  cromatica: riduzione accenti oro */
.news-tag,
.service-icon,
.article-meta,
.article-kicker,
.sidebar-card .service-icon {
  color: var(--primary, #0a3d62) !important;
}

.news-tag,
.article-tag,
.monopattini-badge {
  background: rgba(241, 248, 255, 0.96) !important;
  color: var(--primary, #0a3d62) !important;
  border-color: rgba(116, 185, 255, 0.48) !important;
}

.article-highlight,
.info-highlight,
.warning-box {
  border-left-color: var(--secondary, #74b9ff) !important;
}

.monopattini-feature h2::after,
.monopattini-docs h3::after,
.article-title::after,
.sidebar-title::after {
  background: var(--secondary, #74b9ff) !important;
}

.monopattini-feature strong,
.monopattini-benefits span,
.service-link .service-icon {
  color: var(--secondary, #74b9ff) !important;
}

.monopattini-cta {
  background: linear-gradient(135deg, var(--secondary, #74b9ff), #58a8f5) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(10, 61, 98, 0.18) !important;
}

.monopattini-docs li em {
  background: var(--primary, #0a3d62) !important;
}

/* Responsive comune: layout piÃ¹ stabile su tablet e mobile */
img,
video,
iframe {
  max-width: 100%;
}

section,
main,
.article-container,
.container,
.services-section,
.news-section,
.reviews-section,
.contact-box {
  overflow-wrap: anywhere;
}

.service-card,
.news-card,
.review-card,
.doc-box,
.sidebar-card,
.article-card,
.work-panel {
  min-width: 0;
}

@media (max-width: 1024px) {
  .services-grid,
  .news-grid,
  .reviews-grid,
  .article-layout,
  .contact-layout,
  .monopattini-layout {
    grid-template-columns: 1fr 1fr !important;
  }

  .article-layout,
  .contact-layout,
  .monopattini-layout {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  h1,
  .hero-content h1,
  .hero h1,
  .page-hero h1 {
    font-size: clamp(2rem, 12vw, 2.7rem) !important;
    line-height: 1.06 !important;
    letter-spacing: 0 !important;
  }

  h2,
  .news-header h2,
  .section-title {
    font-size: clamp(1.65rem, 8vw, 2.25rem) !important;
    line-height: 1.14 !important;
  }

  .services-grid,
  .news-grid,
  .reviews-grid,
  .quick-services-bar,
  .footer-main {
    grid-template-columns: 1fr !important;
  }

  .hero-actions,
  .actions,
  .cta-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .hero-action,
  .btn,
  .footer-cta-button {
    width: 100%;
    max-width: 100%;
  }

  .article-container,
  .container {
    width: min(100% - 24px, 980px) !important;
    padding-left: clamp(18px, 5vw, 28px) !important;
    padding-right: clamp(18px, 5vw, 28px) !important;
  }
}

@media (max-width: 480px) {
  .site-header .logo-link {
    gap: 10px;
  }

  .site-header .agency-name {
    font-size: 1.05rem !important;
  }

  .site-header .logo-link img {
    height: 60px !important;
  }

  .footer-cta,
  .footer-main,
  .footer-bottom {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }
}

/* Recensioni: stile più semplice e sobrio */
.reviews-section {
  background: #ffffff !important;
  padding: 64px 5% !important;
  text-align: center;
}

.reviews-section h2 {
  color: var(--primary, #0a3d62);
  margin: 0 0 30px;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.15;
}

.reviews-grid {
  width: min(1160px, 100%);
  margin: 0 auto 32px !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px !important;
}

.reviews-section .review-card {
  background: #ffffff !important;
  border: 1px solid rgba(10, 61, 98, 0.10) !important;
  border-bottom: 1px solid rgba(10, 61, 98, 0.10) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 22px rgba(10, 61, 98, 0.08) !important;
  padding: 28px 24px !important;
  min-height: 0 !important;
  transition: none !important;
}

.reviews-section .review-card:hover {
  transform: none !important;
  box-shadow: 0 8px 22px rgba(10, 61, 98, 0.08) !important;
}

.reviews-section .stars {
  color: #f4b400 !important;
  font-size: 1.12rem !important;
  letter-spacing: 2px;
  margin-bottom: 14px !important;
}

.reviews-section .review-card p {
  color: #1e293b;
  line-height: 1.65;
}

.reviews-section .review-card p:last-child {
  margin-bottom: 0;
  color: var(--primary, #0a3d62);
}

.reviews-section .btn {
  border-radius: 8px !important;
  padding: 13px 22px !important;
  box-shadow: none !important;
  text-transform: none !important;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-columns: 1fr !important;
    max-width: 620px;
  }
}

/* Header dropdown: stato chiuso/aperto uniforme */
.site-header .dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 230px;
  padding: 8px 0;
  background: #ffffff;
  border: 1px solid rgba(10, 61, 98, 0.10);
  border-radius: 12px;
  box-shadow: 0 16px 34px rgba(10, 61, 98, 0.14);
  z-index: 1200;
}

.site-header .dropdown-content a {
  display: block;
  padding: 11px 18px;
  margin: 0;
  color: var(--primary, #0a3d62);
  text-decoration: none;
  font-weight: 750;
  white-space: nowrap;
}

.site-header .dropdown-content a:hover {
  background: var(--light, #f1f8ff);
  color: var(--primary, #0a3d62);
}

@media (min-width: 769px) {
  .site-header .dropdown:hover .dropdown-content,
  .site-header .dropdown:focus-within .dropdown-content {
    display: block;
  }
}

@media (max-width: 768px) {
  .site-header .dropdown-content {
    position: static;
    transform: none;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 10px;
  }

  .site-header .dropdown-content.mostra-menu {
    display: block !important;
  }
}

/* Link archivio news dalla home */
.news-archive-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.news-archive-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 8px;
  background: var(--primary, #0a3d62);
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(10,61,98,0.18);
}

.news-archive-link:hover {
  background: #073052;
  color: #ffffff;
}

/* Footer mobile compatto e uniforme */
@media (max-width: 768px) {
  .site-footer {
    padding: 0 0 76px !important;
    font-size: 0.9rem !important;
  }

  .footer-cta {
    padding: 22px 18px !important;
    gap: 14px !important;
    align-items: flex-start !important;
  }

  .footer-cta-text {
    gap: 12px !important;
    align-items: flex-start !important;
  }

  .footer-cta-icon {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
  }

  .footer-cta-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .footer-cta strong {
    font-size: 0.98rem !important;
    line-height: 1.28 !important;
    margin-bottom: 3px !important;
  }

  .footer-cta span span,
  .footer-cta-text div > span {
    font-size: 0.84rem !important;
    line-height: 1.35 !important;
  }

  .footer-cta a,
  .footer-cta-button {
    width: 100% !important;
    min-height: 44px !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    font-size: 0.88rem !important;
    text-align: center !important;
  }

  .footer-main {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    padding: 26px 18px 22px !important;
  }

  .footer-column {
    border-left: 0 !important;
    padding-left: 0 !important;
  }

  .footer-logo-row {
    gap: 12px !important;
    margin-bottom: 10px !important;
  }

  .footer-logo-row img {
    width: 58px !important;
  }

  .footer-brand h3,
  .footer-column h4 {
    font-size: 0.98rem !important;
    line-height: 1.18 !important;
    margin: 0 !important;
    letter-spacing: 0.02em !important;
  }

  .footer-column h4::after,
  .footer-brand h3::after {
    width: 34px !important;
    height: 2px !important;
    margin: 8px 0 12px !important;
  }

  .footer-column p {
    margin: 0 0 8px !important;
    font-size: 0.86rem !important;
    line-height: 1.42 !important;
  }

  .footer-column a {
    margin: 0 0 7px !important;
    font-size: 0.88rem !important;
    line-height: 1.32 !important;
  }

  .footer-services a {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
  }

  .footer-services a span[aria-hidden="true"] {
    font-size: 0.72rem !important;
    line-height: 1 !important;
  }

  .footer-mini-icon {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
  }

  .footer-mini-icon svg {
    width: 16px !important;
    height: 16px !important;
  }

  .footer-vat {
    margin-top: 8px !important;
    padding: 10px 12px !important;
    border-radius: 8px !important;
  }

  .footer-vat strong,
  .footer-vat span {
    font-size: 0.84rem !important;
  }

  .footer-bottom {
    padding: 16px 18px 22px !important;
    font-size: 0.78rem !important;
    line-height: 1.42 !important;
  }

  .footer-bottom p {
    margin: 0 0 6px !important;
  }

  .footer-policy-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 10px !important;
    margin-top: 8px !important;
  }

  .footer-bottom a,
  .footer-policy-links a {
    font-size: 0.8rem !important;
    line-height: 1.35 !important;
  }

  .whatsapp-fixed {
    width: 58px !important;
    height: 58px !important;
    right: 18px !important;
    bottom: 22px !important;
  }

  .whatsapp-fixed svg {
    width: 32px !important;
    height: 32px !important;
  }
}

/* Header e menu mobile più fluido e uniforme */
@media (max-width: 768px) {
  body .site-header {
    padding: 9px 5% 12px !important;
    gap: 8px !important;
    overflow-x: clip !important;
  }

  body .site-header .logo-container {
    width: 100% !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  body .site-header .logo-link {
    min-width: 0 !important;
    align-items: center !important;
  }

  body .site-header .logo-link img {
    height: 66px !important;
    max-height: 66px !important;
    margin-right: 6px !important;
  }

  body .site-header .agency-name {
    font-size: 1.06rem !important;
    line-height: 1.05 !important;
    max-width: 180px !important;
  }

  body .site-header .mobile-menu-toggle {
    min-height: 40px !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(116,185,255,0.34) !important;
    background: #f7fbff !important;
    color: var(--primary, #0a3d62) !important;
    box-shadow: 0 8px 18px rgba(10,61,98,0.08) !important;
    font-size: 0.86rem !important;
    font-weight: 900 !important;
  }

  body .site-header nav {
    width: 100% !important;
    gap: 8px !important;
    padding-top: 4px !important;
  }

  body .site-header nav > a,
  body .site-header .dropbtn {
    min-height: 42px !important;
    padding: 11px 14px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    border: 1px solid rgba(116,185,255,0.20) !important;
    box-shadow: 0 6px 14px rgba(10,61,98,0.05) !important;
    font-size: 0.9rem !important;
    line-height: 1.1 !important;
  }

  body .site-header nav > a:hover,
  body .site-header nav > a:focus,
  body .site-header .dropbtn:hover,
  body .site-header .dropbtn:focus {
    background: #f1f8ff !important;
    color: var(--primary, #0a3d62) !important;
  }

  body .site-header .dropdown {
    width: 100% !important;
    display: block !important;
    position: relative !important;
  }

  body .site-header .dropdown-content {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 10px 0 0 !important;
    padding: 8px !important;
    background: #ffffff !important;
    border: 1px solid rgba(116,185,255,0.25) !important;
    border-radius: 18px !important;
    box-shadow: 0 12px 28px rgba(10,61,98,0.10) !important;
    overflow: hidden !important;
    opacity: 1 !important;
  }

  body .site-header .dropdown-content a {
    display: block !important;
    width: 100% !important;
    margin: 0 0 4px !important;
    padding: 12px 14px !important;
    border: 0 !important;
    border-radius: 14px !important;
    background: #f8fbff !important;
    color: var(--primary, #0a3d62) !important;
    font-size: 0.86rem !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  body .site-header .dropdown-content a:last-child {
    margin-bottom: 0 !important;
  }

  body .site-header .dropdown-content a:hover,
  body .site-header .dropdown-content a:focus {
    background: #f1f8ff !important;
    color: var(--primary, #0a3d62) !important;
  }

  body .site-header .dropdown-content.mostra-menu,
  body .site-header .mostra-menu {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    animation: menuMobileFade 0.22s ease both !important;
  }

  @keyframes menuMobileFade {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (max-width: 480px) {
  body .site-header .logo-link img {
    height: 58px !important;
    max-height: 58px !important;
  }

  body .site-header .agency-name {
    font-size: 1rem !important;
    max-width: 160px !important;
  }
}
