/* ════════════════════════════════════════════════════
   AUTOSCUOLA EXPRESS — style.css
   Mobile-first | Italian SEO | Pro Design
   ════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────── */
:root {
  --primary:       #E63946;
  --primary-dark:  #C1121F;
  --primary-light: #FF6B6B;
  --secondary:     #1D3557;
  --secondary-dark:#0D1B2A;
  --accent:        #457B9D;
  --white:         #FFFFFF;
  --off-white:     #F8F9FA;
  --gray-100:      #F1F3F5;
  --gray-200:      #E9ECEF;
  --gray-400:      #CED4DA;
  --gray-600:      #6C757D;
  --gray-800:      #343A40;
  --black:         #0D0D0D;
  --success:       #2DC653;
  --warning:       #F4A261;

  --font-main:     'Inter', sans-serif;
  --font-heading:  'Poppins', sans-serif;

  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     20px;
  --radius-xl:     32px;

  --shadow-sm:     0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.12);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.16);
  --shadow-red:    0 8px 24px rgba(230,57,70,0.3);

  --transition:    all 0.3s cubic-bezier(0.4,0,0.2,1);
  --navbar-h:      72px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul { list-style: none; }

address { font-style: normal; }

/* ── Typography ────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--secondary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 1rem; color: var(--gray-600); }

/* ── Container ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Sections ──────────────────────────────────────── */
section { padding: 5rem 0; }

.section-tag {
  display: inline-block;
  background: rgba(230,57,70,0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--secondary);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.text-center { text-align: center; }

/* ── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(230,57,70,0.4);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover {
  background: var(--secondary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* ── NAVBAR ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.navbar.scrolled .navbar__logo,
.navbar.scrolled .navbar__menu a {
  color: var(--secondary);
}

.navbar.scrolled .navbar__burger span {
  background: var(--secondary);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.navbar__logo strong {
  color: var(--primary);
}

.navbar.scrolled .navbar__logo strong {
  color: var(--primary);
}

.navbar__menu ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar__menu a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
}

.navbar__menu a:hover,
.navbar__menu a.active {
  color: var(--primary);
  background: rgba(230,57,70,0.08);
}

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 0.5rem;
  z-index: 100;
}

.dropdown li a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--gray-800) !important;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
}

.dropdown li a:hover {
  background: var(--gray-100);
  color: var(--primary) !important;
}

.has-dropdown:hover .dropdown { display: block; }

/* CTA btn nav */
.btn-nav {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-md) !important;
  font-weight: 700 !important;
}
.btn-nav:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

/* Burger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary) 50%, var(--accent) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-h);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(230,57,70,0.15) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(69,123,157,0.2) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero__title span {
  color: var(--primary-light);
  position: relative;
}

.hero__title span::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0; right: 0;
  height: 3px;
  background: var(--primary-light);
  border-radius: 2px;
  opacity: 0.5;
}

.hero__desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.hero__desc strong { color: var(--white); }

.hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero__badge svg {
  color: var(--success);
  flex-shrink: 0;
}

/* Hero visual */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__card-main {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  color: var(--white);
  width: 100%;
  max-width: 360px;
}

.hero__card-main h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.hero__patenti-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__patente-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}

.hero__patente-item:hover {
  background: var(--primary);
  transform: translateX(4px);
}

.hero__patente-badge {
  background: var(--primary);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* Floating cards */
.hero__float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  animation: floatCard 4s ease-in-out infinite;
}

.hero__float-card--1 {
  top: 10%;
  right: -5%;
  animation-delay: 0s;
}

.hero__float-card--2 {
  bottom: 20%;
  left: -8%;
  animation-delay: 2s;
}

.hero__float-card .icon {
  width: 36px; height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.hero__float-card--1 .icon { background: rgba(230,57,70,0.1); }
.hero__float-card--2 .icon { background: rgba(45,198,83,0.1); }

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ── STATS ──────────────────────────────────────────── */
.stats {
  padding: 4rem 0;
  background: var(--secondary);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stats__item {
  padding: 1.5rem;
}

.stats__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stats__label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── SERVIZI ────────────────────────────────────────── */
.servizi { background: var(--off-white); }

.servizi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.servizio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.servizio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--primary);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: var(--transition);
}

.servizio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.servizio-card:hover::before {
  transform: scaleY(1);
}

.servizio-card__icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-md);
  background: rgba(230,57,70,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.servizio-card:hover .servizio-card__icon {
  background: var(--primary);
  transform: scale(1.1);
}

.servizio-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: var(--secondary);
}

.servizio-card p {
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.servizio-card__link {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.servizio-card__link:hover { gap: 0.7rem; }

/* ── PATENTI ────────────────────────────────────────── */
.patenti__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.patente-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: block;
}

.patente-card:hover,
.patente-card.featured {
  border-color: var(--primary);
  background: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-red);
}

.patente-card:hover *,
.patente-card.featured * {
  color: var(--white) !important;
}

.patente-card__letter {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.patente-card h4 {
  font-size: 0.85rem;
  color: var(--gray-600);
  transition: var(--transition);
}

/* ── PERCHÉ NOI ──────────────────────────────────────── */
.perche-noi {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  color: var(--white);
}

.perche-noi .section-title { color: var(--white); }

.perche-noi__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.perche-noi__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.perche-noi__item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.perche-noi__item-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: rgba(230,57,70,0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.perche-noi__item-text h4 {
  color: var(--white);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.perche-noi__item-text p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin: 0;
}

.perche-noi__visual {
  position: relative;
}

.perche-noi__img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.perche-noi__img-wrap img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.perche-noi__badge-float {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-red);
  text-align: center;
}

.perche-noi__badge-float strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.perche-noi__badge-float span {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* ── PRENOTAZIONE CTA ────────────────────────────────── */
.cta-prenota {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 5rem 0;
  text-align: center;
}

.cta-prenota h2 { color: var(--white); margin-bottom: 1rem; }
.cta-prenota p  { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 2.5rem; }

.cta-prenota__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BLOG PREVIEW ────────────────────────────────────── */
.blog-preview { background: var(--off-white); }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

.blog-card__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-card__img {
  transform: scale(1.05);
}

.blog-card__img-wrap {
  overflow: hidden;
  height: 200px;
}

.blog-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.blog-card__cat {
  background: rgba(230,57,70,0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card__date {
  color: var(--gray-600);
  font-size: 0.8rem;
}

.blog-card h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex: 1;
}

.blog-card__link {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
}

/* ── TESTIMONIANZE ───────────────────────────────────── */
.testimonianze { background: var(--white); }

.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testi-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: var(--transition);
}

.testi-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.testi-card__stars {
  color: #F4A261;
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.testi-card__text {
  font-size: 0.925rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-style: italic;
  line-height: 1.7;
}

.testi-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.testi-card__author-info strong {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary);
}

.testi-card__author-info span {
  font-size: 0.8rem;
  color: var(--gray-600);
}

/* ── FORMS ───────────────────────────────────────────── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.form-error {
  color: var(--primary);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.form-success {
  background: rgba(45,198,83,0.1);
  border: 1px solid var(--success);
  color: #1a7a35;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

/* ── FOOTER ─────────────────────────────────────────── */
.footer {
  background: var(--secondary-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 4rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 1rem;
}

.footer__logo strong { color: var(--primary); }

.footer__col p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer__social {
  display: flex;
  gap: 0.75rem;
}

.footer__social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer__col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30px; height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer__col ul li {
  margin-bottom: 0.5rem;
}

.footer__col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.footer__col ul li a::before {
  content: '›';
  color: var(--primary);
  font-size: 1rem;
}

.footer__col ul li a:hover { color: var(--white); padding-left: 4px; }

.footer__col address p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

.footer__col address a { color: rgba(255,255,255,0.6); }
.footer__col address a:hover { color: var(--primary); }

/* Footer bottom */
.footer__bottom {
  padding: 1.25rem 0;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__bottom p {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
  transition: var(--transition);
}

.footer__legal a:hover { color: var(--white); }

/* ── WHATSAPP FLOAT ──────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
}

.whatsapp-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

/* ── COOKIE BANNER ───────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: -100%;
  left: 1rem; right: 1rem;
  max-width: 900px;
  margin: 0 auto;
  background: var(--secondary-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: bottom 0.5s cubic-bezier(0.4,0,0.2,1);
  border: 1px solid rgba(255,255,255,0.1);
}

.cookie-banner.show { bottom: 1.5rem; }

.cookie-banner__text { flex: 1; }
.cookie-banner__text strong { color: var(--white); display: block; margin-bottom: 0.25rem; }
.cookie-banner__text p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin: 0; }
.cookie-banner__text a { color: var(--primary); text-decoration: underline; }

.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cookie-accept:hover { background: var(--primary-dark); }

.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-cookie-reject:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ── PAGE HEADER (inner pages) ───────────────────────── */
.page-header {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  padding: 8rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-header p  { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.breadcrumb a { color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--primary-light); }

/* ── UTILITIES ───────────────────────────────────────── */
.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;
}

.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-white { color: var(--white); }
.bg-gray { background: var(--off-white); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════
   RESPONSIVE — Mobile First
   ══════════════════════════════════════════════════════ */

/* ── Tablet (≤ 1024px) ───────────────────────────────── */
@media (max-width: 1024px) {
  .stats__grid       { grid-template-columns: repeat(2, 1fr); }
  .servizi__grid     { grid-template-columns: repeat(2, 1fr); }
  .patenti__grid     { grid-template-columns: repeat(3, 1fr); }
  .perche-noi__grid  { grid-template-columns: 1fr; gap: 3rem; }
  .footer__grid      { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero__inner       { grid-template-columns: 1fr; }
  .hero__visual      { display: none; }
  .blog__grid        { grid-template-columns: repeat(2, 1fr); }
  .testi__grid       { grid-template-columns: repeat(2, 1fr); }
}

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

  section { padding: 3.5rem 0; }

  /* Navbar mobile */
  .navbar__menu {
    position: fixed;
    top: var(--navbar-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-110%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    max-height: calc(100vh - var(--navbar-h));
    overflow-y: auto;
  }

  .navbar__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .navbar__menu ul {
    flex-direction: column;
    gap: 0.25rem;
  }

  .navbar__menu a { color: var(--secondary) !important; }
  .navbar__burger { display: flex; }

  .dropdown {
    position: static;
    box-shadow: none;
    background: var(--gray-100);
    display: block;
    padding: 0.5rem;
    margin-top: 0.25rem;
    border-radius: var(--radius-md);
  }

  /* Hero */
  .hero { min-height: auto; padding: 7rem 0 5rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .hero__badges { gap: 1rem; }

  /* Grids → 1 col */
  .stats__grid       { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .servizi__grid     { grid-template-columns: 1fr; }
  .patenti__grid     { grid-template-columns: repeat(2, 1fr); }
  .blog__grid        { grid-template-columns: 1fr; }
  .testi__grid       { grid-template-columns: 1fr; }
  .footer__grid      { grid-template-columns: 1fr; gap: 2rem; }

  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; }

  /* Cookie banner */
  .cookie-banner {
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    left: 0.5rem; right: 0.5rem;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .btn-cookie-accept,
  .btn-cookie-reject { width: 100%; text-align: center; }

  /* WhatsApp */
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; }
}

/* ── Small mobile (≤ 480px) ──────────────────────────── */
@media (max-width: 480px) {
  .patenti__grid  { grid-template-columns: repeat(2, 1fr); }
  .stats__number  { font-size: 2rem; }
  .hero__badges   { flex-direction: column; gap: 0.75rem; }
}