/* ============================================================
   SVS Gestione Servizi — site.css
   Design: Light · Red & Navy · Nunito · Professional Healthcare
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --font:    'Poppins', -apple-system, 'Helvetica Neue', sans-serif;

  --red:     #ff5151;
  --red-h:   #e03a3a;
  --red-lt:  #ff7a7a;
  --navy:    #003f8a;
  --navy-h:  #002f6b;
  --navy-lt: #1a5caa;

  --bg:      #ffffff;
  --bg-1:    #f4f6fb;
  --bg-2:    #e9ecf3;
  --bg-3:    #dde1ec;

  --text:    #1a1e2e;
  --text-md: #4e5568;
  --text-lo: #8a91a8;
  --text-vlo:#b8bdce;

  --line:    rgba(39,51,83,.07);
  --line-md: rgba(39,51,83,.13);

  --nav-h:   68px;
  --r:       5px;
  --shadow:  0 2px 16px rgba(39,51,83,.10);
  --shadow-h:0 6px 28px rgba(39,51,83,.16);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a   { color: var(--red); text-decoration: none; transition: color .2s, opacity .2s; }
a:hover { color: var(--red-h); }
ul  { list-style: none; }
strong { font-weight: 700; }
button { font-family: inherit; cursor: pointer; }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
}
h1 { font-size: clamp(36px, 5.5vw, 72px); }
h2 { font-size: clamp(26px, 3.8vw, 48px); }
h3 { font-size: clamp(20px, 2.6vw, 32px); }
h4 { font-family: var(--font); font-size: 14px; font-weight: 800; color: var(--navy); letter-spacing: .05em; text-transform: uppercase; }
p  { color: var(--text-md); line-height: 1.78; }

/* ── Container ─────────────────────────────────────────────── */
.wrap    { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.wrap-sm { max-width: 800px;  margin: 0 auto; padding: 0 28px; }
.wrap-xs { max-width: 640px;  margin: 0 auto; padding: 0 28px; }

/* ── TOP BANNER ────────────────────────────────────────────── */
.top-banner {
  background: var(--navy);
  text-align: center;
  padding: 9px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.top-banner a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.top-banner a:hover { color: #fff; }

/* ── HEADER / NAV ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9000;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--line-md);
  box-shadow: 0 2px 8px rgba(39,51,83,.06);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
}
.nav-logo { flex-shrink: 0; }
.nav-logo img {
  height: 30px;
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-links > li > a {
  display: block;
  height: var(--nav-h);
  line-height: var(--nav-h);
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-md);
  transition: color .2s;
  white-space: nowrap;
}
.nav-links > li > a:hover,
.nav-links > li.current > a {
  color: var(--navy);
}
.nav-links > li.current > a {
  color: var(--red);
}

/* Dropdown */
.nav-links > li .nav-drop {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--line-md);
  border-top: 3px solid var(--red);
  border-radius: 0 0 var(--r) var(--r);
  padding: 6px 0 10px;
  min-width: 210px;
  list-style: none;
  z-index: 9999;
  box-shadow: var(--shadow);
}
.nav-links > li.drop-open .nav-drop { display: block; }
.nav-drop li a {
  display: block;
  padding: 11px 22px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-md);
  transition: color .2s, background .2s;
}
.nav-drop li a:hover,
.nav-drop li.current a { color: var(--red); background: var(--bg-1); }

/* CTA phone */
.nav-cta { flex-shrink: 0; margin-left: 16px; }
.nav-cta a {
  display: inline-block;
  padding: 9px 20px;
  background: var(--red);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--r);
  transition: background .2s;
  opacity: 1 !important;
}
.nav-cta a:hover { background: var(--red-h); color: #fff; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile open */
.nav-inner.open .nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 2px solid var(--line-md);
  padding: 8px 0 16px;
  z-index: 9001;
  box-shadow: var(--shadow);
}
.nav-inner.open .nav-links > li > a {
  height: auto;
  line-height: 1.4;
  padding: 13px 28px;
  font-size: 13px;
}
.nav-inner.open .nav-drop {
  display: block;
  position: static;
  transform: none;
  border: none;
  border-left: 3px solid var(--red);
  background: var(--bg-1);
  margin: 0 0 4px 0;
  padding: 4px 0;
  box-shadow: none;
}
.nav-inner.open .nav-drop li a { padding: 10px 44px; }

/* ── HERO ───────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--navy); }
.hero .owl-carousel .item { display: block; }
.hero .owl-carousel .item img,
.hero .hero-img {
  width: 100%;
  height: clamp(300px, 50vw, 580px);
  object-fit: cover;
  display: block;
  filter: brightness(.6);
}

/* Hero con testo overlay */
.hero-vetrina { position: relative; }
.hero-vetrina img {
  width: 100%;
  height: clamp(300px, 50vw, 580px);
  object-fit: cover;
  filter: brightness(.6);
}
.hero-caption {
  position: absolute;
  bottom: 44px;
  left: 44px;
  max-width: 460px;
  background: rgba(255,255,255,.95);
  border-left: 4px solid var(--red);
  color: var(--navy);
  padding: 26px 30px;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  border-radius: 0 var(--r) var(--r) 0;
  box-shadow: var(--shadow);
}
.hero-caption a.hero-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 9px 22px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  border-radius: var(--r);
  transition: background .2s;
  opacity: 1;
}
.hero-caption a.hero-btn:hover { background: var(--red-h); color: #fff; }

/* ── INFO BAR ────────────────────────────────────────────────── */
.info-bar { background: var(--navy); }
.info-bar-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.info-box {
  padding: 22px 32px;
  border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.info-box:last-child { border-right: none; }
.info-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 6px;
}
.info-lbl i { margin-right: 5px; }
.info-val {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}
.info-val a { color: #fff; opacity: 1; }
.info-pill {
  display: inline-block;
  margin-top: 4px;
  padding: 6px 18px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: var(--r);
  transition: background .2s;
}
.info-pill:hover { background: rgba(255,255,255,.22); color: #fff; opacity: 1; }

/* ── SECTIONS ────────────────────────────────────────────────── */
.section      { padding: 96px 0; background: var(--bg); }
.section-sm   { padding: 64px 0; }
.section-gray {
  background-color: var(--bg-1);
  background-image: url('/img/Transparent-background-with-dots.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
.section-dark { background: var(--navy); color: #fff; }

.bg-init {
  background:url(/images/resource/pattern-1.png) center top no-repeat;
}

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  padding: 4px 12px;
  background: rgba(192,31,19,.08);
  border-radius: 20px;
}

/* ── FEATURE GRID ────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--line-md);
  border-radius: var(--r);
  padding: 32px 28px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.feature-card:hover {
  box-shadow: var(--shadow-h);
  transform: translateY(-3px);
  border-color: var(--red);
}
.section-gray .feature-card { background: #fff; }
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(192,31,19,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--red);
  margin-bottom: 18px;
}
.feature-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-body {
  font-size: 14px;
  color: var(--text-md);
  line-height: 1.72;
}
.feature-body strong { color: var(--navy); }

/* ── STATS ───────────────────────────────────────────────────── */
.stats-section { background: var(--navy); padding: 0; }
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-box {
  padding: 56px 40px;
  border-right: 1px solid rgba(255,255,255,.1);
  position: relative;
}
.stat-box:last-child { border-right: none; }
.stat-box::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 40px;
  width: 36px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
}
.stat-num {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}
.stat-num .counter,
.stat-num .count-text {
  font-family: var(--font);
  font-size: 64px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}
.stat-num .plus-icon,
.stat-num .plus {
  font-family: var(--font);
  font-size: 36px;
  font-weight: 900;
  color: var(--red-lt);
  line-height: 1;
}
.stat-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 14px;
}

/* ── VIDEO ───────────────────────────────────────────────────── */
.video-section {
  position: relative;
  height: clamp(280px, 36vw, 520px);
  overflow: hidden;
  background: var(--navy);
}
.video-section video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.5);
}
.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(39,51,83,.4);
}

/* ── CTA BANNER ──────────────────────────────────────────────── */
.cta-section {
  background: var(--red);
  padding: 64px 0;
}
.cta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-text {
  font-family: var(--font);
  font-size: clamp(20px, 2.8vw, 36px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

/* ── QUOTE SECTION ───────────────────────────────────────────── */
.quote-section {
  padding: 100px 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.quote-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(39,51,83,.82);
}
.quote-section .wrap { position: relative; z-index: 1; }
.quote-card {
  max-width: 620px;
  margin-left: auto;
  padding: 44px 50px;
  background: rgba(255,255,255,.06);
  border-left: 4px solid var(--red);
  border-radius: 0 var(--r) var(--r) 0;
}
.quote-card p {
  font-family: var(--font);
  font-size: clamp(17px, 2vw, 24px);
  font-weight: 700;
  color: rgba(255,255,255,.88);
  line-height: 1.5;
}
.quote-card p strong { color: #fff; }
.quote-card a.quote-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  opacity: 1;
  transition: color .2s;
}
.quote-card a.quote-link:hover { color: #fff; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--r);
  transition: all .2s;
  opacity: 1;
  line-height: 1.4;
}
.btn:hover { opacity: 1; text-decoration: none; }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-h); border-color: var(--red-h); color: #fff; }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
.btn-outline-white { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-white:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-h); border-color: var(--navy-h); color: #fff; }

/* ── PAGE HEADER ─────────────────────────────────────────────── */
.page-header {
  background-size: cover;
  background-position: center;
  padding: 72px 0 52px;
  position: relative;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(39,51,83,.93) 0%, rgba(39,51,83,.55) 100%);
}
.page-header .wrap { position: relative; z-index: 1; }
.page-header h1 {
  font-size: clamp(32px, 5vw, 64px);
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  list-style: none;
}
.breadcrumb li {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.4);
}
.breadcrumb li a { color: rgba(255,255,255,.6); }
.breadcrumb li a:hover { color: #fff; }
.breadcrumb li + li::before { content: '/'; margin-right: 6px; color: rgba(255,255,255,.25); }

/* ── HEIGHT PLACEHOLDER ──────────────────────────────────────── */
.page-top-space { height: var(--nav-h); background: var(--bg); }

/* ── INNER PAGE CONTENT ──────────────────────────────────────── */
.page-content { padding: 80px 0 100px; background: var(--bg); }
.prose { font-size: 16px; line-height: 1.85; color: var(--text-md); }
.prose p   { margin-bottom: 20px; }
.prose strong { color: var(--navy); font-weight: 700; }
.prose ul  { list-style: disc; padding-left: 22px; margin-bottom: 20px; }
.prose ul li { margin-bottom: 8px; }
.prose h3  {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--navy);
  margin: 48px 0 14px;
}
.prose h4  {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin: 32px 0 10px;
}
.divider { height: 2px; background: var(--line-md); margin: 48px 0; border-radius: 2px; }

/* ── SERVICE CARDS ───────────────────────────────────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--line-md);
  border-radius: var(--r);
  padding: 30px 26px;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.service-card:hover {
  box-shadow: var(--shadow-h);
  transform: translateY(-3px);
  border-color: var(--red);
}
.sc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(192,31,19,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--red);
  margin-bottom: 16px;
}
.sc-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}
.sc-body {
  font-size: 14px;
  color: var(--text-md);
  line-height: 1.72;
}
.sc-body strong { color: var(--navy); }
.sc-body ul { list-style: none; padding: 0; margin: 10px 0; }
.sc-body ul li {
  padding: 6px 0 6px 16px;
  position: relative;
  font-size: 13px;
  color: var(--text-md);
  border-bottom: 1px solid var(--line);
}
.sc-body ul li::before { content: '›'; position: absolute; left: 0; color: var(--red); font-weight: 900; font-size: 16px; line-height: 1.4; }
.sc-body ul li:last-child { border-bottom: none; }

/* ── ORGANS COUNTER ──────────────────────────────────────────── */
.organs-section {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.organs-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(39,51,83,.88);
}
.organs-section .wrap { position: relative; z-index: 1; }
.organs-section h2 {
  color: #fff;
  text-align: center;
  margin-bottom: 52px;
  font-size: clamp(20px, 3vw, 40px);
}
.organs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.organ-item {
  padding: 36px 20px;
  text-align: center;
  background: rgba(255,255,255,.05);
  border-radius: var(--r);
  border-top: 3px solid var(--red);
  transition: background .2s;
}
.organ-item:hover { background: rgba(255,255,255,.1); }
.organ-num {
  font-family: var(--font);
  font-size: 48px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1;
}
.organ-num .counter { font-size: inherit; font-weight: inherit; color: inherit; letter-spacing: inherit; }
.organ-lbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 10px;
}

/* ── CONTACT ─────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line-md);
  border-radius: var(--r);
  padding: 30px 26px;
  transition: box-shadow .2s;
}
.contact-card:hover { box-shadow: var(--shadow); }
.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(192,31,19,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--red);
  margin-bottom: 16px;
}
.contact-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-vlo);
  margin-bottom: 12px;
}
.contact-info { font-size: 15px; color: var(--text-md); line-height: 1.8; }
.contact-info a { color: var(--text-md); }
.contact-info a:hover { color: var(--red); }
.contact-info em { font-style: italic; color: var(--text-lo); }

.social-row { display: flex; gap: 8px; margin-top: 16px; }
.social-btn {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-md);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-lo);
  font-size: 14px;
  transition: background .2s, color .2s, border-color .2s;
}
.social-btn:hover { background: var(--red); color: #fff; border-color: var(--red); opacity: 1; }

.map-wrap {
  border: 1px solid var(--line-md);
  border-radius: var(--r);
  height: 500px;
  overflow: hidden;
}
#map { width: 100%; height: 100%; }

/* ── PORTAL ──────────────────────────────────────────────────── */
.portal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.portal-img-wrap {
  background: var(--bg-1);
  border: 1px solid var(--line-md);
  border-radius: var(--r);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portal-img-wrap img { max-width: 100%; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.site-footer {
  background: #fff url('/images/resource/map-pattern-2.png') center bottom no-repeat;
  border-top: 5px solid var(--red);
  padding: 56px 0 44px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Tutte le colonne centrate */
.footer-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Colonna social */
.footer-col-social .footer-social {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.footer-social a {
  color: var(--navy);
  font-size: 16px;
  transition: color .2s;
  line-height: 1;
  opacity: .55;
}
.footer-social a:hover { color: var(--red); opacity: 1; }

/* Colonna centrale */
.footer-logo-link { display: inline-block; margin-bottom: 20px; }
.footer-logo-link img {
  height: 36px;
  width: auto;
}
.footer-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-info-list li {
  font-size: 13px;
  color: var(--text-md);
  line-height: 1.5;
}
.footer-info-list li a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-md);
  transition: color .2s;
}
.footer-info-list li a:hover { color: var(--red); opacity: 1; }
.footer-copy {
  font-size: 12px;
  color: var(--text-lo) !important;
  margin-top: 6px;
}
.footer-piva {
  font-size: 12px;
  color: var(--text-lo) !important;
}

/* Colonna destra */
.footer-legal-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-legal-list li {
  font-size: 13px;
  color: var(--text-md);
}
.footer-legal-list li a {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-md);
  transition: color .2s;
}
.footer-legal-list li a:hover { color: var(--red); opacity: 1; }
.footer-cert-text {
  font-size: 12px;
  color: var(--text-lo);
  line-height: 1.6;
  margin-bottom: 14px;
}
.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.footer-certs img {
  height: 60px;
  width: auto;
  opacity: .6;
  filter: grayscale(1);
  transition: opacity .2s, filter .2s;
  border-radius: 4px;
}
.footer-certs img:hover { opacity: 1; filter: grayscale(0); }

/* ── SCROLL TO TOP ───────────────────────────────────────────── */
.scroll-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 8000;
  text-align: center;
  line-height: 40px;
  box-shadow: 0 4px 16px rgba(192,31,19,.35);
  transition: background .2s, transform .2s;
}
.scroll-to-top:hover { background: var(--red-h); opacity: 1; color: #fff; transform: translateY(-2px); }

/* ── COOKIE BAR ──────────────────────────────────────────────── */
#cookie-disclaimer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--navy);
  border-top: 3px solid var(--red);
  padding: 16px 24px;
  box-shadow: 0 -4px 24px rgba(39,51,83,.25);
}
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-text {
  flex: 1;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  line-height: 1.5;
}
.cookie-text a { color: rgba(255,255,255,.8); }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btn {
  padding: 8px 20px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--r);
  background: transparent;
  color: rgba(255,255,255,.6);
  transition: all .2s;
  font-family: inherit;
}
.cookie-btn:hover { border-color: rgba(255,255,255,.5); color: #fff; }
.cookie-btn.accept { background: var(--red); border-color: var(--red); color: #fff; }
.cookie-btn.accept:hover { background: var(--red-h); border-color: var(--red-h); }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1060px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-col-social { order: 3; }
  .footer-col-center { grid-column: 1 / -1; order: 1; }
  .footer-col-legal  { order: 2; }
  .portal-grid  { grid-template-columns: 1fr; gap: 40px; }
  .cta-row      { flex-direction: column; align-items: flex-start; }
  .organs-grid  { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .info-bar-grid { grid-template-columns: 1fr; }
  .info-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .info-box:last-child { border-bottom: none; }
  .feature-grid { grid-template-columns: 1fr; gap: 14px; }
  .stats-grid   { grid-template-columns: repeat(2, 1fr); }
  .stat-box     { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
  .stat-box:last-child { border-bottom: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; gap: 36px; }
  .footer-col-social { order: 3; }
  .footer-col-center { order: 1; }
  .footer-col-legal  { order: 2; }
  .footer-col-social .footer-social { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .organs-grid  { grid-template-columns: repeat(2, 1fr); }
  .section      { padding: 72px 0; }
  .page-header  { padding: 60px 0 44px; }
  .quote-card   { margin-left: 0; padding: 28px 28px; }
  .hero-caption { left: 20px; right: 20px; bottom: 20px; max-width: none; }
  .map-wrap     { height: 360px; }
  .stat-num .counter,
  .stat-num .count-text { font-size: 52px; }
  .service-grid { gap: 14px; }
}
@media (max-width: 480px) {
  .stats-grid   { grid-template-columns: 1fr; }
  .footer-grid  { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
  .organs-grid  { grid-template-columns: 1fr 1fr; }
  .stat-num .counter, .stat-num .count-text { font-size: 46px; }
}
