/* =============================================================
   1. Tokens & Custom Properties
   ============================================================= */
:root {
  /* Brand Palette */
  --navy:         #0a1628;
  --navy-2:       #0f1f3d;
  --navy-3:       #162040;
  --navy-4:       #1e2d5a;
  --gold:         #f5a623;
  --gold-dark:    #d4901a;
  --gold-soft:    rgba(245, 166, 35, 0.12);
  --gold-glow:    rgba(245, 166, 35, 0.28);
  --white:        #ffffff;
  --cream:        #f0ede8;
  --cream-muted:  rgba(240, 237, 232, 0.65);
  --text-soft:    rgba(240, 237, 232, 0.45);
  --line:         rgba(255, 255, 255, 0.07);
  --line-gold:    rgba(245, 166, 35, 0.22);

  /* Typography */
  --display: 'Montserrat', 'Inter', system-ui, sans-serif;
  --sans:    'Inter', system-ui, sans-serif;

  /* Easings */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:     cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --container:   min(1200px, 100% - 3rem);
  --section-py:  clamp(5rem, 10vw, 8rem);
  --radius:      14px;
  --radius-lg:   24px;
  --nav-h:       96px;
}

/* @property for animated gradients */
@property --mesh-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}
@property --mesh-pos {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 40%;
}

/* =============================================================
   2. Reset & Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  background: var(--navy);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: var(--container); margin-inline: auto; }
.skip-link {
  position: fixed; top: -100px; left: 1rem; padding: .5rem 1rem;
  background: var(--gold); color: var(--navy); z-index: 9999;
  border-radius: 8px; font-weight: 700; transition: top .2s;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.section-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.25rem;
}
.section-kicker::before {
  content: '';
  display: block; width: 2rem; height: 2px;
  background: var(--gold); border-radius: 2px;
}

/* =============================================================
   4. Typography
   ============================================================= */
.display-xl {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.display-lg {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.display-md {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
}
em { font-style: normal; color: var(--gold); }

/* =============================================================
   5. Buttons
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 2rem; border-radius: 50px;
  font-family: var(--display); font-size: .9rem; font-weight: 700;
  letter-spacing: .03em; transition: all .35s var(--ease-out);
  cursor: pointer; white-space: nowrap;
}
.btn-gold {
  background: var(--gold); color: var(--navy);
  box-shadow: 0 0 0 0 var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold-dark);
  box-shadow: 0 6px 40px var(--gold-glow);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--cream);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}
.btn-outline-gold {
  border: 1.5px solid var(--gold);
  color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* =============================================================
   6. Splash Screen
   ============================================================= */
#splash {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--navy);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  animation: splashSafety .01s 4.5s forwards;
}
#splash.is-out {
  opacity: 0; pointer-events: none;
  transform: translateY(-12px);
}
@keyframes splashSafety {
  to { opacity: 0; pointer-events: none; }
}
.splash-logo {
  width: clamp(60px, 12vw, 100px);
  animation: splashPulse 1.4s var(--ease-out) infinite alternate;
}
.splash-bar {
  width: 120px; height: 2px;
  background: var(--line);
  border-radius: 2px; overflow: hidden;
}
.splash-bar-fill {
  height: 100%; background: var(--gold);
  transform-origin: left;
  animation: splashFill 1.8s var(--ease-out) forwards;
}
@keyframes splashPulse {
  to { opacity: .6; }
}
@keyframes splashFill {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* =============================================================
   7. Navigation
   ============================================================= */
#nav {
  position: fixed; inset-block-start: 0; inset-inline: 0;
  z-index: 1000; height: var(--nav-h);
  display: flex; align-items: center;
  padding-inline: clamp(1rem, 4vw, 3rem);
  transition: background .4s var(--ease-out), box-shadow .4s;
}
#nav.scrolled {
  background: rgba(10, 22, 40, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner {
  width: 100%; display: flex;
  align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo img {
  height: 88px; width: auto; min-width: 60px;
  transition: opacity .2s;
}
.nav-logo:hover img { opacity: .85; }

.nav-links {
  display: none;
  list-style: none; gap: 2rem;
}
.nav-links a {
  font-size: .875rem; font-weight: 600; letter-spacing: .02em;
  color: var(--cream-muted);
  position: relative; transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .3s var(--ease-out);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-right {
  display: flex; align-items: center; gap: 1rem;
}
/* Nascondi lang-switcher dalla navbar su mobile — rimane nel drawer */
@media (max-width: 959px) {
  .nav-right .lang-switcher { display: none; }
}
.lang-switcher {
  display: flex; align-items: center; gap: .25rem;
}
.lang-btn {
  padding: .3rem .55rem;
  border-radius: 6px;
  font-size: .75rem; font-weight: 700;
  letter-spacing: .04em; color: var(--cream-muted);
  transition: background .2s, color .2s;
}
.lang-btn:hover { background: var(--gold-soft); color: var(--cream); }
.lang-btn.active { background: var(--gold-soft); color: var(--gold); }

.nav-cta { padding: .6rem 1.4rem; font-size: .8rem; }

/* Mobile nav toggle */
.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  padding: .5rem; border-radius: 6px;
  transition: background .2s;
}
.nav-toggle:hover { background: var(--gold-soft); }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: transform .35s var(--ease-out), opacity .2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem clamp(1rem, 4vw, 3rem) 2rem;
  transform: translateY(-110%); opacity: 0;
  transition: transform .4s var(--ease-out), opacity .3s;
  z-index: 999;
  border-bottom: 1px solid var(--line);
}
.nav-drawer.open {
  transform: translateY(0); opacity: 1;
}
.nav-drawer ul {
  list-style: none; display: flex; flex-direction: column; gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.nav-drawer a {
  font-family: var(--display); font-size: 1.1rem; font-weight: 700;
  color: var(--cream-muted); transition: color .2s;
}
.nav-drawer a:hover { color: var(--gold); }

/* =============================================================
   8. Hero Section
   ============================================================= */
#hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden; padding-block: var(--nav-h) 4rem;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.08);
  transition: transform 12s ease;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--navy) 0%, rgba(10,22,40,0.8) 40%, rgba(10,22,40,0.5) 70%, var(--navy) 100%),
    linear-gradient(90deg, rgba(10,22,40,0.6) 0%, transparent 60%);
}

/* Animated gold mesh accent */
.hero-mesh {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 60% 50% at 15% 60%, rgba(245,166,35,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 35% at 85% 30%, rgba(245,166,35,0.06) 0%, transparent 60%);
  pointer-events: none;
  animation: meshBreath 8s ease-in-out infinite;
}
@keyframes meshBreath {
  0%, 100% { opacity: 1; }
  50%       { opacity: .55; }
}

.hero-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 900px;
  padding-inline: 1rem;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .4rem 1rem;
  border: 1px solid var(--line-gold);
  border-radius: 50px;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  backdrop-filter: blur(6px);
  background: rgba(10,22,40,0.4);
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--gold-glow); }
  50%       { box-shadow: 0 0 0 5px transparent; }
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em { color: var(--gold); }

.hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  line-height: 1.75;
  color: var(--cream-muted);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex; flex-wrap: wrap;
  gap: 1rem; justify-content: center;
}

.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  z-index: 2; opacity: .5;
  animation: scrollBounce 2.5s ease-in-out infinite;
}
.hero-scroll-text { font-size: .65rem; letter-spacing: .15em; text-transform: uppercase; }
.hero-scroll-line {
  width: 1.5px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* =============================================================
   9. Stats Bar
   ============================================================= */
#stats {
  position: relative;
  background: var(--navy-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 0.75rem;
}
.stat-item {
  text-align: center;
  padding: 0.6rem 0.75rem;
  border-left: 1px solid var(--line);
}
.stat-item:first-child { border-left: none; }
.stat-num {
  display: inline;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}
/* "100%" — force inline, never wraps */
.stat-item:last-child .stat-num-wrap {
  display: block;
  white-space: nowrap;
  margin-bottom: .3rem;
}
/* "Monaco & Côte d'Azur" — allow max 2 lines, smaller font if needed */
.stat-num--text {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  line-height: 1.25;
  margin-bottom: .3rem;
  word-break: break-word;
  hyphens: none;
}
.stat-num:not(.stat-num--text) { margin-bottom: .3rem; }
.stat-label {
  display: block;
  font-size: .75rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--cream-muted);
  margin-top: .2rem;
}

/* =============================================================
   10. About Section
   ============================================================= */
#about {
  padding-block: var(--section-py);
  background: var(--navy);
}
.about-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}
.about-content {}
.about-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--white);
  margin-bottom: 1.5rem;
  white-space: pre-line;
}
.about-body {
  color: var(--cream-muted);
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.about-badges {
  display: flex; flex-wrap: wrap; gap: .75rem;
  margin-top: 2rem;
}
.about-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1rem;
  border: 1px solid var(--line-gold);
  border-radius: 50px;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .04em;
  color: var(--gold);
  background: var(--gold-soft);
}
.about-badge::before {
  content: '✓'; font-size: .7rem;
}
.about-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.9);
  transition: transform .8s var(--ease-soft), filter .5s;
}
.about-image-wrap:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}
.about-image-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.6) 0%, transparent 60%);
}
.about-image-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  padding: .6rem 1.2rem;
  background: rgba(10,22,40,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-gold);
  border-radius: 50px;
  font-size: .8rem; font-weight: 700;
  color: var(--gold);
}

/* =============================================================
   11. Services Section — Circular Layout
   ============================================================= */
#services {
  padding-block: var(--section-py);
  background: var(--navy-2);
}
.services-header {
  text-align: center;
  margin-bottom: clamp(3rem, 5vw, 4rem);
}
.services-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  white-space: pre-line;
}

/* Full-column layout: circles grid above, van banner below */
.services-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 5vw, 4rem);
}

/* Flex-wrap circles — justify-content:center auto-centres last row */
.services-circles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.service-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  /* mobile: 2 per row */
  flex: 0 0 calc(50% - 1.25rem);
  max-width: calc(50% - 1.25rem);
}
.service-circle-img {
  width: clamp(110px, 22vw, 185px);
  height: clamp(110px, 22vw, 185px);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px var(--gold-soft), 0 8px 32px rgba(0,0,0,.4);
  transition: transform .4s var(--ease-out), box-shadow .4s;
  flex-shrink: 0;
}
.service-circle:hover .service-circle-img {
  transform: scale(1.05);
  box-shadow: 0 0 0 8px var(--gold-glow), 0 16px 48px rgba(0,0,0,.5);
}
.service-circle-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: filter .4s, transform .5s var(--ease-soft);
}
.service-circle:hover .service-circle-img img {
  filter: saturate(1.15);
  transform: scale(1.1);
}
.service-circle-label {
  font-family: var(--display);
  font-size: clamp(.78rem, 1.3vw, .92rem);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.3;
}

/* Van / vehicle — full-width panoramic banner */
.services-van {
  display: flex;
  align-items: stretch;
  width: 100%;
}
.company-van-image {
  position: relative;
  width: 100%;
  height: clamp(260px, 32vw, 420px);
  /* clip-path rounds corners WITHOUT triggering the overflow:hidden bug
     that prevents background-attachment:fixed from rendering */
  clip-path: inset(0 round var(--radius-lg));
  background-image: url('assets/img/van-mirabeau.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/* Mobile: fixed background not supported on iOS/Android WebKit */
@media (hover: none) and (pointer: coarse) {
  .company-van-image {
    background-attachment: scroll;
    border-radius: var(--radius-lg);
    clip-path: none;
    overflow: hidden;
  }
}
.services-van-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,.65) 0%, transparent 55%);
}
.services-van-badge {
  position: absolute; bottom: 1.5rem; left: 1.5rem;
  padding: .6rem 1.2rem;
  background: rgba(10,22,40,.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-gold);
  border-radius: 50px;
  font-size: .85rem; font-weight: 700;
  color: var(--gold); letter-spacing: .04em;
}

/* =============================================================
   12. Partners Section
   ============================================================= */
#partners {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.partners-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.partners-subtitle {
  font-size: .9rem; color: var(--cream-muted);
}
.partners-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}
.partners-track {
  display: flex; align-items: center; gap: 4rem;
  animation: partnerScroll 32s linear infinite;
  width: max-content;
}
.partners-track:hover { animation-play-state: paused; }
.partner-item {
  display: flex; flex-direction: column; align-items: center;
  gap: .5rem; flex-shrink: 0;
  opacity: .5; transition: opacity .35s, transform .35s var(--ease-out);
  padding: .75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: opacity .35s, transform .35s var(--ease-out), border-color .35s;
}
.partner-item:hover {
  opacity: 1; transform: scale(1.06);
  border-color: var(--line-gold);
}
.partner-item img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  /* Logos scuri su sfondo scuro: li rendo bianchi/chiari con filter */
  filter: brightness(0) invert(1);
  opacity: .7;
  transition: opacity .3s, filter .3s;
}
.partner-item:hover img {
  filter: brightness(0) invert(1);
  opacity: 1;
}
@keyframes partnerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================================================
   13. Why Section
   ============================================================= */
#why {
  padding-block: var(--section-py);
  position: relative;
  overflow: hidden;
  background-image: url('assets/img/why-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/* Dark overlay — keeps text perfectly legible over the photo */
#why::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(8,18,40,.88) 0%,
      rgba(8,18,40,.78) 50%,
      rgba(8,18,40,.90) 100%);
  z-index: 0;
  pointer-events: none;
}
#why > * { position: relative; z-index: 1; }
.why-halo {
  position: absolute; inset: -30% -10%;
  background: radial-gradient(ellipse 50% 40% at 70% 50%, rgba(245,166,35,.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}
/* Cards: slight glass effect to stand out from the photo */
.why-card {
  background: rgba(10, 22, 48, 0.72) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: rgba(245,166,35,.18) !important;
}
/* Mobile: fixed bg not supported on iOS */
@media (hover: none) and (pointer: coarse) {
  #why { background-attachment: scroll; }
}
.why-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.why-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  white-space: pre-line;
  margin-bottom: 1.25rem;
}
.why-subtitle {
  font-size: clamp(.95rem, 1.5vw, 1.05rem);
  line-height: 1.8; color: var(--cream-muted);
  max-width: 650px; margin-inline: auto;
}
.why-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.why-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.75rem;
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s, transform .4s var(--ease-out), box-shadow .3s;
}
.why-card:hover {
  border-color: var(--line-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.why-icon {
  font-size: 1.5rem; flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft);
  border-radius: 12px;
  border: 1px solid var(--line-gold);
}
.why-card h3 {
  font-family: var(--display);
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: .4rem;
}
.why-card p {
  font-size: .875rem; line-height: 1.7;
  color: var(--cream-muted);
}
.why-cta {
  text-align: center;
}

/* =============================================================
   14. Contact Section
   ============================================================= */
#contact {
  padding-block: var(--section-py);
  background: var(--navy);
}
.contact-header {
  text-align: center; margin-bottom: clamp(3rem, 5vw, 4rem);
}
.contact-title {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--white);
  white-space: pre-line;
  margin-bottom: 1rem;
}
.contact-subtitle {
  font-size: .95rem; line-height: 1.8;
  color: var(--cream-muted); max-width: 520px; margin-inline: auto;
}
.contact-grid {
  display: grid; gap: 3rem;
}
/* Form */
.contact-form-wrap {
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.form-row { display: grid; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .5rem; }
.form-label {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--cream-muted);
}
.form-input, .form-textarea, .form-select {
  background: var(--navy-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem 1rem;
  color: var(--cream);
  font: .9rem/1.5 var(--sans);
  transition: border-color .25s, box-shadow .25s;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--text-soft); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23f5a623' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .75rem center;
  background-size: 1.2rem; padding-right: 2.5rem;
}
.form-submit {
  width: 100%; padding: 1rem;
  background: var(--gold); color: var(--navy);
  border-radius: 10px;
  font-family: var(--display); font-size: .95rem; font-weight: 700;
  letter-spacing: .02em;
  transition: background .25s, transform .25s var(--ease-out), box-shadow .25s;
  margin-top: .5rem;
}
.form-submit:hover:not(:disabled) {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
}
.form-submit:disabled { opacity: .7; cursor: not-allowed; }
.form-feedback {
  text-align: center; padding: .75rem 1rem;
  border-radius: 8px; font-size: .875rem;
  display: none;
}
.form-feedback.success {
  background: rgba(46,160,67,.15); border: 1px solid rgba(46,160,67,.3);
  color: #4caf72; display: block;
}
.form-feedback.error {
  background: rgba(220,53,69,.15); border: 1px solid rgba(220,53,69,.3);
  color: #f77; display: block;
}

/* Contact Info */
.contact-info {
  display: flex; flex-direction: column;
}
.contact-info-card {
  padding: 1.75rem;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s;
  flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0;
}
.contact-info-card:hover { border-color: var(--line-gold); }
.contact-info-item {
  display: flex; align-items: center; gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-item:first-child { padding-top: 0; }
.contact-info-ico {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); border-radius: 10px;
  color: var(--gold); font-size: .95rem;
}
.contact-info-label {
  font-size: .72rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--cream-muted); margin-bottom: .2rem;
}
.contact-info-val {
  font-size: .9rem; color: var(--white); line-height: 1.5;
}
.contact-info-val a { transition: color .2s; }
.contact-info-val a:hover { color: var(--gold); }
.contact-info-val--phone {
  font-size: 1.1rem; font-weight: 700;
}
.contact-info-val--phone a { color: var(--gold); }
.contact-info-val--phone a:hover { color: var(--gold-dark); }



/* =============================================================
   15. Footer
   ============================================================= */
#footer {
  background: var(--navy-2);
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}
.footer-top {
  display: grid; gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}
.footer-brand {}
.footer-logo {
  height: 60px; width: auto; margin-bottom: 1rem;
}
.footer-tagline {
  font-size: .85rem; color: var(--cream-muted); margin-bottom: 1.25rem;
}
.footer-phone-cta {
  display: inline-block;
  font-family: var(--display);
  font-size: 1.15rem; font-weight: 800;
  letter-spacing: .01em;
  color: var(--gold);
  margin-bottom: 1rem;
  transition: color .2s, opacity .2s;
}
.footer-phone-cta:hover { color: var(--gold-dark); opacity: .85; }
.footer-socials { display: flex; gap: .75rem; }
.footer-social-btn {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-3); border: 1px solid var(--line);
  border-radius: 8px; color: var(--cream-muted);
  transition: background .2s, color .2s, border-color .2s;
  font-size: .9rem;
}
.footer-social-btn:hover {
  background: var(--gold-soft); border-color: var(--line-gold); color: var(--gold);
}
.footer-nav h4, .footer-legal h4 {
  font-family: var(--display); font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 1rem;
}
.footer-nav ul, .footer-legal ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-nav a, .footer-legal a {
  font-size: .875rem; color: var(--cream-muted);
  transition: color .2s;
}
.footer-nav a:hover, .footer-legal a:hover { color: var(--gold); }
.footer-legal-text {
  font-size: .78rem; line-height: 1.8;
  color: var(--text-soft); margin-top: .5rem;
}
.footer-bottom {
  display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between;
  gap: .75rem;
}
.footer-copy {
  font-size: .78rem; color: var(--text-soft);
}
.footer-zone {
  font-size: .78rem; color: var(--text-soft);
  text-align: right;
}

/* =============================================================
   16. Reveal Animations
   ============================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1; transform: translateY(0);
}
/* Safety: split-text elements always visible */
.reveal[data-split] { opacity: 1; transform: none; }

/* Staggered children */
.stagger-children > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.stagger-children.is-visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: .05s; }
.stagger-children.is-visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .15s; }
.stagger-children.is-visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .25s; }
.stagger-children.is-visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .35s; }

/* =============================================================
   17. Responsive — Mobile-first breakpoints
   ============================================================= */
@media (min-width: 540px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-item:first-child { border-left: none; }
  .stat-item:nth-child(n+2) { border-left: 1px solid var(--line); }
  .form-row.two-col { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 720px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1.5fr 1fr; }
  .contact-grid { grid-template-columns: 1.2fr 1fr; align-items: stretch; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  /* 4 cerchi per riga su desktop — ultima riga (3) auto-centrata dal flex */
  .service-circle {
    flex: 0 0 calc(25% - 1.875rem);
    max-width: calc(25% - 1.875rem);
  }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1280px) {
  .about-grid { gap: 8rem; }
  .about-image-wrap { aspect-ratio: 3/4; }
}

/* =============================================================
   18. Reduced Motion — only INTRUSIVE effects
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-mesh        { animation: none; }
  .splash-logo      { animation: none; }
  .partners-track   { animation: none; }
  .hero-scroll      { animation: none; }
  /* DO NOT disable: hovers, fades, reveals, tilts, counters */
}

/* =============================================================
   WhatsApp Floating Button
   ============================================================= */
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.45); }
  60%       { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}

.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  animation: wa-pulse 2.4s ease-out infinite;
  transition: transform .2s var(--ease-out), background .2s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  background: #1ebe5d;
  transform: scale(1.1);
  animation: none;
  box-shadow: 0 6px 28px rgba(37,211,102,.5);
}
.whatsapp-fab svg {
  width: 30px;
  height: 30px;
  display: block;
}
