/* ==========================================================================
   Studio Fiscal Consulting - personalizzazioni sul template Lawdit
   ========================================================================== */
:root {
  --sfc-primary: #2f527a;
  --sfc-primary-light: #8faed1;
  --sfc-dark: #0f1c2a;
  --sfc-dark-2: #16273a;
  --sfc-light: #f3f5f7;
  --sfc-border: #d9dfe6;
  --sfc-text: #5f656b;
  --sfc-font-heading: 'Newsreader', 'Times New Roman', serif;
  --sfc-font-body: 'Hanken Grotesk', system-ui, sans-serif;
}

body {
  font-family: var(--sfc-font-body);
  font-size: 16px;
  color: var(--sfc-text);
}
p {
  font-family: var(--sfc-font-body);
  font-size: 16px;
  line-height: 1.75em;
  margin-bottom: 14px;
}
h1, h2, h3, h4, h5, h6,
.section-title,
.sfc-hero-title,
.sfc-mutua-title {
  font-family: var(--sfc-font-heading);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -.015em;
  word-spacing: normal;
}
h1 { font-size: 56px; }
h2 { font-size: 38px; }
h3 { font-size: 30px; }
h4 { font-size: 24px; }

.mb-10 { margin-bottom: 10px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-30 { margin-bottom: 30px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-60 { margin-top: 60px !important; }

/* Overlay blu notte al posto del nero */
[data-overlay-dark]:before {
  background: #0b1622;
}
[data-overlay-dark="5"]:before { opacity: .55; }
[data-overlay-dark="6"]:before { opacity: .65; }
[data-overlay-dark="7"]:before { opacity: .75; }

/* Le animazioni restano visibili anche senza la classe .js */
.animate-box { opacity: 1; }
/* in attesa dell'animazione d'ingresso (main.js): l'animazione poi riporta l'opacità a 1 */
.animate-box.sfc-animate-pending { opacity: 0; }

/* --------------------------------------------------------------------------
   Logo tipografico
   -------------------------------------------------------------------------- */
.sfc-logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}
.sfc-logo:hover { color: #fff; }
.sfc-logo-small,
.logo-wrapper .sfc-logo .sfc-logo-small {
  display: block;
  padding-left: 0;
  line-height: 1;
  font-family: var(--sfc-font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--sfc-primary-light);
  margin-bottom: 6px;
}
.sfc-logo-name,
.logo-wrapper .sfc-logo .sfc-logo-name {
  display: block;
  padding-left: 0;
  text-transform: none;
  line-height: 1;
  color: #fff;
  font-family: var(--sfc-font-heading);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}
.navbar .logo-wrapper {
  padding: 0;
}
.navbar .logo-wrapper .sfc-logo .sfc-logo-small,
.navbar .logo-wrapper .sfc-logo .sfc-logo-name {
  display: block;
  padding-left: 0;
  line-height: 1;
}
.navbar .logo-wrapper .sfc-logo .sfc-logo-small {
  font-family: var(--sfc-font-body);
  font-weight: 500;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: .42em;
  color: var(--sfc-primary-light);
  margin: 0 0 6px;
}
.navbar .logo-wrapper .sfc-logo .sfc-logo-name {
  font-family: var(--sfc-font-heading);
  font-size: 27px;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
  color: #fff;
  margin: 0;
}
.navbar.nav-scroll .logo-wrapper .sfc-logo .sfc-logo-name { font-size: 23px; }
.sfc-logo-footer .sfc-logo-name { font-size: 26px; }
@media (min-width: 992px) {
  .navbar .logo-wrapper .sfc-logo .sfc-logo-small { font-size: 13px; margin-bottom: 8px; }
  .navbar .logo-wrapper .sfc-logo .sfc-logo-name { font-size: 36px; }
  .navbar.nav-scroll .logo-wrapper .sfc-logo .sfc-logo-name { font-size: 29px; }
  .navbar .navbar-right { margin-left: 20px; }
  .navbar .container-fluid { padding-left: 40px; padding-right: 40px; }
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.navbar .navbar-nav .nav-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding-left: 14px !important;
  padding-right: 14px !important;
}
.navbar .navbar-nav .nav-link.active,
.navbar .navbar-nav .active {
  color: var(--sfc-primary-light) !important;
}
.navbar .navbar-nav .nav-link:hover {
  color: var(--sfc-primary-light);
}
.navbar .dropdown-menu .dropdown-item {
  color: #fff;
  font-size: 16px;
  padding: 7px 0;
  background: transparent;
  white-space: normal;
}
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
  color: var(--sfc-primary-light);
}
@media (min-width: 992px) {
  .navbar .dropdown-menu { width: 270px; }
  .navbar .dropdown-menu .sfc-dropdown-all { display: none; }
}
.sfc-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 30px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  transition: all .3s ease;
}
.sfc-nav-button:hover,
.sfc-nav-button.active {
  background: var(--sfc-primary);
  border-color: var(--sfc-primary);
  color: #fff;
}
/* utente loggato nell'area riservata: pulsante pieno con pallino azzurro */
.sfc-nav-button.sfc-nav-button-logged {
  position: relative;
  background: var(--sfc-primary);
  border-color: var(--sfc-primary);
}
.sfc-nav-button.sfc-nav-button-logged::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--sfc-primary-light);
  border: 2px solid var(--sfc-dark);
}
.sfc-nav-button.sfc-nav-button-logged:hover {
  background: #fff;
  border-color: #fff;
  color: var(--sfc-dark);
}
.sfc-nav-button.sfc-nav-button-logged:hover i { color: var(--sfc-primary); }
/* versione compatta (solo icona) accanto all'hamburger nella testata mobile */
.sfc-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.sfc-nav-button.sfc-nav-button-compact,
a.sfc-nav-button.sfc-nav-button-compact:hover {
  display: inline-flex;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-color: rgba(255, 255, 255, .22);
  border-radius: 50%;
}
.sfc-nav-button.sfc-nav-button-logged.sfc-nav-button-compact { border-color: var(--sfc-primary); }
.sfc-nav-button-compact i { font-size: 18px; }
.sfc-nav-button-compact .sfc-nav-button-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.nav-scroll {
  box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
}
/* Toggler mobile: hamburger CSS che diventa una X all'apertura */
.navbar button.navbar-toggler {
  width: 46px;
  height: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  box-shadow: none !important;
  transition: background .3s, border-color .3s;
}
.navbar button.navbar-toggler:hover,
.navbar button.navbar-toggler:focus-visible,
.navbar button.navbar-toggler[aria-expanded="true"] {
  background: var(--sfc-primary) !important;
  border-color: var(--sfc-primary) !important;
}
.navbar button.navbar-toggler:focus-visible {
  outline: 2px solid var(--sfc-primary-light) !important;
  outline-offset: 3px;
}
.navbar .navbar-toggler-icon.sfc-burger {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}
.sfc-burger span {
  position: absolute;
  right: 0;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: #fff;
  transition: transform .35s ease, opacity .25s ease, width .35s ease, top .35s ease;
}
.sfc-burger span:nth-child(1) { top: 0; }
.sfc-burger span:nth-child(2) { top: 6px; width: 70%; }
.sfc-burger span:nth-child(3) { top: 12px; }
.navbar-toggler:hover .sfc-burger span:nth-child(2) { width: 100%; }
.navbar-toggler[aria-expanded="true"] .sfc-burger span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .sfc-burger span:nth-child(2) { opacity: 0; width: 0; }
.navbar-toggler[aria-expanded="true"] .sfc-burger span:nth-child(3) { top: 6px; transform: rotate(-45deg); }
@media (min-width: 992px) {
  .navbar button.navbar-toggler { display: none; }
}
@media (max-width: 991.98px) {
  .navbar .container-fluid {
    flex-wrap: wrap;
    padding-left: 16px;
    padding-right: 16px;
  }
  .navbar .logo-wrapper {
    padding: 22px 0;
    float: none;
  }
  .nav-scroll .logo-wrapper { padding: 14px 0; }
  .navbar .logo-wrapper .sfc-logo .sfc-logo-name { font-size: 22px !important; }
  .navbar .logo-wrapper .sfc-logo .sfc-logo-small { font-size: 10px !important; margin-bottom: 4px !important; }
  .navbar button.navbar-toggler { margin-top: 0; }
  .navbar .navbar-collapse {
    background: var(--sfc-dark);
    border-radius: 6px;
    padding: 12px 20px 20px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    margin-bottom: 12px;
  }
  .navbar .navbar-nav .nav-link {
    padding: 10px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }
  .navbar .dropdown-menu {
    background: transparent;
    border: 0;
    padding: 0 0 8px 14px;
  }
  .navbar-right { margin-top: 16px; }
  .sfc-nav-button { width: 100%; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Slider home a tutto schermo
   -------------------------------------------------------------------------- */
.sfc-hero .item .container {
  position: relative;
  z-index: 2;
}
.sfc-hero .item.valign {
  display: flex;
  align-items: center;
}
.sfc-hero .sfc-hero-title,
.header .sfc-hero-title {
  font-family: var(--sfc-font-heading);
  font-size: 60px;
  font-weight: 400;
  line-height: 1.15em;
  color: #fff;
  margin-bottom: 20px;
}
.sfc-hero-subtitle {
  font-size: 21px !important;
  color: rgba(255, 255, 255, .88) !important;
  margin-bottom: 40px !important;
}
.sfc-hero .button-3 {
  border-color: #fff;
  background: rgba(255, 255, 255, .06);
}
.sfc-hero .button-3:hover {
  border-color: var(--sfc-primary);
  background: var(--sfc-primary);
}
.slider-fade .owl-theme .owl-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  bottom: auto;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  pointer-events: none;
  z-index: 3;
}
.slider-fade .owl-theme .owl-nav [class*=owl-] {
  pointer-events: auto;
  margin: 0;
  border-color: rgba(255, 255, 255, .5);
}
.slider-fade .owl-theme .owl-dots {
  z-index: 3;
}
@media (max-width: 991.98px) {
  .header .sfc-hero-title { font-size: 40px; }
  .sfc-hero-subtitle { font-size: 18px !important; }
}
@media (max-width: 575.98px) {
  .slider-fade .owl-item { height: 100svh; }
  .header .sfc-hero-title { font-size: 32px; }
  .sfc-hero-subtitle { margin-bottom: 28px !important; }
}

/* Prima che Owl Carousel parta, la prima slide è già visibile (Owl nasconde il carosello fino all'init) */
.sfc-hero .owl-carousel:not(.owl-loaded) {
  display: block;
  position: relative;
  height: 100vh;
}
.sfc-hero .owl-carousel:not(.owl-loaded) > .item:not(:first-child) { display: none; }
@media (max-width: 575.98px) {
  .sfc-hero .owl-carousel:not(.owl-loaded) { height: 100svh; }
}

/* Immagine di sfondo di testate e slider (helper sfcBgPicture), sotto l'overlay scuro */
.sfc-bg-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.sfc-bg-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slider-fade .sfc-bg-media img { object-position: top; }
/* Chrome esclude dall'LCP le immagini grandi quanto tutto il viewport (le tratta come sfondi):
   1px in meno fa contare la foto della hero, invece del testo del banner cookie che arriva tardi */
.slider-fade .sfc-bg-media { bottom: 1px; }

/* --------------------------------------------------------------------------
   Testata pagine interne
   -------------------------------------------------------------------------- */
.banner-header {
  height: auto;
  min-height: 460px;
  padding: 150px 0 70px;
  display: flex;
  align-items: center;
  background-size: cover;
  position: relative;
}
.banner-header .container {
  position: relative;
  z-index: 2;
}
.banner-header h1 {
  font-size: 52px;
  margin-bottom: 14px;
}
.banner-header .banner-subtitle {
  font-size: 20px;
  color: rgba(255, 255, 255, .88);
  max-width: 760px;
  margin: 0 auto;
}
.banner-header .caption { margin-top: 0 !important; }
/* Testata alta 2/3 della finestra (pagina Contatti) */
.banner-header.sfc-banner-tall {
  min-height: 66.667vh;
  min-height: 66.667svh;
}
.banner-header .breadcrumb {
  margin-bottom: 16px;
  font-size: 15px;
  justify-content: center;
  flex-wrap: wrap;
}
.banner-header .breadcrumb-item,
.banner-header .breadcrumb-item a,
.banner-header .breadcrumb-item::before {
  color: rgba(255, 255, 255, .75);
}
.banner-header .breadcrumb-item a:hover { color: #fff; }
.banner-header .breadcrumb-item.active,
.banner-header .breadcrumb-item:last-child { color: var(--sfc-primary-light); }
@media (max-width: 767.98px) {
  .banner-header {
    min-height: 360px;
    padding: 130px 0 50px;
  }
  .banner-header h1 { font-size: 34px; }
  .banner-header .banner-subtitle { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   Sezioni e testi da CMS
   -------------------------------------------------------------------------- */
.section-padding { padding: 100px 0; }
@media (max-width: 767.98px) {
  .section-padding { padding: 64px 0; }
  .section-title { font-size: 32px; }
}
.section-title { font-size: 42px; }
.section-subtitle { font-size: 18px; color: var(--sfc-primary); }
.sfc-section-lead {
  max-width: 720px;
  margin: 0 auto;
}
.cms-text h2 { font-size: 34px; margin-top: 10px; }
.cms-text h3 { font-size: 26px; margin-top: 30px; color: var(--sfc-dark); }
.cms-text h4 { font-size: 21px; margin-top: 24px; }
.cms-text ul {
  margin: 0 0 24px;
  padding-left: 0;
}
.cms-text ul li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  line-height: 1.6em;
}
.cms-text ul li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  font-weight: 300;
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--sfc-primary);
}
.cms-text a {
  color: var(--sfc-primary);
  text-decoration: underline;
  display: inline;
}
.cms-text strong, .cms-text b { font-weight: 600; color: var(--sfc-dark); }
@media (max-width: 767.98px) {
  .cms-text h2 { font-size: 28px; }
  .cms-text h3 { font-size: 23px; }
}
.sfc-lead {
  font-size: 21px;
  line-height: 1.6em;
  color: var(--sfc-dark);
}
.sfc-big-icon {
  display: inline-flex;
  font-size: 64px;
  color: var(--sfc-primary);
  margin-bottom: 20px;
}

.sfc-about-image img {
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sfc-light);
}

.sfc-slogan {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 120px 0;
  background-color: var(--sfc-dark);
}
.sfc-slogan::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(143, 174, 209, .2), transparent 55%),
    linear-gradient(160deg, #0b1622 0%, var(--sfc-dark) 50%, var(--sfc-dark-2) 100%);
}
.sfc-slogan::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  left: -220px;
  bottom: -300px;
  border-radius: 50%;
  border: 1px solid rgba(143, 174, 209, .2);
  box-shadow: 0 0 0 60px rgba(143, 174, 209, .04), 0 0 0 120px rgba(143, 174, 209, .025);
}
.sfc-slogan-mark {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  background: rgba(143, 174, 209, .12);
  border: 1px solid rgba(143, 174, 209, .35);
  color: var(--sfc-primary-light);
  font-size: 22px;
}
/* azzera lo stile blockquote del tema */
.sfc-slogan-text {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  overflow: visible;
}
.sfc-slogan-text::before { content: none; }
.sfc-slogan-text p {
  font-family: var(--sfc-font-heading);
  font-style: italic;
  font-size: 46px;
  line-height: 1.25em;
  letter-spacing: -.01em;
  color: #fff;
  margin: 0;
}
.sfc-slogan-signature {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sfc-primary-light);
}
.sfc-slogan-signature::before,
.sfc-slogan-signature::after {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .6;
}
@media (max-width: 991.98px) {
  .sfc-slogan { padding: 90px 0; }
  .sfc-slogan-text p { font-size: 36px; }
}
@media (max-width: 767.98px) {
  .sfc-slogan { padding: 70px 0; }
  .sfc-slogan-text p { font-size: 28px; }
  .sfc-slogan-mark { width: 52px; height: 52px; font-size: 18px; margin-bottom: 22px; }
}

.sfc-highlight-box {
  background: var(--sfc-light);
  border-left: 4px solid var(--sfc-primary);
  border-radius: 6px;
  padding: 40px 44px;
}
.sfc-highlight-box > :last-child { margin-bottom: 0; }
@media (max-width: 767.98px) {
  .sfc-highlight-box { padding: 28px 22px; }
}

.sfc-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 6px;
}
.sfc-gallery-item img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.sfc-gallery-item:hover img { transform: scale(1.04); }
/* Gallery subito dopo una sezione testo: riduce lo stacco con la riga sopra */
.about + .sfc-gallery { margin-top: -60px; }
@media (max-width: 767.98px) {
  .about + .sfc-gallery { margin-top: -32px; }
}

.sfc-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sfc-primary);
  font-weight: 500;
}
.sfc-link-arrow:hover { color: var(--sfc-dark); }

/* --------------------------------------------------------------------------
   Card servizi
   -------------------------------------------------------------------------- */
.sfc-service-card {
  width: 100%;
  height: 100%;
}
.sfc-service-card a {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  background: #fff;
  border: 1px solid var(--sfc-border);
  border-radius: 14px;
  padding: 36px 34px 32px;
  box-shadow: 0 2px 4px rgba(15, 28, 42, .03), 0 12px 28px rgba(15, 28, 42, .05);
  transition: border-color .35s ease, box-shadow .35s ease;
}
/* barra superiore che si espande all'hover */
.sfc-service-card a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sfc-primary), var(--sfc-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.sfc-service-card a:hover {
  border-color: rgba(47, 82, 122, .35);
  box-shadow: 0 2px 4px rgba(15, 28, 42, .04), 0 24px 48px rgba(15, 28, 42, .12);
}
.sfc-service-card a:hover::before { transform: scaleX(1); }

.sfc-service-top {
  position: relative;
  display: flex;
  width: 100%;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 28px;
}
.sfc-service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e8edf3 0%, #d3dde9 100%);
  color: var(--sfc-primary);
  font-size: 30px;
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
}
.sfc-service-card a:hover .sfc-service-icon {
  background: linear-gradient(135deg, var(--sfc-primary) 0%, var(--sfc-dark-2) 100%);
  color: #fff;
  box-shadow: 0 10px 22px rgba(47, 82, 122, .3);
}
.sfc-service-number {
  font-family: var(--sfc-font-heading);
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(47, 82, 122, .45);
  transition: color .35s ease;
}
.sfc-service-card a:hover .sfc-service-number { color: rgba(47, 82, 122, .14); }

.sfc-service-card .sfc-service-title {
  position: relative;
  font-size: 24px;
  line-height: 1.25em;
  margin-bottom: 12px;
  color: var(--sfc-dark);
}
.sfc-service-text {
  position: relative;
  display: block;
  flex-grow: 1;
  font-size: 15.5px;
  line-height: 1.65em;
  color: var(--sfc-text);
  margin-bottom: 26px;
}
.sfc-service-more {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--sfc-border);
  font-size: 15px;
  font-weight: 600;
  color: var(--sfc-primary);
}
.sfc-service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(47, 82, 122, .35);
  background: #fff;
  color: var(--sfc-primary);
  font-size: 15px;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.sfc-service-card a:hover .sfc-service-arrow {
  background: var(--sfc-primary);
  border-color: var(--sfc-primary);
  color: #fff;
}
@media (max-width: 575.98px) {
  .sfc-service-card a { padding: 30px 24px 26px; }
  .sfc-service-card .sfc-service-title { font-size: 22px; }
}
/* Carosello senza taglio: le card successive restano visibili oltre il container */
.sfc-services { overflow-x: clip; }
.sfc-services-carousel .owl-stage-outer { overflow: visible; }
.sfc-services-carousel .owl-stage { display: flex; }
.sfc-services-carousel .owl-item { display: flex; padding: 10px 0 30px; }
.sfc-services-carousel .owl-item > div { width: 100%; }
.sfc-services-carousel.owl-theme .owl-nav {
  position: static !important;
  transform: none;
  width: auto;
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.sfc-services-carousel.owl-theme .owl-nav [class*=owl-] {
  position: static !important;
  transform: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--sfc-primary) !important;
  color: var(--sfc-primary) !important;
  background: transparent !important;
  margin: 0 0 0 12px;
}
.sfc-services-carousel.owl-theme .owl-nav [class*=owl-]:hover {
  background: var(--sfc-primary) !important;
  color: #fff !important;
}
.sfc-services-carousel.owl-theme .owl-dots { display: none; }
/* pallini dei caroselli: area di tocco di almeno 24x24px (accessibilità mobile) */
.owl-theme .owl-dots .owl-dot {
  min-width: 24px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}
@media (max-width: 768px) {
  .sfc-services-carousel.owl-theme .owl-dots { display: block; margin-top: 16px; }
  .sfc-services-carousel.owl-theme .owl-nav { display: none !important; }
}

/* --------------------------------------------------------------------------
   Mutua Genesi in home
   -------------------------------------------------------------------------- */
.sfc-mutua {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  background-color: var(--sfc-dark);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.sfc-mutua::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(143, 174, 209, .28), transparent 45%),
    linear-gradient(105deg, rgba(11, 22, 34, .97) 0%, rgba(11, 22, 34, .9) 45%, rgba(22, 39, 58, .72) 100%);
  z-index: 1;
}
.sfc-mutua::after {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -220px;
  border-radius: 50%;
  border: 1px solid rgba(143, 174, 209, .25);
  box-shadow: 0 0 0 60px rgba(143, 174, 209, .04), 0 0 0 120px rgba(143, 174, 209, .03);
  z-index: 1;
}
.sfc-mutua .container {
  position: relative;
  z-index: 2;
}
.sfc-mutua-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 30px;
  background: rgba(143, 174, 209, .14);
  border: 1px solid rgba(143, 174, 209, .35);
  color: var(--sfc-primary-light);
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.sfc-mutua-title {
  font-size: 84px;
  line-height: 1;
  font-weight: 400;
  color: #fff;
  margin-bottom: 22px;
}
.sfc-mutua-slogan p {
  font-family: var(--sfc-font-heading);
  font-style: italic;
  font-size: 30px;
  line-height: 1.3em;
  color: var(--sfc-primary-light);
  margin-bottom: 18px;
}
.sfc-mutua-subtitle {
  font-size: 19px;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  margin-bottom: 38px;
}
.sfc-mutua-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.sfc-mutua-actions .button-1:hover {
  background: #fff;
  border-color: #fff;
  color: var(--sfc-dark);
}
.sfc-mutua-actions .button-3 {
  border-color: rgba(255, 255, 255, .6);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sfc-mutua-card {
  margin-top: 0;
  padding: 40px 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .25);
}
.sfc-mutua-card-title {
  font-family: var(--sfc-font-heading);
  font-size: 26px;
  color: #fff;
  margin-bottom: 20px;
}
.sfc-mutua-card ul { margin: 0; padding: 0; }
.sfc-mutua-card li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  color: rgba(255, 255, 255, .9);
  font-size: 17px;
  line-height: 1.5em;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.sfc-mutua-card li:first-child { border-top: 0; padding-top: 0; }
.sfc-mutua-check {
  flex: 0 0 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sfc-primary);
  color: #fff;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
@media (max-width: 991.98px) {
  .sfc-mutua {
    padding: 80px 0;
    background-attachment: scroll;
  }
  .sfc-mutua-title { font-size: 58px; }
  .sfc-mutua-slogan p { font-size: 24px; }
  .sfc-mutua-card { margin-top: 44px; }
}
@media (max-width: 575.98px) {
  .sfc-mutua-title { font-size: 44px; }
  .sfc-mutua-card { padding: 28px 22px; }
  .sfc-mutua-actions a { width: 100%; justify-content: center; }
}

/* Call to action contatti */
.sfc-cta {
  padding: 40px 0 120px;
}
.sfc-cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 70px 70px;
  border-radius: 16px;
  background-color: var(--sfc-dark);
  background-size: cover;
  background-position: center;
  box-shadow: 0 40px 80px -30px rgba(15, 28, 42, .45);
}
.sfc-cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 0%, rgba(143, 174, 209, .22), transparent 42%),
    linear-gradient(115deg, rgba(11, 22, 34, .97) 0%, rgba(15, 28, 42, .93) 55%, rgba(47, 82, 122, .85) 100%);
}
.sfc-cta-panel::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -200px;
  border-radius: 50%;
  border: 1px solid rgba(143, 174, 209, .25);
  box-shadow: 0 0 0 50px rgba(143, 174, 209, .05), 0 0 0 100px rgba(143, 174, 209, .03);
}
.call .sfc-cta-eyebrow { color: var(--sfc-primary-light); margin-bottom: 18px; }
.call .sfc-cta-title {
  font-size: 52px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 18px;
}
.sfc-cta-subtitle {
  color: rgba(255, 255, 255, .8);
  font-size: 19px;
  margin: 0;
  max-width: 620px;
}
.sfc-cta-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* a:hover del tema forza display: inline-block, va ribadito */
.sfc-cta-contact,
.sfc-cta-contact:hover {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background .3s ease, border-color .3s ease;
}
.sfc-cta-contact:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(143, 174, 209, .5);
}
.sfc-cta-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sfc-primary);
  color: #fff;
  font-size: 20px;
}
.sfc-cta-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sfc-primary-light);
  line-height: 1.4;
  margin-bottom: 5px;
}
.sfc-cta-value {
  display: block;
  font-family: var(--sfc-font-heading);
  font-size: 26px;
  line-height: 1.25;
  color: #fff;
  word-break: break-word;
}
/* l'email è lunga: la dimensione si adatta allo spazio del riquadro (unità cqi) per restare su una riga */
.sfc-cta-contact > span:last-child {
  flex: 1;
  min-width: 0;
  container-type: inline-size;
}
.sfc-cta-value-email {
  font-size: 17px;
  font-size: clamp(14px, 7.4cqi, 21px);
}
.sfc-cta-button,
.sfc-cta-button:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}
.sfc-cta-button:hover {
  background: #fff;
  border-color: #fff;
  color: var(--sfc-dark);
}
@media (max-width: 991.98px) {
  .sfc-cta { padding: 20px 0 80px; }
  .sfc-cta-panel { padding: 50px 40px; }
  .call .sfc-cta-title { font-size: 40px; }
}
@media (max-width: 575.98px) {
  .sfc-cta-panel { padding: 40px 22px; }
  .call .sfc-cta-title { font-size: 32px; }
  .sfc-cta-contact { padding: 14px 16px; gap: 14px; }
  .sfc-cta-icon { flex-basis: 44px; width: 44px; height: 44px; font-size: 17px; }
  .sfc-cta-value { font-size: 21px; }
  .sfc-cta-value.sfc-cta-value-email { font-size: clamp(14px, 7.4cqi, 21px); }
}


/* Paginazione */
.pagination .page-link {
  color: var(--sfc-dark);
  border-color: var(--sfc-border);
}
.pagination .page-item.active .page-link {
  background: var(--sfc-primary);
  border-color: var(--sfc-primary);
  color: #fff;
}
.pagination .material-symbols-rounded { font-size: 20px; vertical-align: middle; }

/* --------------------------------------------------------------------------
   Documenti scaricabili
   -------------------------------------------------------------------------- */
.sfc-docs-title {
  font-size: 26px;
  margin-bottom: 18px;
}
.sfc-doc-list { margin: 0; padding: 0; }
.sfc-doc-list li { margin-bottom: 10px; }
.sfc-doc-list a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--sfc-border);
  border-radius: 6px;
  color: var(--sfc-dark);
  transition: all .3s ease;
}
.sfc-doc-list a > i:first-child {
  font-size: 26px;
  color: var(--sfc-primary);
}
.sfc-doc-list a > span:first-of-type {
  flex-grow: 1;
  line-height: 1.4em;
  word-break: break-word;
}
.sfc-doc-ext {
  font-size: 12px;
  letter-spacing: .08em;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--sfc-light);
  color: var(--sfc-primary);
}
.sfc-doc-download { color: var(--sfc-text); }
.sfc-doc-list a:hover {
  border-color: var(--sfc-primary);
  background: var(--sfc-light);
}
.sfc-empty {
  padding: 24px;
  background: var(--sfc-light);
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Sidebar (servizio, area riservata)
   -------------------------------------------------------------------------- */
.sfc-sidebar-box {
  background: var(--sfc-light);
  border-radius: 6px;
  padding: 32px 30px;
  margin-bottom: 30px;
}
.sfc-sidebar-title {
  font-family: var(--sfc-font-heading);
  font-size: 23px;
  color: var(--sfc-dark);
  margin-bottom: 18px;
}
.sfc-sidebar-list { margin: 0; padding: 0; }
.sfc-sidebar-list li + li { border-top: 1px solid var(--sfc-border); }
.sfc-sidebar-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  color: var(--sfc-dark);
  line-height: 1.35em;
}
.sfc-sidebar-list a i {
  color: var(--sfc-primary);
  font-size: 20px;
  width: 24px;
  text-align: center;
}
.sfc-sidebar-list a:hover,
.sfc-sidebar-list li.active a {
  color: var(--sfc-primary);
}
.sfc-sidebar-list li.active a span { font-weight: 600; }
.sfc-sidebar-box-dark {
  background: var(--sfc-dark);
}
.sfc-sidebar-box-dark .sfc-sidebar-title,
.sfc-sidebar-box-dark .sfc-user-name { color: #fff; }
.sfc-sidebar-box-dark p { color: rgba(255, 255, 255, .78); font-size: 16px; }
.sfc-sidebar-phone a { color: #fff; font-size: 20px; }
.sfc-user-name {
  font-size: 18px;
  word-break: break-all;
}
.sfc-user-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sfc-user-actions .button-3 {
  padding: 11px 26px !important;
  color: #fff;
}

/* bottoni-link generati da ae() */
.sfc-link-button {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  color: var(--sfc-primary);
  text-decoration: underline;
  font-size: 16px;
}
.sfc-link-button:hover { color: var(--sfc-dark); }
.sfc-link-button-light { color: var(--sfc-primary-light); }
.sfc-link-button-light:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Form (contatti, login)
   -------------------------------------------------------------------------- */
.sfc-form.contact-form {
  background: #fff;
  border: 1px solid var(--sfc-border);
  box-shadow: 0 20px 50px rgba(15, 28, 42, .07);
  padding: 44px 40px;
}
@media (max-width: 575.98px) {
  .sfc-form.contact-form { padding: 30px 20px; }
}
.sfc-form-title {
  font-size: 28px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sfc-form-title i { color: var(--sfc-primary); font-size: 24px; }
.sfc-form label,
.sfc-form .form-label {
  font-size: 15px;
  color: var(--sfc-dark);
  margin-bottom: 6px;
}
.sfc-form input[type="text"],
.sfc-form input[type="email"],
.sfc-form input[type="password"],
.sfc-form input[type="tel"],
.sfc-form textarea,
.sfc-form .form-control {
  margin-bottom: 0;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid var(--sfc-border);
  border-radius: 6px;
  background: #fff;
  color: var(--sfc-dark);
}
.sfc-form input:focus,
.sfc-form textarea:focus,
.sfc-form .form-control:focus {
  border-color: var(--sfc-primary) !important;
  box-shadow: 0 0 0 3px rgba(47, 82, 122, .12);
}
.sfc-form .form-check-input:checked {
  background-color: var(--sfc-primary);
  border-color: var(--sfc-primary);
}
.sfc-form-consents .form-check { margin-bottom: 4px; }
.sfc-form .form-check-label,
.sfc-form .form-check-label a { font-size: 15px; line-height: 1.5em; }
.sfc-form .gdpr-link { color: var(--sfc-primary); text-decoration: underline; cursor: pointer; }
.sfc-form .button-1 { cursor: pointer; }
.sfc-form .invalid-feedback,
.sfc-form .text-danger { font-size: 14px; }

/* Area riservata: box unico con tab Accedi / Richiedi accesso */
.sfc-tabs {
  justify-content: center;
  gap: 8px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--sfc-border);
}
.sfc-tabs .nav-link {
  position: relative;
  padding: 12px 20px;
  border: 0;
  background: none;
  font-size: 18px;
  color: var(--sfc-text);
  transition: color .3s;
}
.sfc-tabs .nav-link::after {
  content: '';
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 2px;
  background: var(--sfc-primary);
  transform: scaleX(0);
  transition: transform .3s ease;
}
.sfc-tabs .nav-link:hover,
.sfc-tabs .nav-link.active { color: var(--sfc-dark); }
.sfc-tabs .nav-link.active::after { transform: scaleX(1); }
.sfc-login-title { font-size: 32px; margin-bottom: 10px; }
.sfc-login-intro { margin-bottom: 0; }
.sfc-login-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}
.sfc-login-actions .button-2 { cursor: pointer; }
@media (max-width: 575.98px) {
  .sfc-tabs .nav-link { padding: 10px 12px; font-size: 16px; }
  .sfc-tabs .nav-link::after { left: 12px; right: 12px; }
  .sfc-login-title { font-size: 26px; }
}

/* Il tema ha .alert-success con testo bianco su sfondo trasparente (pensato per le sezioni scure) */
.alert-success {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #e8edf3;
  color: var(--sfc-dark);
  border: 1px solid #b9c9dc;
  border-left: 4px solid var(--sfc-primary);
  border-radius: 6px;
  padding: 16px 20px;
}
.alert-success i { color: var(--sfc-primary); font-size: 22px; }

.info-box .item .icon {
  flex: 0 0 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}
.sfc-info-label {
  font-family: var(--sfc-font-heading);
  font-size: 19px;
  color: var(--sfc-dark);
  margin: 4px 0 2px;
}
.info-box .item p a { color: var(--sfc-primary); }

.sfc-check-list { padding: 0; margin: 10px 0 0; }
.sfc-check-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--sfc-dark);
  border-bottom: 1px solid var(--sfc-border);
}
.sfc-check-list li i { font-size: 22px; color: var(--sfc-primary); width: 26px; text-align: center; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer .top { padding: 56px 0 24px; }
.sfc-footer-col { margin-bottom: 36px; }
.sfc-footer-title {
  font-family: var(--sfc-font-heading);
  font-size: 21px;
  color: #fff;
  margin-bottom: 16px;
}
/* riga superiore: logo a sinistra, dati aziendali a destra */
.sfc-footer-brand {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px 30px;
  padding-bottom: 28px;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.footer .top p.sfc-footer-company {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  color: #9a9fa5;
  font-size: 15px;
  line-height: 1.5em;
  margin: 0;
}
.sfc-footer-company span + span::before {
  content: '\00b7';
  margin: 0 10px;
  color: var(--sfc-primary-light);
}
.sfc-footer-links,
.sfc-footer-contacts,
.sfc-footer-hours { margin: 0; padding: 0; list-style: none; }
.sfc-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.sfc-footer-links a,
.sfc-footer-contacts a { color: #9a9fa5; font-size: 16px; }
.sfc-footer-contacts a { overflow-wrap: anywhere; }
.sfc-footer-links a:hover,
.sfc-footer-contacts a:hover { color: var(--sfc-primary-light); }
.sfc-footer-contacts li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: #9a9fa5;
  font-size: 16px;
  margin-bottom: 8px;
}
.sfc-footer-contacts i { color: var(--sfc-primary-light); width: 18px; flex-shrink: 0; }
.sfc-footer-hours li { color: #9a9fa5; font-size: 16px; margin-bottom: 8px; }

/* Colonna area riservata: riquadro evidenziato con pulsante pieno */
.sfc-footer-ra {
  padding: 26px 24px;
  border: 1px solid rgba(143, 174, 209, .25);
  border-radius: 14px;
  background: linear-gradient(160deg, var(--sfc-dark-2) 0%, rgba(47, 82, 122, .35) 100%);
}
.sfc-footer-ra .sfc-footer-title { margin-bottom: 8px; }
.sfc-footer-ra .sfc-footer-title i { color: var(--sfc-primary-light); font-size: .8em; margin-right: 6px; }
.footer .top .sfc-footer-ra p {
  color: #cfd3d8;
  font-size: 15px;
  line-height: 1.6em;
  margin-bottom: 18px;
}
a.sfc-footer-ra-button,
a.sfc-footer-ra-button:hover {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.sfc-footer-ra-button {
  padding: 12px 24px;
  border-radius: 30px;
  background: var(--sfc-primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  transition: background .3s ease, color .3s ease;
}
.sfc-footer-ra-arrow { transition: transform .3s ease; }
.sfc-footer-ra-button:hover { background: #fff; color: var(--sfc-dark); }
.sfc-footer-ra-button:hover .sfc-footer-ra-arrow { transform: translateX(4px); color: var(--sfc-primary); }

.footer .bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.sfc-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 24px;
}
.footer .bottom p { margin: 0; }
.footer .bottom p,
.footer .bottom a { color: #9a9fa5; font-size: 14px; }
.footer .bottom a:hover { color: #fff; }
.footer .bottom .sfc-footer-recaptcha { margin-top: 8px; font-size: 12px; }
.footer .bottom .sfc-footer-recaptcha a { font-size: 12px; }

@media (min-width: 992px) {
  .sfc-footer-col { margin-bottom: 24px; }
}
@media (max-width: 575.98px) {
  .footer .top { padding: 44px 0 12px; }
  .sfc-footer-brand { margin-bottom: 30px; padding-bottom: 22px; }
  .sfc-footer-col { margin-bottom: 30px; }
}

/* Riga GDPR + logo Deltacommerce */
.sfc-gdpr-bar { background: #000; padding: 1rem 0; }
.sfc-gdpr-bar #cookies-manager-list-of-choices-made { color: #cfd2cb; font-size: .82rem; }
/* img { width: 100% } del tema schiaccia le icone si/no del cookie manager */
.sfc-gdpr-bar .choice-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}
.sfc-gdpr-bar .choice-icon img {
  width: 15px;
  height: 15px;
  max-width: none;
}
@media (max-width: 991.98px) {
  #cookies-manager-list-of-choices-made div { display: inline-block !important; }
}

/* Torna su */
.progress-wrap::after { color: var(--sfc-primary); }
.progress-wrap svg.progress-circle path { stroke: var(--sfc-primary); }

/* 404 */
.sfc-404-code { font-size: 110px !important; line-height: 1; }

/* Campo telefono con prefisso (fe 'phone') */
.sfc-form .input-group[js-bind="phone"] {
  flex-wrap: nowrap;
}
.sfc-form .input-group[js-bind="phone"] .form-select {
  flex: 0 0 112px;
  width: 112px;
  max-width: 112px !important;
  padding: .375rem 2rem .375rem .75rem;
  color: var(--sfc-dark);
  border-color: var(--sfc-border);
  font-size: 15px;
  border-radius: 6px 0 0 6px;
}
.sfc-form .input-group[js-bind="phone"] .form-floating {
  flex: 1 1 auto;
  min-width: 0;
}
.sfc-form .input-group[js-bind="phone"] .form-floating input {
  border-radius: 0 6px 6px 0;
  margin-left: -1px;
}
.sfc-form .form-floating > .form-control,
.sfc-form .form-floating > textarea.form-control {
  height: calc(3.5rem + 2px);
  padding: 1.625rem .75rem .625rem;
}
.sfc-form .form-floating > textarea.form-control { height: 140px; }
.sfc-form .form-floating > label {
  padding: 1rem .75rem;
  font-size: 15px;
}

/* Il template imposta "a:hover { display: inline-block }": sui link costruiti in flex
   l'hover cambierebbe il layout e farebbe "saltare" il contenuto. Manteniamo il display originale. */
a.sfc-logo:hover,
a.sfc-nav-button:hover,
a.sfc-link-arrow:hover {
  display: inline-flex;
}
.sfc-service-card a:hover,
.sfc-doc-list a:hover,
.sfc-sidebar-list a:hover {
  display: flex;
}
a.sfc-gallery-item:hover {
  display: block;
}

/* ==========================================================================
   Titolo a sinistra / sottotitolo a destra (slider home e testate interne)
   ========================================================================== */
.sfc-split-title { text-align: left; }
.sfc-split-subtitle { text-align: right; }

/* --- Slider home --- */
.sfc-hero .item {
  display: flex;
  align-items: flex-end;
  padding-bottom: 15vh;
}
.sfc-hero .item[data-overlay-dark]:before {
  background: linear-gradient(to top, rgba(11, 22, 34, .9) 0%, rgba(11, 22, 34, .45) 45%, rgba(11, 22, 34, .3) 100%);
  opacity: 1;
}
.sfc-hero .container { width: 100%; }
.header .sfc-split-title .sfc-hero-title {
  font-size: 76px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
  text-align: left;
}
.header .sfc-split-subtitle .sfc-hero-subtitle {
  font-family: var(--sfc-font-body);
  font-size: 14px !important;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9) !important;
  border-top: 1px solid rgba(255, 255, 255, .4);
  padding-top: 18px;
  margin: 0 0 26px !important;
}
.header .sfc-split-subtitle .button-3 {
  padding: 13px 30px;
  font-size: 16px;
}
.slider-fade .owl-theme .owl-dots {
  bottom: 5vh;
}

/* --- Testate pagine interne --- */
.sfc-banner {
  min-height: 540px;
  padding: 170px 0 70px;
  display: flex;
  align-items: flex-end;
}
.sfc-banner[data-overlay-dark]:before {
  background: linear-gradient(to top, rgba(11, 22, 34, .9) 0%, rgba(11, 22, 34, .5) 55%, rgba(11, 22, 34, .4) 100%);
  opacity: 1;
}
.sfc-banner .container { width: 100%; }
.sfc-banner nav[aria-label="breadcrumb"].justify-content-center {
  justify-content: flex-start !important;
}
.sfc-banner .breadcrumb {
  justify-content: flex-start;
  margin-bottom: 18px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sfc-banner .sfc-split-title h1 {
  font-size: 68px;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0;
}
.sfc-banner .sfc-split-subtitle .banner-subtitle {
  font-family: var(--sfc-font-body);
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  border-top: 1px solid rgba(255, 255, 255, .4);
  padding-top: 18px;
  margin: 0 0 8px;
  max-width: none;
}
.sfc-banner .sfc-404-code { font-size: 140px !important; }
/* testata senza immagine (area riservata): sfondo blu, scuro in alto (sotto il pulsante blu del menu) e luce in basso a destra */
.sfc-banner-plain {
  background:
    radial-gradient(circle at 90% 110%, rgba(143, 174, 209, .3) 0%, rgba(143, 174, 209, 0) 50%),
    linear-gradient(170deg, var(--sfc-dark) 0%, var(--sfc-dark-2) 50%, var(--sfc-primary) 130%);
}

@media (max-width: 991.98px) {
  .sfc-split-subtitle { text-align: left; margin-top: 26px; }
  .header .sfc-split-title .sfc-hero-title { font-size: 48px; }
  .sfc-banner { min-height: 420px; padding: 140px 0 50px; }
  .sfc-banner .sfc-split-title h1 { font-size: 46px; }
}
@media (max-width: 575.98px) {
  .sfc-hero .item { padding-bottom: 12vh; }
  .header .sfc-split-title .sfc-hero-title { font-size: 38px; }
  .sfc-banner .sfc-split-title h1 { font-size: 36px; }
  .sfc-banner { min-height: 360px; padding: 120px 0 40px; }
}
@media (max-width: 767.98px) {
  .slider-fade .owl-theme .owl-nav { display: none !important; }
}

/* ==========================================================================
   Intestazioni di sezione in stile editoriale (home: Chi siamo, Servizi)
   ========================================================================== */
.sfc-section-head {
  margin-bottom: 64px;
}
.sfc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sfc-font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sfc-primary);
  margin-bottom: 22px;
}
.sfc-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}
.sfc-section-heading {
  font-size: 58px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.025em;
  color: var(--sfc-dark);
  margin: 0;
}
.sfc-section-caption {
  font-family: var(--sfc-font-body);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--sfc-text);
  border-top: 1px solid rgba(15, 28, 42, .25);
  padding-top: 18px;
  margin: 0 0 6px;
}
.sfc-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sfc-dark);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color .3s ease;
}
a.sfc-text-link:hover {
  display: inline-flex;
  color: var(--sfc-primary);
}

/* Chi siamo in home */
.sfc-about-image-tall img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
}
/* Immagini Chi siamo in dissolvenza */
.sfc-about-fade {
  position: relative;
  aspect-ratio: 1 / 1;
}
.sfc-about-fade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.sfc-about-fade img.is-active { opacity: 1; }
.sfc-about-text p { font-size: 17px; }
.sfc-facts {
  margin: 10px 0 36px;
  padding: 0;
}
.sfc-facts li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--sfc-border);
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--sfc-dark);
}
.sfc-facts li:last-child { border-bottom: 1px solid var(--sfc-border); }
.sfc-facts-num {
  font-family: var(--sfc-font-heading);
  font-size: 18px;
  letter-spacing: 0;
  color: var(--sfc-primary);
}

@media (max-width: 991.98px) {
  .sfc-section-head { margin-bottom: 44px; }
  .sfc-section-heading { font-size: 42px; }
}
@media (max-width: 575.98px) {
  .sfc-section-heading { font-size: 34px; }
}


/* ==========================================================================
   Box news (home, altre news, elenco news)
   ========================================================================== */
.sfc-news-box {
  width: 100%;
  height: 100%;
}
/* carosello news in home (solo mobile, vedi main.js): box tutti alti uguali, ombra non tagliata.
   Il carosello è più stretto del container e non taglia a destra: si vede un pezzo della news successiva */
.sfc-home-news { overflow-x: clip; }
.sfc-home-news-list.owl-carousel { width: 86%; }
.sfc-home-news-list.owl-carousel .owl-stage-outer { overflow: visible; }
.sfc-home-news-list.owl-carousel .owl-stage { display: flex; }
.sfc-home-news-list.owl-carousel .owl-item { display: flex; padding: 4px 1px 10px; }
.sfc-home-news-list.owl-carousel .owl-item > div { width: 100%; margin-bottom: 0 !important; }
.sfc-home-news-list.owl-carousel .sfc-news-box-row > a { padding-top: 40px; padding-bottom: 36px; }
/* pallini centrati sulla larghezza del container, non del carosello */
.sfc-home-news-list.owl-theme .owl-dots { width: calc(100% / .86); margin-top: 16px; }
.sfc-news-box > a {
  position: relative;
  overflow: hidden;
  display: flex;
  height: 100%;
  background: #fff;
  border: 1px solid var(--sfc-border);
  border-radius: 14px;
  box-shadow: 0 2px 4px rgba(15, 28, 42, .03), 0 12px 28px rgba(15, 28, 42, .05);
  transition: border-color .35s ease, box-shadow .35s ease;
}
.sfc-news-box > a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, var(--sfc-primary), var(--sfc-primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.sfc-news-box > a:hover {
  display: flex;
  border-color: rgba(47, 82, 122, .35);
  box-shadow: 0 2px 4px rgba(15, 28, 42, .04), 0 24px 48px rgba(15, 28, 42, .12);
}
.sfc-news-box > a:hover::before { transform: scaleX(1); }

/* data: giorno grande + mese/anno */
.sfc-news-box-date {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.sfc-news-box-day {
  font-family: var(--sfc-font-heading);
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -.03em;
  color: var(--sfc-dark);
}
.sfc-news-box-month {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--sfc-primary);
}

.sfc-news-box-body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.sfc-news-box .sfc-news-box-title {
  font-size: 25px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--sfc-dark);
  margin: 0 0 12px;
  transition: color .35s ease;
}
.sfc-news-box > a:hover .sfc-news-box-title { color: var(--sfc-primary); }
.sfc-news-box-text {
  display: block;
  flex-grow: 1;
  font-size: 15.5px;
  line-height: 1.65em;
  color: var(--sfc-text);
  margin-bottom: 24px;
}

/* variante senza immagine: data a sinistra con filetto verticale */
.sfc-news-box-row > a {
  gap: 30px;
  padding: 34px 34px 30px;
}
.sfc-news-box-row .sfc-news-box-date {
  flex: 0 0 auto;
  min-width: 74px;
  padding-right: 28px;
  border-right: 1px solid var(--sfc-border);
}

/* variante con immagine: data come badge sull'immagine */
.sfc-news-box-image > a { flex-direction: column; }
.sfc-news-box-img {
  position: relative;
  display: block;
  overflow: hidden;
}
.sfc-news-box-img img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: var(--sfc-light);
  transition: transform .6s ease;
}
.sfc-news-box-image > a:hover .sfc-news-box-img img { transform: scale(1.04); }
.sfc-news-box-image .sfc-news-box-date {
  position: absolute;
  left: 20px;
  bottom: 20px;
  align-items: center;
  padding: 12px 14px 11px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 28, 42, .12);
}
.sfc-news-box-image .sfc-news-box-day { font-size: 34px; }
.sfc-news-box-image .sfc-news-box-month { margin-top: 5px; font-size: 11px; }
.sfc-news-box-image .sfc-news-box-body { padding: 28px 30px 28px; }

/* piede "Leggi tutto" con freccia nel cerchio (comune ai box) */
.sfc-card-more {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--sfc-border);
  font-size: 15px;
  font-weight: 600;
  color: var(--sfc-primary);
}
.sfc-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(47, 82, 122, .35);
  background: #fff;
  color: var(--sfc-primary);
  font-size: 15px;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.sfc-news-box > a:hover .sfc-card-arrow {
  background: var(--sfc-primary);
  border-color: var(--sfc-primary);
  color: #fff;
}

@media (max-width: 575.98px) {
  .sfc-news-box-row > a {
    flex-direction: column;
    gap: 18px;
    padding: 28px 24px 24px;
  }
  .sfc-news-box-row .sfc-news-box-date {
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
    padding: 0 0 16px;
    border-right: 0;
    border-bottom: 1px solid var(--sfc-border);
  }
  .sfc-news-box-row .sfc-news-box-day { font-size: 40px; }
  .sfc-news-box-row .sfc-news-box-month { margin-top: 0; }
  .sfc-news-box-image .sfc-news-box-body { padding: 24px; }
  .sfc-news-box .sfc-news-box-title { font-size: 22px; }
}

/* --------------------------------------------------------------------------
   Mappa pagina Contatti
   -------------------------------------------------------------------------- */
.sfc-contact-map {
  line-height: 0;
}
.sfc-contact-map iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
  filter: grayscale(100%);
}
@media (max-width: 767.98px) {
  .sfc-contact-map iframe { height: 340px; }
}

/* --------------------------------------------------------------------------
   Video YouTube nel dettaglio news
   -------------------------------------------------------------------------- */
/* Testo della news più grande per la lettura */
.sfc-news-body .sfc-lead {
  font-size: 24px;
  line-height: 1.55em;
  margin-bottom: 30px;
}
.sfc-news-body .cms-text p,
.sfc-news-body .cms-text li {
  font-size: 20px;
  line-height: 1.8em;
}
.sfc-news-body .cms-text p { margin-bottom: 18px; }
@media (max-width: 767.98px) {
  .sfc-news-body .sfc-lead { font-size: 21px; }
  .sfc-news-body .cms-text p,
  .sfc-news-body .cms-text li { font-size: 18px; }
}
.sfc-news-media > * { margin-top: 40px; }
.sfc-news-media { margin-bottom: 40px; }
.sfc-video .ratio {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px -12px rgba(15, 28, 42, .35);
}
.sfc-video .ratio iframe { border: 0; }

/* --------------------------------------------------------------------------
   Slideshow gallery nel dettaglio news
   -------------------------------------------------------------------------- */
.sfc-slideshow-main .sfc-slideshow-item {
  display: block;
  border-radius: 16px;
  overflow: hidden;
}
.sfc-slideshow-main .sfc-slideshow-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.sfc-slideshow-main.owl-theme .owl-nav {
  position: absolute !important;
  top: 50% !important;
  left: 16px;
  right: 16px;
  width: auto;
  margin: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
}
.sfc-slideshow-main.owl-theme .owl-nav [class*=owl-] {
  position: static !important;
  transform: none;
  pointer-events: auto;
  width: 44px;
  height: 44px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9) !important;
  color: var(--sfc-dark) !important;
}
.sfc-slideshow-main.owl-theme .owl-nav [class*=owl-]:hover {
  background: var(--sfc-primary) !important;
  color: #fff !important;
}
.sfc-slideshow-main.owl-theme .owl-dots { display: none; }
.sfc-slideshow-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.sfc-slideshow-thumb {
  flex: 0 0 calc((100% - 50px) / 6);
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: none;
  opacity: .6;
  transition: opacity .3s ease, border-color .3s ease;
}
.sfc-slideshow-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.sfc-slideshow-thumb:hover { opacity: 1; }
.sfc-slideshow-thumb.active {
  opacity: 1;
  border-color: var(--sfc-primary);
}
@media (max-width: 575.98px) {
  .sfc-slideshow-thumb { flex-basis: calc((100% - 30px) / 4); }
}

/* --------------------------------------------------------------------------
   Pagina Mutua Genesi
   -------------------------------------------------------------------------- */
.sfc-mg-intro {
  position: relative;
  z-index: 0;
}
.sfc-mg-logo {
  position: relative;
  padding: 56px 50px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--sfc-border);
  box-shadow: 0 30px 60px -24px rgba(15, 28, 42, .25);
  text-align: center;
}
.sfc-mg-logo::before {
  content: '';
  position: absolute;
  inset: 18px -18px -18px 18px;
  border-radius: 16px;
  background: var(--sfc-light);
  z-index: -1;
}
.sfc-mg-logo img {
  width: 100%;
  max-width: 340px;
  height: auto;
}
.sfc-mg-slogan p {
  font-family: var(--sfc-font-heading);
  font-style: italic;
  font-size: 40px;
  line-height: 1.15em;
  color: var(--sfc-primary);
  margin: 18px 0 26px;
}
.sfc-mg-intro-title {
  font-size: 30px;
  color: var(--sfc-dark);
  margin-bottom: 14px;
}
.sfc-mg-intro-text p { font-size: 19px; }
.sfc-mg-website,
.sfc-mg-website:hover {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.sfc-mg-coverages-head { margin-bottom: 50px; }
.sfc-mg-coverages-head .cms-text { margin-top: 16px; }
.sfc-mg-coverage {
  width: 100%;
  padding: 36px 28px 30px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--sfc-border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.sfc-mg-coverage:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(15, 28, 42, .25);
}
.sfc-mg-coverage-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--sfc-light);
  color: var(--sfc-primary);
  font-size: 26px;
  transition: background .3s ease, color .3s ease;
}
.sfc-mg-coverage:hover .sfc-mg-coverage-icon {
  background: var(--sfc-primary);
  color: #fff;
}
.sfc-mg-coverage p {
  margin: 0;
  font-size: 18px;
  line-height: 1.5em;
  color: var(--sfc-dark);
}

.sfc-mg-detail + .sfc-mg-detail { margin-top: 90px; }
.sfc-mg-detail-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 440px;
  margin: 0 auto;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff 0 34%, var(--sfc-light) 34.5% 100%);
  border: 1px solid var(--sfc-border);
}
.sfc-mg-detail-visual::before {
  content: '';
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  border: 1px dashed rgba(47, 82, 122, .35);
}
.sfc-mg-bubble {
  position: absolute;
  width: 24%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--sfc-primary);
  font-size: clamp(22px, 2.6vw, 34px);
  border: 1px solid var(--sfc-border);
  box-shadow: 0 18px 36px -16px rgba(15, 28, 42, .3);
}
.sfc-mg-bubble-1 { top: 4%; left: 38%; }
.sfc-mg-bubble-2 { bottom: 12%; left: 4%; }
.sfc-mg-bubble-3 { bottom: 12%; right: 4%; }
.sfc-mg-bubble-heart {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30%;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sfc-primary);
  color: #fff;
  font-size: clamp(28px, 3.4vw, 44px);
  box-shadow: 0 0 0 12px rgba(47, 82, 122, .12), 0 24px 48px -16px rgba(47, 82, 122, .6);
}
.sfc-mg-detail-title {
  font-size: 46px;
  line-height: 1.1;
  color: var(--sfc-dark);
  margin-bottom: 20px;
}
.sfc-mg-detail-lead p {
  font-size: 20px;
  line-height: 1.7em;
  color: var(--sfc-dark);
}
.sfc-mg-note {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-top: 10px;
  padding: 24px 26px;
  border-radius: 16px;
  background: var(--sfc-light);
  border-left: 4px solid var(--sfc-primary);
}
.sfc-mg-note-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--sfc-primary);
  font-size: 18px;
}
.sfc-mg-note .cms-text p { font-size: 17px; line-height: 1.6em; }
.sfc-mg-note .cms-text p:last-child { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .sfc-mg-logo { max-width: 460px; margin: 0 auto 18px; }
  .sfc-mg-slogan p { font-size: 32px; }
}
@media (max-width: 767.98px) {
  .sfc-mg-logo { padding: 40px 30px; }
  .sfc-mg-logo::before { inset: 12px -12px -12px 12px; }
  .sfc-mg-slogan p { font-size: 28px; }
  .sfc-mg-detail + .sfc-mg-detail { margin-top: 60px; }
  .sfc-mg-detail-visual { max-width: 300px; }
  .sfc-mg-detail-title { font-size: 34px; }
  .sfc-mg-note { padding: 20px 18px; gap: 14px; }
}

/* --------------------------------------------------------------------------
   Chi siamo: testo su due colonne e immagine orizzontale
   -------------------------------------------------------------------------- */
.sfc-about-heading h2 { margin-bottom: 36px; }
.sfc-text-columns {
  column-count: 2;
  column-gap: 70px;
}
.sfc-text-columns h3,
.sfc-text-columns h4 {
  break-after: avoid;
  break-inside: avoid;
}
.sfc-text-columns h3:first-child,
.sfc-text-columns h4:first-child { margin-top: 0; }
.sfc-text-columns p,
.sfc-text-columns li,
.sfc-text-columns ul { break-inside: avoid; }
.sfc-about-image-square img { aspect-ratio: 1 / 1; }
.sfc-about-image-wide { margin-top: 50px; }
.sfc-about-image-wide img {
  width: 100%;
  aspect-ratio: 21 / 9;
  border-radius: 16px;
}
@media (max-width: 991.98px) {
  .sfc-text-columns { column-count: 1; }
  .sfc-about-image-wide { margin-top: 30px; }
  .sfc-about-image-wide img { aspect-ratio: 16 / 9; }
}

/* --------------------------------------------------------------------------
   CTA con form nel dettaglio servizio
   -------------------------------------------------------------------------- */
.sfc-service-cta {
  margin-top: 50px;
  padding: 44px 44px 40px;
  border-radius: 16px;
  background: var(--sfc-light);
  border: 1px solid var(--sfc-border);
  border-top: 4px solid var(--sfc-primary);
}
.sfc-service-cta-head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
}
.sfc-service-cta-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sfc-primary);
  color: #fff;
  font-size: 24px;
}
.sfc-service-cta-title {
  font-size: 34px;
  line-height: 1.1;
  color: var(--sfc-dark);
  margin: 4px 0 8px;
}
.sfc-service-cta-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.6em;
}
@media (max-width: 575.98px) {
  .sfc-service-cta { padding: 30px 20px; }
  .sfc-service-cta-head { flex-direction: column; gap: 14px; }
  .sfc-service-cta-title { font-size: 28px; }
}

/* --------------------------------------------------------------------------
   Banner cookie (cookiesregister.deltacommerce.com)
   Lo script inserisce l'HTML del banner in cima al body e ne carica il CSS in parallelo: se l'HTML arriva prima,
   il banner spinge giù la pagina e poi si riassesta (layout shift, CLS su PageSpeed desktop).
   Resta fuori dal flusso e nascosto finché il suo CSS non è caricato (classe messa dallo script nel layout).
   -------------------------------------------------------------------------- */
#delta-gdpr,
#delta-gdpr-custom {
  position: fixed;
}
html:not(.sfc-gdpr-ready) #delta-gdpr,
html:not(.sfc-gdpr-ready) #delta-gdpr-custom {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Badge reCAPTCHA v3: nascosto (Google lo consente se è riportata l'informativa
   reCAPTCHA con i link a Privacy e Termini: è nel footer, FOOTER_RECAPTCHA_NOTICE)
   -------------------------------------------------------------------------- */
.grecaptcha-badge {
  display: none !important;
}
