/*
 Theme Name:   Tema Giubilei ascensori
 Theme URI:    https://understrap.com
 Description:  Understrap Child Theme
 Author:       the Understrap Contributors
 Author URI:   https://github.com/understrap/understrap-child/graphs/contributors
 Template:     understrap
 Version:      1.2.0
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  understrap-child
 Tags: one-column, custom-menu, featured-images, theme-options, translation-ready
 GitHub Theme URI: understrap/understrap-child
*/

/* =========================
   ROOT / TOKENS
========================= */

:root {
  --color-primary: #00445a;
  --color-primary-dark: #003547;
  --color-primary-light: #0d607c;
  --color-text: #222222;
  --color-text-soft: #5d666a;
  --color-text-muted: #6f777b;
  --color-bg: #ffffff;
  --color-bg-soft: #eef2f3;
  --color-white: #ffffff;
  --color-border: rgba(0, 0, 0, 0.06);
  --color-shadow: rgba(0, 0, 0, 0.12);
  --color-shadow-soft: rgba(0, 0, 0, 0.08);
  --color-menu-light: #ffffff;
  --color-dark: #1f1f1f;

  --submenu-gap: 26px;
  --submenu-left: 0px;
  --submenu-extra: 0px;
}

/* =========================
   BASE
========================= */

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Afacad Flux", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 150;
  font-variation-settings: "slnt" 0;
}

body {
  font-size: 0.8333vw;
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-soft) 100%);
  color: var(--color-text);
  padding-top: 0 !important;
}

body.has-fixed-header,
body.has-fixed-header.has-hero-overlap {
  padding-top: 0 !important;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.8rem);
  font-weight: 100;
  line-height: 0.98;
}

p {
  font-size: clamp(1rem, 1.25vw, 1.3rem);
  line-height: 1.7;
}

li {
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.6;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container.wide {
  max-width: 1920px;
  margin: 0 auto;
}

.container.wider {
  max-width: 2020px;
  width: 98vw !important;
  margin: 0 auto;
}

/* =========================
   MENU / HEADER
========================= */

#wrapper-navbar {
  will-change: top, opacity;
}
#wrapper-navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  overflow: visible;
    margin-bottom:0px;
}

#wrapper-navbar .navbar-inner {
  position: relative;
  overflow: visible;
  will-change: transform, opacity, background-color;
  transition:
    transform 0.32s ease,
    opacity 0.22s ease,
    background-color 0.2s ease;
  padding-bottom: 0 !important;
}

/* visibile */
#wrapper-navbar.is-visible .navbar-inner,
#wrapper-navbar.is-top .navbar-inner,
#wrapper-navbar.is-idle .navbar-inner {
  transform: translate3d(0, 0, 0); 
  opacity: 1;
  
}

#wrapper-navbar.is-visible .navbar-inner,
#wrapper-navbar.is-idle .navbar-inner {

    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.1);
}





/* nascosto */
#wrapper-navbar.is-hidden .navbar-inner {
  transform: translate3d(0, calc(-1 * var(--header-h, 120px)), 0);
  opacity: 0;
  pointer-events: none;
}

/* sfondo */
#wrapper-navbar.is-top .navbar-inner {
  background: var(--color-menu-light);
}

#wrapper-navbar.is-idle .navbar-inner,
#wrapper-navbar.is-visible .navbar-inner {
  background: var(--color-menu-light);
}

body.menu-open #wrapper-navbar .navbar-inner {
  background-color: var(--color-menu-light) !important;
}
/* Quando il menu desktop è aperto */

#main-menu {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  padding-left: 10%;
  padding-right: 0;
}

#main-menu > .nav-item {
  display: flex;
  justify-content: center;
  flex-grow: 1;
}

.navbar-nav li a { font-size:1.0rem; text-transform: uppercase; letter-spacing:2px; font-weight: 400; color:#222}

#main-menu > li {
  margin-left: 10px;
}

#main-menu > .nav-item .nav-link {
  padding-left: 0px;
  width: auto;
  white-space: nowrap;
  text-align: left;
}

a.nav-link {
  font-size: 14px;
}


.dropdown-toggle::after {
  display: none;
}

#wrapper-navbar .navbar-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: var(--submenu-extra, 0px);
  background: transparent;
  pointer-events: none;
  transition: background-color 0.2s ease, height 0.2s ease;
}

body.menu-open #wrapper-navbar .navbar-inner::after {
  background: transparent!important;
  pointer-events: auto;
}

body.menu-open #wrapper-navbar .navbar-inner::after {
 background: transparent!important;
  pointer-events: auto;
}


@media (min-width: 768px) {
  #wrapper-navbar,
  #wrapper-navbar .navbar-inner,
  #main-nav,
  #navbarNavDropdown {
    overflow: visible !important;
  }

  #navbarNavDropdown {
    position: relative;
  }

  #main-nav .navbar-nav > .menu-item-has-children {
    position: static !important;
  }

  #main-nav .navbar-nav > .menu-item-has-children > .dropdown-menu {
    position: absolute !important;
    left: 0;
    right: 0;
    top: calc(100% + var(--submenu-gap));
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    padding-left: var(--submenu-left) !important;
    z-index: 10010;

    display: block !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0s linear 0.18s;
  }

  #main-nav .navbar-nav > .menu-item-has-children.is-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0s linear 0s;
  }

  #main-nav .dropdown-menu .dropdown-item,
  #main-nav .dropdown-menu a {
    display: block;
    width: max-content;
    padding: 4px 0;
    background: transparent;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.6px;
    color: #2d2d2a;
  }

  #main-nav .dropdown-menu a:hover,
  #main-nav .dropdown-menu .dropdown-item:hover {
    opacity: 0.7;
    background: transparent;
  }

  #main-nav .dropdown-menu > * {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  #main-nav .navbar-nav > .menu-item-has-children.is-open > .dropdown-menu > * {
    opacity: 1;
    transform: translateY(0);
  }

  #main-nav .navbar-nav > .menu-item-has-children.is-open > .dropdown-menu > :nth-child(1) { transition-delay: 0.03s; }
  #main-nav .navbar-nav > .menu-item-has-children.is-open > .dropdown-menu > :nth-child(2) { transition-delay: 0.06s; }
  #main-nav .navbar-nav > .menu-item-has-children.is-open > .dropdown-menu > :nth-child(3) { transition-delay: 0.09s; }
  #main-nav .navbar-nav > .menu-item-has-children.is-open > .dropdown-menu > :nth-child(4) { transition-delay: 0.12s; }
  #main-nav .navbar-nav > .menu-item-has-children.is-open > .dropdown-menu > :nth-child(5) { transition-delay: 0.15s; }
  #main-nav .navbar-nav > .menu-item-has-children.is-open > .dropdown-menu > :nth-child(6) { transition-delay: 0.18s; }



  #wrapper-navbar .logo-mask {
    transform: scale(0.7);
    transition: transform 0.3s ease, color 0.3s ease;
  }

  #wrapper-navbar.is-top .logo-mask {
    transform: scale(0.9);
  }

  #wrapper-navbar.is-idle .logo-mask,
  #wrapper-navbar.is-visible .logo-mask {
    color: #2d2d2a;
  }



  body.menu-open #wrapper-navbar.is-idle .logo-mask,
  body.menu-open #wrapper-navbar .logo-mask,
  body.menu-open #wrapper-navbar.is-visible .logo-mask {
    color: #2d2d2a !important;
  }

  body.menu-open .navbar-light .navbar-nav .nav-link {
    color: #2d2d2a;
  }
}

/* =========================
   HERO SLIDER
========================= */

.hero-slider {
  margin: 20px;
  height: 80vh;
  min-height: 800px;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

.hero-slider .swiper,
.hero-slider .swiper-wrapper,
.hero-slider .swiper-slide,
.hero-slider .container-fluid,
.hero-slider .row {
  height: 100%;
}

.swiper-slide {
  border-radius: 0;
  overflow: hidden;
}

.slide-image-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Colonna testo slider */
.hero-slider .col-md-5 {
  position: relative;
  overflow: hidden;
     background: transparent;
  color: var(--color-text);
}

.hero-slider .col-md-5::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 40%);
  pointer-events: none;
  z-index: 1;
}

.hero-slider .col-md-5::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.titolo_slide_home {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin: 0;
  color: var(--color-text);
  font-weight: 100;
}

.paragrafo_slide_home {
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
  color: var(--color-text);
}

.btn_sec_chiaro,
.btn_pri {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 14px 24px;
  min-height: 50px;
  transition: all 0.3s ease;
}

.btn_sec_chiaro {
  background: var(--color-dark);
  border: 1px solid rgba(22, 22, 22, 0.35);
  color: var(--color-white);
  backdrop-filter: blur(4px);
}

.btn_sec_chiaro:hover {
  background: #000;
  color: var(--color-white);
}

.btn_pri {
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  color: var(--color-white);
}

.btn_pri:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  color: var(--color-text);
}

.home-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 8px;
  border-radius: 999px;
  transition: all 0.3s ease;
  background: var(--color-primary);
  opacity: 1;
}

.home-swiper-pagination .swiper-pagination-bullet-active {
  width: 32px;
  background: var(--color-white);
}

/* =========================
   CATEGORY CARDS
========================= */

.category-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 ;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.16);
}

.category-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.category-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.category-card:hover .category-card__image {
  transform: scale(1.06);
}

.category-card__content {
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.category-card__title {
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color-text);
  margin-bottom: 14px;
}

.category-card__text {
  font-size: 1rem;
  line-height: 1.6;
  color: #5a5a5a;
  margin-bottom: 22px;
  flex-grow: 1;
}

.category-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--color-primary);
  transition: color 0.3s ease;
}

.category-card__arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.category-card:hover .category-card__arrow {
  transform: translateX(6px);
}

.category-card:hover .category-card__link {
  color: var(--color-primary-light);
}

/* =========================
   PRODUCT PAGE
========================= */

.product-hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 68, 90, 0.08);
  color: var(--color-primary);
  font-size: clamp(1rem, 1.1vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.product-title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  font-weight: 300;
  color: var(--color-dark);
  margin: 0;
  letter-spacing: -0.03em;
}

.product-subtitle {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--color-text-soft);
  max-width: 640px;
}

.product-hero__list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.75rem;
  color: #3f474b;
  list-style: none;
}

.product-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}

.product-hero__media,
.product-split__media {
  position: relative;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
  background: var(--color-white);
}

.product-hero__image,
.product-split__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.section-eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
}

.section-eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.section-title {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--color-dark);
  letter-spacing: -0.03em;
}

.section-text,
.product-intro__text p,
.product-split__content p,
.faq-item p,
.application-card p {
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-text-soft);
}

.product-benefits {
  background: linear-gradient(180deg, #f8fafb 0%, #f1f5f6 100%);
}

.feature-card {
  position: relative;
  padding: 2rem 1.6rem;
  background: var(--color-white);
  border-radius: 0px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.feature-card__number {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.08em;
}

.feature-card__title {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  color: var(--color-dark);
}

.feature-card__text {
  margin-bottom: 0;
  color: var(--color-text-soft);
  line-height: 1.7;
}

.sticky-block {
  position: sticky;
  top: 120px;
}

.application-card {
  height: 100%;
  padding: 1.5rem 1.4rem;
  border-radius: 0px;
  background: transparent;
  border: 0px solid var(--color-border);
  box-shadow: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.application-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 68, 90, 0.2);
}

.application-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

.product-split {
  background: var(--color-white);
}

.faq-item {
  padding: 1.5rem 1.4rem;
  border-radius: 0px;
  background: var(--color-white);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--color-border);
}

.faq-item h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 0.7rem;
  color: var(--color-dark);
}

.product-cta__box {
  padding: 2.2rem;
  border-radius: 0px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.product-cta__title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 0.9rem;
}

.product-cta__text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.product-btn-primary,
.product-btn-secondary,
.product-cta__button {
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
}

.product-btn-primary {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.product-btn-primary:hover {
  background: #000;
  border-color: #000;
  color: var(--color-white);
}

.product-btn-secondary {
  border-width: 1.5px;
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.product-btn-secondary:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

.product-cta__button {
  color: var(--color-primary);
}




.image-carousel {
  position: relative;
}

.gallery-swiper {
  overflow: visible;
}

.gallery-card {
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  background: #fff;
}

.gallery-image {
  width: 100%;
  height: 720px;
  object-fit: cover;
  display: block;
}

.gallery-swiper .swiper-button-prev,
.gallery-swiper .swiper-button-next {
  color: #00445a;
}

.gallery-pagination {
  position: relative;
  margin-top: 24px;
  text-align: center;
}

.gallery-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 8px;
  border-radius: 999px;
  background: #00445a;
  opacity: 1;
  transition: all 0.3s ease;
}

.gallery-pagination .swiper-pagination-bullet-active {
  width: 32px;
  background: #222;
}

@media (max-width: 991.98px) {
  .gallery-image {
    height: 420px;
  }
}

@media (max-width: 767.98px) {
  .gallery-image {
    height: 280px;
  }

  .gallery-swiper .swiper-button-prev,
  .gallery-swiper .swiper-button-next {
    display: none;
  }
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991.98px) {
  body {
    font-size: 16px;
  }

  .hero-slider {
    height: auto;
    min-height: 100vh;
  }

  .hero-slider .swiper,
  .hero-slider .swiper-wrapper,
  .hero-slider .swiper-slide,
  .hero-slider .container-fluid,
  .hero-slider .row {
    height: auto;
  }

  .slide-image-wrap {
    min-height: 45vh;
  }

  .slide-content {
    max-width: 100%;
  }

  .titolo_slide_home {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }

  .sticky-block {
    position: static;
  }

  .product-hero,
  .product-benefits,
  .product-split,
  .product-cta {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .product-cta__box {
    padding: 1.7rem;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  p,
  li {
    font-size: 1rem;
  }

  .slide-image-wrap {
    min-height: 38vh;
  }

  .slide-content {
    padding-top: 2rem !important;
    padding-bottom: 5rem !important;
  }

  .paragrafo_slide_home {
    font-size: 1rem;
  }

  .btn_sec_chiaro,
  .btn_pri {
    width: 100%;
  }

  .hero-slider .swiper-button-prev,
  .hero-slider .swiper-button-next {
    display: none;
  }

  .product-title {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
  }

  .section-title {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  .product-subtitle,
  .section-text,
  .product-intro__text p,
  .product-split__content p,
  .faq-item p,
  .application-card p {
    font-size: 1.4rem;
    line-height: 1.4;
  }

  .product-cta__box {
    border-radius: 0px;
  }
}


/* Stato iniziale per evitare flash */
.gsap-fade-up,
.gsap-fade-in,
.gsap-left,
.gsap-right,
.gsap-zoom,
.gsap-reveal-title,
.gsap-stagger .gsap-stagger-item {
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

/* Parallax */
.gsap-parallax {
  will-change: transform;
}

/* Accessibilità: riduci animazioni */
.reduce-motion .gsap-fade-up,
.reduce-motion .gsap-fade-in,
.reduce-motion .gsap-left,
.reduce-motion .gsap-right,
.reduce-motion .gsap-zoom,
.reduce-motion .gsap-reveal-title,
.reduce-motion .gsap-stagger .gsap-stagger-item {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}



/* =========================
   PAGINA AGEVOLAZIONI
========================= */

.min-vh-75 {
  min-height: 75vh;
}

.tax-hero {
  padding: 2rem 0 1rem;
}

.tax-hero__content {
  max-width: 760px;
}

.tax-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 68, 90, 0.08);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.tax-title {
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.96;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--color-dark);
}

.tax-subtitle {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--color-text-soft);
  max-width: 720px;
}

.tax-mini-note {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.tax-hero__panel {
  padding: 2rem 0;
}

.tax-summary-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 2rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.tax-summary-card__title {
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.tax-summary-card__list li + li {
  margin-top: 0.8rem;
}

.tax-summary-card__list a {
  color: var(--color-primary);
  font-weight: 600;
}

.tax-intro__box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.tax-highlight {
  background: linear-gradient(135deg, rgba(0, 68, 90, 0.08) 0%, rgba(0, 68, 90, 0.03) 100%);
  border-radius: 0px;
  padding: 1.4rem;
}

.tax-highlight__label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

.tax-card {
  background: var(--color-white);
  border-radius: 0px;
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.tax-card--large {
  padding: 2rem;
}

.tax-info-pill {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 1.1rem 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.tax-info-pill strong {
  display: block;
  font-size: 0.95rem;
  color: var(--color-dark);
  margin-bottom: 0.35rem;
}

.tax-info-pill span {
  color: var(--color-text-soft);
  font-size: 0.96rem;
}

.tax-feature-card {
  background: var(--color-white);
  border-radius: 0px;
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
  padding: 1.8rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tax-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.1);
}

.tax-feature-card__top {
  margin-bottom: 1rem;
}

.tax-feature-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 68, 90, 0.08);
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.tax-feature-card__title {
  font-size: 1.2rem;
  line-height: 1.25;
  color: var(--color-dark);
  margin-bottom: 0;
}

.tax-feature-card__text {
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.tax-feature-card__note {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.tax-step-card {
  height: 100%;
  background: var(--color-white);
  border-radius: 0px;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
}

.tax-step-card__number {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.tax-step-card h3 {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 0.7rem;
}

.tax-step-card p {
  color: var(--color-text-soft);
  font-size: 1rem;
  line-height: 1.7;
}

.tax-disclaimer__box {
  background: #f8fafb;
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 1.6rem 1.8rem;
}

.tax-disclaimer__label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
}

.tax-cta__box {
  padding: 2.2rem;
  border-radius: 0px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.tax-cta__title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 0.9rem;
}

.tax-cta__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

@media (max-width: 991.98px) {
  .tax-hero {
    padding-top: 1rem;
  }

  .tax-summary-card,
  .tax-intro__box,
  .tax-card--large,
  .tax-cta__box {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .tax-title {
    font-size: clamp(2.2rem, 10vw, 3.5rem);
  }

  .tax-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .tax-cta__box {
    border-radius: 0px;
  }
}



/* =========================
   SERVIZI
========================= */




.service-hero {
  padding: 2rem 0 1rem;
}

.service-hero__content {
  max-width: 760px;
}

.service-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 68, 90, 0.08);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.service-title {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.96;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--color-dark);
}

.service-subtitle {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-text-soft);
  max-width: 720px;
}

.service-hero__media {
  position: relative;
  padding: 2rem 0;
}

.service-hero__image {
  width: 100%;
  border-radius: 0px;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.12);
  object-fit: cover;
}

.service-intro__box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.06);
}

.service-process,
.service-context {
  background: transparent;
}

.service-split {
  background: var(--color-white);
}

.service-checklist__box {
  display: grid;
  gap: 14px;
}

.service-checklist__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 1rem 1.2rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  color: var(--color-dark);
  font-size: 1.02rem;
  line-height: 1.5;
}

.service-cta__box {
  padding: 2.2rem;
  border-radius: 0px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.service-cta__title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 0.9rem;
}

.service-cta__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

@media (max-width: 991.98px) {
  .service-intro__box,
  .service-cta__box {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .service-title {
    font-size: clamp(2.2rem, 10vw, 3.6rem);
  }

  .service-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .service-cta__box {
    border-radius: 0px;
  }
}


.parallax-banner {
  position: relative;
  width: 100%;
  height: 40vh;
  min-height: 320px;
  overflow: hidden;
}

.parallax-banner__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.parallax-banner__image {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130%;
  object-fit: cover;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}


.service-highlight-cert__box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-radius: 0px;
  padding: 2.4rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.service-highlight-cert .section-eyebrow {
  color: rgba(255, 255, 255, 0.78);
}

.service-highlight-cert .section-title {
  color: var(--color-white);
}

.service-highlight-cert__content p {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.8;
  font-size: 1.08rem;
}

.service-highlight-cert__side {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0px;
  padding: 2rem 1.6rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.service-highlight-cert__badge {
  font-size: clamp(2.8rem, 5vw, 4.6rem);
  line-height: 1;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.service-highlight-cert__text strong {
  display: block;
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.service-highlight-cert__text span {
  display: block;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
  font-size: 0.98rem;
}

@media (max-width: 991.98px) {
  .service-highlight-cert__box {
    padding: 1.8rem;
  }
}

@media (max-width: 767.98px) {
  .service-highlight-cert__box {
    border-radius: 0px;
    padding: 1.5rem;
  }

  .service-highlight-cert__content p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* CHI SIAMO */


.about-hero {
  padding: 2rem 0 1rem;
}

.about-hero .row {
  background: var(--color-white);
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.about-hero__content {
  padding: 3rem 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-hero__kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 68, 90, 0.08);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.about-hero__title {
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--color-dark);
  margin-bottom: 1.6rem;
}

.about-hero__text {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--color-text-soft);
}

.about-hero__image-wrap {
  height: 100%;
  min-height: 520px;
}

.about-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro__box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 2rem 2.2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.about-intro__label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  padding-top: 0.35rem;
}

.about-section-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--color-dark);
  letter-spacing: -0.03em;
}

.about-pillar-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 1.7rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.1);
}

.about-pillar-card__number {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.9rem;
  letter-spacing: 0.08em;
}

.about-pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--color-dark);
}

.about-pillar-card p {
  color: var(--color-text-soft);
  line-height: 1.7;
}

.about-timeline {
  display: grid;
  gap: 1.2rem;
}

.about-timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 1.4rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.about-timeline__year {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 0.2rem;
}

.about-timeline__content h3 {
  font-size: 1.15rem;
  color: var(--color-dark);
  margin-bottom: 0.55rem;
}

.about-timeline__content p {
  color: var(--color-text-soft);
  line-height: 1.7;
}

.about-service-card {
  height: 100%;
  padding: 1.45rem 1.3rem;
  border-radius: 0px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.09);
}

.about-service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  color: var(--color-dark);
}

.about-service-card p {
  color: var(--color-text-soft);
  line-height: 1.7;
  margin-bottom: 0;
}

.about-highlight__box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-radius: 0px;
  padding: 2.4rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.about-highlight__title {
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.about-highlight__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}

.about-highlight__side {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 0px;
  padding: 2rem 1.6rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.about-highlight__badge {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 1rem;
}

.about-highlight__side-text strong {
  display: block;
  font-size: 1.15rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.about-highlight__side-text span {
  display: block;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  font-size: 0.98rem;
}

.about-realizzazioni__content p {
  color: var(--color-text-soft);
  line-height: 1.8;
}

.about-cta__box {
  padding: 2.2rem;
  border-radius: 0px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.about-cta__title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 0.9rem;
}

.about-cta__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

@media (max-width: 991.98px) {
  .about-hero__content,
  .about-intro__box,
  .about-highlight__box,
  .about-cta__box {
    padding: 1.6rem;
  }

  .about-hero__image-wrap {
    min-height: 360px;
  }

  .about-timeline__item {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }
}

@media (max-width: 767.98px) {
  .about-hero__title {
    font-size: clamp(2.2rem, 10vw, 3.8rem);
  }

  .about-hero .row,
  .about-intro__box,
  .about-highlight__box,
  .about-cta__box {
    border-radius: 0px;
  }

  .about-hero__text,
  .about-highlight__text {
    font-size: 1rem;
    line-height: 1.7;
  }
}


/* =========================
   CERTIFICAZIONI PAGE
========================= */

.cert-hero {
  padding: 2rem 0 1rem;
}

.cert-hero__box {
  background: linear-gradient(135deg, #f7fafb 0%, #eef3f5 100%);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 2.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.cert-hero__kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 68, 90, 0.08);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.cert-hero__title {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.96;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--color-dark);
  margin-bottom: 1.2rem;
}

.cert-hero__text {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--color-text-soft);
  max-width: 820px;
}

.cert-hero__aside {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 1.6rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.cert-hero__aside-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.cert-hero__aside-value {
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--color-dark);
  font-weight: 500;
}

.cert-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 2rem 2.2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.cert-section-title {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--color-dark);
  letter-spacing: -0.03em;
  margin: 0;
}

.cert-intro__right p {
  color: var(--color-text-soft);
  line-height: 1.8;
  font-size: 1.04rem;
}

.cert-focus__panel {
  height: 100%;
  background: var(--color-white);
  border-radius: 0px;
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
  padding: 2rem;
}

.cert-focus__panel p {
  color: var(--color-text-soft);
  line-height: 1.8;
  font-size: 1.04rem;
}

.cert-card {
  background: var(--color-white);
  border-radius: 0px;
  border: 1px solid var(--color-border);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  padding: 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.09);
}

.cert-card__number {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.9rem;
  letter-spacing: 0.08em;
}

.cert-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--color-dark);
}

.cert-card p {
  color: var(--color-text-soft);
  line-height: 1.7;
}

.cert-column {
  height: 100%;
  padding: 1.8rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.cert-column__label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.cert-column__title {
  font-size: 1.25rem;
  line-height: 1.2;
  margin-bottom: 0.9rem;
  color: var(--color-dark);
}

.cert-column p {
  color: var(--color-text-soft);
  line-height: 1.8;
  margin-bottom: 0;
}

.cert-band__box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  border-radius: 30px;
  padding: 2.2rem;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.cert-band__title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 0;
}

.cert-band__text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

.cert-list {
  display: grid;
  gap: 1rem;
}

.cert-list__item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 1.35rem 1.4rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.cert-list__item h3 {
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 0.55rem;
}

.cert-list__item p {
  color: var(--color-text-soft);
  line-height: 1.7;
}

.cert-cta__box {
  padding: 2.2rem;
  border-radius: 0px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.cert-cta__title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 0.9rem;
}

.cert-cta__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

@media (max-width: 991.98px) {
  .cert-hero__box,
  .cert-intro__grid,
  .cert-focus__panel,
  .cert-band__box,
  .cert-cta__box {
    padding: 1.6rem;
  }

  .cert-intro__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .cert-hero__box,
  .cert-intro__grid,
  .cert-focus__panel,
  .cert-band__box,
  .cert-cta__box {
    border-radius: 0px;
  }

  .cert-hero__title {
    font-size: clamp(2.2rem, 10vw, 3.8rem);
  }

  .cert-hero__text,
  .cert-band__text,
  .cert-cta__text {
    font-size: 1rem;
    line-height: 1.7;
  }
}




/* =========================
   CONTATTI PAGE
========================= */

.contact-hero {
  padding: 2rem 0 1rem;
}

.contact-hero__box {
  background: linear-gradient(135deg, #f7fafb 0%, #eef3f5 100%);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 2.6rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.contact-hero__kicker {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(0, 68, 90, 0.08);
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
}

.contact-hero__title {
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.96;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: var(--color-dark);
  margin-bottom: 1.2rem;
}

.contact-hero__text {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--color-text-soft);
  max-width: 760px;
}

.contact-hero__badge {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 1.6rem;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.contact-hero__badge span {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.contact-hero__badge strong {
  display: block;
  font-size: 1.4rem;
  color: var(--color-dark);
  font-weight: 500;
}

.contact-info-panel,
.contact-form-panel {
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 0px;
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}

.contact-info-group + .contact-info-group {
  margin-top: 1.5rem;
}

.contact-info-group__label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.contact-info-group__content {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--color-dark);
}

.contact-info-group__content a {
  color: var(--color-dark);
}

.contact-info-note {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-soft);
  line-height: 1.8;
}

.contact-form-panel__text {
  color: var(--color-text-soft);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-form-wrapper .wpcf7-form p {
  margin-bottom: 1rem;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 0px;
  padding: 14px 16px;
  background: #fff;
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.5;
}

.contact-form-wrapper textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
  outline: none;
  border-color: rgba(0, 68, 90, 0.35);
  box-shadow: 0 0 0 4px rgba(0, 68, 90, 0.08);
}

.contact-form-wrapper .wpcf7-submit,
.contact-form-custom button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--color-dark);
  border: 1px solid var(--color-dark);
  color: var(--color-white);
  transition: all 0.3s ease;
}

.contact-form-wrapper .wpcf7-submit:hover,
.contact-form-custom button[type="submit"]:hover {
  background: #000;
  border-color: #000;
}

.contact-form-wrapper .wpcf7-list-item {
  margin: 0;
}

.contact-form-required {
  font-size: 0.92rem;
  color: var(--color-text-muted);
}

.contact-bottom__box {
  padding: 2rem 2.2rem;
  border-radius: 0px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.contact-bottom__title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 0.8rem;
  color: var(--color-white);
}

.contact-bottom__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
}

@media (max-width: 991.98px) {
  .contact-hero__box,
  .contact-info-panel,
  .contact-form-panel,
  .contact-bottom__box {
    padding: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  .contact-hero__box,
  .contact-info-panel,
  .contact-form-panel,
  .contact-bottom__box {
    border-radius: 0px;
  }

  .contact-hero__title {
    font-size: clamp(2.2rem, 10vw, 3.8rem);
  }

  .contact-hero__text,
  .contact-bottom__text {
    font-size: 1rem;
    line-height: 1.7;
  }
}



.contact-form-privacy {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-soft);
}

.contact-form-privacy .wpcf7-list-item {
  margin: 0;
}

.contact-form-privacy input[type="checkbox"] {
  margin-right: 10px;
}


.contact-form-panel {
  height: 100%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 0px;
  padding: 2rem;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.10);
  color: var(--color-white);
}

.contact-form-panel .section-eyebrow,
.contact-form-panel .section-title,
.contact-form-panel__text,
.contact-form-required,
.contact-form-privacy {
  color: var(--color-white);
}

.contact-form-panel__text {
  opacity: 0.9;
}

.contact-form-required {
  opacity: 0.78;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea,
.contact-form-wrapper select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 0px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  font-size: 1rem;
  line-height: 1.5;
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
  color: rgba(255,255,255,0.72);
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus,
.contact-form-wrapper select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.12);
}

.contact-form-wrapper label {
  color: var(--color-white);
}

.contact-form-wrapper .wpcf7-submit,
.contact-form-custom button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid var(--color-white);
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.contact-form-wrapper .wpcf7-submit:hover,
.contact-form-custom button[type="submit"]:hover {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.7);
}

.contact-form-privacy a {
  color: var(--color-white);
  text-decoration: underline;
}

.contact-form-wrapper .wpcf7 input[type="submit"],
.contact-form-wrapper .wpcf7-submit {
  --bs-btn-color: var(--color-primary-dark);
  --bs-btn-border-color: #ffffff;
  --bs-btn-hover-color: var(--color-primary);
  --bs-btn-hover-bg: #f8fbfc;
  --bs-btn-hover-border-color: #ffffff;
  --bs-btn-focus-shadow-rgb: 255,255,255;
  --bs-btn-active-color: var(--color-primary-dark);
  --bs-btn-active-bg: #ffffff;
  --bs-btn-active-border-color: #ffffff;
  --bs-btn-disabled-color: rgba(0, 68, 90, 0.65);
  --bs-btn-disabled-bg: rgba(255,255,255,0.75);
  --bs-btn-disabled-border-color: rgba(255,255,255,0.75);

  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #ffffff;
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.15);
}

.contact-form-wrapper .wpcf7 input[type="submit"]:hover,
.contact-form-wrapper .wpcf7-submit:hover {
  background: #f8fbfc;
  color: var(--color-primary);
  border-color: #ffffff;
  transform: translateY(-2px) scale(1.01);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.22),
    0 0 18px rgba(255, 255, 255, 0.18);
}

.contact-form-wrapper .wpcf7 input[type="submit"]:focus,
.contact-form-wrapper .wpcf7-submit:focus {
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.18),
    0 14px 30px rgba(0, 0, 0, 0.18);
}

.contact-form-wrapper .wpcf7 input[type="submit"]:active,
.contact-form-wrapper .wpcf7-submit:active {
  transform: translateY(0);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.16),
    0 0 0 rgba(255, 255, 255, 0);
}




/* FOOTER */

.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 68, 90, 0.35) 0%, rgba(0, 68, 90, 0) 30%),
    linear-gradient(180deg, #12242d 0%, #0d1c23 100%);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 5rem;
  padding-top: 4.5rem;
  padding-bottom: 1.4rem;
}

.site-footer__bg-shape {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.site-footer__top {
  position: relative;
  padding-bottom: 2.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand {
  max-width: 460px;
}

.site-footer__logo-wrap {
  display: inline-block;
  margin-bottom: 1.4rem;
}

.site-footer__logo {
  width: 120px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer__text {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 1.5rem;
}

.site-footer__contact-mini {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__contact-mini strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  margin-right: 0.35rem;
}

.site-footer__contact-mini a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.site-footer__contact-mini a:hover {
  color: #ffffff;
}

.site-footer__block {
  height: 100%;
}

.site-footer__title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.1rem;
  letter-spacing: 0.03em;
}

.site-footer__list {
  margin: 0;
  padding: 0;
}

.site-footer__list li {
  margin-bottom: 0.72rem;
  font-size: 0.96rem;
  line-height: 1.6;
}

.site-footer__list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.site-footer__list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.site-footer__cta {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 1.4rem;
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}

.site-footer__cta-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.62);
  margin-bottom: 0.7rem;
}

.site-footer__cta-title {
  font-size: 1.3rem;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.site-footer__cta-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.74);
  margin-bottom: 1.2rem;
}

.site-footer__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.site-footer__cta-button:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.site-footer__bottom {
  position: relative;
  padding-top: 1.4rem;
}

.site-footer__copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom-links {
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-footer__bottom-links li {
  margin: 0;
}

.site-footer__bottom-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer__bottom-links a:hover {
  color: #ffffff;
}

@media (max-width: 1199.98px) {
  .site-footer__cta {
    margin-top: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .site-footer {
    padding-top: 3.5rem;
  }

  .site-footer__top {
    padding-bottom: 2.2rem;
  }

  .site-footer__bottom {
    padding-top: 1.5rem;
  }

  .site-footer__bottom-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    margin-top: 4rem;
    padding-top: 2.8rem;
    padding-bottom: 1.2rem;
  }

  .site-footer__logo {
    width: 100px;
  }

  .site-footer__text,
  .site-footer__contact-mini,
  .site-footer__list li,
  .site-footer__cta-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .site-footer__cta,
  .site-footer__top {
    border-radius: 0;
  }

  .site-footer__bottom-links {
    gap: 0.8rem 1rem;
  }
}


/* SOLO il menu Prodotti */
#main-nav .navbar-nav > .menu-item-prodotti {
  position: static !important;
}

#main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu {
  position: absolute !important;
  left: 0;
  right: 0;
  top: calc(100% + var(--submenu-gap));
  width: 100%;
  max-width: 1400px;
  margin: 0 auto !important;
  padding: 32px 36px !important;
  background: #e8e8e8 !important;
  border: 0 !important;
  box-shadow: 0 18px 48px rgba(0,0,0,0.08);
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

/* Le 3 macroaree */
#main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item {
  display: block;
}

/* Titolo colonna */
#main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > a {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #00445a !important;
  margin-bottom: 14px;
  padding: 0 !important;
}

/* Sottomenu interno delle colonne */
#main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > .dropdown-menu {
  position: static !important;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Link prodotto */
#main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > .dropdown-menu > .menu-item > a {
  display: block;
  padding: 8px 0 !important;
  color: #2d2d2a !important;
  text-transform: none !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.45;
}

#main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > .dropdown-menu > .menu-item > a:hover {
  color: #00445a !important;
  opacity: 1 !important;
}


@media (min-width: 768px) {

  /* Mega menu prodotti */
  #main-nav .navbar-nav > .menu-item-prodotti {
    position: static !important;
  }

  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: calc(100% + var(--submenu-gap)) !important;
    width: min(1400px, 96vw) !important;
    margin: 0 auto !important;
    padding: 32px 36px !important;
    background: var(--color-menu-light) !important;
    border: 0 !important;
    box-shadow: 0 18px 48px rgba(0,0,0,0.08) !important;

    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: start;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
  }

  #main-nav .navbar-nav > .menu-item-prodotti.is-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* colonne: Residenziale / Professionale / Accessibilità */
  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* titolo colonna */
  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > a {
    display: block !important;
    width: 100% !important;
    margin-bottom: 12px !important;
    padding: 0 !important;
    color: var(--color-primary) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    opacity: 1 !important;
  }

  /* IMPORTANTISSIMO:
     il terzo livello non deve essere un altro dropdown assoluto,
     ma una lista interna alla colonna */
  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > .dropdown-menu {
    position: static !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
font-size: 15px !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;

    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  /* link del terzo livello */
  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > .dropdown-menu > .menu-item {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
      font-size: 15px !important;
  }

  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > .dropdown-menu > .menu-item > a {
    display: block !important;
    width: 100% !important;
    padding: 7px 0 !important;
    color: #2d2d2a !important;
    font-size: 15px !important;
      letter-spacing: 0.6px !important;
      text-transform: uppercase !important;
    font-weight: 400 !important;
  
    line-height: 1.45 !important;
    opacity: 1 !important;
  }

  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > .dropdown-menu > .menu-item > a:hover {
    color: var(--color-primary) !important;
    opacity: 1 !important;
  }
}


@media (min-width: 768px) {

  /* BOX BASE per tutti i submenu di primo livello */
  #main-nav .navbar-nav > .menu-item-has-children > .dropdown-menu {
    background: var(--color-menu-light) !important;
    box-shadow: 0 18px 48px rgba(0,0,0,0.08) !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  /* submenu normali: box compatto */
  #main-nav .navbar-nav > .menu-item-has-children:not(.menu-item-prodotti) > .dropdown-menu {
    left: auto !important;
    right: auto !important;
    width: max-content !important;
    min-width: 260px;
    padding-left: 26px !important;
    padding-right: 26px !important;
  }

  /* voci submenu normali */
  #main-nav .navbar-nav > .menu-item-has-children:not(.menu-item-prodotti) > .dropdown-menu > .menu-item,
  #main-nav .navbar-nav > .menu-item-has-children:not(.menu-item-prodotti) > .dropdown-menu > li {
    opacity: 1 !important;
    transform: none !important;
  }

  #main-nav .navbar-nav > .menu-item-has-children:not(.menu-item-prodotti) > .dropdown-menu > .menu-item > a,
  #main-nav .navbar-nav > .menu-item-has-children:not(.menu-item-prodotti) > .dropdown-menu > li > a {
    display: block;
    width: 100% !important;
    padding: 8px 0 !important;
    background: transparent !important;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.6px;
    color: #2d2d2a !important;
  }

  #main-nav .navbar-nav > .menu-item-has-children:not(.menu-item-prodotti) > .dropdown-menu > .menu-item > a:hover,
  #main-nav .navbar-nav > .menu-item-has-children:not(.menu-item-prodotti) > .dropdown-menu > li > a:hover {
    opacity: 0.7;
    background: transparent !important;
  }

  /* PRODOTTI resta mega menu a 3 colonne */
  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu {
    width: min(1200px, 94vw) !important;
    margin: 0 auto !important;
    padding: 24px 32px !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    align-items: start;
  }

  /* colonne macroaree */
  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item {
    display: block !important;
    opacity: 1 !important;
    transform: none !important;
  }

  /* titolo colonna */
  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > a {
    display: block !important;
    width: 100% !important;
    padding: 8px 0 !important;
    margin-bottom: 6px !important;
    background: transparent !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 12px !important;
    letter-spacing: 0.6px !important;
    color: #2d2d2a !important;
  }

  /* terzo livello visibile dentro la colonna */
  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > .dropdown-menu {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .menu-item > .dropdown-menu > .menu-item > a {
    display: block !important;
    width: 100% !important;
    padding: 7px 0 !important;
    background: transparent !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: 0.6px !important;
    color: #2d2d2a !important;
  }

  #main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu a:hover {
    opacity: 0.7 !important;
    background: transparent !important;
  }
}


.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(0, 68, 90, 0.35) 0%, rgba(0, 68, 90, 0) 30%),
    linear-gradient(180deg, #12242d 0%, #0d1c23 100%);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 5rem;
  padding-top: 4.5rem;
  padding-bottom: 1.4rem;
}

.site-footer__bg-shape {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  pointer-events: none;
}

.site-footer__top {
  position: relative;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__brand {
  max-width: 420px;
}

.site-footer__logo-wrap {
  display: inline-block;
  margin-bottom: 1.4rem;
}

.site-footer__logo {
  width: 120px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer__text {
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.74);
  margin-bottom: 1.5rem;
}

.site-footer__contact-mini {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__contact-mini strong {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
  margin-right: 0.35rem;
}

.site-footer__contact-mini a {
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
}

.site-footer__contact-mini a:hover {
  color: #ffffff;
}

.site-footer__block {
  height: 100%;
}

.site-footer__title {
  font-size: 0.98rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1.1rem;
  letter-spacing: 0.03em;
}

.site-footer__list {
  margin: 0;
  padding: 0;
}

.site-footer__list li {
  margin-bottom: 0.72rem;
  font-size: 0.96rem;
  line-height: 1.6;
}

.site-footer__list a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.site-footer__list a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.site-footer__cta-row {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__cta-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.62);
  margin-bottom: 0.7rem;
}

.site-footer__cta-title {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 0.7rem;
  font-weight: 300;
}

.site-footer__cta-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.74);
}

.site-footer__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #ffffff;
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.site-footer__cta-button:hover {
  background: transparent;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.site-footer__bottom {
  padding-top: 1.4rem;
}

.site-footer__copy {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.site-footer__bottom-links {
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-footer__bottom-links li {
  margin: 0;
}

.site-footer__bottom-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-footer__bottom-links a:hover {
  color: #ffffff;
}

@media (max-width: 991.98px) {
  .site-footer {
    padding-top: 3.5rem;
  }

  .site-footer__top {
    padding-bottom: 2rem;
  }

  .site-footer__cta-row {
    padding: 1.8rem 0;
  }

  .site-footer__bottom-links {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .site-footer {
    margin-top: 4rem;
    padding-top: 2.8rem;
    padding-bottom: 1.2rem;
  }

  .site-footer__logo {
    width: 100px;
  }

  .site-footer__text,
  .site-footer__contact-mini,
  .site-footer__list li,
  .site-footer__cta-text {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .site-footer__bottom-links {
    gap: 0.8rem 1rem;
  }
}


.site-footer__brand-col {
  height: 100%;
  padding-right: 2.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.site-footer__menu-col {
  height: 100%;
  padding-left: 0.8rem;
}

.site-footer__logo {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
}

.site-footer__brand {
  max-width: 420px;
}

.site-footer__top {
  position: relative;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer__menu-col .site-footer__block {
  height: 100%;
}

@media (max-width: 1199.98px) {
  .site-footer__brand-col {
    padding-right: 0;
    border-right: 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-footer__menu-col {
    padding-left: 0;
    padding-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .site-footer__brand-col {
    padding-bottom: 1.25rem;
  }
}


.site-footer__menu-col .col {
  display: flex;
}

.site-footer__menu-col .site-footer__block {
  width: 100%;
}




/* =========================
   HOME EDITORIALE
========================= */

.home-section-intro {
  padding-top: 2rem;
}

.home-area + .home-full-banner,
.home-full-banner + .home-area,
.home-quality + .home-area {
  margin-top: 0;
}

.home-full-banner {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-full-banner__media,
.home-full-banner__overlay {
  position: absolute;
  inset: 0;
}

.home-full-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-full-banner__overlay {
  background: linear-gradient(90deg, rgba(8, 18, 24, 0.78) 0%, rgba(8, 18, 24, 0.48) 42%, rgba(8, 18, 24, 0.22) 100%);
}

.home-full-banner .container {
  z-index: 2;
}

.home-full-banner__content {
  color: var(--color-white);
  padding: 4rem 0;
}

.home-full-banner__title {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.home-full-banner__text {
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  max-width: 760px;
}

.home-quality__box {
  padding: 2.4rem;
  border-radius: 32px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.home-quality__title {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 0.9rem;
}

.home-quality__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}

.home-services-grid .home-service-card {
  height: 100%;
}

@media (max-width: 991.98px) {
  .home-full-banner {
    min-height: 58vh;
  }

  .home-full-banner__content {
    padding: 3rem 0;
  }

  .home-quality__box {
    padding: 1.7rem;
  }
}

@media (max-width: 767.98px) {
  .home-full-banner {
    min-height: 520px;
  }

  .home-full-banner__title {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .home-full-banner__text,
  .home-quality__text {
    font-size: 1rem;
    line-height: 1.75;
  }

  .home-quality__box {
    border-radius: 24px;
  }
}


/* =========================
   HOME SEO / EDITORIALE
========================= */

.home-intro {
  padding-top: 2rem;
}

.home-full-banner {
  position: relative;
  min-height: 66vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home-full-banner__media,
.home-full-banner__overlay {
  position: absolute;
  inset: 0;
}

.home-full-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-full-banner__overlay {
  background: linear-gradient(90deg, rgba(8, 18, 24, 0.82) 0%, rgba(8, 18, 24, 0.50) 42%, rgba(8, 18, 24, 0.22) 100%);
}

.home-full-banner .container {
  z-index: 2;
}

.home-full-banner__content {
  color: var(--color-white);
  padding: 4rem 0;
}

.home-full-banner__title {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.04;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.home-full-banner__text {
  font-size: 1.08rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.88);
  max-width: 760px;
}

.home-quality__box {
  padding: 2.4rem;
  border-radius: 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.14);
}

.home-quality__title {
  font-size: clamp(1.9rem, 3vw, 3.1rem);
  line-height: 1.08;
  font-weight: 300;
  color: var(--color-white);
  margin-bottom: 0.9rem;
}

.home-quality__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
}

.home-services-grid .home-service-card {
  height: 100%;
}

@media (max-width: 991.98px) {
  .home-full-banner {
    min-height: 58vh;
  }

  .home-full-banner__content {
    padding: 3rem 0;
  }

  .home-quality__box {
    padding: 1.7rem;
  }
}

@media (max-width: 767.98px) {
  .home-full-banner {
    min-height: 520px;
  }

  .home-full-banner__title {
    font-size: clamp(1.9rem, 9vw, 3rem);
  }

  .home-full-banner__text,
  .home-quality__text {
    font-size: 1rem;
    line-height: 1.75;
  }
}



.hero-slider--full {
  margin: 20px;
  min-height: 66vh;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

.hero-slider--full .swiper,
.hero-slider--full .swiper-wrapper,
.hero-slider--full .swiper-slide,
.hero-slide-full {
  height: 100%;
  min-height: 66vh;
}

.hero-slide-full {
  position: relative;
  display: flex;
  align-items: stretch;
}

.hero-slide-full__media,
.hero-slide-full__overlay,
.hero-slide-full__content-wrap {
  position: absolute;
  inset: 0;
}

.hero-slide-full__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* overlay scuro elegante */
.hero-slide-full__overlay {
  background:
    linear-gradient(90deg, rgba(7, 17, 22, 0.78) 0%, rgba(7, 17, 22, 0.52) 38%, rgba(7, 17, 22, 0.20) 100%),
    linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0.10) 100%);
  z-index: 1;
}

.hero-slide-full__content-wrap {
  z-index: 2;
}

.hero-slide-full__content {
  max-width: 760px;
  padding: 5rem 3rem;
  color: #fff;
}

.hero-slide-full__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
}

.hero-slide-full__title {
  font-size: clamp(2.4rem, 4.8vw, 5.4rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.04em;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}

.hero-slide-full__text {
  font-size: 1.08rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  max-width: 680px;
}

.hero-slide-full__btn-light,
.hero-slide-full__btn-dark {
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
}

.hero-slide-full__btn-light {
  background: #fff;
  border: 1px solid #fff;
  color: var(--color-primary-dark);
  font-weight: 700;
}

.hero-slide-full__btn-light:hover {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.75);
}

.hero-slide-full__btn-dark {
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.hero-slide-full__btn-dark:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.32);
  color: #fff;
}

.hero-slider--full .home-swiper-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px !important;
  z-index: 3;
}

.hero-slider--full .home-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.52);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-slider--full .home-swiper-pagination .swiper-pagination-bullet-active {
  width: 34px;
  background: #fff;
}

@media (max-width: 991.98px) {
  .hero-slider--full,
  .hero-slider--full .swiper,
  .hero-slider--full .swiper-wrapper,
  .hero-slider--full .swiper-slide,
  .hero-slide-full {
    min-height: 78vh;
  }

  .hero-slide-full__content {
    padding: 4rem 0 5rem;
  }

  .hero-slide-full__title {
    font-size: clamp(2rem, 7vw, 4rem);
  }
}

@media (max-width: 767.98px) {
  .hero-slider--full {
    margin: 12px;
  }

  .hero-slider--full,
  .hero-slider--full .swiper,
  .hero-slider--full .swiper-wrapper,
  .hero-slider--full .swiper-slide,
  .hero-slide-full {
    min-height: 88vh;
  }

  .hero-slide-full__overlay {
    background:
      linear-gradient(180deg, rgba(7, 17, 22, 0.22) 0%, rgba(7, 17, 22, 0.45) 38%, rgba(7, 17, 22, 0.86) 100%);
  }

  .hero-slide-full__content {
    padding: 3rem 0 5rem;
  }

  .hero-slide-full__title {
    font-size: clamp(1.85rem, 9vw, 3rem);
    line-height: 1;
  }

  .hero-slide-full__text {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-slide-full__btn-light,
  .hero-slide-full__btn-dark {
    width: 100%;
  }
}
@media (min-width: 768px) {
#main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .senzalink > a { font-size:16px!important; pointer-events: none; font-weight: 300!important;   color: var(--color-text-soft)!important;}
.senzalink, .senzalink a { font-size:16px!important; pointer-events: none;   color: var(--color-text-soft)!important;}

.senzalink .dropdown-menu, .senzalink .dropdown-menu a { font-size:1.3rem; pointer-events: auto;   color: var(--color-text-soft);}

}

#main-nav .navbar-nav > .menu-item-prodotti > .dropdown-menu > .senzalink > a { text-transform: uppercase!important}
.senzalink, .senzalink a { text-transform: uppercase!important}

.senzalink .dropdown-menu, .senzalink .dropdown-menu a { text-transform: uppercase!important}
/* =========================
   MOBILE MENU
========================= */

.header-icon-link img {
  display: block;
}

.mobile-nav-toggle {
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: #2d2d2a;
  margin-left: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav-panel {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(8, 18, 24, 0.28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.mobile-nav-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s ease, visibility 0s linear 0s;
}

.mobile-nav-panel__inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(92vw, 420px);
  height: 100%;
  background: #f3f5f6;
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.14);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  display: flex;
  flex-direction: column;
  padding: 1.2rem 1.25rem 1.5rem;
  overflow-y: auto;
}

.mobile-nav-panel.is-open .mobile-nav-panel__inner {
  transform: translateX(0);
}

.mobile-nav-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 1rem;
}

.mobile-nav-panel__brand img {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
}

.mobile-nav-close {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
  flex: 0 0 auto;
}

.mobile-nav-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 2px;
  background: #2d2d2a;
}

.mobile-nav-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-nav-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-panel__menu {
  flex: 1 1 auto;
}

.mobile-main-menu,
.mobile-main-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-main-menu > li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-main-menu li {
  position: relative;
}

.mobile-main-menu a {
  display: block;
  padding: 1rem 2.6rem 1rem 0;
  color: #1f1f1f;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.35;
}

.mobile-main-menu > li > a {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mobile-main-menu .sub-menu {
  display: none;
  padding: 0 0 0.6rem 0;
}

.mobile-main-menu .sub-menu.is-open {
  display: block;
}

.mobile-main-menu .sub-menu a {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #4e565a;
  font-size: 0.96rem;
  text-transform: none;
  font-weight: 500;
  letter-spacing: 0;
}

.mobile-main-menu .sub-menu .sub-menu {
  padding-left: 0.9rem;
}

.mobile-main-menu .sub-menu .sub-menu a {
  font-size: 0.92rem;
  color: #657076;
}

.mobile-menu-toggle-sub {
  position: absolute;
  top: 0.7rem;
  right: 0;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.mobile-menu-toggle-sub::before,
.mobile-menu-toggle-sub::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #2d2d2a;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu-toggle-sub::before {
  width: 14px;
  height: 2px;
}

.mobile-menu-toggle-sub::after {
  width: 2px;
  height: 14px;
}

.mobile-menu-toggle-sub.is-open::after {
  opacity: 0;
}

.mobile-nav-panel__bottom {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 0.8rem;
}

.mobile-nav-contact {
  display: block;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  color: #1f1f1f;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
}

.mobile-nav-contact span {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7478;
  margin-bottom: 0.25rem;
}

.mobile-nav-contact strong {
  font-size: 1rem;
  font-weight: 700;
}

.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.9rem 1.4rem;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.mobile-nav-cta:hover {
  color: #fff;
  background: var(--color-primary-dark);
}

body.mobile-nav-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .mobile-nav-toggle,
  .mobile-nav-panel {
    display: none !important;
  }
}

.mobile-nav-panel {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  z-index: 999999 !important;
  overflow: hidden !important;
}

.mobile-nav-panel__inner {
  position: absolute !important;
  top: 0 !important;
  right: 0 !important;
  width: min(92vw, 420px) !important;
  max-width: 100vw !important;
  height: 100dvh !important;
  max-height: 100dvh !important;
  overflow-y: auto !important;
}

/* importantissimo */
#wrapper-navbar,
#wrapper-navbar .navbar-inner,
#main-nav,
.container.wide,
#navbarNavDropdown {
  overflow: visible !important;
}



/* =========================
   NEWS SLIDER SECTION
========================= */

.home-news-slider {
  position: relative;
}

.news-swiper {
  overflow: visible;
}

.news-swiper .swiper-slide {
  height: auto;
}

.news-swiper .news-card {
  height: 100%;
}

.news-swiper-prev,
.news-swiper-next {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
  color: var(--color-primary);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.news-swiper-prev::after,
.news-swiper-next::after {
  font-size: 16px;
  font-weight: 700;
}

.news-swiper-pagination {
  position: relative;
  margin-top: 24px;
  text-align: center;
}

.news-swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 8px;
  border-radius: 999px;
  background: var(--color-primary);
  opacity: 1;
  transition: all 0.3s ease;
}

.news-swiper-pagination .swiper-pagination-bullet-active {
  width: 32px;
  background: var(--color-dark);
}

@media (max-width: 767.98px) {
  .news-swiper {
    overflow: hidden;
  }
}


/* =========================
   NEWS ARCHIVE
========================= */

.news-archive-hero {
  padding-top: 7rem;
}

.news-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
  overflow: hidden;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.12);
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}

.news-card__image-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #dfe6e9;
  position: relative;
}

.news-card__image-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.news-card__placeholder span {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.news-card:hover .news-card__image {
  transform: scale(1.05);
}

.news-card__content {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-card__meta {
  margin-bottom: 0.8rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  font-weight: 700;
}

.news-card__sep {
  margin: 0 0.35rem;
}

.news-card__title {
  font-size: 1.45rem;
  line-height: 1.18;
  color: var(--color-dark);
  margin-bottom: 0.9rem;
}

.news-card__excerpt {
  color: var(--color-text-soft);
  line-height: 1.7;
  flex-grow: 1;
}

.news-card__excerpt p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.news-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-top: auto;
}

.news-card__arrow {
  transition: transform 0.25s ease;
}

.news-card:hover .news-card__arrow {
  transform: translateX(4px);
}

.news-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.news-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0.7rem 1rem;
  background: #fff;
  border: 1px solid var(--color-border);
  color: var(--color-dark);
  text-decoration: none;
}

.news-pagination .page-numbers.current,
.news-pagination .page-numbers:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.news-empty-state {
  padding: 4rem 0;
}

@media (max-width: 767.98px) {
  .news-card__title {
    font-size: 1.28rem;
  }

  .news-card__excerpt p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* =========================
   SITE LOADER
========================= */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #f3f5f6 0%, #eef2f3 100%);
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.45s ease,
    visibility 0s linear 0.45s;
}

.site-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-loader__inner {
  width: min(280px, 72vw);
  text-align: center;
}

.site-loader__logo {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1.25rem;
  animation: siteLoaderLogoFloat 1.8s ease-in-out infinite;
}

.site-loader__line {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(0, 68, 90, 0.12);
  overflow: hidden;
}

.site-loader__line-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  background: var(--color-primary, #00445a);
  animation: siteLoaderLine 1.2s ease-in-out infinite;
}

@keyframes siteLoaderLine {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(140%);
  }
  100% {
    transform: translateX(260%);
  }
}

@keyframes siteLoaderLogoFloat {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.96;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-loader__logo,
  .site-loader__line-fill {
    animation: none !important;
  }

  .site-loader {
    transition: opacity 0.2s ease, visibility 0s linear 0.2s;
  }
}