/* ═══════════════════════════════════════════════════════════════════
   Di Ma Assicurazioni — style.css
   Palette, tipografia e layout da references/STYLE-GUIDE.md
   ═══════════════════════════════════════════════════════════════════ */

/* ── Custom Properties ──────────────────────────────────────────── */
:root {
  --navy:         #0D1F5C;
  --navy-dark:    #091649;
  --accent:       #1A6FBF;
  --accent-hover: #155fa0;
  --white:        #FFFFFF;
  --text-primary: #1A1A2E;
  --text-muted:   #4A4F6A;
  --bg-alt:       #F4F6FB;
  --border:       #DDE3F0;
  --shadow:       rgba(13, 31, 92, 0.08);
  --shadow-md:    rgba(13, 31, 92, 0.14);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --space-xs:  8px;
  --space-sm:  16px;
  --space-md:  24px;
  --space-lg:  40px;
  --space-xl:  64px;
  --space-2xl: 100px;

  --container: 1200px;
  --radius:    4px;
  --radius-md: 8px;

  --t-fast: 150ms ease;
  --t-base: 220ms ease;
  --t-slow: 320ms ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ──────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* ── Scroll Reveal ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  transition:
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform var(--t-base);
  cursor: pointer;
  white-space: nowrap;
}

/* Outline navy — sfondo bianco, bordo navy */
.btn--outline {
  background: var(--white);
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Primary — uguale a outline, usato nel corpo pagina */
.btn--primary {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--primary:hover {
  background: var(--navy);
  color: var(--white);
}

/* White — su sfondi scuri */
.btn--white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn--white:hover {
  background: transparent;
  color: var(--white);
}

/* Ghost — trasparente su sfondo scuro */
.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

/* Accent — blu pieno */
.btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(26,111,191,0.3);
  transform: translateY(-1px);
}

.btn--full { width: 100%; justify-content: center; }

/* ── Section Shared ─────────────────────────────────────────────── */
.section { padding: var(--space-2xl) 0; }

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto var(--space-xl);
}

.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section-tag--light { color: rgba(255,255,255,0.55); }

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}
.section-title em {
  font-style: italic;
  color: var(--accent);
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.75;
}


/* ══════════════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px var(--shadow);
}

.navbar__inner {
  display: flex;
  align-items: center;
  height: 72px;
  gap: var(--space-md);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.navbar__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  position: relative;
  transition: color var(--t-fast);
}
.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width var(--t-base);
}
.navbar__link:hover             { color: var(--accent); }
.navbar__link:hover::after      { width: 100%; }

/* Login button — navbar */
.navbar__login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1.5px solid var(--accent);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  background: transparent;
  transition: background 180ms, color 180ms;
  white-space: nowrap;
}
.navbar__login:hover {
  background: var(--accent);
  color: #fff;
}
.navbar--scrolled .navbar__login {
  border-color: var(--accent);
}

/* Brand text — destra */
.navbar__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-left: auto;
  line-height: 1.2;
  text-decoration: none;
}

.navbar__brand-main {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.navbar__brand-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.navbar__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ══════════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 35%;
  transform: scale(1.03);
  transition: transform 7s ease-out;
}
.hero.loaded .hero__bg { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(13,31,92,0.92) 0%,
    rgba(13,31,92,0.68) 48%,
    rgba(13,31,92,0.22) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 72px;
}

.hero__content { max-width: 570px; padding: var(--space-xl) 0; }

.hero__eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-md);
}
.hero__title em {
  font-style: italic;
  color: rgba(255,255,255,0.82);
}

.hero__subtitle {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  margin-bottom: var(--space-lg);
  max-width: 460px;
}

.hero__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }


/* ══════════════════════════════════════════════════════════════════
   STRIP
   ══════════════════════════════════════════════════════════════════ */
.strip {
  background: var(--navy);
  padding: var(--space-lg) 0;
}

.strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: var(--space-md);
}

.strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.strip__number {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}

.strip__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.strip__divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════════════
   SERVIZI
   ══════════════════════════════════════════════════════════════════ */
.services { background: var(--white); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px var(--shadow-md);
  border-color: transparent;
}
.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.service-card__icon svg { width: 100%; height: 100%; }

.service-card__title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.service-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.service-card__link {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  transition: color var(--t-fast);
  letter-spacing: 0.02em;
}
.service-card__link:hover { color: var(--navy); }


/* ══════════════════════════════════════════════════════════════════
   CHI SIAMO
   ══════════════════════════════════════════════════════════════════ */
.about { background: var(--bg-alt); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about__visual { position: relative; }

.about__img-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 24px 60px var(--shadow-md);
}

.about__img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
}

.about__badge {
  position: absolute;
  bottom: var(--space-lg);
  right: calc(-1 * var(--space-md));
  background: var(--navy);
  color: var(--white);
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 16px 40px rgba(13,31,92,0.32);
}

.about__badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}

.about__badge-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
  line-height: 1.4;
}

.about__body { padding-left: var(--space-sm); }
.about__body .section-title { margin-top: 10px; }

.about__text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: var(--space-md);
}
.about__text strong { color: var(--text-primary); font-weight: 600; }

.about__body .btn { margin-top: var(--space-sm); }


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

.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.why-card {
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-md);
  transition: background var(--t-slow);
}
.why-card:hover { background: var(--bg-alt); }

.why-card__icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: var(--space-md);
}
.why-card__icon svg { width: 100%; height: 100%; }

.why-card__title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.why-card__text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
}


/* ══════════════════════════════════════════════════════════════════
   TESTIMONIANZE
   ══════════════════════════════════════════════════════════════════ */
.testimonials { background: var(--bg-alt); }

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  box-shadow: 0 4px 28px var(--shadow);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.testimonial__mark {
  font-family: var(--font-serif);
  font-size: 72px;
  line-height: 0.75;
  color: var(--accent);
  opacity: 0.25;
  font-style: italic;
  user-select: none;
  display: block;
}

.testimonial__text {
  font-size: 15px;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.testimonial__role {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}


/* ══════════════════════════════════════════════════════════════════
   CONTATTI
   ══════════════════════════════════════════════════════════════════ */
.contact {
  background: var(--navy);
  padding: var(--space-2xl) 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
}

.contact__title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
  margin: 10px 0 var(--space-md);
}
.contact__title em {
  font-style: italic;
  color: rgba(255,255,255,0.72);
}

.contact__subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.62);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact__info-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}
.contact__info-item svg { flex-shrink: 0; width: 20px; height: 20px; opacity: 0.7; }
.contact__info-item svg.icon-whatsapp { opacity: 1; }
.contact__info-item svg.icon-phone { stroke: #e53e3e; opacity: 1; }
.contact__info-item svg.icon-email  { stroke: #ffffff; opacity: 1; }
.contact__info-item a {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  transition: color 180ms;
}
.contact__info-item a:hover { color: #fff; }

/* Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

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

.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-label-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

.form-input {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  width: 100%;
  outline: none;
  appearance: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-input::placeholder { color: #B0B7CC; }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,111,191,0.12);
}

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

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-checkbox {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.form-check-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-check-label a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }


/* ══════════════════════════════════════════════════════════════════
   MODALE
   ══════════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 22, 73, 0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease;
}
.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  display: grid;
  grid-template-columns: 280px 1fr;
  width: 100%;
  max-width: 820px;
  max-height: 92vh;
  border-radius: 12px;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 250ms ease;
  box-shadow: 0 40px 100px rgba(9, 22, 73, 0.35);
}
.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

/* ── Visual (colonna sinistra) ─────────── */
.modal__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 480px;
  overflow: hidden;
}

.modal__visual-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.modal__visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(13,31,92,0.45) 0%,
    rgba(13,31,92,0.92) 60%,
    rgba(9,22,73,0.98) 100%
  );
}

.modal__visual-content {
  position: relative;
  z-index: 1;
  padding: var(--space-lg) var(--space-md) var(--space-lg);
}

.modal__visual-icon {
  width: 48px;
  height: 48px;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-md);
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.modal__visual-icon svg { width: 100%; height: 100%; }

.modal__visual-title {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.modal__visual-desc {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin-bottom: var(--space-md);
}

.modal__visual-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: var(--space-md);
}

.modal__visual-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.modal__visual-features li svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ── Body (colonna destra) ─────────────── */
.modal__body {
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 92vh;
}

.modal__body-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-lg) var(--space-sm);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 1;
}

.modal__body-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.modal__close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast);
}
.modal__close svg { width: 16px; height: 16px; }
.modal__close:hover { background: var(--bg-alt); color: var(--text-primary); }

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: var(--space-md) var(--space-lg) var(--space-lg);
  flex: 1;
}

.modal__submit {
  margin-top: 4px;
  padding: 15px 28px;
  font-size: 13px;
}

/* Targa */
.targa-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.targa-prefix {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.targa-input {
  padding-left: 40px;
  letter-spacing: 0.2em;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 180px;
}

/* Required / optional */
.form-required      { color: var(--accent); font-weight: 700; }
.form-label-optional { font-weight: 400; text-transform: none; letter-spacing: 0; opacity: 0.65; font-size: 11px; }

/* File drop zone */
.file-drop {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--t-base), background var(--t-base);
  position: relative;
}
.file-drop:hover,
.file-drop.dragover {
  border-color: var(--accent);
  background: rgba(26, 111, 191, 0.04);
}

.file-drop__icon {
  width: 28px;
  height: 28px;
  color: var(--accent);
  margin: 0 auto 8px;
  opacity: 0.7;
}

.file-drop__text { font-size: 13px; color: var(--text-muted); }

.file-drop__browse {
  color: var(--accent);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.file-drop__hint {
  font-size: 11px;
  color: var(--text-muted);
  opacity: 0.65;
  margin-top: 4px;
}

.file-drop__input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

/* File list */
.file-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.file-list__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-primary);
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 7px 12px;
}

.file-list__item svg { color: var(--accent); flex-shrink: 0; }
.file-list__name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-list__size { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }

.file-list__remove {
  color: var(--text-muted);
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--t-fast);
  display: flex;
  align-items: center;
}
.file-list__remove:hover { color: #c0392b; }

/* Mobile modale */
@media (max-width: 680px) {
  .modal { grid-template-columns: 1fr; }
  .modal__visual { min-height: 200px; justify-content: flex-start; }
  .modal__visual-content { padding: var(--space-md); }
  .modal__visual-features { display: none; }
  .modal__visual-title { font-size: 22px; }
  .modal__body { max-height: none; }
}

/* ══════════════════════════════════════════════════════════════════
   PARTNERS CAROUSEL
   ══════════════════════════════════════════════════════════════════ */
.partners {
  background: #f7f8fc;
  border-top: 1px solid #e8ecf4;
  border-bottom: 1px solid #e8ecf4;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.partners__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.partners__label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8a95b0;
}

.partners__track-wrap {
  position: relative;
  overflow: hidden;
  /* fade edges */
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: partners-scroll 32s linear infinite;
}

.partners__track:hover {
  animation-play-state: paused;
}

.partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  /* larghezza fissa per ritmo regolare dello scroll */
  width: 200px;
  height: 64px;
  position: relative;
}

.partners__item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: #dde3ef;
}

.partners__svg {
  /*
     ALTEZZA fissa su ogni img = stessa altezza visiva per tutti i loghi,
     indipendentemente dalle proporzioni originali del file.
     La larghezza si adatta in modo naturale.
  */
  height: 44px;
  width: auto;
  max-width: 172px;   /* cap per loghi molto larghi (es. Italiana) */
  display: block;
  object-fit: contain;
  opacity: 0.82;
  transition: opacity 220ms, transform 220ms, filter 220ms;
  filter: grayscale(8%);
}

.partners__item:hover .partners__svg {
  opacity: 1;
  transform: scale(1.06);
  filter: grayscale(0%);
}

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

@media (prefers-reduced-motion: reduce) {
  .partners__track { animation: none; }
}

/* ══════════════════════════════════════════════════════════════════
   DOVE SIAMO
   ══════════════════════════════════════════════════════════════════ */
.where { background: #f7f8fc; }

.where__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-xl);
  align-items: stretch;
  min-height: 380px;
}

.where__info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.where__info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.where__info-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: var(--accent);
}
.where__info-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.where__info-item strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy);
}
.where__info-item span {
  font-size: 0.9rem;
  color: #4a5578;
  line-height: 1.5;
}
.where__info-item a {
  color: #4a5578;
  text-decoration: none;
  transition: color 150ms;
}
.where__info-item a:hover { color: var(--accent); }

.where__directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding: 10px 20px;
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms, transform 140ms;
  align-self: flex-start;
}
.where__directions svg { width: 15px; height: 15px; stroke: #fff; }
.where__directions:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.where__map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(13,31,92,0.10);
  min-height: 380px;
}
.where__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: none;
}

/* Click-to-load placeholder */
.where__map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-height: 380px;
  background: linear-gradient(145deg, #e8ecf4 0%, #f0f2f8 100%);
  text-align: center;
  padding: 40px 24px;
}
.where__map-placeholder svg {
  width: 48px;
  height: 48px;
  stroke: var(--navy);
  opacity: 0.55;
}
.where__map-placeholder p {
  font-family: var(--font-sans);
  font-size: 0.97rem;
  color: #4a5578;
  line-height: 1.6;
  margin: 0;
}
.where__map-placeholder strong {
  color: var(--navy);
}
.where__map-btn {
  margin-top: 4px;
  padding: 12px 28px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background 180ms, transform 140ms, box-shadow 180ms;
  box-shadow: 0 4px 14px rgba(13,31,92,0.18);
}
.where__map-btn:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,111,191,0.28);
}
.where__map-btn:active { transform: translateY(0); }

@media (max-width: 768px) {
  .where__inner {
    grid-template-columns: 1fr;
  }
  .where__map { min-height: 280px; }
  .where__map iframe { min-height: 280px; }
  .where__map-placeholder { min-height: 280px; }
}

/* ══════════════════════════════════════════════════════════════════
   SINISTRI
   ══════════════════════════════════════════════════════════════════ */
.claims { background: var(--bg-alt); }

.claims .section-subtitle {
  max-width: 580px;
  margin-inline: auto;
}

/* Steps grid */
.claims__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: var(--space-xl) 0 var(--space-lg);
  position: relative;
  list-style: none;
}

/* Connecting line between steps */
.claims__steps::before {
  content: '';
  position: absolute;
  top: 38px;
  left: calc(10% + 28px);
  right: calc(10% + 28px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--navy) 100%);
  opacity: 0.18;
  pointer-events: none;
}

.claims__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

/* Step number bubble */
.claims__step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(13,31,92,0.22);
  transition: background var(--t-base), transform var(--t-base);
}
.claims__step:hover .claims__step-num {
  background: var(--accent);
  transform: scale(1.08);
}

/* Icon */
.claims__step-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px var(--shadow);
  color: var(--accent);
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.claims__step:hover .claims__step-icon {
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(26,111,191,0.18);
}

.claims__step-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.claims__step-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.claims__step-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Bottom CTA */
.claims__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .claims__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg) 0;
  }
  .claims__steps::before { display: none; }
}

@media (max-width: 600px) {
  .claims__steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md) 0;
  }
  .claims__step { padding: 0 12px; }
  .claims__step:last-child {
    grid-column: 1 / -1;
  }
}


/* ══════════════════════════════════════════════════════════════════
   ARTICOLI / LO SAPEVI CHE
   ══════════════════════════════════════════════════════════════════ */
.articles { background: var(--white); }

.articles .section-subtitle {
  max-width: 560px;
  margin-inline: auto;
}

/* 3-column grid */
.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin: var(--space-xl) 0 var(--space-xl);
}

/* Article card */
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px var(--shadow-md);
}

/* Colored cover strip */
.article-card__cover {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.article-card__cover--mobilita {
  background: linear-gradient(135deg, #0D1F5C 0%, #1A4080 100%);
}
.article-card__cover--lavoro {
  background: linear-gradient(135deg, #1A4F8C 0%, #1A6FBF 100%);
}
.article-card__cover--casa {
  background: linear-gradient(135deg, #0D3060 0%, #0D4080 100%);
}
.article-card__cover--protezione {
  background: linear-gradient(135deg, #15558C 0%, #1A6FBF 100%);
}
.article-card__cover--risparmio {
  background: linear-gradient(135deg, #0a2a5c 0%, #1b4a82 100%);
}

/* Card body */
.article-card__body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card__tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(26,111,191,0.1);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 20px;
  margin-bottom: 14px;
  width: fit-content;
}

.article-card__title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 12px;
}

.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 20px;
}

.article-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--t-fast), color var(--t-fast);
  width: fit-content;
}
.article-card__link:hover {
  color: var(--navy);
  gap: 8px;
}

/* Skeleton loader — visibile durante il fetch articoli */
@keyframes skeleton-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}
.article-skeleton {
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #e8ecf4 0%, #f0f2f8 100%);
  min-height: 320px;
  animation: skeleton-pulse 1.6s ease-in-out infinite;
}
.article-skeleton:nth-child(2) { animation-delay: 0.2s; }
.article-skeleton:nth-child(3) { animation-delay: 0.4s; }

/* Messaggio nessun articolo */
.articles__empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.97rem;
  padding: var(--space-xl) 0;
}

/* Newsletter strip */
.newsletter {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.newsletter__content {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
  min-width: 240px;
}

.newsletter__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}

.newsletter__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.newsletter__sub {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
  margin: 0;
}

.newsletter__form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  min-width: 300px;
  max-width: 380px;
  width: 100%;
}

.newsletter__input {
  flex: 1;
  padding: 13px 18px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--t-base), background var(--t-base);
}
.newsletter__input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter__input:focus {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.15);
}

.newsletter__btn {
  padding: 13px 24px;
  background: #fff;
  color: var(--navy);
  border: none;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background var(--t-base), color var(--t-base);
}
.newsletter__btn:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 960px) {
  .articles__grid {
    grid-template-columns: 1fr 1fr;
  }
  .article-card:last-child {
    grid-column: 1 / -1;
    max-width: 420px;
    justify-self: center;
  }
}

@media (max-width: 640px) {
  .articles__grid {
    grid-template-columns: 1fr;
  }
  .article-card:last-child {
    grid-column: auto;
    max-width: none;
  }
  .newsletter {
    padding: 32px 24px;
    flex-direction: column;
    align-items: stretch;
  }
  .newsletter__form {
    min-width: auto;
    max-width: none;
  }
}


/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer { background: #12122A; }

.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: var(--space-xl);
  padding: var(--space-2xl) var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  max-width: var(--container);
  margin: 0 auto;
}

.footer__wordmark {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: var(--space-md);
}

.footer__wordmark-main {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}

.footer__wordmark-sub {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.footer__description {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.8;
  max-width: 280px;
}

.footer__col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: var(--space-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-fast);
}
.footer__links li a:hover { color: var(--white); }
.footer__links li span {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

.footer__bottom {
  padding: var(--space-md) 0;
}
.footer__bottom-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.footer__copy { font-size: 12px; color: rgba(255,255,255,0.25); }

.footer__legal { display: flex; gap: var(--space-md); }
.footer__legal a {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  transition: color var(--t-fast);
}
.footer__legal a:hover { color: rgba(255,255,255,0.6); }


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════════ */

/* ── Tablet ≤ 1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .why__grid      { grid-template-columns: repeat(2, 1fr); }

  .about__inner { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .about__badge { right: var(--space-xs); }

  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ── Mobile ≤ 768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
  .section   { padding: var(--space-xl) 0; }

  /* Navbar */
  .navbar__nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-lg) var(--space-md);
    gap: var(--space-md);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px var(--shadow);
    transform: translateY(-110%);
    transition: transform var(--t-slow);
  }
  .navbar__nav.open { transform: translateY(0); }
  .navbar__cta      { display: none; }
  .navbar__burger   { display: flex; }

  /* Hero */
  .hero { min-height: 100svh; }
  .hero__overlay {
    background: linear-gradient(180deg, rgba(13,31,92,0.88) 0%, rgba(13,31,92,0.6) 100%);
  }
  .hero__content  { max-width: 100%; }
  .hero__actions  { flex-direction: column; }
  .hero__actions .btn { justify-content: center; }

  /* Strip */
  .strip__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg) var(--space-sm);
  }
  .strip__divider { display: none; }

  /* Servizi */
  .services__grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .about__inner  { grid-template-columns: 1fr; }
  .about__img    { height: 340px; }
  .about__badge  { right: var(--space-sm); bottom: var(--space-sm); }
  .about__body   { padding-left: 0; }

  /* Perché noi */
  .why__grid { grid-template-columns: repeat(2, 1fr); }

  /* Testimonianze */
  .testimonials__grid { grid-template-columns: 1fr; }

  /* Contatti */
  .contact__inner { grid-template-columns: 1fr; gap: var(--space-xl); }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: var(--space-lg); padding: var(--space-xl) var(--space-md); }
  .footer__brand { grid-column: auto; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
}

/* ── Small ≤ 480px ───────────────────────────────────────────────── */
@media (max-width: 480px) {
  .services__grid { grid-template-columns: 1fr; }
  .why__grid      { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .strip__inner   { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════════════
   STICKY BOTTOM BANNER — RC AUTO
══════════════════════════════════════════════════════════════════ */
.sticky-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--navy);
  border-top: 2px solid var(--accent);
  box-shadow: 0 -4px 32px rgba(13,31,92,0.22);
  transform: translateY(100%);
  transition: transform 380ms cubic-bezier(0.34, 1.2, 0.64, 1);
  will-change: transform;
}
.sticky-banner.visible {
  transform: translateY(0);
}
.sticky-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}
.sticky-banner__text {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  flex-shrink: 0;
}
.sticky-banner__text svg {
  flex-shrink: 0;
  opacity: 0.85;
}
.sticky-banner__label {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.sticky-banner__sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
}
.sticky-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 12px 28px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 200ms, transform 150ms, box-shadow 200ms;
  box-shadow: 0 4px 16px rgba(26,111,191,0.35);
}
.sticky-banner__cta:hover {
  background: #1560a8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,111,191,0.45);
}
.sticky-banner__cta:active {
  transform: translateY(0);
}
.sticky-banner__cta svg {
  transition: transform 180ms;
}
.sticky-banner__cta:hover svg {
  transform: translateX(3px);
}

/* Offset footer so banner doesn't cover content */
.footer {
  padding-bottom: calc(var(--space-xl) + 68px);
}

@media (max-width: 640px) {
  .sticky-banner__inner {
    padding: 12px 16px;
    gap: var(--space-sm);
  }
  .sticky-banner__sub { display: none; }
  .sticky-banner__label { font-size: 0.95rem; }
  .sticky-banner__cta { padding: 10px 20px; font-size: 0.88rem; }
}
