/* ============================================================
   KRONOS SOLUTION — Foglio di stile principale
   Ispirato al template Bexon
   ============================================================ */

/* --- Importazione font Google --- */
@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wdth,wght@0,75..125,200..900;1,75..125,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200');

/* --- Variabili CSS --- */
:root {
  --primary:        #1e8a8a;
  --primary-light:  #d8e5e5;
  --primary-bg:     #cee0e0;
  --dark:           #0c1e21;
  --dark-2:         #18292c;
  --dark-3:         #364e52;
  --dark-4:         #67787a;
  --text-body:      #364e52;
  --text-light:     #a9b8b8;
  --white:          #ffffff;
  --black:          #000000;
  --bg-light:       #f5f8f8;
  --surface:        #ffffff;
  --border:         #c9d1d1;
  --border-dark:    #313d3d;
  --radius:         12px;
  --radius-sm:      8px;
  --shadow:         0 4px 24px rgba(12,30,33,0.10);
  --shadow-lg:      0 8px 40px rgba(12,30,33,0.16);
  --ff-body:        'Mona Sans', 'Inter', sans-serif;
  --ff-heading:     'Mona Sans', 'Inter', sans-serif;
  --fw-regular:     400;
  --fw-medium:      500;
  --fw-sbold:       600;
  --fw-bold:        700;
  --transition:     all 0.3s ease-in-out;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-body);
  background-color: var(--bg-light);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; margin: 0; padding: 0; }
p { margin-bottom: 0; }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--dark);
}

/* --- Utilità --- */
.section-gap  { padding: 100px 0; }
.section-gap-sm { padding: 70px 0; }
.section-gap-x { margin: 0 15px; }
.section-bg   { background-color: var(--bg-light); }
.section-dark { background-color: var(--dark); border-radius: var(--radius); }
.section-primary { background-color: var(--primary); border-radius: var(--radius); }
.text-primary-color { color: var(--primary) !important; }
.text-white { color: var(--white) !important; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }

/* ============================================================
   PULSANTI
   ============================================================ */
.tj-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  background-color: var(--primary);
  font-size: 16px;
  font-weight: var(--fw-sbold);
  padding: 5px 5px 5px 25px;
  text-align: center;
  border-radius: 50px;
  line-height: 1;
  overflow: hidden;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: var(--ff-body);
  transition: var(--transition);
}
.tj-primary-btn .btn-text {
  color: var(--white);
  overflow: hidden;
}
.tj-primary-btn .btn-text span {
  display: flex;
  line-height: 1;
  transition: 0.4s ease-in-out;
}
.tj-primary-btn .btn-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  line-height: 1;
  width: 42px;
  height: 42px;
  background-color: var(--dark);
  border-radius: 50%;
  transition: var(--transition);
}
.tj-primary-btn .btn-icon .material-symbols-outlined {
  color: var(--white);
  transform: rotate(-45deg);
  transition: var(--transition);
  font-size: 20px;
}
.tj-primary-btn:hover .btn-icon .material-symbols-outlined {
  transform: rotate(0deg);
}
.tj-primary-btn.btn-dark {
  background-color: var(--dark);
}
.tj-primary-btn.btn-dark .btn-icon {
  background-color: var(--white);
}
.tj-primary-btn.btn-dark .btn-icon .material-symbols-outlined {
  color: var(--dark);
}
.tj-primary-btn.btn-outline {
  background-color: transparent;
  border: 1px solid var(--border);
}
.tj-primary-btn.btn-outline .btn-text { color: var(--dark); }
.tj-primary-btn.btn-outline:hover { border-color: var(--dark); }
.tj-primary-btn.btn-lg {
  font-size: 18px;
  padding: 7px 7px 7px 36px;
  gap: 14px;
}
.tj-primary-btn.btn-lg .btn-icon {
  width: 54px;
  height: 54px;
  font-size: 24px;
}
.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: var(--fw-sbold);
  color: var(--dark);
  cursor: pointer;
}
.text-btn .btn-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: var(--dark);
  border-radius: 50%;
  transition: var(--transition);
}
.text-btn .btn-icon .material-symbols-outlined {
  color: var(--white);
  transform: rotate(-45deg);
  transition: var(--transition);
  font-size: 16px;
}
.text-btn:hover .btn-icon {
  background-color: var(--primary);
}
.text-btn:hover .btn-icon .material-symbols-outlined {
  transform: rotate(0deg);
}
.text-btn.text-white-btn .btn-text { color: var(--white); }
.text-btn.text-white-btn .btn-icon { background-color: var(--primary); }

/* ============================================================
   TITOLI DI SEZIONE (.sec-heading)
   ============================================================ */
.sec-heading {
  max-width: 600px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  text-align: center;
  margin-bottom: 55px;
}
.sec-heading.text-start { text-align: left; margin-inline-start: 0; }
.sec-heading .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--primary);
  border: 1px dashed var(--border);
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 18px;
}
.sec-heading .sub-title .material-symbols-outlined { font-size: 18px; }
.sec-heading.white-heading .sub-title {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.sec-heading.white-heading .section-title { color: var(--white); }
.section-title {
  font-size: 48px;
  font-weight: var(--fw-bold);
  line-height: 1.13;
  margin-bottom: 20px;
}
.section-title span { color: var(--primary); }
.section-desc {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.7;
}

/* ============================================================
   HEADER
   ============================================================ */
.header-top {
  background-color: var(--primary);
  border-end-start-radius: var(--radius);
  border-end-end-radius: var(--radius);
  padding: 0 15px;
  margin: 0 15px 15px;
}
.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 0;
}
.topbar-text {
  color: var(--white);
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-text .material-symbols-outlined { font-size: 18px; }
.topbar-text a { color: var(--white); font-weight: var(--fw-sbold); }
.topbar-text a:hover { opacity: 0.8; }
.header-info {
  display: flex;
  align-items: center;
  gap: 0;
}
.header-info .info-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-left: 1px dashed rgba(255,255,255,0.25);
  color: var(--white);
  font-size: 14px;
}
.header-info .info-item .material-symbols-outlined { font-size: 16px; }
.header-info .info-item a { color: var(--white); }
.header-info .info-item a:hover { opacity: 0.8; }
.header-info .info-item:first-child { border-left: none; }

.header-area {
  background-color: var(--white);
  border-end-start-radius: var(--radius);
  border-end-end-radius: var(--radius);
  margin: 0 15px;
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(12,30,33,0.08);
}
.header-area.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  border-radius: 0;
  box-shadow: var(--shadow);
  animation: slideDown 0.4s ease;
  z-index: 9999;
}
@keyframes slideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}
.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 10px 0;
}
.logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}
.preloader-logo-img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Navigation */
.mainmenu ul {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mainmenu ul li { position: relative; }
.mainmenu ul li > a {
  display: block;
  padding: 30px 18px;
  font-size: 15px;
  font-weight: var(--fw-medium);
  color: var(--dark);
  position: relative;
  white-space: nowrap;
}
.mainmenu ul li > a::after {
  content: '';
  position: absolute;
  bottom: 24px;
  left: 18px;
  right: 18px;
  height: 2px;
  background-color: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}
.mainmenu ul li > a:hover,
.mainmenu ul li.active > a {
  color: var(--primary);
}
.mainmenu ul li > a:hover::after,
.mainmenu ul li.active > a::after {
  transform: scaleX(1);
  transform-origin: left;
}
/* Dropdown */
.mainmenu ul li .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}
.mainmenu ul li:hover .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mainmenu ul li .sub-menu li a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: var(--fw-medium);
  color: var(--text-body);
}
.mainmenu ul li .sub-menu li a::after { display: none; }
.mainmenu ul li .sub-menu li a:hover { color: var(--primary); background: var(--bg-light); }

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(12,30,33,0.96);
  z-index: 9998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--white);
  font-size: 22px;
  font-weight: var(--fw-sbold);
  padding: 12px 30px;
  border-radius: 8px;
  transition: var(--transition);
}
.mobile-menu a:hover { background: var(--primary); }
.mobile-menu .close-mobile {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--white);
  font-size: 24px;
}

/* ============================================================
   HERO (BANNER)
   ============================================================ */
.tj-banner-section {
  padding: 0 15px;
  margin-bottom: 30px;
}
.banner-area {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  min-height: 680px;
}
.banner-left-box {
  background-color: var(--dark);
  border-radius: var(--radius);
  padding: 70px 60px 70px 70px;
  width: calc(50% - 8px);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.banner-left-box::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 5%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(65px);
  opacity: 0.22;
  z-index: -1;
}
.banner-content { max-width: 560px; width: 100%; }
.banner-content .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 13px;
  font-weight: var(--fw-bold);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border: 1px dashed rgba(255,255,255,0.2);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}
.banner-content .sub-title .material-symbols-outlined {
  font-size: 18px;
  color: var(--primary);
}
.banner-title {
  font-size: 62px;
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 20px;
}
.banner-title span { color: var(--primary); font-weight: var(--fw-medium); }
.banner-desc {
  color: var(--text-light);
  font-size: 17px;
  line-height: 1.6;
  max-width: 460px;
  margin-bottom: 36px;
}
.banner-btn-group {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.banner-scroll {
  position: absolute;
  left: 34px;
  bottom: 40px;
}
.scroll-down {
  writing-mode: vertical-lr;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: var(--fw-sbold);
  display: flex;
  align-items: center;
  gap: 10px;
}
.scroll-down .material-symbols-outlined {
  font-size: 22px;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
}
.banner-right-box {
  width: calc(50% - 8px);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 500px;
}
.banner-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-bg) 0%, var(--primary-light) 50%, #b0d4d4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
}
.banner-img-placeholder .hero-graphic {
  text-align: center;
  color: var(--primary);
}
.banner-img-placeholder .hero-graphic .material-symbols-outlined {
  font-size: 120px;
  opacity: 0.4;
}
/* Floating card hero */
.hero-floating-card {
  position: absolute;
  bottom: 40px;
  left: 30px;
  background: var(--white);
  border-radius: 12px;
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 240px;
}
.hero-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-card-icon .material-symbols-outlined { color: var(--primary); font-size: 26px; }
.hero-card-info .number { font-size: 28px; font-weight: var(--fw-bold); color: var(--dark); line-height: 1; }
.hero-card-info .label { font-size: 13px; color: var(--text-body); margin-top: 3px; }

/* ============================================================
   BRAND / PARTNER STRIP
   ============================================================ */
.brands-section {
  background: var(--white);
  border-radius: var(--radius);
  margin: 0 15px 30px;
  padding: 28px 40px;
  box-shadow: var(--shadow);
}
.brands-inner {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
}
.brand-item {
  font-size: 15px;
  font-weight: var(--fw-bold);
  color: var(--text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
}
.brand-item:hover { color: var(--primary); }

/* ============================================================
   SERVIZI
   ============================================================ */
.tj-service-section { background-color: var(--dark); border-radius: var(--radius); }
.service-item {
  background: var(--white);
  padding: 36px 28px 40px;
  border-radius: var(--radius);
  position: relative;
  transition: var(--transition);
  height: 100%;
}
.service-item:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-icon {
  width: 76px;
  height: 76px;
  background: linear-gradient(-45deg, rgba(30,138,138,0.25) 0%, rgba(30,138,138,0) 50%, rgba(30,138,138,0.25) 100%);
  border: 1px solid rgba(30,138,138,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-icon .material-symbols-outlined { color: var(--primary); font-size: 36px; }
.service-item:hover .service-icon { background: var(--primary); border-color: var(--primary); }
.service-item:hover .service-icon .material-symbols-outlined { color: var(--white); }
.service-item .title {
  font-size: 20px;
  font-weight: var(--fw-sbold);
  color: var(--dark);
  margin-bottom: 14px;
  max-width: 280px;
}
.service-item .desc { font-size: 15px; color: var(--text-body); line-height: 1.65; margin-bottom: 22px; }
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-bottom: 22px;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 8px;
}
.service-list li .material-symbols-outlined { color: var(--primary); font-size: 16px; margin-top: 2px; flex-shrink: 0; }

/* ============================================================
   ABOUT / CHI SIAMO
   ============================================================ */
.about-section { background: var(--white); }
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--primary-bg) 0%, var(--primary) 100%);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-img-placeholder .material-symbols-outlined { font-size: 90px; color: rgba(255,255,255,0.35); }
.about-badge {
  position: absolute;
  bottom: 28px;
  right: -16px;
  background: var(--white);
  border-radius: 12px;
  padding: 18px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  min-width: 140px;
}
.about-badge .badge-number { font-size: 42px; font-weight: var(--fw-bold); color: var(--primary); line-height: 1; }
.about-badge .badge-label { font-size: 13px; color: var(--text-body); margin-top: 4px; }
.about-content { padding-left: 20px; }
.about-feature-list { list-style: none; margin: 24px 0; padding: 0; }
.about-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
  color: var(--text-body);
}
.about-feature-list li .feature-icon {
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.about-feature-list li .feature-icon .material-symbols-outlined { color: var(--primary); font-size: 20px; }

/* ============================================================
   STATISTICHE / COUNTERS
   ============================================================ */
.stats-section {
  background: var(--dark);
  border-radius: var(--radius);
  margin: 0 15px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: rgba(255,255,255,0.08);
}
.stat-item {
  padding: 50px 30px;
  text-align: center;
  background: var(--dark);
  position: relative;
}
.stat-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-item:last-child::after { display: none; }
.stat-number {
  font-size: 58px;
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-number .suffix { color: var(--primary); }
.stat-label { font-size: 15px; color: var(--text-light); margin-top: 10px; }

/* ============================================================
   PAGHE (SERVIZIO BUSTE PAGA)
   ============================================================ */
.paghe-section {}
.paghe-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  height: 100%;
  border: 1px dashed var(--border);
  transition: var(--transition);
}
.paghe-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 32px rgba(30,138,138,0.12);
  transform: translateY(-4px);
}
.paghe-card .card-number {
  font-size: 64px;
  font-weight: var(--fw-bold);
  color: var(--primary-light);
  line-height: 0.9;
  margin-bottom: 20px;
  font-family: var(--ff-heading);
}
.paghe-card .card-title {
  font-size: 22px;
  font-weight: var(--fw-sbold);
  color: var(--dark);
  margin-bottom: 14px;
}
.paghe-card .card-desc { font-size: 15px; color: var(--text-body); line-height: 1.65; }

/* ============================================================
   PROCESSO / HOW IT WORKS
   ============================================================ */
.process-section { background: var(--bg-light); }
.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px dashed var(--border);
}
.process-step:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.step-number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--white);
  flex-shrink: 0;
}
.step-content .step-title { font-size: 19px; font-weight: var(--fw-sbold); color: var(--dark); margin-bottom: 8px; }
.step-content .step-desc { font-size: 15px; color: var(--text-body); line-height: 1.6; }

/* ============================================================
   TESTIMONIANZE
   ============================================================ */
.testimonials-section { background: var(--dark); border-radius: var(--radius); }
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 30px;
  height: 100%;
  transition: var(--transition);
}
.testimonial-card:hover {
  background: rgba(30,138,138,0.15);
  border-color: rgba(30,138,138,0.35);
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.stars .material-symbols-outlined { color: #f5c542; font-size: 20px; font-variation-settings: 'FILL' 1; }
.testimonial-text {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: var(--fw-bold);
  color: var(--white);
  flex-shrink: 0;
}
.author-info .name { font-size: 16px; font-weight: var(--fw-sbold); color: var(--white); }
.author-info .role { font-size: 13px; color: var(--text-light); margin-top: 2px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { background: var(--white); }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--primary); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 16px;
  font-weight: var(--fw-sbold);
  color: var(--dark);
  gap: 16px;
  user-select: none;
}
.faq-question .faq-icon { color: var(--primary); flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #156868 100%);
  border-radius: var(--radius);
  margin: 30px 15px;
  padding: 70px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.cta-section .cta-title {
  font-size: 44px;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cta-section .cta-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 34px;
  position: relative;
  z-index: 1;
}
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-btns .tj-primary-btn.btn-white {
  background: var(--white);
}
.cta-btns .tj-primary-btn.btn-white .btn-text { color: var(--primary); }
.cta-btns .tj-primary-btn.btn-white .btn-icon { background: var(--primary); }
.cta-btns .tj-primary-btn.btn-white .btn-icon .material-symbols-outlined { color: var(--white); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-section {
  background-color: var(--dark);
  border-radius: var(--radius);
  margin: 0 15px 20px;
  padding: 70px 0 0;
}
.footer-brand { margin-bottom: 24px; }
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.footer-logo .logo-icon { width: 48px; height: 48px; }
.footer-desc { font-size: 15px; color: var(--text-light); line-height: 1.7; max-width: 280px; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
  font-size: 16px;
  text-decoration: none;
}
.social-btn .material-symbols-outlined { font-size: 18px; }
.social-btn:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.footer-widget-title {
  font-size: 17px;
  font-weight: var(--fw-sbold);
  color: var(--white);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links li a {
  font-size: 14px;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.footer-links li a .material-symbols-outlined { font-size: 14px; color: var(--primary); }
.footer-links li a:hover { color: var(--primary); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-contact-item .c-icon {
  width: 38px;
  height: 38px;
  background: rgba(30,138,138,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.footer-contact-item .c-icon .material-symbols-outlined { color: var(--primary); font-size: 20px; }
.footer-contact-item .c-text { flex: 1; min-width: 0; font-size: 14px; color: var(--text-light); line-height: 1.6; white-space: normal; word-break: break-word; }
.footer-contact-item .c-text a { color: var(--text-light); white-space: nowrap; }
.footer-contact-item .c-text a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copyright { font-size: 14px; color: var(--text-light); }
.footer-copyright a { color: var(--primary); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: var(--text-light); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ============================================================
   PAGE HEADER (INTERNO)
   ============================================================ */
.page-header {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%);
  border-radius: var(--radius);
  margin: 0 15px 30px;
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.12;
  filter: blur(40px);
}
.page-header .breadcrumb-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.page-header .breadcrumb-wrap a { font-size: 14px; color: var(--text-light); }
.page-header .breadcrumb-wrap a:hover { color: var(--primary); }
.page-header .breadcrumb-wrap span { font-size: 14px; color: rgba(255,255,255,0.3); }
.page-header .breadcrumb-wrap .current { font-size: 14px; color: var(--primary); }
.page-title {
  font-size: 52px;
  font-weight: var(--fw-bold);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
}
.page-title span { color: var(--primary); }
.page-subtitle { font-size: 17px; color: var(--text-light); max-width: 580px; line-height: 1.6; }

/* ============================================================
   FORM CONTATTI
   ============================================================ */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 50px 44px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-label { display: block; font-size: 14px; font-weight: var(--fw-sbold); color: var(--dark); margin-bottom: 8px; }
.field-error { display: block; font-size: 13px; color: #d32f2f; margin-top: 5px; min-height: 18px; }
.form-check-group { display: flex; align-items: flex-start; gap: 10px; }
.form-check-group input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
.form-check-group label { font-size: 14px; color: var(--text-body); cursor: pointer; line-height: 1.5; }
.form-check-group label a { color: var(--primary); }
.form-control {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  font-family: var(--ff-body);
  color: var(--dark);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}
.form-control:focus { border-color: var(--primary); background: var(--white); box-shadow: 0 0 0 3px rgba(30,138,138,0.1); }
.form-control::placeholder { color: var(--text-light); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='%23364e52'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.contact-info-card {
  background: var(--dark);
  border-radius: var(--radius);
  padding: 40px 36px;
  height: 100%;
}
.contact-info-card .info-title { font-size: 24px; font-weight: var(--fw-bold); color: var(--white); margin-bottom: 8px; }
.contact-info-card .info-desc { font-size: 15px; color: var(--text-light); margin-bottom: 36px; }
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.contact-detail-item:last-child { border-bottom: none; }
.detail-icon {
  width: 46px;
  height: 46px;
  background: rgba(30,138,138,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-icon .material-symbols-outlined { color: var(--primary); font-size: 24px; }
.detail-info .label { font-size: 12px; font-weight: var(--fw-bold); color: var(--primary); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
.detail-info .value { font-size: 15px; color: var(--white); }
.detail-info .value a { color: var(--white); }
.detail-info .value a:hover { color: var(--primary); }

/* ============================================================
   PRIVACY / COOKIE PAGE
   ============================================================ */
.legal-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 60px 70px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 26px;
  font-weight: var(--fw-bold);
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-light);
}
.legal-content h3 { font-size: 19px; font-weight: var(--fw-sbold); color: var(--dark); margin-top: 26px; margin-bottom: 10px; }
.legal-content p { font-size: 15px; color: var(--text-body); line-height: 1.8; margin-bottom: 14px; }
.legal-content ul { padding-left: 20px; margin-bottom: 14px; }
.legal-content ul li { font-size: 15px; color: var(--text-body); line-height: 1.7; margin-bottom: 6px; }
.legal-content .legal-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-light);
  border-radius: 6px;
  padding: 8px 14px;
  font-size: 14px;
  color: var(--text-body);
  margin-bottom: 30px;
  font-weight: var(--fw-medium);
}
.legal-content .legal-date .material-symbols-outlined { font-size: 18px; color: var(--primary); }

/* Tabella cookie */
.cookie-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; }
.cookie-table th {
  background: var(--dark);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-weight: var(--fw-sbold);
}
.cookie-table td { padding: 11px 16px; border-bottom: 1px solid var(--border); color: var(--text-body); }
.cookie-table tr:nth-child(even) td { background: var(--bg-light); }
.cookie-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: var(--fw-sbold);
}
.cookie-badge.essential { background: rgba(30,138,138,0.12); color: var(--primary); }
.cookie-badge.analytics  { background: rgba(245,124,0,0.12); color: #f57c00; }
.cookie-badge.marketing  { background: rgba(100,100,100,0.12); color: #555; }

/* ============================================================
   COOKIE BANNER (GDPR)
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: var(--dark);
  border-top: 2px solid var(--primary);
  padding: 24px 30px;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.3);
  display: none;
}
#cookie-banner.show { display: block; animation: slideUpBanner 0.4s ease; }
@keyframes slideUpBanner {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 280px; }
.cookie-banner-text .cookie-title {
  font-size: 17px;
  font-weight: var(--fw-bold);
  color: var(--white);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-banner-text .cookie-title .material-symbols-outlined { color: var(--primary); font-size: 20px; }
.cookie-banner-text .cookie-desc { font-size: 14px; color: var(--text-light); line-height: 1.5; }
.cookie-banner-text .cookie-desc a { color: var(--primary); text-decoration: underline; }
.cookie-banner-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cookie-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: var(--fw-sbold);
  font-family: var(--ff-body);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.cookie-btn.accept { background: var(--primary); color: var(--white); }
.cookie-btn.accept:hover { background: #167070; }
.cookie-btn.reject { background: rgba(255,255,255,0.08); color: var(--text-light); border: 1px solid rgba(255,255,255,0.15); }
.cookie-btn.reject:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.cookie-btn.manage { background: transparent; color: var(--primary); border: 1px solid var(--primary); }
.cookie-btn.manage:hover { background: var(--primary); color: var(--white); }

/* Cookie preferences modal */
#cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(12,30,33,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#cookie-modal.show { display: flex; }
.cookie-modal-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.cookie-modal-box .modal-title {
  font-size: 22px;
  font-weight: var(--fw-bold);
  color: var(--dark);
  margin-bottom: 8px;
}
.cookie-modal-box .modal-desc { font-size: 14px; color: var(--text-body); margin-bottom: 28px; }
.cookie-toggle-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cookie-toggle-row:last-of-type { border-bottom: none; }
.cookie-toggle-info .toggle-label { font-size: 15px; font-weight: var(--fw-sbold); color: var(--dark); margin-bottom: 4px; }
.cookie-toggle-info .toggle-desc { font-size: 13px; color: var(--text-body); }
/* Toggle switch */
.toggle-switch { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; margin-top: 2px; }
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--border);
  border-radius: 26px;
  transition: 0.3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: 0.3s;
}
.toggle-switch input:checked + .toggle-slider { background: var(--primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-switch input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }
.cookie-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(30,138,138,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#back-to-top:hover { background: var(--dark); transform: translateY(-3px); }
#back-to-top .material-symbols-outlined { font-size: 22px; }

/* ============================================================
   PRELOADER
   ============================================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-logo { display: flex; align-items: center; gap: 12px; }
.preloader-logo .logo-icon { width: 56px; height: 56px; font-size: 32px; }
.preloader-logo .brand { font-size: 28px; font-weight: var(--fw-bold); color: var(--white); }
.preloader-bar {
  width: 160px;
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.preloader-bar-inner {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  animation: loadBar 1.2s ease-in-out forwards;
}
@keyframes loadBar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   ANIMAZIONI (AOS-like semplici)
   ============================================================ */
[data-anim] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-anim].animated {
  opacity: 1;
  transform: translateY(0);
}
[data-anim="left"]  { transform: translateX(-40px); }
[data-anim="right"] { transform: translateX(40px); }
[data-anim="left"].animated, [data-anim="right"].animated { transform: translateX(0); }
[data-anim-delay="100"] { transition-delay: 0.1s; }
[data-anim-delay="200"] { transition-delay: 0.2s; }
[data-anim-delay="300"] { transition-delay: 0.3s; }
[data-anim-delay="400"] { transition-delay: 0.4s; }
[data-anim-delay="500"] { transition-delay: 0.5s; }
[data-anim-delay="600"] { transition-delay: 0.6s; }

/* ============================================================
   GRID BOOTSTRAP-LIKE
   ============================================================ */
.container { max-width: 1260px; margin: 0 auto; padding: 0 30px; width: 100%; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { padding: 0 15px; flex: 1; }
.col-1  { width: calc(1/12 * 100%); padding: 0 15px; }
.col-2  { width: calc(2/12 * 100%); padding: 0 15px; }
.col-3  { width: 25%; padding: 0 15px; }
.col-4  { width: 33.333%; padding: 0 15px; }
.col-5  { width: calc(5/12 * 100%); padding: 0 15px; }
.col-6  { width: 50%; padding: 0 15px; }
.col-7  { width: calc(7/12 * 100%); padding: 0 15px; }
.col-8  { width: 66.666%; padding: 0 15px; }
.col-9  { width: 75%; padding: 0 15px; }
.col-10 { width: calc(10/12 * 100%); padding: 0 15px; }
.col-12 { width: 100%; padding: 0 15px; }
.g-20 { gap: 20px; }
.g-30 { gap: 30px; }
.gy-30 { row-gap: 30px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1199px) {
  .banner-title { font-size: 52px; }
  .section-title { font-size: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; }
  .stat-item::after { display: none; }
  .col-4 { width: 50%; }
  .col-3 { width: 50%; }
  .gy-30 .col-4, .gy-30 .col-3 { margin-bottom: 0; }
}
@media (max-width: 991px) {
  .section-gap { padding: 70px 0; }
  .mainmenu { display: none; }
  .menu-toggle { display: flex; }
  .header-top-inner .header-info { display: none; }
  .banner-left-box { width: 100%; padding: 60px 30px; }
  .banner-right-box { width: 100%; min-height: 360px; }
  .banner-title { font-size: 44px; }
  .page-title { font-size: 40px; }
  .cta-section { padding: 50px 30px; }
  .legal-content { padding: 40px 30px; }
  .contact-form-wrap { padding: 36px 28px; }
  .about-badge { right: 0; }
  .about-content { padding-left: 0; margin-top: 30px; }
  .col-6 { width: 100%; }
  .col-7 { width: 100%; }
  .col-5 { width: 100%; }
  .col-8 { width: 100%; }
  .col-4 { width: 100%; }
  .col-3 { width: 50%; }
  .col-2 { width: 50%; }
}
@media (max-width: 767px) {
  .section-gap { padding: 56px 0; }
  .section-title { font-size: 34px; }
  .banner-title { font-size: 36px; }
  .page-title { font-size: 32px; }
  .stat-number { font-size: 46px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .cta-section .cta-title { font-size: 30px; }
  .col-3 { width: 100%; }
  .col-2 { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 575px) {
  .container { padding: 0 16px; }
  .header-top { margin: 0 8px 10px; padding: 0 10px; }
  .header-area { margin: 0 8px; }
  .banner-title { font-size: 30px; }
  .page-header { padding: 60px 24px; margin: 0 8px 20px; }
  .cta-section { margin: 20px 8px; }
  .footer-section { margin: 0 8px 16px; }
  .stats-section { margin: 0 8px; }
  .tj-banner-section { padding: 0 8px; }
  .brands-section { margin: 0 8px 20px; }
  .banner-left-box { padding: 48px 20px; }
}
