/* ═══════════════════════════════════════════════════════════
   LC IDROCLIMA SRL — Design System
   Typography: Outfit (Google Fonts)
   Palette: Deep Navy + Clean White + Electric Blue accent
   Motion: Corporate archetype — 200-400ms, cubic-bezier(0.2,0,0,1)
   Spacing: 8dp rhythm
═══════════════════════════════════════════════════════════ */

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  /* Colors */
  --color-primary:     #0F52BA;   /* electric blue */
  --color-primary-dark:#0940A0;
  --color-primary-light:#3B7BEF;
  --color-navy:        #0F1B2D;   /* deep navy background */
  --color-navy-mid:    #162033;
  --color-navy-light:  #1E2E47;
  --color-white:       #FFFFFF;
  --color-off-white:   #F4F7FB;
  --color-surface:     #FFFFFF;
  --color-muted:       #64748B;
  --color-text:        #1A2332;
  --color-text-light:  #4A5568;
  --color-border:      #E2E8F0;
  --color-border-dark: #CBD5E1;
  --color-whatsapp:    #25D366;
  --color-whatsapp-dark:#1DA851;
  --color-star:        #F59E0B;
  --color-accent:      #E8F0FE;

  /* Typography */
  --font-main: 'Outfit', system-ui, -apple-system, sans-serif;

  /* Spacing (8dp rhythm) */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;

  /* Radii */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15,27,45,0.08), 0 1px 2px rgba(15,27,45,0.06);
  --shadow-md:  0 4px 16px rgba(15,27,45,0.10), 0 2px 6px rgba(15,27,45,0.06);
  --shadow-lg:  0 12px 40px rgba(15,27,45,0.14), 0 4px 12px rgba(15,27,45,0.08);
  --shadow-xl:  0 24px 60px rgba(15,27,45,0.18);

  /* Motion — Corporate archetype */
  --ease-enter:    cubic-bezier(0.05, 0.7, 0.1, 1);   /* MD3 Emphasized — entrances */
  --ease-exit:     cubic-bezier(0.3, 0, 1, 1);          /* MD3 Accelerate — exits */
  --ease-standard: cubic-bezier(0.2, 0, 0, 1);          /* Standard on-screen */
  --dur-micro:  150ms;
  --dur-std:    250ms;
  --dur-slow:   400ms;

  /* Layout */
  --container-max: 1200px;
  --navbar-height: 72px;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

/* ─── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-2);
  padding: var(--sp-1) var(--sp-2);
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top var(--dur-micro) var(--ease-enter);
}
.skip-link:focus {
  top: var(--sp-1);
}

/* ─── CONTAINER ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-3);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  padding: 14px var(--sp-3);
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  min-height: 48px;
  min-width: 48px;
  transition:
    background var(--dur-micro) var(--ease-standard),
    color var(--dur-micro) var(--ease-standard),
    transform var(--dur-micro) var(--ease-standard),
    box-shadow var(--dur-micro) var(--ease-standard),
    border-color var(--dur-micro) var(--ease-standard);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-white:hover {
  background: var(--color-off-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  border-color: var(--color-whatsapp);
}
.btn-whatsapp:hover {
  background: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  box-shadow: 0 4px 16px rgba(37,211,102,0.35);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 16px var(--sp-4);
  font-size: 1rem;
  min-height: 56px;
}

.btn-full {
  width: 100%;
}

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 var(--sp-3);
  height: var(--navbar-height);
  display: flex;
  align-items: center;
  background: rgba(15, 27, 45, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--dur-std) var(--ease-standard),
              box-shadow var(--dur-std) var(--ease-standard);
}

.navbar.scrolled {
  background: rgba(15, 27, 45, 0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-mark {
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}

.logo-text {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.2px;
}
.logo-text em {
  font-style: normal;
  font-weight: 400;
  opacity: 0.65;
  font-size: 0.85em;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  margin-left: auto;
}

.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--dur-micro) var(--ease-standard),
              background var(--dur-micro) var(--ease-standard);
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-link:hover {
  color: var(--color-white);
  background: rgba(255,255,255,0.08);
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  flex-shrink: 0;
}

.nav-phone {
  padding: 10px 16px;
  min-height: 44px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: background var(--dur-micro) var(--ease-standard);
}
.hamburger:hover { background: rgba(255,255,255,0.08); }
.hamburger:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: transform var(--dur-std) var(--ease-enter),
              opacity var(--dur-micro) var(--ease-standard);
}

.hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--color-navy);
  padding: var(--sp-3) var(--sp-3) var(--sp-4);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transform: translateY(-20px);
  opacity: 0;
  transition: transform var(--dur-std) var(--ease-enter),
              opacity var(--dur-std) var(--ease-standard);
  pointer-events: none;
  z-index: 999;
}
.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-link {
  display: block;
  padding: 14px 0;
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--dur-micro) var(--ease-standard);
  min-height: 48px;
}
.mobile-link:hover { color: white; }

.mobile-ctas {
  margin-top: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  background: var(--color-navy);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
}

/* Subtle background grain */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 70% at 70% 50%, rgba(15,82,186,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(15,82,186,0.10) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  flex: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--sp-8) var(--sp-3);
  min-height: calc(100dvh - var(--navbar-height));
}

/* Hero text */
.hero-text {
  padding-right: var(--sp-8);
  opacity: 0;
  transform: translateY(32px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,82,186,0.18);
  border: 1px solid rgba(15,82,186,0.35);
  color: #7DAAFF;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-3);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: #25D366;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  max-width: 580px;
  margin-bottom: var(--sp-3);
}

.hero-h1 em {
  font-style: normal;
  color: var(--color-primary-light);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 460px;
  line-height: 1.65;
  margin-bottom: var(--sp-5);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}

/* Hero image */
.hero-image {
  position: relative;
  opacity: 0;
  transform: translateX(32px);
}

.hero-photo-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  max-height: 620px;
}

.hero-photo {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: brightness(0.92) contrast(1.05);
}

.hero-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(15,27,45,0.4) 100%
  );
}

.hero-floating-card {
  position: absolute;
  bottom: var(--sp-3);
  left: var(--sp-3);
  right: var(--sp-3);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  padding: var(--sp-2) var(--sp-2);
  display: flex;
  align-items: center;
  gap: var(--sp-1) + 4px;
  box-shadow: var(--shadow-lg);
  gap: 12px;
  color: var(--color-primary);
}

.hero-floating-card svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

.hero-floating-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
}

.hero-floating-card span {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
  line-height: 1.2;
}

/* Scroll hint */
.scroll-hint {
  display: flex;
  justify-content: center;
  padding-bottom: var(--sp-3);
  position: absolute;
  bottom: var(--sp-3);
  left: 50%;
  transform: translateX(-50%);
}

.scroll-hint-dot {
  width: 6px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  position: relative;
}

.scroll-hint-dot::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius-full);
  animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(18px); }
}

/* ─── MARQUEE STRIP ──────────────────────────────────────── */
.marquee-strip {
  background: var(--color-primary);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  animation: marquee 28s linear infinite;
  will-change: transform;
}

.marquee-track:hover { animation-play-state: paused; }

.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.marquee-dot {
  width: 4px !important;
  height: 4px !important;
  background: rgba(255,255,255,0.4) !important;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── SECTIONS ────────────────────────────────────────────── */
.section {
  padding: var(--sp-16) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: var(--sp-2);
}

.section-title em {
  font-style: normal;
  color: var(--color-primary);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── SERVICES GRID ──────────────────────────────────────── */
.services-section {
  background: var(--color-off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-2);
  grid-auto-flow: dense;
}

/* Large card: spans 2 cols */
.service-card--large {
  grid-column: span 2;
}

/* Base card */
.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition:
    transform var(--dur-std) var(--ease-enter),
    box-shadow var(--dur-std) var(--ease-standard);
  opacity: 0;
  transform: translateY(24px);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover .service-card-bg {
  opacity: 1;
  transform: scale(1.1);
}

.service-card-bg {
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(15,82,186,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-slow) var(--ease-standard),
              transform var(--dur-slow) var(--ease-standard);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-3);
  color: var(--color-primary);
  transition: background var(--dur-micro) var(--ease-standard);
}

.service-card:hover .service-card-icon {
  background: var(--color-primary);
  color: white;
}

.service-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: 0.9rem;
  color: var(--color-text-light);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: var(--color-primary);
  border-radius: 50%;
  opacity: 0.6;
}

.service-list strong {
  color: var(--color-primary);
  font-weight: 700;
}

.service-unical-badge {
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-3);
  background: var(--color-primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  text-align: center;
  line-height: 1.4;
}

/* ─── PERCHÉ NOI ─────────────────────────────────────────── */
.why-section {
  background: var(--color-white);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-10);
  align-items: center;
}

.why-left {
  opacity: 0;
  transform: translateX(-24px);
}

.why-left .section-title {
  text-align: left;
  margin-bottom: var(--sp-3);
}

.why-desc {
  margin: 0 0 var(--sp-4) 0;
  text-align: left;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  padding: var(--sp-3);
  border-radius: var(--radius-md);
  background: var(--color-off-white);
  border: 1px solid var(--color-border);
  opacity: 0;
  transform: translateX(24px);
  transition:
    transform var(--dur-std) var(--ease-enter),
    box-shadow var(--dur-std) var(--ease-standard),
    background var(--dur-micro) var(--ease-standard);
}

.why-feature:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  background: var(--color-white);
}

.why-feature-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background var(--dur-micro) var(--ease-standard);
}
.why-feature:hover .why-feature-icon {
  background: var(--color-primary);
  color: white;
}

.why-feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.why-feature-text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

/* ─── STATS STRIP ─────────────────────────────────────────── */
.stats-strip {
  background: var(--color-navy);
  padding: var(--sp-8) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-4);
}

.stat-item {
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
}

.stat-number {
  display: block;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
}

/* ─── REVIEWS ─────────────────────────────────────────────── */
.reviews-section {
  background: var(--color-off-white);
}

.stars-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: var(--sp-1);
}

.stars-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-left: 8px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  opacity: 0;
  transform: translateY(24px);
  transition: transform var(--dur-std) var(--ease-enter),
              box-shadow var(--dur-std) var(--ease-standard);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-stars {
  display: flex;
  gap: 2px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
}

.review-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
  font-style: normal;
}

.review-location {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ─── CTA BANNER ──────────────────────────────────────────── */
.cta-banner {
  background: var(--color-navy);
  padding: var(--sp-12) 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(15,82,186,0.2) 0%, transparent 70%),
    radial-gradient(ellipse 30% 60% at 10% 30%, rgba(15,82,186,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  position: relative;
}

.cta-banner-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: var(--sp-1);
}

.cta-banner-text p {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
}

.cta-banner-actions {
  display: flex;
  gap: var(--sp-1);
  flex-shrink: 0;
}

/* ─── CONTACTS ────────────────────────────────────────────── */
.contacts-section {
  background: var(--color-white);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}

.contacts-info-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-off-white);
  transition: transform var(--dur-micro) var(--ease-standard),
              box-shadow var(--dur-micro) var(--ease-standard),
              border-color var(--dur-micro) var(--ease-standard);
  text-decoration: none;
  min-height: 64px;
}

a.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.contact-item--wa .contact-item-icon { color: var(--color-whatsapp); background: #E8FFF0; }
.contact-item--static { cursor: default; }

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-item-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-muted);
  margin-bottom: 2px;
}

.contact-item-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

.contact-orari {
  padding: var(--sp-3);
  background: var(--color-navy);
  border-radius: var(--radius-md);
  color: white;
}

.contact-orari h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}

.contact-orari p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text);
}

.form-label span {
  color: var(--color-primary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px var(--sp-2);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--dur-micro) var(--ease-standard),
              box-shadow var(--dur-micro) var(--ease-standard);
  min-height: 48px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(15,82,186,0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-muted);
  opacity: 0.7;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-privacy {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: center;
  line-height: 1.5;
}

.form-privacy-link {
  color: var(--color-primary);
  text-decoration: underline;
}

/* Map */
.map-wrap {
  opacity: 0;
  transform: translateY(16px);
}

.map-placeholder {
  background: var(--color-off-white);
  border: 2px dashed var(--color-border-dark);
  border-radius: var(--radius-lg);
  padding: var(--sp-8) var(--sp-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  text-align: center;
  color: var(--color-muted);
}

.map-placeholder p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.map-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--color-navy);
  padding: var(--sp-12) 0 var(--sp-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-8);
}

.footer-brand .nav-logo {
  margin-bottom: var(--sp-3);
  display: inline-flex;
}

.footer-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: var(--sp-1);
  font-style: italic;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 280px;
}

.footer-nav-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-2);
}

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

.footer-link {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-micro) var(--ease-standard);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 2px 0;
}
.footer-link:hover { color: var(--color-white); }

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

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-micro) var(--ease-standard);
  min-height: 44px;
}
.footer-contact-link:hover { color: var(--color-white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

.footer-legal {
  display: flex;
  gap: var(--sp-2);
}

.footer-link-sm {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--dur-micro) var(--ease-standard);
}
.footer-link-sm:hover { color: rgba(255,255,255,0.7); }

/* ─── WHATSAPP FAB ────────────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: var(--sp-3);
  right: var(--sp-3);
  z-index: 900;
  background: var(--color-whatsapp);
  color: white;
  border-radius: var(--radius-full);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 56px;
  transition:
    transform var(--dur-micro) var(--ease-enter),
    box-shadow var(--dur-micro) var(--ease-standard),
    background var(--dur-micro) var(--ease-standard);
  animation: fab-enter 0.6s var(--ease-enter) 1s both;
}

.whatsapp-fab:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

.whatsapp-fab:focus-visible {
  outline: 3px solid var(--color-whatsapp);
  outline-offset: 3px;
}

.whatsapp-fab:active { transform: scale(0.96); }

@keyframes fab-enter {
  0% { transform: translateY(80px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* ─── ANIMATION CLASSES ───────────────────────────────────── */
[data-animate] {
  will-change: transform, opacity;
}

.animate-in {
  animation: fade-up var(--dur-slow) var(--ease-enter) both;
}

@keyframes fade-up {
  0%   { opacity: 0; transform: translateY(24px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ─── PREFERS REDUCED MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .whatsapp-fab { animation: none; }
  [data-animate] { opacity: 1; transform: none; }
}

/* ─── RESPONSIVE — Tablet ─────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner {
    gap: var(--sp-4);
    padding: var(--sp-6) var(--sp-3);
  }
  .hero-text { padding-right: var(--sp-4); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--large { grid-column: span 2; }
  .service-card--medium { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-6); }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4) var(--sp-4);
  }
  .stat-divider { display: none; }
  .why-inner { gap: var(--sp-6); }
}

/* ─── RESPONSIVE — Mobile ─────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --navbar-height: 64px;
  }

  .section { padding: var(--sp-10) 0; }

  /* Navbar */
  .nav-links { display: none; }
  .nav-ctas { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: var(--sp-4) var(--sp-3) var(--sp-6);
    min-height: auto;
    gap: var(--sp-5);
  }

  .hero-text {
    padding-right: 0;
    order: 1;
  }

  .hero-h1 {
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .hero-image { order: 2; }

  .hero-photo {
    height: 300px;
  }

  .scroll-hint { display: none; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card--large { grid-column: span 1; }
  .service-card--medium { grid-column: span 1; }

  /* Why */
  .why-inner { grid-template-columns: 1fr; gap: var(--sp-5); }
  .why-left { text-align: center; }
  .why-left .section-title { text-align: center; }
  .why-desc { text-align: center; margin: 0 auto var(--sp-4); }
  .why-left .btn { margin: 0 auto; }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-4);
  }
  .stat-divider { display: none; }

  /* Reviews */
  .reviews-grid { grid-template-columns: 1fr; }

  /* CTA Banner */
  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .cta-banner-actions {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner-actions .btn { width: 100%; }

  /* Contacts */
  .contacts-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-desc { max-width: none; }
  .footer-bottom { flex-direction: column; text-align: center; gap: var(--sp-1); }

  /* WhatsApp FAB — smaller on mobile but still 56px */
  .whatsapp-fab-label { display: none; }
  .whatsapp-fab { padding: 14px; border-radius: 50%; }

  /* Hero CTA stack on mobile */
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-2); }
  .hero-badge { font-size: 0.72rem; }
  .hero-h1 { font-size: clamp(1.8rem, 8vw, 2.2rem); }
}
