/* =========================================================
   Fabio Cavalieri — Cavalieri Design
   Tema chiaro: sfondo bianco · arancione #FF6B00 · blu istituzionale #0066CC
   (Bootstrap 5.3 + override)
   ========================================================= */

/* Fallback con metriche simili → meno CLS quando arrivano i font web */
@font-face {
  font-family: "DM Sans Fallback";
  src: local("Segoe UI"), local("Helvetica Neue"), local("Arial");
  size-adjust: 100%;
  ascent-override: 95%;
  descent-override: 25%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia"), local("Times New Roman");
  size-adjust: 108%;
  ascent-override: 88%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  /* Brand */
  --fc-orange: #ff6b00;
  --fc-orange-hover: #e65c00;
  --fc-orange-deep: #b84a00;          /* arancione per testi piccoli: leggibile su bianco */
  --fc-orange-soft: #fff2e8;
  --fc-blue: #0066cc;                 /* blu istituzionale */
  --fc-blue-hover: #004d99;
  --fc-blue-dark: #0b2e59;
  --fc-blue-soft: #eaf3fc;

  /* Superfici e testo */
  --fc-bg: #ffffff;
  --fc-surface: #f5f8fc;
  --fc-surface-2: #eef3f9;
  --fc-text: #1a2332;
  --fc-heading: #0b2e59;
  --fc-muted: #5a6577;
  --fc-border: #e2e8f0;
  --fc-border-strong: #cfd8e3;

  /* Compatibilità con i nomi usati prima */
  --fc-accent: var(--fc-orange);
  --fc-accent-hover: var(--fc-orange-hover);
  --fc-accent-soft: var(--fc-orange-soft);
  --fc-link: var(--fc-blue);
  --fc-link-hover: var(--fc-blue-hover);

  --fc-radius: 1rem;
  --fc-shadow-sm: 0 1px 2px rgba(11, 46, 89, 0.06), 0 2px 8px rgba(11, 46, 89, 0.05);
  --fc-shadow: 0 10px 30px rgba(11, 46, 89, 0.09);
  --fc-shadow-lg: 0 20px 50px rgba(11, 46, 89, 0.14);

  /* Bootstrap */
  --bs-body-bg: #ffffff;
  --bs-body-color: #1a2332;
  --bs-border-color: #e2e8f0;
  --bs-link-color: #0066cc;
  --bs-link-color-rgb: 0, 102, 204;
  --bs-link-hover-color: #004d99;
  --bs-link-hover-color-rgb: 0, 77, 153;
}

html {
  scroll-padding-top: 8.5rem;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: "Lato", "DM Sans Fallback", system-ui, sans-serif;
  background: var(--fc-bg);
  color: var(--fc-text);
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Tipografia: più aria tra titoli e testi ---------- */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--fc-heading);
  line-height: 1.25;
}

h1, h2, h3 {
  font-family: "Playfair Display", "Fraunces Fallback", Georgia, serif;
  letter-spacing: -0.015em;
}

h1, .h1, .display-5, .display-6 { margin-bottom: 1.25rem !important; }
h2, .h2 { margin-bottom: 1rem; }
h3, .h3, h4, .h4, h5, .h5, h6, .h6 { margin-bottom: 0.75rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: 1.2rem;
  line-height: 1.75;
  margin-bottom: 2rem !important;
}

small, .small { font-size: 0.925rem; line-height: 1.65; }

ul li, ol li { margin-bottom: 0.4rem; }

.section-title {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin-bottom: 1.1rem !important;
  position: relative;
  padding-bottom: 1rem;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 4px;
  background: var(--fc-orange);
}
.text-center .section-title::after,
.section-title.text-center::after { left: 50%; transform: translateX(-50%); }

/* Etichette sopra i titoli (eyebrow) */
p.text-uppercase.small,
.fc-eyebrow {
  color: var(--fc-orange-deep) !important;
  font-weight: 700;
  letter-spacing: 0.12em !important;
  font-size: 0.8rem;
  margin-bottom: 0.9rem !important;
}

/* ---------- Ritmo verticale: sezioni più spaziate ---------- */
.py-5 {
  padding-top: clamp(4rem, 8vw, 6.5rem) !important;
  padding-bottom: clamp(4rem, 8vw, 6.5rem) !important;
}
.mb-4 { margin-bottom: 2rem !important; }
.mb-5 { margin-bottom: 3.5rem !important; }
.mt-5 { margin-top: 3.5rem !important; }
.row.g-4, .row.g-3.g-lg-4 {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}
.row.align-items-end.mb-4 { margin-bottom: 3rem !important; }

/* Sezioni alternate: bianco / grigio-azzurro chiarissimo */
section.border-top { border-top: 0 !important; }
main > section:nth-of-type(even),
body > section:nth-of-type(even) {
  background: var(--fc-surface);
}

/* ---------- Override utility Bootstrap (tema scuro → chiaro) ---------- */
.text-white { color: var(--fc-heading) !important; }
.text-white-50 { color: var(--fc-muted) !important; }
.text-muted, .text-secondary { color: var(--fc-muted) !important; }
.text-light { color: var(--fc-text) !important; }
.text-warning { color: var(--fc-orange-deep) !important; }
.bg-dark { background-color: var(--fc-surface-2) !important; }
.border-secondary { border-color: var(--fc-border) !important; }
.border-success { border-color: rgba(255, 107, 0, 0.45) !important; }
.alert-dark {
  --bs-alert-bg: var(--fc-blue-soft);
  --bs-alert-color: var(--fc-blue-dark);
  --bs-alert-border-color: #cfe2f7;
}
.table-dark {
  --bs-table-bg: #fff;
  --bs-table-color: var(--fc-text);
  --bs-table-border-color: var(--fc-border);
  --bs-table-striped-bg: var(--fc-surface);
}
.list-group-item {
  background: transparent;
  color: var(--fc-text);
  border-color: var(--fc-border);
}
.btn-close-white { filter: none; }

.text-accent { color: var(--fc-orange-deep) !important; }
svg.text-accent, i.text-accent, .fc-svg-icon.text-accent { color: var(--fc-orange) !important; }
.text-success { color: var(--fc-orange-deep) !important; }

a { color: var(--fc-blue); text-underline-offset: 3px; }
a:hover { color: var(--fc-blue-hover); }

.link-success, .link-secondary {
  color: var(--fc-blue) !important;
  font-weight: 600;
  text-decoration-color: rgba(0, 102, 204, 0.3) !important;
}
.link-success:hover, .link-secondary:hover { color: var(--fc-blue-hover) !important; }

strong { color: inherit; }

/* ---------- Bottoni ---------- */
.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.7rem 1.5rem;
  transition: background-color .2s, border-color .2s, color .2s, transform .15s, box-shadow .2s;
}
.btn-lg { padding: 0.95rem 2rem; font-size: 1.08rem; }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.9rem; }
.btn:hover { transform: translateY(-1px); }

.btn-primary, .btn-success {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--fc-orange);
  --bs-btn-border-color: var(--fc-orange);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--fc-orange-hover);
  --bs-btn-hover-border-color: var(--fc-orange-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--fc-orange-deep);
  --bs-btn-active-border-color: var(--fc-orange-deep);
  --bs-btn-focus-shadow-rgb: 255, 107, 0;
  background: var(--fc-orange);
  border-color: var(--fc-orange);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 107, 0, 0.28);
}
.btn-primary:hover, .btn-success:hover {
  background: var(--fc-orange-hover);
  border-color: var(--fc-orange-hover);
  color: #fff;
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.35);
}

.btn-outline-light, .btn-outline-secondary {
  --bs-btn-color: var(--fc-blue);
  --bs-btn-border-color: var(--fc-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--fc-blue);
  --bs-btn-hover-border-color: var(--fc-blue);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--fc-blue-hover);
  --bs-btn-active-border-color: var(--fc-blue-hover);
  border-width: 2px;
  color: var(--fc-blue);
  border-color: var(--fc-blue);
  background: #fff;
}
.btn-outline-light:hover, .btn-outline-secondary:hover {
  background: var(--fc-blue);
  border-color: var(--fc-blue);
  color: #fff;
}

.btn-outline-success {
  --bs-btn-color: var(--fc-blue);
  --bs-btn-border-color: var(--fc-blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--fc-blue);
  --bs-btn-hover-border-color: var(--fc-blue);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--fc-blue-hover);
  --bs-btn-active-border-color: var(--fc-blue-hover);
  border-width: 2px;
  background: #fff;
}

/* ---------- Barra superiore (blu) ---------- */
.fc-social-strip {
  background: var(--fc-blue) !important;
  border-bottom: 0 !important;
}
.fc-social-strip .container { padding-top: 0.45rem !important; padding-bottom: 0.45rem !important; }
.fc-social-strip p,
.fc-social-strip .text-muted {
  color: #fff !important;
  font-size: 0.8rem;
  margin: 0 !important;
}
.fc-topbar-contacts a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}
.fc-topbar-contacts a:hover { color: #ffd6b8; }
.fc-topbar-contacts .sep { opacity: 0.5; margin: 0 0.6rem; }

.fc-social-icons a {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  width: 1.1rem;
  height: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.2s, transform 0.15s;
}
.fc-social-icons a i,
.fc-social-icons a .fc-svg-icon { width: 1em; height: 1em; display: block; line-height: 1; }
.fc-social-icons a:hover { color: #ffd6b8; transform: translateY(-2px); }

.fc-svg-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
  flex-shrink: 0;
}
.fc-svg-icon--lg { width: 2em; height: 2em; }

/* ---------- Navbar bianca ---------- */
.navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fc-border);
  box-shadow: 0 2px 14px rgba(11, 46, 89, 0.06);
}
.navbar > .container { padding-top: 0.7rem !important; padding-bottom: 0.7rem !important; }

.logo-nav {
  height: 46px;
  width: auto;
  max-width: min(240px, 62vw);
  display: block;
}

.navbar .nav-link {
  color: var(--fc-text) !important;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.5rem 0.85rem !important;
  border-radius: 999px;
}
.navbar .nav-link:hover { color: var(--fc-blue) !important; background: var(--fc-blue-soft); }
.navbar .nav-link.active { color: var(--fc-orange-deep) !important; box-shadow: none; background: var(--fc-orange-soft); }

.navbar .nav-item.fc-nav-cta { margin-left: 0.5rem; }
.navbar .nav-item.fc-nav-cta .btn { padding: 0.55rem 1.25rem; font-size: 0.95rem; }

.navbar-toggler {
  border: 2px solid var(--fc-border-strong);
  border-radius: 0.6rem;
  padding: 0.4rem 0.6rem;
}
.navbar-toggler:focus { box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.2); }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230b2e59' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px) {
  .navbar-collapse { padding: 0.75rem 0 1rem; }
  .navbar .nav-link { padding: 0.7rem 0.9rem !important; }
  .navbar .nav-item.fc-nav-cta { margin: 0.75rem 0 0; }
  .navbar .nav-item.fc-nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 8rem;
  padding-bottom: 3rem;
  background:
    radial-gradient(ellipse 60% 55% at 92% 10%, rgba(255, 107, 0, 0.10), transparent 60%),
    radial-gradient(ellipse 55% 50% at 0% 100%, rgba(0, 102, 204, 0.08), transparent 60%),
    #fff;
}
.hero::before { content: none; }
.hero-content { position: relative; z-index: 1; }

.fc-hero-title {
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 1.5rem !important;
}
.fc-hero-title-line1 { text-wrap: balance; color: var(--fc-heading); }
.fc-hero-title-line2 {
  margin-top: 0.6rem;
  font-size: clamp(1.25rem, 3.4vw, 2rem);
  font-weight: 700;
  line-height: 1.3;
  text-wrap: balance;
  color: var(--fc-orange-deep);
}

.badge-soft {
  background: var(--fc-blue-soft);
  color: var(--fc-blue) !important;
  font-weight: 700;
  border: 1px solid #cfe2f7;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem !important;
}

.fc-hero-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2.25rem;
  display: grid;
  gap: 0.6rem;
}
.fc-hero-points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  color: var(--fc-text);
}
.fc-hero-points li::before {
  content: "";
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--fc-orange) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3e%3c/svg%3e") center/70% no-repeat;
}

.hero-portrait {
  position: relative;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--fc-orange), var(--fc-blue), var(--fc-orange));
  opacity: 0.9;
  z-index: 0;
}
.hero-portrait-inner {
  position: relative;
  z-index: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid #fff;
  aspect-ratio: 1;
  box-shadow: var(--fc-shadow-lg);
  background: #fff;
}
.hero-portrait-inner picture { display: block; width: 100%; height: 100%; }
.hero-portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.ratio > picture { display: block; width: 100%; height: 100%; }
.ratio > picture > img { width: 100%; height: 100%; object-fit: cover; }

.contact-portrait { max-width: 220px; margin: 0 auto 2rem; }
.contact-portrait .hero-portrait::before { inset: -8px; }

/* ---------- Card ---------- */
.card-fc {
  background: #fff;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  box-shadow: var(--fc-shadow-sm);
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
a .card-fc:hover, .card-fc:hover {
  border-color: rgba(255, 107, 0, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--fc-shadow);
}
.card-fc.p-4 { padding: 2rem !important; }
.card-fc .p-3 { padding: 1.35rem 1.5rem !important; }
.card-fc h2.h5, .card-fc h3.h5 { font-size: 1.3rem; margin-bottom: 0.85rem; }
.card-fc h3.h6, .card-fc .h6 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 0.75rem !important; }
.card-fc .small { font-size: 0.97rem; }
.card-fc .text-muted.small.flex-grow-1 { margin-bottom: 1.5rem !important; }
.card-fc img.rounded { border-radius: 0.6rem !important; }

/* ---------- Intestazione pagine interne ---------- */
.page-header {
  padding-top: 10rem;
  padding-bottom: 4rem;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(255, 107, 0, 0.10), transparent 60%),
    linear-gradient(180deg, var(--fc-blue-soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--fc-border);
}
.page-header .lead { max-width: 52rem; }

/* ---------- Form ---------- */
.form-control,
.form-select {
  background: #fff;
  border: 1.5px solid var(--fc-border-strong);
  color: var(--fc-text);
  border-radius: 0.7rem;
  padding: 0.75rem 1rem;
}
.form-control:focus,
.form-select:focus {
  background: #fff;
  border-color: var(--fc-blue);
  color: var(--fc-text);
  box-shadow: 0 0 0 0.25rem rgba(0, 102, 204, 0.15);
}
.form-control::placeholder { color: #8a94a6; }
.form-label { color: var(--fc-heading); font-weight: 600; margin-bottom: 0.5rem; }
.mb-3:has(> .form-label) { margin-bottom: 1.5rem !important; }

/* ---------- Accordion (FAQ) ---------- */
.accordion {
  --bs-accordion-bg: #fff;
  --bs-accordion-color: var(--fc-text);
  --bs-accordion-border-color: var(--fc-border);
  --bs-accordion-btn-color: var(--fc-heading);
  --bs-accordion-active-color: var(--fc-heading);
  --bs-accordion-active-bg: var(--fc-orange-soft);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.15);
}
.accordion-button { font-weight: 700; padding: 1.25rem 1.5rem; }
.accordion-button:not(.collapsed) { background: var(--fc-orange-soft) !important; }
.accordion-body { padding: 1.25rem 1.5rem 1.5rem; }

/* ---------- Modale articoli ---------- */
.modal-content { background: #fff; color: var(--fc-text); }
.fc-article-read-modal .modal-content { background: #fff; color: var(--fc-text); }
.fc-article-read-modal .modal-header { background: var(--fc-surface); border-color: var(--fc-border); }
.fc-article-read-modal #fcArticleReadBody { max-width: 100%; }

/* ---------- Calendario ---------- */
.embed-calendar {
  min-height: 720px;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--fc-shadow-sm);
}
.embed-calendar iframe { width: 100%; height: 720px; border: 0; }
@media (max-width: 767.98px) {
  .embed-calendar { min-height: min(720px, 85vh); }
  .embed-calendar iframe { height: min(720px, 85vh); }
}

/* ---------- Footer blu ---------- */
footer.fc-footer {
  background: var(--fc-blue-dark);
  color: #d6e2f0;
  padding: 4.5rem 0 1.5rem;
  margin-top: 0 !important;
  border-top: 5px solid var(--fc-orange);
  font-size: 0.97rem;
}
.fc-footer h2 {
  font-family: "Lato", "DM Sans Fallback", system-ui, sans-serif;
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.fc-footer p { color: #d6e2f0; margin-bottom: 1rem; }
.fc-footer ul { list-style: none; padding: 0; margin: 0; }
.fc-footer li { margin-bottom: 0.65rem; }
.fc-footer a { color: #fff; text-decoration: none; }
.fc-footer a:hover { color: #ffb37a; text-decoration: underline; }
.fc-footer .fc-footer-logo { height: 44px; width: auto; margin-bottom: 1.25rem; }
.fc-footer .fc-footer-cta { margin-top: 0.5rem; }
.fc-footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: #a9bdd6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}
.fc-footer-legal p { margin: 0; color: #a9bdd6; }
.fc-footer-legal a { color: #d6e2f0; }

/* Vecchio footer (se rimasto su qualche pagina) */
footer:not(.fc-footer) {
  border-top: 1px solid var(--fc-border);
  background: var(--fc-surface);
}
.fc-footer-brand { max-width: 42rem; }
.fc-footer-tagline {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--fc-muted);
  border-left: 3px solid var(--fc-orange);
  padding-left: 0.75rem;
  margin-top: 0.5rem;
}
.fc-footer-tagline strong { color: var(--fc-orange-deep); font-weight: 700; }

/* ---------- Banda CTA finale ---------- */
.fc-cta-band {
  background: linear-gradient(120deg, var(--fc-orange) 0%, #ff8a33 100%) !important;
  color: #fff;
  border-radius: 1.5rem;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  box-shadow: 0 20px 50px rgba(255, 107, 0, 0.25);
  text-align: center;
}
.fc-cta-band h2 { color: #fff; font-size: clamp(1.75rem, 4vw, 2.4rem); margin-bottom: 1rem; }
.fc-cta-band p { color: #fff; font-size: 1.15rem; max-width: 40rem; margin: 0 auto 2rem; opacity: 0.95; }
.fc-cta-band .btn-light {
  background: #fff;
  color: var(--fc-orange-deep);
  border: 0;
}
.fc-cta-band .btn-light:hover { color: var(--fc-blue-dark); }
.fc-cta-band .btn-outline-white {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}
.fc-cta-band .btn-outline-white:hover { background: #fff; color: var(--fc-orange-deep); }

/* ---------- Vantaggi (perché sceglierlo) ---------- */
.fc-benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--fc-orange-soft);
  color: var(--fc-orange);
  margin-bottom: 1.5rem;
}
.fc-benefit-icon .fc-svg-icon { width: 1.75rem; height: 1.75rem; }
.fc-benefit-icon--blue { background: var(--fc-blue-soft); color: var(--fc-blue); }

/* ---------- WhatsApp float ---------- */
.fc-whatsapp-float {
  position: fixed;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  right: calc(1.5rem + env(safe-area-inset-right, 0px));
  z-index: 1050;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  contain: layout style;
}
.fc-whatsapp-float i,
.fc-whatsapp-float .fc-svg-icon { width: 1.8rem; height: 1.8rem; line-height: 1; display: block; }
.fc-whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.6);
  color: #fff;
}

/* ---------- Cookie banner ---------- */
#fc-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1060;
  background: #fff;
  border-top: 3px solid var(--fc-blue);
  padding: 1.1rem 1.25rem;
  padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  padding-left: calc(1.25rem + env(safe-area-inset-left, 0px));
  padding-right: calc(1.25rem + env(safe-area-inset-right, 0px));
  box-shadow: 0 -8px 30px rgba(11, 46, 89, 0.15);
}
#fc-cookie-banner p { color: var(--fc-text) !important; }
#fc-cookie-banner a { color: var(--fc-blue); font-weight: 600; }
#fc-cookie-banner[hidden] { display: none !important; }

@media (max-width: 575px) {
  .fc-whatsapp-float {
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    right: calc(1rem + env(safe-area-inset-right, 0px));
    width: 3.1rem;
    height: 3.1rem;
  }
  #fc-cookie-banner .btn { min-height: 2.75rem; padding-left: 1rem; padding-right: 1rem; }
  body { font-size: 1rem; }
}

/* Contenuto articoli largo (tabelle WP) */
@media (max-width: 575.98px) {
  .wp-articolo { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ---------- Pagina Prenota call ---------- */
.fc-prenota-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fc-orange-deep);
  background: var(--fc-orange-soft);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1.25rem;
}
.fc-prenota-showcase {
  border-radius: var(--fc-radius);
  border: 1px solid var(--fc-border);
  background: linear-gradient(155deg, var(--fc-orange-soft) 0%, #fff 45%, var(--fc-blue-soft) 100%);
  overflow: hidden;
  box-shadow: var(--fc-shadow-sm);
}
.fc-prenota-showcase-inner { position: relative; padding: 2rem 1.75rem; }
@media (min-width: 992px) { .fc-prenota-showcase-inner { padding: 2.5rem 2.75rem; } }
.fc-prenota-glow { display: none; }
.fc-prenota-step { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.fc-prenota-step:last-child { margin-bottom: 0; }
.fc-prenota-step-num {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--fc-orange);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 2.2rem;
  text-align: center;
}
.fc-prenota-wa-preview {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
  background: #f0faf3;
  border: 1px solid #c7ebd3;
  border-radius: 0.75rem;
  padding: 1.1rem 1.25rem;
  color: #14301e;
  min-height: 9.5rem;
  margin: 0;
}
.fc-prenota-wa-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #128c4a;
  margin-bottom: 0.6rem;
}
.btn-fc-whatsapp {
  --bs-btn-color: #fff;
  --bs-btn-bg: #1fa855;
  --bs-btn-border-color: #1fa855;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #178a45;
  --bs-btn-hover-border-color: #178a45;
  --bs-btn-active-bg: #127038;
  --bs-btn-active-border-color: #127038;
  font-weight: 700;
}
.btn-fc-whatsapp:focus-visible { box-shadow: 0 0 0 0.2rem rgba(37, 211, 102, 0.45); }

/* ---------- Case study: problema → soluzione → risultato ---------- */
.fc-case-outcomes { display: grid; gap: 0.85rem; }
.fc-case-outcome {
  background: var(--fc-surface);
  border: 1px solid var(--fc-border);
  border-radius: 0.65rem;
  padding: 0.9rem 1rem;
}
.fc-case-outcome--result { border-color: rgba(255, 107, 0, 0.35); background: var(--fc-orange-soft); }
.fc-case-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fc-blue);
  margin-bottom: 0.35rem;
}
.fc-case-outcome--result .fc-case-label { color: var(--fc-orange-deep); }
.fc-case-outcome p { font-size: 0.9rem; color: var(--fc-muted); margin: 0; line-height: 1.55; }
.fc-case-outcome--result p { color: var(--fc-text); }

/* ---------- Metodo in 5 passi ---------- */
.fc-method-timeline { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .fc-method-timeline { grid-template-columns: repeat(5, 1fr); } }
.fc-method-step {
  text-align: center;
  padding: 1.75rem 1rem;
  background: #fff;
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  height: 100%;
  box-shadow: var(--fc-shadow-sm);
}
.fc-method-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--fc-orange);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.fc-method-step h3 { font-size: 1.05rem; color: var(--fc-heading); margin-bottom: 0.6rem; }
.fc-method-step p { font-size: 0.9rem; color: var(--fc-muted); margin: 0; }

/* ---------- Range prezzi ---------- */
.fc-price-table { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .fc-price-table { grid-template-columns: repeat(3, 1fr); } }
.fc-price-card {
  border: 1px solid var(--fc-border);
  border-radius: var(--fc-radius);
  padding: 2rem 1.75rem;
  background: #fff;
  height: 100%;
  box-shadow: var(--fc-shadow-sm);
}
.fc-price-card--featured {
  border: 2px solid var(--fc-orange);
  box-shadow: 0 16px 40px rgba(255, 107, 0, 0.15);
}
.fc-price-card h3 { font-size: 1.2rem; color: var(--fc-heading); margin-bottom: 0.6rem; }
.fc-price-from {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--fc-orange-deep);
  margin-bottom: 1rem;
}
.fc-price-card ul { font-size: 0.95rem; color: var(--fc-muted); padding-left: 1.1rem; margin-bottom: 0; }

/* ---------- Testimonianze ---------- */
.fc-testimonial {
  border-left: 4px solid var(--fc-orange);
  background: #fff;
  border-radius: 0 0.75rem 0.75rem 0;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--fc-shadow-sm);
}
.fc-testimonial p { font-style: italic; color: var(--fc-text); margin-bottom: 0.75rem; font-size: 1rem; }
.fc-testimonial cite { font-size: 0.875rem; color: var(--fc-heading); font-style: normal; font-weight: 700; }

.fc-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
  align-items: center;
  padding: 1.75rem 0 0;
  margin-top: 2.5rem;
}
.fc-trust-strip a { font-size: 0.95rem; text-decoration: none; }

/* ---------- Riquadro sicurezza (blu scuro) ---------- */
.fc-hacker-zone {
  --fc-hacker-bg: var(--fc-blue-dark);
  --fc-hacker-accent: #ffa25c;
  --fc-hacker-accent-hover: #ffc08f;
  --fc-hacker-accent-soft: rgba(255, 107, 0, 0.16);
  --fc-hacker-text: #ffffff;
  --fc-hacker-muted: #c3d3e6;
  --fc-hacker-border: rgba(255, 255, 255, 0.14);

  position: relative;
  overflow: hidden;
  margin-top: 3rem;
  border-radius: 1.25rem;
  border: 0;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(255, 107, 0, 0.22), transparent 60%),
    linear-gradient(135deg, #0b2e59 0%, #0066cc 140%);
  box-shadow: var(--fc-shadow-lg);
}
.fc-hacker-zone::before, .fc-hacker-zone::after { content: none; }
.fc-hacker-zone-inner { position: relative; z-index: 1; }
.fc-hacker-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--fc-hacker-border);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  margin-bottom: 1.25rem;
}
.fc-hacker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--fc-orange);
  padding: 3px;
}
.fc-hacker-icon > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--fc-blue-dark);
  color: #fff;
  font-size: 1.75rem;
}
.fc-hacker-zone .text-white,
.fc-hacker-zone h2, .fc-hacker-zone h3 { color: var(--fc-hacker-text) !important; }
.fc-hacker-zone .text-muted { color: var(--fc-hacker-muted) !important; }
.fc-hacker-zone .text-accent,
.fc-hacker-zone .fc-hacker-list i { color: var(--fc-hacker-accent) !important; }
.fc-hacker-zone a:not(.btn) { color: var(--fc-hacker-accent-hover); }
.fc-hacker-zone a:not(.btn):hover { color: #fff; }
.fc-hacker-zone .btn-outline-success,
.fc-hacker-zone .btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255,255,255,.6);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-color: var(--fc-blue-dark);
  --bs-btn-hover-border-color: #fff;
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.fc-hacker-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
@media (min-width: 768px) {
  .fc-hacker-list { grid-template-columns: repeat(2, 1fr); gap: 0.75rem 1.5rem; }
}
.fc-hacker-list li { display: flex; gap: 0.6rem; font-size: 0.95rem; color: var(--fc-hacker-muted); }
.fc-hacker-list li strong { color: var(--fc-hacker-text); }

/* Focus visibile per accessibilità */
a:focus-visible, .btn:focus-visible, button:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.5);
  outline-offset: 3px;
}

/* Hero: niente doppio padding */
.hero .hero-content.py-5 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.fc-method-step { height: 100%; }
.container { --bs-gutter-x: 2rem; }
.hero { padding-top: 10rem; }
html, body { overflow-x: clip; }
.btn { max-width: 100%; white-space: normal; }

/* Barra superiore compatta su cellulare */
@media (max-width: 575.98px) {
  .fc-social-strip .container { flex-direction: row !important; justify-content: center !important; }
  .fc-social-strip .fc-social-icons { display: none !important; }
  .fc-topbar-contacts { font-size: 0.78rem; }
  .hero { padding-top: 8rem; min-height: auto; }
  .page-header { padding-top: 8.5rem; padding-bottom: 3rem; }
  .logo-nav { height: 40px; }
}
/* Social nel footer */
.fc-footer-social { display: flex; gap: 0.9rem; margin-top: 1.5rem; }
.fc-footer-social a {
  width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.1); color: #fff; transition: background .2s;
}
.fc-footer-social a:hover { background: var(--fc-orange); color: #fff; text-decoration: none; }
.fc-footer-social .fc-svg-icon { width: 1.1rem; height: 1.1rem; }
@media (max-width: 991.98px) {
  .hero .hero-portrait { max-width: 250px; }
  .hero .row.gy-5 { --bs-gutter-y: 2.25rem; }
}
.row.g-5 { --bs-gutter-x: 2rem; --bs-gutter-y: 3rem; }
@media (min-width: 992px) { .row.g-5 { --bs-gutter-x: 3rem; } .container { --bs-gutter-x: 3rem; } }
@media (min-width: 576px) { .page-header { padding-top: 11.5rem; } }

@media (min-width: 576px) { .hero { padding-top: 12rem; } }

/* ===== Foto senza cerchio: riquadro verticale arrotondato ===== */
.hero-portrait { max-width: 460px; }
.hero-portrait::before {
  content: "";
  position: absolute;
  inset: auto -18px -18px auto;
  width: 78%;
  height: 78%;
  border-radius: 1.75rem;
  background: var(--fc-orange);
  opacity: 1;
  z-index: 0;
}
.hero-portrait::after {
  content: "";
  position: absolute;
  top: -18px;
  left: -18px;
  width: 42%;
  height: 42%;
  border-radius: 1.5rem;
  background: var(--fc-blue);
  z-index: 0;
}
.hero-portrait-inner {
  border-radius: 1.5rem;
  aspect-ratio: 3 / 4;
  border: 0;
  box-shadow: var(--fc-shadow-lg);
}
.hero-portrait-inner img { object-position: center 30%; }
.contact-portrait .hero-portrait::before,
.contact-portrait.hero-portrait::before { inset: auto -10px -10px auto; }
.contact-portrait.hero-portrait::after { top: -10px; left: -10px; }

/* ===== Hero più ampia ===== */
.hero > .container { max-width: 1320px; }
@media (min-width: 1400px) { .hero > .container { max-width: 1400px; } }
.hero .fc-hero-title { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.hero .fc-hero-title-line2 { font-size: clamp(1.35rem, 2.6vw, 2.2rem); }
.hero .lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); max-width: 40rem; }
.hero .fc-hero-points li { font-size: 1.1rem; }
.hero .hero-photo-card { max-width: 520px; margin-right: 18px; }
@media (max-width: 991.98px) {
  .hero .hero-portrait { max-width: 320px; }
  .hero .hero-photo-card { margin: 0 auto; }
}
.navbar > .container, .fc-social-strip > .container { max-width: 1320px; }
@media (min-width: 1400px) { .navbar > .container, .fc-social-strip > .container { max-width: 1400px; } }
.hero .hero-photo-card { max-width: min(440px, 58vh); }
@media (max-width: 991.98px) { .hero .hero-portrait { max-width: 250px; } }
@media (min-width: 1200px) { .container { max-width: 1240px; } .navbar > .container, .fc-social-strip > .container, .hero > .container { max-width: 1240px; } }
@media (min-width: 1400px) { .container, .navbar > .container, .fc-social-strip > .container, .hero > .container { max-width: 1340px; } }
.hero .hero-photo-card { max-width: min(440px, 50vh); }

/* =========================================================
   Tipografia e spazi — versione 2
   Titoli: Playfair Display · Testi: Lato
   ========================================================= */
body { font-size: 1.125rem; line-height: 1.8; letter-spacing: 0.005em; color: var(--fc-text); }
h1, h2, h3, .h1, .h2, .h3, .display-5, .display-6, .section-title {
  font-family: "Playfair Display", "Fraunces Fallback", Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h4, h5, h6, .h4, .h5, .h6 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; }
.card-fc h3.h6, .card-fc .h6, .card-fc h2.h5, .card-fc h3.h5 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
.fc-hero-title-line2 { font-style: italic; font-weight: 600; }
p, li { max-width: 68ch; }
.text-center p, p.text-center, .fc-cta-band p { margin-left: auto; margin-right: auto; }
.lead { font-weight: 300; font-size: 1.3rem; line-height: 1.75; color: var(--fc-muted); }
.text-muted { line-height: 1.85; }
.small, small { font-size: 1rem; line-height: 1.75; }
.card-fc .small, .card-fc .text-muted.small { font-size: 1.02rem; line-height: 1.8; }
p.text-uppercase.small, .fc-eyebrow { font-size: 0.82rem; letter-spacing: 0.18em !important; font-family: "Lato", sans-serif; }
.btn { font-family: "Lato", sans-serif; letter-spacing: 0.02em; }
.navbar .nav-link { font-family: "Lato", sans-serif; font-weight: 700; letter-spacing: 0.01em; }

/* Più spazio tra gli elementi */
.py-5 { padding-top: clamp(5rem, 9vw, 8rem) !important; padding-bottom: clamp(5rem, 9vw, 8rem) !important; }
.row.g-4, .row.g-3.g-lg-4 { --bs-gutter-x: 2.5rem; --bs-gutter-y: 2.5rem; }
.section-title { margin-bottom: 1.5rem !important; padding-bottom: 1.25rem; }
.row.align-items-end.mb-4, .row.justify-content-center.text-center.mb-5 { margin-bottom: 4rem !important; }
.card-fc.p-4 { padding: 2.5rem 2.25rem !important; }
.card-fc .p-3 { padding: 1.75rem 1.75rem !important; }
.fc-benefit-icon { margin-bottom: 1.75rem; }
.fc-method-step { padding: 2.25rem 1.25rem; }
.fc-hero-points { gap: 0.9rem; margin-bottom: 2.75rem; }
.fc-footer { padding-top: 5.5rem; }
.fc-footer li { margin-bottom: 0.85rem; }
.fc-footer h2 { font-family: "Lato", sans-serif; letter-spacing: 0.16em; }
.page-header .lead { margin-bottom: 0 !important; }
.accordion-button { font-family: "Playfair Display", Georgia, serif; font-size: 1.12rem; padding: 1.5rem 1.75rem; }
.accordion-body { padding: 0.5rem 1.75rem 1.75rem; }
.list-group-item { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.list-group-item a.fw-semibold { font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; color: var(--fc-heading) !important; }

/* WhatsApp solo blu */
.fc-whatsapp-float { background: var(--fc-blue); box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4); }
.fc-whatsapp-float:hover { background: var(--fc-blue-hover); box-shadow: 0 8px 26px rgba(0, 102, 204, 0.5); }
.btn-fc-whatsapp {
  --bs-btn-bg: var(--fc-blue); --bs-btn-border-color: var(--fc-blue);
  --bs-btn-hover-bg: var(--fc-blue-hover); --bs-btn-hover-border-color: var(--fc-blue-hover);
  --bs-btn-active-bg: var(--fc-blue-dark); --bs-btn-active-border-color: var(--fc-blue-dark);
  background: var(--fc-blue); border-color: var(--fc-blue); color: #fff;
}
.fc-prenota-wa-bar { color: var(--fc-blue); }
.fc-prenota-wa-preview { background: var(--fc-blue-soft); border-color: #cfe2f7; color: var(--fc-blue-dark); }
.btn-fc-whatsapp:focus-visible { box-shadow: 0 0 0 0.2rem rgba(0, 102, 204, 0.35); }

/* Moduli */
.fc-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.fc-form-status { padding: 1rem 1.25rem; border-radius: 0.75rem; font-weight: 700; }
.fc-form-status.is-ok { background: #e8f6ee; color: #14532d; border: 1px solid #b7e2c8; }
.fc-form-status.is-error { background: var(--fc-orange-soft); color: var(--fc-orange-deep); border: 1px solid rgba(255,107,0,.3); }
.form-check-input:checked { background-color: var(--fc-orange); border-color: var(--fc-orange); }
.form-check-input { width: 1.2em; height: 1.2em; margin-top: 0.3em; }
.fc-check-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.fc-check-list li { display: grid; grid-template-columns: 2rem 1fr; column-gap: 1rem; margin: 0; max-width: none; }
.fc-check-list li::before {
  content: ""; grid-row: span 2; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--fc-orange) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3e%3cpath fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M6 12.5l4 4 8-9'/%3e%3c/svg%3e") center/60% no-repeat;
}
.fc-check-list strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; color: var(--fc-heading); }
.fc-check-list span { color: var(--fc-muted); }
.fc-checkup-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  background: #fff; border: 2px solid var(--fc-blue); border-radius: 1.5rem;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3.5rem);
  box-shadow: var(--fc-shadow);
}
.fc-checkup-band > div { flex: 1 1 26rem; min-width: 0; }
.fc-checkup-band h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
#domande .accordion-item { border-radius: 1rem !important; margin-bottom: 1rem; border: 1px solid var(--fc-border) !important; overflow: hidden; }
@media (max-width: 991.98px) { .row.g-4, .row.g-3.g-lg-4, .row.g-5 { --bs-gutter-x: 2rem; } }
.fc-steps-list { list-style: none; counter-reset: st; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.5rem; }
.fc-steps-list li { counter-increment: st; display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; margin: 0; max-width: none; }
.fc-steps-list li::before { content: counter(st); grid-row: span 2; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--fc-orange); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.fc-steps-list strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; color: var(--fc-heading); }
.fc-steps-list span { color: var(--fc-muted); }
.fc-zone-list { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.15rem; line-height: 2; color: var(--fc-blue-dark); }
.fc-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.fc-chip { display: inline-block; padding: 0.6rem 1.1rem; border-radius: 999px; background: #fff; border: 1.5px solid var(--fc-border-strong); color: var(--fc-heading); font-weight: 700; text-decoration: none; transition: all .2s; }
.fc-chip:hover { background: var(--fc-orange); border-color: var(--fc-orange); color: #fff; }

/* =========================================================
   CELLULARE — testi grandi e facili da leggere
   (pensato anche per chi ha difficoltà di lettura)
   ========================================================= */
@media (max-width: 767.98px) {
  html { font-size: 17px; }
  body { font-size: 1.2rem; line-height: 1.85; }
  p, li { font-size: 1.2rem; line-height: 1.85; }
  .lead, .hero .lead, .page-header .lead { font-size: 1.3rem !important; line-height: 1.8; font-weight: 400; color: var(--fc-text) !important; }
  .text-muted, .text-secondary { color: #3f4a5c !important; }   /* grigio più scuro: più contrasto */
  .small, small, .card-fc .small, .card-fc .text-muted.small, .text-muted.small { font-size: 1.1rem !important; line-height: 1.8; }

  h1, .h1, .display-5, .display-6 { font-size: 2.35rem !important; line-height: 1.2; }
  .hero .fc-hero-title { font-size: 2.6rem !important; }
  .hero .fc-hero-title-line2 { font-size: 1.5rem !important; }
  h2, .h2, .section-title { font-size: 2rem !important; line-height: 1.25; }
  h3, .h3, .h4 { font-size: 1.55rem !important; }
  .h5, .card-fc h2.h5, .card-fc h3.h5, .card-fc h3.h6, .card-fc .h6, .h6 { font-size: 1.4rem !important; line-height: 1.3; }
  p.text-uppercase.small, .fc-eyebrow { font-size: 0.95rem !important; letter-spacing: 0.12em !important; }

  .btn { font-size: 1.15rem; min-height: 3.25rem; padding: 0.85rem 1.5rem; }
  .btn-lg { font-size: 1.2rem; min-height: 3.5rem; }
  .btn-sm { font-size: 1.05rem; min-height: 2.9rem; padding: 0.6rem 1.2rem; }
  .d-flex.flex-wrap.gap-3 > .btn { flex: 1 1 100%; }

  .navbar .nav-link { font-size: 1.25rem; padding: 0.85rem 1rem !important; }
  .navbar-toggler { padding: 0.55rem 0.75rem; }
  .navbar-toggler-icon { width: 1.75em; height: 1.75em; }
  .fc-topbar-contacts { font-size: 0.95rem !important; }

  .fc-hero-points li { font-size: 1.2rem; }
  .accordion-button { font-size: 1.25rem; padding: 1.4rem 1.25rem; line-height: 1.4; }
  .accordion-body { font-size: 1.15rem; padding: 0.5rem 1.25rem 1.5rem; }
  .form-control, .form-select { font-size: 1.15rem; padding: 0.9rem 1rem; }
  .form-label { font-size: 1.15rem; }
  .form-check-label { font-size: 1.05rem !important; }

  .fc-footer { font-size: 1.15rem; }
  .fc-footer h2 { font-size: 1rem !important; }
  .fc-footer li { margin-bottom: 1rem; }
  .fc-footer-legal, .fc-footer-legal p { font-size: 1rem; }
  .fc-cta-band h2 { font-size: 2rem !important; }
  .fc-cta-band p { font-size: 1.2rem; }
  .fc-price-from { font-size: 2.2rem; }
  .fc-price-card ul, .fc-case-outcome p, .fc-method-step p { font-size: 1.1rem; }
  .fc-method-step h3 { font-size: 1.35rem !important; }
  .fc-check-list strong, .fc-steps-list strong { font-size: 1.3rem; }
  .fc-zone-list { font-size: 1.25rem; }
  .fc-chip { font-size: 1.05rem; padding: 0.7rem 1.2rem; }
  .list-group-item a.fw-semibold { font-size: 1.35rem; }
  .fc-whatsapp-float { width: 3.6rem; height: 3.6rem; }
  #fc-cookie-banner p { font-size: 1.05rem !important; }

  .card-fc.p-4 { padding: 1.75rem 1.4rem !important; }
  .py-5 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
}
@media (max-width: 767.98px) { .badge-soft { white-space: normal; text-align: left; line-height: 1.4; font-size: 0.95rem; } }
@media (max-width: 991.98px) { .hero .hero-photo-card { max-width: 240px !important; margin: 0 auto; } .hero { padding-top: 8.5rem; } }

/* Recensioni */
.fc-reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: 2rem; }
.fc-reviews-grid--1 { grid-template-columns: 1fr; }
.fc-review {
  background: #fff; border: 1px solid var(--fc-border); border-radius: 1.25rem;
  padding: 2rem 1.9rem; box-shadow: var(--fc-shadow-sm); display: flex; flex-direction: column; gap: 1rem; position: relative;
}
.fc-review::before {
  content: "“"; position: absolute; top: 0.4rem; right: 1.4rem;
  font-family: "Playfair Display", Georgia, serif; font-size: 5rem; line-height: 1; color: var(--fc-orange-soft);
}
.fc-review-stars { color: var(--fc-orange); font-size: 1.3rem; letter-spacing: 3px; margin: 0; }
.fc-review blockquote { margin: 0; font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.15rem; line-height: 1.7; color: var(--fc-heading); flex: 1; position: relative; }
.fc-review-who { margin: 0; display: flex; flex-direction: column; border-top: 1px solid var(--fc-border); padding-top: 1rem; }
.fc-review-who strong { color: var(--fc-heading); font-size: 1.05rem; }
.fc-review-who span { color: var(--fc-muted); font-size: 0.95rem; }

.fc-star-input { display: inline-flex; flex-direction: row-reverse; gap: 0.35rem; }
.fc-star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fc-star-input label { font-size: 2.6rem; line-height: 1; color: #d5dbe3; cursor: pointer; transition: color .15s, transform .15s; padding: 0 0.1rem; }
.fc-star-input label:hover, .fc-star-input label:hover ~ label,
.fc-star-input input:checked ~ label { color: var(--fc-orange); }
.fc-star-input input:focus-visible + label { outline: 3px solid rgba(0,102,204,.5); border-radius: 6px; }
.was-validated .fc-star-input:has(input:invalid) label { color: #f3c4a3; }
fieldset legend.form-label { font-size: 1rem; float: none; width: auto; }
@media (max-width: 767.98px) {
  .fc-review { padding: 1.6rem 1.4rem; }
  .fc-review blockquote { font-size: 1.25rem; }
  .fc-star-input label { font-size: 3rem; }
  fieldset legend.form-label { font-size: 1.15rem; }
}
.fc-review::before { top: -0.2rem; right: 1rem; font-size: 4rem; z-index: 0; }
.fc-review > * { position: relative; z-index: 1; }
/* Logo su una riga */
.logo-nav { height: 44px; width: auto; max-width: min(300px, 64vw); }
.fc-footer .fc-footer-logo { height: 40px; width: auto; }
@media (max-width: 575.98px) { .logo-nav { height: 36px; } }
/* Logo su due righe (Cavalieri / Design) */
.logo-nav { height: 54px; width: auto; max-width: none; }
.fc-footer .fc-footer-logo { height: 56px; width: auto; }
@media (max-width: 575.98px) { .logo-nav { height: 48px; } }
/* Logo su una riga, stile frecce */
.logo-nav { height: 38px; width: auto; max-width: min(300px, 62vw); }
.fc-footer .fc-footer-logo { height: 36px; width: auto; }
@media (max-width: 575.98px) { .logo-nav { height: auto; width: min(230px, 58vw); } }
