/* =========================================================
   GENNARO RUSSO — CONSULENTE DEL CREDITO
   Design: Italian Private Banking — Eleganza, Autorevolezza
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

/* ---- Variabili ---- */
:root {
  --navy:        #0d1f3c;
  --navy-mid:    #162d52;
  --navy-light:  #1e3d6e;
  --gold:        #c5a253;
  --gold-light:  #d9bc7a;
  --gold-pale:   #f5eed8;
  --off-white:   #f8f6f2;
  --white:       #ffffff;
  --text-dark:   #0d1f3c;
  --text-mid:    #4a5568;
  --text-light:  #718096;
  --border:      #e2d9c8;
  --shadow-sm:   0 2px 12px rgba(13,31,60,.08);
  --shadow-md:   0 6px 30px rgba(13,31,60,.14);
  --shadow-lg:   0 16px 60px rgba(13,31,60,.18);
  --radius:      10px;
  --radius-lg:   18px;
  --transition:  0.32s cubic-bezier(.4,0,.2,1);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Outfit', system-ui, sans-serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-mid); }

/* =========================================================
   LAYOUT UTILITIES
   ========================================================= */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}
.section { padding: 72px 0; }
.section--bg { background: var(--white); }
.section--navy { background: var(--navy); }
.section-label {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title--center { text-align: center; }
.section-title--white { color: var(--white); }
.section-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  line-height: 1.75;
}
.section-lead--center { text-align: center; margin: 0 auto; }
.divider-gold {
  width: 56px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 20px 0 32px;
}
.divider-gold--center { margin-left: auto; margin-right: auto; }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .04em;
  border: none;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: var(--transition);
}
.btn:hover::after { background: rgba(255,255,255,.08); }
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,162,83,.35); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.5);
}
.btn--outline:hover { border-color: var(--gold); color: var(--gold); }
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--sm { padding: 10px 20px; font-size: .85rem; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,31,60,.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(197,162,83,.2);
  transition: var(--transition);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}
.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.navbar__logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}
.navbar__logo-text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.navbar__logo-text span {
  display: block;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
}
.navbar__nav {
  display: none;
  align-items: center;
  gap: 4px;
}
.navbar__nav a {
  font-size: .88rem;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: .02em;
}
.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--gold);
  background: rgba(197,162,83,.1);
}
.navbar__cta { display: none; }
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: none; border: none;
  padding: 6px;
  border-radius: 6px;
  transition: var(--transition);
}
.navbar__hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__hamburger:hover { background: rgba(255,255,255,.1); }
.navbar__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__hamburger.open span:nth-child(2) { opacity: 0; }
.navbar__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  flex-direction: column;
  background: var(--navy);
  border-top: 1px solid rgba(197,162,83,.15);
  padding: 16px 20px 24px;
  gap: 4px;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  font-size: .95rem;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  padding: 12px 16px;
  border-radius: 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar__mobile a:hover,
.navbar__mobile a.active { color: var(--gold); background: rgba(197,162,83,.1); }
.navbar__mobile .mobile-cta {
  margin-top: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy) !important;
  font-weight: 700;
  justify-content: center;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  min-height: 100svh;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-mid) 60%, #0a1628 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 72px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
          radial-gradient(ellipse 80% 60% at 70% 50%, rgba(197,162,83,.07) 0%, transparent 70%),
          radial-gradient(ellipse 50% 80% at 10% 80%, rgba(30,61,110,.4) 0%, transparent 60%);
  pointer-events: none;
}
/* Texture grain */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  opacity: .03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__content {}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
}
.hero__title {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 8px;
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__subtitle {
  font-family: var(--font-sans);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.hero__stat-value {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero__stat-label {
  font-size: .78rem;
  font-weight: 400;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 4px;
}

/* Stili per il Logo nella sezione Hero */
.hero__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero__logo img {
  width: 100%;
  max-width: 380px;
  height: auto;
  opacity: 0.95;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.25)); /* Dona profondità al logo outline */
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust-strip {
  background: var(--navy-mid);
  border-top: 1px solid rgba(197,162,83,.15);
  border-bottom: 1px solid rgba(197,162,83,.15);
  padding: 18px 0;
}
.trust-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 32px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 500;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
  white-space: nowrap;
}
.trust-item i { color: var(--gold); font-size: .9rem; }

/* =========================================================
   SERVICES
   ========================================================= */
.services__header {
  text-align: center;
  margin-bottom: 52px;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(197,162,83,.4);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, rgba(197,162,83,.12), rgba(197,162,83,.04));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--gold);
  border: 1px solid rgba(197,162,83,.2);
}
.service-card__num {
  font-family: var(--font-serif);
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .08em;
  margin-bottom: 6px;
}
.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.service-card__desc {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* =========================================================
   STORIA / ABOUT
   ========================================================= */
.storia {
  background: var(--white);
}
.storia__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: center;
}
.storia__photo {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  width: 100%;
}
.storia__photo img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: top center;
  aspect-ratio: 3/4;
  mix-blend-mode: multiply; /* Fonde lo sfondo bianco dell'immagine con lo sfondo della sezione */
}
.storia__photo-card {
  position: absolute;
  bottom: -20px; right: -16px;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}
.storia__photo-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--gold);
}
.storia__photo-card span {
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
}
.storia__timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}
.storia__milestone {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.storia__milestone-dot {
  flex-shrink: 0;
  margin-top: 4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(197,162,83,.2);
}
.storia__milestone p { font-size: .9rem; color: var(--text-mid); }
.storia__milestone strong { color: var(--navy); }

/* Integra Finance badge */
.integra-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #f8f6f2, #fff);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-top: 16px;
}
.integra-badge img {
  height: 40px;
  width: auto;
}
.integra-badge-text {
  font-size: .82rem;
  color: var(--text-mid);
  line-height: 1.5;
}
.integra-badge-text strong { color: var(--navy); display: block; font-size: .9rem; }

/* =========================================================
   INTEGRA FINANCE SECTION
   ========================================================= */
.integra-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.integra-section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197,162,83,.06) 0%, transparent 70%);
  pointer-events: none;
}
.integra__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.integra__logo-wrap {
  text-align: center;
}
.integra__logo {
  max-width: 220px;
  margin: 0 auto;
  opacity: .95;
}
.integra__divider {
  width: 1px; height: 1px;
  background: rgba(197,162,83,.3);
}
.integra__text .section-label { color: var(--gold); }
.integra__text h2 { color: var(--white); }
.integra__text p { color: rgba(255,255,255,.7); }
.integra__pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.integra__pill {
  font-size: .78rem;
  font-weight: 500;
  color: var(--gold);
  border: 1px solid rgba(197,162,83,.3);
  border-radius: 100px;
  padding: 6px 14px;
  background: rgba(197,162,83,.07);
  letter-spacing: .04em;
}

/* =========================================================
   INFO / ORARI / SEDE
   ========================================================= */
.info__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.info-card__icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--gold-pale), rgba(197,162,83,.05));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 16px;
  border: 1px solid rgba(197,162,83,.2);
}
.info-card h3 { margin-bottom: 12px; font-size: 1.1rem; }
.info-card ul { display: flex; flex-direction: column; gap: 8px; }
.info-card ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .9rem;
  color: var(--text-mid);
}
.info-card ul li i { color: var(--gold); width: 16px; flex-shrink: 0; margin-top: 3px; font-size: .85rem; }
.info-card ul li strong { color: var(--text-dark); }

/* =========================================================
   MAP
   ========================================================= */
.map-section { padding: 0; }
.map-wrapper {
  height: 340px;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
}
.map-wrapper iframe {
  width: 100%; height: 100%; border: 0;
  filter: grayscale(20%) contrast(1.05);
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.contact__detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact__detail-card h3 { margin-bottom: 24px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; }
.contact-list-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-list-item__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: .9rem;
}
.contact-list-item__label {
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 2px;
}
.contact-list-item__value {
  font-size: .95rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* =========================================================
   FORM
   ========================================================= */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
}
.form-card h3 { margin-bottom: 6px; }
.form-card .form-subtitle {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.form-group label .req { color: var(--gold); }

/* RESET STILE APPLICATO SOLO AI CAMPI DI TESTO/SELECT, NON AI CHECKBOX! */
.form-group input:not([type="checkbox"]),
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--off-white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(197,162,83,.12);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.form-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

/* IL CHECKBOX ORA RIMANE COMPLETAMENTE NATIVO */
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}

.form-check label {
  font-size: .85rem;
  color: var(--text-mid);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}
.form-check label a { color: var(--navy); text-decoration: underline; }
.form-error-box {
  display: none;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #c53030;
  font-size: .88rem;
  margin-bottom: 20px;
}
.form-error-box.show { display: flex; gap: 10px; align-items: flex-start; }
/* Honeypot */
.ohnohoney { display: none !important; }

/* =========================================================
   CONFIRMATION PAGE
   ========================================================= */
.confirm-page {
  min-height: 80svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
}
.confirm-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 36px;
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}
.confirm-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c6f6d5, #9ae6b4);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  color: #276749;
  margin: 0 auto 24px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
  border-top: 1px solid rgba(197,162,83,.2);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand img {
  height: 48px;
  margin-bottom: 14px;
}
.footer__brand-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 4px;
}
.footer__brand-tagline {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer__brand p {
  font-size: .88rem;
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 300px;
}
.footer__social {
  display: flex; gap: 10px; margin-top: 20px;
}
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: var(--transition);
}
.footer__social a:hover { background: rgba(197,162,83,.15); border-color: var(--gold); color: var(--gold); }
.footer__col-title {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer__links a:hover { color: rgba(255,255,255,.9); }
.footer__contact-list { display: flex; flex-direction: column; gap: 12px; }
.footer__contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  line-height: 1.4;
}
.footer__contact-item i { color: var(--gold); width: 14px; flex-shrink: 0; margin-top: 3px; }
.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  padding: 20px 0;
  background: rgba(0,0,0,.2);
}
.footer__bottom p {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}
.footer__bottom a { color: rgba(255,255,255,.45); transition: var(--transition); }
.footer__bottom a:hover { color: var(--gold); }

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(197,162,83,.25);
  padding: 20px;
  z-index: 9000;
  box-shadow: 0 -8px 40px rgba(0,0,0,.3);
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1180px;
  margin: 0 auto;
}
.cookie-banner p {
  font-size: .88rem;
  color: rgba(255,255,255,.7);
  line-height: 1.6;
}
.cookie-banner p a { color: var(--gold); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  font-family: var(--font-sans);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .04em;
}
.cookie-btn--accept {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}
.cookie-btn--accept:hover { filter: brightness(1.1); }
.cookie-btn--essential {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
}
.cookie-btn--essential:hover { background: rgba(255,255,255,.14); }
.cookie-btn--settings {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(197,162,83,.35);
}
.cookie-btn--settings:hover { background: rgba(197,162,83,.08); }

/* Cookie settings modal */
.cookie-modal-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 9100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cookie-modal-overlay.show { display: flex; }
.cookie-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  max-width: 480px;
  width: 100%;
  max-height: 90svh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.cookie-modal h3 { margin-bottom: 8px; }
.cookie-modal > p {
  font-size: .88rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.6;
}
.cookie-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  gap: 16px;
}
.cookie-type:last-of-type { border-bottom: none; }
.cookie-type-info h4 { font-size: .95rem; margin-bottom: 3px; }
.cookie-type-info p { font-size: .8rem; color: var(--text-light); }
.toggle {
  position: relative;
  flex-shrink: 0;
  width: 44px; height: 24px;
}
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
  position: absolute; inset: 0;
  background: var(--border);
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
}
.toggle-track::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--white);
  transition: var(--transition);
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.toggle input:checked + .toggle-track { background: var(--gold); }
.toggle input:checked + .toggle-track::after { left: 23px; }
.toggle input:disabled + .toggle-track { opacity: .5; cursor: not-allowed; }
.cookie-modal-actions {
  display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px;
}

/* =========================================================
   PRIVACY / POLICY PAGES
   ========================================================= */
.policy-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  padding: 120px 0 60px;
  color: var(--white);
}
.policy-hero h1 { color: var(--white); }
.policy-body {
  padding: 60px 0;
}
.policy-content {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  box-shadow: var(--shadow-sm);
}
.policy-content h2 {
  font-size: 1.3rem;
  margin: 32px 0 12px;
  color: var(--navy);
}
.policy-content h2:first-child { margin-top: 0; }
.policy-content p, .policy-content li {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 10px;
}
.policy-content ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.policy-content a { color: var(--navy); text-decoration: underline; }
.policy-content strong { color: var(--text-dark); }
.policy-update {
  font-size: .78rem;
  color: var(--text-light);
  font-style: italic;
  margin-top: 24px;
}

/* =========================================================
   PAGE HEADER (inner pages)
   ========================================================= */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 112px 0 52px;
  position: relative;
  overflow: hidden;
}
.page-header::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197,162,83,.4), transparent);
}
.page-header .section-label { color: var(--gold); }
.page-header h1 { color: var(--white); font-size: clamp(1.8rem, 5vw, 3rem); }
.page-header p { color: rgba(255,255,255,.65); font-size: 1rem; max-width: 500px; margin-top: 10px; }

/* =========================================================
   SCROLL-REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* =========================================================
   RESPONSIVE — TABLET (≥ 640px)
   ========================================================= */
@media (min-width: 640px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .services__grid { grid-template-columns: 1fr 1fr; }
  .info__grid { grid-template-columns: 1fr 1fr; }
  .cookie-banner__inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .cookie-banner__actions { flex-shrink: 0; }
  .trust-strip__inner { justify-content: center; }
}

/* =========================================================
   RESPONSIVE — DESKTOP (≥ 1024px)
   ========================================================= */
@media (min-width: 1024px) {
  .navbar__nav { display: flex; }
  .navbar__cta { display: inline-flex; }
  .navbar__hamburger { display: none; }
  .navbar__mobile { display: none !important; }

  /* Hero passa nuovamente a 2 colonne, col logo a destra */
  .hero__inner { grid-template-columns: 1fr 1fr; align-items: center; }
  .hero { padding: 140px 0 100px; }

  .services__grid { grid-template-columns: repeat(3, 1fr); }

  .storia__inner { grid-template-columns: 1fr 1fr; }
  .storia__photo { max-width: 100%; margin: 0; }

  .integra__inner { grid-template-columns: auto 1fr; gap: 64px; }
  .integra__logo { max-width: 200px; }

  .info__grid { grid-template-columns: repeat(3, 1fr); }

  .contact__layout { grid-template-columns: 1fr 2fr; }

  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
  .footer__brand p { max-width: 260px; }

  .map-wrapper { height: 420px; }
}

/* =========================================================
   RESPONSIVE — WIDE (≥ 1280px)
   ========================================================= */
@media (min-width: 1280px) {
  .services__grid { grid-template-columns: repeat(5, 1fr); }
}
/* =========================================================
   MOBILE OPTIMISATION (< 640px) — COMPLETE OVERHAUL
   ========================================================= */
@media (max-width: 639px) {

  /* ---- Global spacing tightening ---- */
  .section { padding: 48px 0; }
  .container { padding: 0 16px; }

  /* ---- NAVBAR ---- */
  .navbar__inner { height: 60px; gap: 0; }
  .navbar__logo img { height: 36px; }
  .navbar__logo-text { font-size: 1rem; }
  .navbar__logo-text span { font-size: .6rem; }
  .navbar__hamburger { width: 36px; height: 36px; }
  .navbar__mobile a { padding: 14px 16px; font-size: 1rem; }
  .navbar__mobile .mobile-cta { padding: 16px; font-size: 1rem; border-radius: var(--radius); }

  /* ---- HERO ---- */
  .hero {
    padding: 80px 0 48px;
    min-height: auto;
    text-align: center;
  }
  .hero__inner { gap: 0; }

  /* Hide logo image on mobile — show text only */
  .hero__logo { display: none; }

  .hero__eyebrow { justify-content: center; font-size: .72rem; }
  .hero__title {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
    margin-bottom: 6px;
  }
  .hero__subtitle { font-size: .82rem; }
  .hero__desc {
    font-size: .97rem;
    margin-bottom: 28px;
    color: rgba(255,255,255,.75);
  }
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 36px;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 1rem;
  }
  .hero__stats {
    justify-content: center;
    gap: 20px;
    padding-top: 28px;
  }
  .hero__stat-value { font-size: 1.7rem; }
  .hero__stat-label { font-size: .72rem; }

  /* ---- TRUST STRIP ---- */
  .trust-strip { padding: 14px 0; }
  .trust-strip__inner {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 0 4px;
  }
  .trust-item { font-size: .82rem; }

  /* ---- SERVICES ---- */
  .services__header { margin-bottom: 32px; }
  .services__grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 24px;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
  }
  .service-card {
    padding: 20px 18px;
    gap: 14px;
    min-width: 280px;
    scroll-snap-align: center;
    flex-shrink: 0;
  }
  .service-card__icon { width: 42px; height: 42px; font-size: 1.1rem; }
  .service-card__title { font-size: 1rem; }
  .service-card__desc { font-size: .85rem; }

  /* ---- STORIA ---- */
  .storia__inner { gap: 36px; }
  .storia__photo { max-width: 100%; }
  .storia__photo-card { right: -8px; bottom: -12px; padding: 12px 16px; }
  .storia__photo-card strong { font-size: 1.2rem; }
  .storia__timeline { gap: 14px; }
  .storia__milestone p { font-size: .87rem; }
  .integra-badge { flex-direction: column; gap: 10px; }
  .integra-badge img { height: 32px; }

  /* ---- INTEGRA SECTION ---- */
  .integra__inner { gap: 32px; }
  .integra__logo { max-width: 160px; }

  /* ---- INFO CARDS ---- */
  .info__grid { grid-template-columns: 1fr; gap: 16px; }
  .info-card { padding: 22px 18px; }
  .info-card h3 { font-size: 1rem; }
  .info-card ul li { font-size: .87rem; gap: 8px; }

  /* ---- CONTACT PAGE ---- */
  .contact__layout { grid-template-columns: 1fr; gap: 20px; }
  .contact__detail-card { padding: 22px 18px; }
  .contact-list-item__value { font-size: .9rem; }

  /* ---- FORM ---- */
  .form-card { padding: 24px 18px; border-radius: var(--radius); }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .form-group input,
  .form-group textarea,
  .form-group select { font-size: 1rem; padding: 14px 16px; }
  .form-group label { font-size: .78rem; }

  /* ---- PAGE HEADER ---- */
  .page-header { padding: 90px 0 36px; }
  .page-header h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .page-header p { font-size: .92rem; }

  /* ---- CONFIRMATION ---- */
  .confirm-box { padding: 36px 20px; }
  .confirm-icon { width: 60px; height: 60px; font-size: 1.4rem; }

  /* ---- FOOTER ---- */
  .footer { padding: 48px 0 0; }
  .footer__grid { gap: 28px; padding-bottom: 32px; }
  .footer__brand p { max-width: 100%; }
  .footer__bottom { padding: 18px 0; gap: 6px; }
  .footer__bottom p { font-size: .74rem; }
  .footer__social a { width: 40px; height: 40px; }

  /* ---- COOKIE BANNER ---- */
  .cookie-banner { padding: 16px; }
  .cookie-banner__actions { flex-direction: column; gap: 8px; }
  .cookie-btn { width: 100%; text-align: center; padding: 12px; }
  .cookie-modal { padding: 24px 18px; }
  .cookie-modal-actions { flex-direction: column; gap: 8px; }
  .cookie-modal-actions .cookie-btn { width: 100%; text-align: center; }

  /* ---- POLICY PAGES ---- */
  .policy-hero { padding: 90px 0 40px; }
  .policy-content { padding: 28px 18px; }
  .policy-content h2 { font-size: 1.15rem; margin: 24px 0 10px; }

  /* ---- BUTTONS ---- */
  .btn { padding: 14px 20px; font-size: .92rem; }
  .btn--sm { padding: 12px 16px; font-size: .85rem; }
}

/* =========================================================
   MOBILE STICKY CTA BAR
   ========================================================= */
.mobile-sticky-cta {
  display: none;
}
@media (max-width: 639px) {
  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 800;
    background: var(--navy);
    border-top: 1px solid rgba(197,162,83,.3);
    padding: 10px 16px;
    gap: 10px;
    align-items: center;
    box-shadow: 0 -4px 24px rgba(0,0,0,.3);
    transition: transform .35s cubic-bezier(.4,0,.2,1);
  }
  .mobile-sticky-cta.hidden { transform: translateY(100%); }
  /* Shift up when cookie banner is visible */
  .cookie-banner.show ~ * .mobile-sticky-cta,
  body.cookie-visible .mobile-sticky-cta { bottom: 0; }

  .mobile-sticky-cta__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    color: rgba(255,255,255,.8);
    font-size: .82rem;
    font-weight: 500;
    text-decoration: none;
  }
  .mobile-sticky-cta__phone i { color: var(--gold); font-size: 1rem; }
  .mobile-sticky-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 6px;
    white-space: nowrap;
    text-decoration: none;
    letter-spacing: .02em;
    border: none;
    cursor: pointer;
    flex-shrink: 0;
  }
}