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

/* Noticia Text — wordmark font */
@import url('https://fonts.googleapis.com/css2?family=Noticia+Text:wght@400;700&display=swap');

:root {
  --navy: #1a3a6b;
  --navy-dark: #122d56;
  --navy-light: #2250a0;
  --gold: #f5c842;
  --gold-light: #f9d96a;
  --gold-dark: #d4a800;
  --white: #ffffff;
  --off-white: #f5f7fb;
  --text: #1a3a6b;
  --text-body: #2a5298;
  --text-muted: #4a6fa5;
  --border: #dce4f0;
}

html { scroll-behavior: smooth; font-size: 17.5px; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  font-size: 17.5px;
  line-height: 1.6;
  padding-top: 108px;
}

/* ── NAV ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(26,58,107,0.07);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo .logo-shield {
  width: 64px; height: 64px; flex-shrink: 0;
  object-fit: contain;
}
.nav-logo .logo-text-wrap {
  display: flex; flex-direction: column;
  line-height: 1;
  gap: 4px;
}
.nav-logo .logo-top {
  font-family: 'Noticia Text', Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
  text-transform: uppercase;
  line-height: 1;
}
.nav-logo .logo-bottom {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--text-muted);
  text-transform: uppercase;
  line-height: 1;
}
.nav-inner { height: auto; min-height: 108px; padding-top: 16px; padding-bottom: 16px; }

/* Nav links — pill style */
.nav-links {
  display: flex; align-items: center; gap: 8px; list-style: none;
}
.nav-links a {
  font-size: 16px; font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  transition: background 0.18s, border-color 0.18s, color 0.18s;
  white-space: nowrap;
}
.nav-links a:hover { border-color: var(--navy); background: var(--off-white); }
.nav-links a.active { background: var(--gold); border-color: var(--gold); color: var(--navy); font-weight: 700; }

.nav-cta {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
  font-weight: 600 !important;
}
.nav-cta:hover { background: var(--navy-light) !important; border-color: var(--navy-light) !important; }
.nav-cta.active { background: var(--gold) !important; border-color: var(--gold) !important; color: var(--navy) !important; }

.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); transition: all 0.25s;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PAGE HEADER (con foto + overlay blu, stile hero) ── */
.page-header {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-bottom: none;
  background-color: var(--navy);
  background-image:
    linear-gradient(90deg,
      rgba(26,58,107,0.92) 0%,
      rgba(26,58,107,0.82) 40%,
      rgba(26,58,107,0.55) 65%,
      rgba(26,58,107,0.20) 85%,
      rgba(26,58,107,0) 100%),
    url('hero-bg.jpg?v=4');
  background-size: auto, cover;
  background-position: center, right 25%;
  background-repeat: no-repeat, no-repeat;
}
.page-header-inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 32px 72px 48px;
}
.page-header .breadcrumb {
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 18px;
}
.page-header .breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.page-header .breadcrumb a:hover { color: var(--gold-light); }
.page-header .breadcrumb span { margin: 0 6px; }
.page-header h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 18px;
  max-width: 820px;
}
.page-header p {
  font-size: 17.5px;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  line-height: 1.78;
  font-style: italic;
}

/* ── SECTION COMMONS ── */
section { padding: 80px 32px; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px;
}
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700; color: var(--navy); line-height: 1.2; margin-bottom: 14px;
}
.section-desc {
  font-size: 16.5px; color: var(--text-body); max-width: 640px; line-height: 1.82;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 14.5px; font-weight: 700;
  text-decoration: none;
  padding: 12px 28px; border-radius: 999px;
  border: 2px solid var(--gold);
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }

.btn-secondary {
  display: inline-block; border: 1.5px solid var(--border); color: var(--navy);
  font-size: 14.5px; font-weight: 500;
  text-decoration: none;
  padding: 12px 28px; border-radius: 999px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-secondary:hover { background: var(--off-white); border-color: var(--navy); }

/* ── TRUST STRIP ── */
.trust-strip { background: var(--off-white); padding: 18px 32px; border-bottom: 1px solid var(--border); border-top: 1px solid var(--border); }
.trust-strip-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; color: var(--navy); }
.trust-item svg { width: 20px; height: 20px; flex-shrink: 0; stroke: var(--navy); }
.trust-item span { font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--navy); }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  padding: 56px 32px 32px;
  border-top: 3px solid var(--gold);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 28px;
}
.footer-brand .footer-brand-row {
  display: flex; align-items: center; gap: 14px; margin-bottom: 14px;
}
.footer-brand .footer-brand-row img { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.footer-brand .footer-brand-text { display: flex; flex-direction: column; gap: 4px; line-height: 1; }
.footer-brand .footer-brand-text .logo-top {
  font-family: 'Noticia Text', Georgia, serif;
  font-size: 26px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; color: #ffffff; line-height: 1;
}
.footer-brand .footer-brand-text .logo-bottom {
  font-size: 12px; font-weight: 600; letter-spacing: 0.32em;
  text-transform: uppercase; color: rgba(255,255,255,0.72); line-height: 1;
}
.footer-brand p { font-size: 14.5px; color: rgba(255,255,255,0.55); margin-top: 14px; line-height: 1.7; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: nowrap; gap: 20px;
}
.footer-copy { font-size: 13.5px; color: rgba(255,255,255,0.55); white-space: nowrap; }
.footer-social { display: flex; gap: 10px; flex-shrink: 0; }
.footer-col h4 { font-size: 12.5px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 14.5px; color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold); }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: rgba(255,255,255,0.65);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.social-link svg { width: 15px; height: 15px; }
.social-link:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

/* ── BACK TO TOP ── */
.back-top {
  position: fixed; bottom: 96px; right: 24px;
  width: 46px; height: 46px; background: var(--gold);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; color: var(--navy);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s; z-index: 90;
  box-shadow: 0 4px 16px rgba(26,58,107,0.18);
}
.back-top.visible { opacity: 1; pointer-events: auto; }
.back-top svg { width: 18px; height: 18px; }

/* ── FLOATING WHATSAPP ── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px; z-index: 95;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.12);
  z-index: 95;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.4s ease-out infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37,211,102,0.5), 0 3px 10px rgba(0,0,0,0.15);
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float::before {
  content: '';
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: wa-ring 2.4s ease-out infinite;
}
.wa-float .wa-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%; transform: translateY(-50%);
  background: #1a3a6b; color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(26,58,107,0.25);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.wa-float .wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a3a6b;
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(-2px); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.12); }
  50% { box-shadow: 0 6px 20px rgba(37,211,102,0.55), 0 2px 8px rgba(0,0,0,0.12), 0 0 0 8px rgba(37,211,102,0.12); }
}
@keyframes wa-ring {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.5); }
}

@media (max-width: 640px) {
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 28px; height: 28px; }
  .wa-float .wa-tooltip { display: none; }
  .back-top { bottom: 84px; right: 22px; width: 42px; height: 42px; }
}

/* ── REVIEW CARDS ── */
.review-card {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: 8px; padding: 32px; position: relative;
}
.review-card::before {
  content: '"'; position: absolute; top: 16px; left: 24px;
  font-family: 'Playfair Display', serif; font-size: 5rem;
  color: var(--gold); opacity: 0.3; line-height: 1;
}
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.star {
  width: 14px; height: 14px; background: var(--gold);
  clip-path: polygon(50% 0%,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%);
}
.review-text { font-size: 15.5px; color: var(--text-body); line-height: 1.75; margin-bottom: 22px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  font-size: 15.5px; font-weight: 700; color: var(--gold); flex-shrink: 0;
}
.review-name { font-size: 14.5px; font-weight: 600; color: var(--navy); }
.review-source { font-size: 12.5px; color: var(--text-muted); }

/* ── CTA BAND ── */
.cta-band { background: var(--navy); padding: 72px 32px; }
.cta-band-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 700; color: #fff; margin-bottom: 8px;
}
.cta-text p { font-size: 16.5px; color: rgba(255,255,255,0.6); }
.cta-btn {
  display: inline-block; background: var(--gold); color: var(--navy);
  font-size: 14.5px; font-weight: 700;
  text-decoration: none;
  padding: 14px 32px; border-radius: 999px; white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.cta-btn:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── RESPONSIVE ── */
@media (max-width: 1000px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: absolute; top: 108px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px; gap: 14px;
    box-shadow: 0 8px 24px rgba(26,58,107,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; text-align: center; }
  .nav-hamburger { display: flex; }
  .nav-logo .logo-top { font-size: 24px; }
  .nav-logo .logo-bottom { font-size: 10px; letter-spacing: 0.24em; }
  .nav-logo .logo-shield { width: 46px; height: 46px; }
  .page-header-inner { padding: 56px 20px 48px; }
  section { padding: 56px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-wrap: wrap; }
  .footer-copy { white-space: normal; }
  .cta-band-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .trust-strip-inner { gap: 16px; }
  .nav-logo .logo-top { font-size: 20px; }
  .nav-logo .logo-bottom { font-size: 9px; letter-spacing: 0.22em; }
}


/* ── COOKIE BANNER ── */
#cookie-banner {
  position: fixed !important;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 99999 !important;
  background: #ffffff !important;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(26,58,107,0.25), 0 4px 12px rgba(26,58,107,0.08);
  padding: 18px 22px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
  max-width: 1100px;
  margin: 0 auto;
  display: block !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
#cookie-banner.cb-visible { transform: translateY(0); opacity: 1; }
#cookie-banner.cb-hidden { transform: translateY(140%); opacity: 0; }

.cb-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cb-text {
  flex: 1; min-width: 260px;
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.62;
}
.cb-text strong { color: var(--navy); display: inline; margin-right: 4px; }
.cb-text a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
  white-space: nowrap;
}
.cb-text a:hover { color: var(--gold-dark); }

.cb-actions {
  display: flex; gap: 10px; flex-shrink: 0;
}
.cb-btn {
  font-family: inherit;
  font-size: 14.5px; font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, transform 0.1s;
  white-space: nowrap;
}
.cb-btn:hover { transform: translateY(-1px); }
.cb-reject { background: #fff; color: var(--text-muted); border-color: var(--border); }
.cb-reject:hover { border-color: var(--navy); color: var(--navy); }
.cb-accept { background: var(--navy); border-color: var(--navy); color: var(--gold); }
.cb-accept:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

@media (max-width: 640px) {
  #cookie-banner { padding: 16px; left: 8px; right: 8px; bottom: 8px; }
  .cb-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cb-actions { justify-content: flex-end; }
  .cb-btn { padding: 10px 18px; font-size: 14px; }
}
/* ── FLOATING BUTTONS GROUP ── */
.float-group {
  position: fixed;
  bottom: 24px; right: 24px;
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  z-index: 95;
}
.float-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.float-btn:hover { transform: scale(1.08); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn .float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%; transform: translateY(-50%);
  background: #1a3a6b; color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(26,58,107,0.25);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s;
}
.float-btn .float-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a3a6b;
}
.float-btn:hover .float-tooltip { opacity: 1; }

/* WhatsApp */
.float-btn.float-wa {
  background: #25D366;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.12);
  animation: wa-pulse 2.4s ease-out infinite;
}
.float-btn.float-wa svg { fill: #fff; }

/* Chiamata */
.float-btn.float-call {
  background: #1a3a6b;
  box-shadow: 0 4px 16px rgba(26,58,107,0.35);
}
.float-btn.float-call svg { stroke: #fff; fill: none; stroke-width: 2; }

/* Indicazioni */
.float-btn.float-maps {
  background: #fff;
  border: 2px solid #e0e8f0;
  box-shadow: 0 4px 16px rgba(26,58,107,0.15);
}
.float-btn.float-maps svg { fill: none; stroke: #1a3a6b; stroke-width: 2; }

@media (max-width: 640px) {
  .float-group { bottom: 18px; right: 18px; gap: 10px; }
  .float-btn { width: 50px; height: 50px; }
  .float-btn svg { width: 22px; height: 22px; }
  .float-btn .float-tooltip { display: none; }
}
