/* ============================================================
   MOSSUCCA TRASPORTI - Professional Logistics Website
   Clean, Modern Corporate Theme
   Inspired by italtrans.com design language
   ============================================================ */

/* ============================================================
   0. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Brand Colors */
  --color-primary: #c41230;
  --color-primary-hover: #a60f28;
  --color-primary-light: rgba(196, 18, 48, 0.08);
  --color-secondary: #0066b3;
  --color-secondary-light: rgba(0, 102, 179, 0.08);

  /* Navy / Dark */
  --color-navy: #1a2332;
  --color-navy-alt: #151d29;

  /* Neutrals */
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-light: #f7f8fc;
  --color-bg-gray: #edf2f7;
  --color-heading: #1a2332;
  --color-text: #4a5568;
  --color-text-muted: #718096;
  --color-text-light: #a0aec0;
  --color-text-white: #ffffff;
  --color-text-white-muted: rgba(255, 255, 255, 0.6);

  /* Borders */
  --color-border: #e2e8f0;
  --color-border-light: #edf2f7;
  --color-border-dark: rgba(255, 255, 255, 0.1);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-header: 0 2px 20px rgba(0, 0, 0, 0.06);

  /* Typography - Poppins (matching italtrans.com) */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.9375rem;
  --font-size-sm: 1.0625rem;
  --font-size-base: 1.25rem;
  --font-size-md: 1.5rem;
  --font-size-lg: 1.625rem;
  --font-size-xl: 1.875rem;
  --font-size-2xl: 2.5rem;
  --font-size-3xl: 3.25rem;
  --font-size-4xl: 3.75rem;
  --font-size-5xl: 4.5rem;
  --line-height-body: 1.7;
  --line-height-heading: 1.2;

  /* Spacing */
  --section-padding: 110px;
  --section-padding-sm: 70px;
  --section-padding-lg: 140px;
  --container-max: 1400px;
  --gutter: 2rem;
  --topbar-height: 0px;
  --header-height: 90px;
  --header-height-scrolled: 70px;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-slide: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


/* ============================================================
   1. RESET & BASE STYLES
   ============================================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--color-heading);
  font-weight: 600;
  line-height: var(--line-height-heading);
}

p {
  margin-bottom: 1rem;
}

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

strong {
  font-weight: 600;
}


/* ============================================================
   2. UTILITIES
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.highlight {
  color: var(--color-primary);
}

.lead {
  font-size: var(--font-size-md);
  line-height: 1.8;
  color: var(--color-text);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-center {
  text-align: center;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-secondary);
}


/* ============================================================
   3. LAYOUT - CONTAINER & SECTIONS
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section {
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
}

.section--sm {
  padding-top: var(--section-padding-sm);
  padding-bottom: var(--section-padding-sm);
}

.section--lg {
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
}

.section--light {
  background-color: var(--color-bg-light);
}

.section--gray {
  background-color: var(--color-bg-gray);
}

.section--fullwidth {
  padding: 0;
  margin-top: 100px;
  margin-bottom: 100px;
}

.section--fullwidth:first-of-type {
  margin-top: 0;
}

.section--fullwidth + .section--fullwidth {
  margin-top: 0;
}

.section--dark {
  background-color: var(--color-navy);
  color: var(--color-text-white);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark h5,
.section--dark h6 {
  color: var(--color-text-white);
}

.section--dark p {
  color: var(--color-text-white-muted);
}


/* ============================================================
   4. SECTION HEADERS & LABELS
   ============================================================ */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header--center {
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.section__label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section--dark .section__label {
  color: rgba(255, 255, 255, 0.5);
}

.section__title {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 1.25rem;
  line-height: var(--line-height-heading);
}

.section--dark .section__title {
  color: var(--color-text-white);
}

.section__description {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 600px;
}

.section-header--center .section__description {
  margin-left: auto;
  margin-right: auto;
}

.section--dark .section__description {
  color: var(--color-text-white-muted);
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast),
              transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

/* Primary Button */
.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-color: var(--color-primary);
}

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

/* Outline Button */
.btn--outline {
  background-color: transparent;
  color: var(--color-heading);
  border-color: var(--color-heading);
}

.btn--outline:hover {
  background-color: var(--color-heading);
  color: var(--color-text-white);
}

/* Outline on dark backgrounds */
.hero .btn--outline,
.cta-section .btn--outline,
.page-hero .btn--outline {
  color: var(--color-text-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero .btn--outline:hover,
.cta-section .btn--outline:hover,
.page-hero .btn--outline:hover {
  background-color: var(--color-text-white);
  border-color: var(--color-text-white);
  color: var(--color-heading);
}

/* Secondary Button */
.btn--secondary {
  background-color: var(--color-secondary);
  color: var(--color-text-white);
  border-color: var(--color-secondary);
}

.btn--secondary:hover {
  background-color: #005a9e;
  border-color: #005a9e;
  color: var(--color-text-white);
}

/* White Button */
.btn--white {
  background-color: var(--color-text-white);
  color: var(--color-heading);
  border-color: var(--color-text-white);
}

.btn--white:hover {
  background-color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.9);
  color: var(--color-heading);
}

/* Button Sizes */
.btn--lg {
  padding: 0.8rem 2rem;
  font-size: 0.875rem;
}

.btn--sm {
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
}

.btn--full {
  width: 100%;
}

/* Button Icon */
.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn__icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}


/* ============================================================
   6. TOP BAR & HEADER & NAVIGATION
   ============================================================ */

/* Top Bar */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: var(--topbar-height);
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  transition: transform var(--transition-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.topbar__left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.topbar__item:hover {
  color: var(--color-white);
}

.topbar__item svg {
  flex-shrink: 0;
  stroke: currentColor;
}

.topbar__sep {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 0.25rem;
}

.topbar__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition-fast);
}

.topbar__social:hover {
  color: var(--color-white);
}

/* Hide topbar on scroll */
.topbar--hidden {
  transform: translateY(-100%);
}

/* Header */
.header {
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--color-white);
  transition: background-color var(--transition-base),
              height var(--transition-base),
              box-shadow var(--transition-base),
              transform var(--transition-base),
              top var(--transition-base);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Transparent Header (on hero pages) */
.header--transparent {
  background-color: transparent;
}

.header--transparent .nav__link {
  color: var(--color-text-white);
}

.header--transparent .nav__link:hover,
.header--transparent .nav__link.active {
  color: rgba(255, 255, 255, 0.7);
}

.header--transparent .hamburger span {
  background-color: var(--color-text-white);
}

/* Scrolled Header */
.header--scrolled {
  background-color: var(--color-white);
  height: var(--header-height-scrolled);
  box-shadow: var(--shadow-header);
  top: 0;
}

.header--scrolled .nav__link {
  color: var(--color-heading);
}

.header--scrolled .nav__link:hover,
.header--scrolled .nav__link.active {
  color: var(--color-primary);
}

.header--scrolled .hamburger span {
  background-color: var(--color-heading);
}

/* Hidden Header (scroll down) */
.header--hidden {
  transform: translateY(-100%);
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.logo__img {
  height: 52px;
  width: auto;
  transition: height var(--transition-base);
}

.header--scrolled .logo__img {
  height: 42px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__item {
  position: relative;
}

.nav__link {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--color-heading);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav__link:hover,
.nav__link.active {
  color: var(--color-primary);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast),
              visibility var(--transition-fast),
              transform var(--transition-fast);
  pointer-events: none;
}

.nav__item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.dropdown__link {
  display: block;
  padding: 0.5rem 1.25rem;
  font-size: var(--font-size-sm);
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
  transition: color var(--transition-fast),
              background-color var(--transition-fast);
}

.dropdown__link:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-light);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  gap: 6px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-heading);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Side Toggle Button (3 linee desktop) */
.side-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  gap: 5px;
  margin-left: 1.75rem;
  padding: 4px;
}

.side-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-heading);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
}

.side-toggle:hover span {
  background-color: var(--color-primary);
}

/* Side Panel Overlay */
.side-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base),
              visibility var(--transition-base);
}

.side-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Side Panel */
.side-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 90vw;
  background-color: var(--color-navy);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.side-panel.active {
  transform: translateX(0);
}

.side-panel__header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1.5rem 2rem;
  flex-shrink: 0;
}

.side-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  transition: color var(--transition-fast),
              background-color var(--transition-fast);
}

.side-panel__close:hover {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.1);
}

.side-panel__close svg {
  width: 24px;
  height: 24px;
}

.side-panel__list {
  padding: 1rem 2rem 2rem;
  flex-grow: 1;
}

.side-panel__list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-panel__link {
  display: block;
  padding: 1.1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  transition: color var(--transition-fast),
              padding-left var(--transition-fast);
}

.side-panel__link:hover {
  color: var(--color-white);
  padding-left: 0.5rem;
}

.side-panel__footer {
  padding: 1.5rem 2rem 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.side-panel__socials {
  display: flex;
  gap: 0.75rem;
}

.side-panel__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  transition: background-color var(--transition-fast),
              color var(--transition-fast),
              border-color var(--transition-fast);
}

.side-panel__socials a:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.side-panel__socials a svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   7. MOBILE MENU
   ============================================================ */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base),
              visibility var(--transition-base);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 360px;
  max-width: 90vw;
  background-color: var(--color-white);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform var(--transition-slide);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

.mobile-menu__logo {
  height: 32px;
  width: auto;
}

.mobile-menu__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: var(--color-heading);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition-fast);
}

.mobile-menu__close:hover {
  background-color: var(--color-bg-light);
}

.mobile-menu__close svg {
  width: 24px;
  height: 24px;
}

.mobile-menu__list {
  padding: 1.5rem 0;
  flex-grow: 1;
}

.mobile-menu__item {
  border-bottom: 1px solid var(--color-border-light);
}

.mobile-menu__link {
  display: block;
  padding: 1rem var(--gutter);
  font-size: var(--font-size-base);
  font-weight: 500;
  color: var(--color-heading);
  transition: color var(--transition-fast),
              background-color var(--transition-fast);
}

.mobile-menu__link:hover,
.mobile-menu__link.active {
  color: var(--color-primary);
  background-color: var(--color-bg-light);
}

.mobile-menu__footer {
  padding: 1.5rem var(--gutter);
  border-top: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

.mobile-menu__contact {
  margin-bottom: 1.25rem;
}

.mobile-menu__contact p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.mobile-menu__contact a {
  color: var(--color-heading);
  font-weight: 500;
}

.mobile-menu__contact a:hover {
  color: var(--color-primary);
}

.mobile-menu__socials {
  display: flex;
  gap: 0.75rem;
}

.mobile-menu__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-bg-light);
  color: var(--color-text-muted);
  transition: background-color var(--transition-fast),
              color var(--transition-fast);
}

.mobile-menu__socials a:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.mobile-menu__socials a svg {
  width: 18px;
  height: 18px;
}


/* ============================================================
   8. HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(var(--topbar-height) + var(--header-height));
}

/* Hero Video Background */
.hero__video-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--video .hero__overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

/* Scroll Down Arrow */
.hero__scroll-down {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  animation: bounceDown 2s ease-in-out infinite;
  cursor: pointer;
}

.hero__scroll-down svg {
  width: 32px;
  height: 32px;
}

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(12px); }
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.55) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 840px;
  padding: 0 var(--gutter);
}

.hero__label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-5xl);
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Dots (Slider Indicators) */
.hero__dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast),
              transform var(--transition-fast);
}

.hero__dot.active {
  background-color: var(--color-text-white);
  transform: scale(1.3);
}

.hero__dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

/* Hero Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  right: var(--gutter);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll-text {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-text-white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    top: -100%;
  }
  50% {
    top: 0;
  }
  100% {
    top: 100%;
  }
}


/* ============================================================
   9. PAGE HERO (Inner Pages)
   ============================================================ */
.page-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  max-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: calc(var(--topbar-height) + var(--header-height));
}

.page-hero__bg {
  position: absolute;
  inset: -10% 0;
  z-index: 1;
}

.page-hero__bg img,
.page-hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  will-change: transform;
}

/* Panoramic hero: shorter height to show full-width images without cropping */
.page-hero--panoramic {
  height: 35vh;
  min-height: 280px;
  max-height: 400px;
  padding-top: calc(var(--topbar-height) + var(--header-height));
}

.page-hero--panoramic .page-hero__bg {
  inset: -15% 0;
}

.page-hero--panoramic .page-hero__bg img {
  object-fit: contain;
  object-position: center center;
  background-color: #1a2332;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  padding: 0 var(--gutter);
}

.page-hero__label {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1rem;
}

.page-hero__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-text-white);
  line-height: var(--line-height-heading);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.page-hero__description {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Page Hero - Bottom Left variant */
.page-hero--video {
  height: 75vh;
  min-height: 500px;
  max-height: 750px;
}

.page-hero--bottom-left {
  align-items: flex-end;
  justify-content: flex-start;
}

.page-hero--bottom-left .page-hero__content {
  text-align: left;
  max-width: none;
  padding: 0 0 3.5rem 4rem;
}

.page-hero--bottom-left .page-hero__title {
  font-size: var(--font-size-5xl);
  margin-bottom: 0;
}

.page-hero--bottom-left .page-hero__label {
  color: rgba(255, 255, 255, 0.6);
}

.page-hero--bottom-left .page-hero__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

/* Intro Text Section */
.intro-section {
  padding: var(--section-padding) 0;
}

.intro-section__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-section__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-heading);
  line-height: var(--line-height-heading);
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}

.intro-section__text {
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: 1.85;
  max-width: 780px;
  margin: 0 auto;
}

.intro-section__text + .intro-section__text {
  margin-top: 1.25rem;
}

/* Intro as page opener (no hero image above) */
.intro-section--hero {
  padding-top: calc(var(--topbar-height) + var(--header-height) + var(--section-padding));
}

/* Reduce gap between intro and the next fullwidth section */
.intro-section + .section--fullwidth {
  margin-top: 0;
}

.intro-section {
  padding-bottom: var(--section-padding-sm);
}


/* ============================================================
   10. CONTENT BLOCK (Two-Column Image + Text)
   ============================================================ */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  overflow: hidden;
}

.content-block--reverse {
  grid-template-columns: 1fr 1fr;
}

.content-block--reverse .content-block__image {
  order: 2;
}

.content-block--reverse .content-block__text {
  order: 1;
}

.content-block__image {
  position: relative;
  overflow: hidden;
  min-height: 700px;
  will-change: clip-path;
}

.content-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  will-change: transform;
}

.content-block__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 6.5rem;
}

.content-block__text .section__label {
  margin-bottom: 0.85rem;
}

.content-block__text .section__title {
  font-size: var(--font-size-3xl);
  margin-bottom: 1.5rem;
}

.content-block__text .section__description {
  max-width: none;
}

.content-block__text p {
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.content-block__text .btn {
  margin-top: 2.25rem;
  align-self: flex-start;
}

/* Content Block Badge */
.content-block__badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  z-index: 2;
  text-align: center;
}

.content-block__badge-value {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.content-block__badge-label {
  display: block;
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Content Block Stats Card */
.content-block__stats-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
  display: flex;
  gap: 2rem;
}

.content-block__stat {
  text-align: center;
  flex: 1;
}

.content-block__stat .value {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.content-block__stat .label {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}


/* ============================================================
   11. FEATURE CARDS
   ============================================================ */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Feature Card */
.feature-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card--bordered {
  border: 1px solid var(--color-border);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.feature-card__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
  color: var(--color-primary);
}

.feature-card__title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.feature-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.feature-card__percent {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.75rem;
}


/* ============================================================
   12. STATS BAR
   ============================================================ */
.stats-bar {
  background-color: var(--color-navy);
  padding: 5rem 0;
  margin-top: 100px;
  margin-bottom: 100px;
}

.stats-bar--accent {
  background-color: var(--color-navy);
}

.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Five-item variant (Home) */
.stats-bar__grid--5 {
  grid-template-columns: repeat(5, 1fr);
}

/* Six-item variant (Home): equal columns so the row stays centred */
.stats-bar__grid--6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (min-width: 1025px) {
  .stats-bar__grid--6 .stats-bar__number {
    font-size: var(--font-size-2xl);
  }
}

.stats-bar__item {
  text-align: center;
  position: relative;
}

.stats-bar__item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.12);
}

.stats-bar__number {
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-text-white);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
  display: block;
  min-height: 1em;
}

.stats-bar__label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}


/* ============================================================
   13. STATS SHOWCASE
   ============================================================ */
.stats-showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stats-showcase__item {
  text-align: center;
}

.stat-showcase__value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.15rem;
  margin-bottom: 0.5rem;
}

.stats-showcase__number {
  font-family: var(--font-primary);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stats-showcase__suffix {
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stats-showcase__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}

.section--dark .stats-showcase__number {
  color: var(--color-text-white);
}

.section--dark .stats-showcase__suffix {
  color: var(--color-text-white);
}

.section--dark .stats-showcase__label {
  color: var(--color-text-white-muted);
}


/* ============================================================
   14. PILLARS
   ============================================================ */
.pillar-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 2rem;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.pillar-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.pillar-item__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.pillar-item__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
  color: var(--color-primary);
}

.pillar-item h4 {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.pillar-item p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-body);
}


/* ============================================================
   14b. FEATURE LIST (used in transport service blocks)
   ============================================================ */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.feature-list__item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 0.15rem;
}

.feature-list__item h4 {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.25rem;
}

.feature-list__item p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
  line-height: 1.65;
}


/* ============================================================
   15. LOCATION DETAILS
   ============================================================ */
.location-detail {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.location-detail:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.location-detail__header {
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.location-detail__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.location-detail__city {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-heading);
}

.location-detail__region {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

.location-detail__body {
  padding: 1.75rem 2rem;
}

.location-detail__info {
  margin-bottom: 1.5rem;
}

.location-detail__address {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.7;
}

.location-detail__address p {
  margin-bottom: 0.25rem;
}

.location-detail__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border-light);
}

.location-stat {
  text-align: center;
  padding: 0.75rem;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
}

.location-stat__value {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.location-stat__label {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hub Cards — Sedi Logistica */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hub-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.hub-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hub-card__inner {
  padding: 2rem 2.25rem;
}

.hub-card__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  background-color: var(--color-primary);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.hub-card__city {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
}

.hub-card__region {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.hub-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.hub-card__address {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  border-left: 2px solid var(--color-primary);
}

.hub-card__stats {
  display: flex;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border-light);
}

.hub-card__stat {
  flex: 1;
  text-align: center;
  padding: 0.6rem 0.25rem;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
}

.hub-card__stat-value {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.hub-card__stat-label {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Sede Centrale — card grande */
.hub-card--main {
  margin-bottom: 0;
  border: 2px solid var(--color-primary);
  background: linear-gradient(135deg, var(--color-white) 0%, #fdf2f4 100%);
}

.hub-card--main .hub-card__inner {
  padding: 2.5rem 3rem;
}

.hub-card--main .hub-card__city {
  font-size: var(--font-size-4xl);
}

.hub-card--main .hub-card__desc {
  font-size: var(--font-size-base);
  max-width: 700px;
}

.hub-card--main .hub-card__stat-value {
  font-size: var(--font-size-xl);
}

.hub-card--main .hub-card__stats {
  max-width: 500px;
}


/* ============================================================
   16. CONTACT CARDS
   ============================================================ */
.contact-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  text-align: center;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  margin: 0 auto 1.25rem;
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
  color: var(--color-primary);
}

.contact-card__title {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

.contact-card a {
  color: var(--color-primary);
  font-weight: 500;
}

.contact-card a:hover {
  color: var(--color-primary-hover);
}


/* ============================================================
   17. CAREERS
   ============================================================ */
.careers-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.careers-stat {
  text-align: center;
  padding: 2rem 1.5rem;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.careers-stat__value {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.careers-stat__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  font-weight: 500;
}


/* ============================================================
   18. JOB CARDS
   ============================================================ */
.job-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-card__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.job-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.job-card__icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary);
  color: var(--color-primary);
}

.job-card__badge {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-secondary-light);
  color: var(--color-secondary);
}

.job-card__title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.75rem;
}

.job-card__description {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.job-card__requirements {
  margin-bottom: 1.25rem;
}

.job-card__requirements ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.job-card__requirements li {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.6;
}

.job-card__requirements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-primary);
}

.job-card__locations {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.job-card__tag {
  display: inline-block;
  font-size: var(--font-size-xs);
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background-color: var(--color-bg-light);
  color: var(--color-text-muted);
}

.job-card .btn {
  margin-top: 1.25rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}


/* ============================================================
   19. CLIENTS SECTION (I clienti del gruppo)
   ============================================================ */
.clients-section {
  background-color: var(--color-bg-light);
  padding-top: var(--section-padding-lg);
  padding-bottom: var(--section-padding-lg);
}

.clients-section > .container {
  max-width: 100%;
  padding: 0 2rem;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem;
}

.client-card {
  text-align: center;
  padding: 4rem 2.25rem;
  border-radius: var(--radius-xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.client-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-primary);
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.client-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.client-card:hover::before {
  transform: scaleX(1);
}

.client-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(196, 18, 48, 0.08) 0%, rgba(196, 18, 48, 0.15) 100%);
}

.client-card__icon svg {
  width: 50px;
  height: 50px;
  stroke: var(--color-primary);
  stroke-width: 1.5;
}

.client-card__title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: 1.25rem;
}

.client-card__text {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.75;
}


/* ============================================================
   20. NEWS SECTION
   ============================================================ */
.news-section {
  background-color: var(--color-bg);
}

.news-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.news-section__title-wrap .section__label {
  margin-bottom: 0.5rem;
}

.news-section__title-wrap .section__title {
  margin-bottom: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.news-card {
  border-radius: var(--radius-xl);
  background-color: var(--color-white);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.news-card__image {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.news-card__category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
}

.news-card__content {
  padding: 2rem 2rem 2.25rem;
}

.news-card__date {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}

.news-card__title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.875rem;
}

.news-card__title a {
  color: var(--color-heading);
  transition: color var(--transition-fast);
}

.news-card__title a:hover {
  color: var(--color-primary);
}

.news-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Documents and badges inside news cards: show the whole image */
.news-card__image--contain {
  background-color: var(--color-white);
}

.news-card__image--contain img {
  object-fit: contain;
  padding: 1rem;
}

.news-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.news-card__more::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.news-card__more:hover::after {
  transform: translateX(4px);
}

.news-archive__cta {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}


/* ============================================================
   21. CTA SECTION
   ============================================================ */
.cta-section {
  position: relative;
  padding: var(--section-padding-lg) 0;
  margin-top: 100px;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.cta-section__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 50, 0.92) 0%,
    rgba(26, 35, 50, 0.85) 100%
  );
}

.cta-section__content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-section__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-4xl);
  font-weight: 600;
  color: var(--color-text-white);
  line-height: var(--line-height-heading);
  margin-bottom: 1.25rem;
}

.cta-section__description {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.cta-section__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}


/* ============================================================
   20. FORMS
   ============================================================ */

/* Form Section Layout */
.form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.form-section__info {
  padding-right: 1rem;
}

.form-section__info .section__title {
  font-size: var(--font-size-2xl);
  margin-bottom: 1rem;
}

.form-section__info .section__description {
  margin-bottom: 2rem;
  max-width: none;
}

.form-section__features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.form-section__feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.form-section__feature svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  fill: var(--color-primary);
  color: var(--color-primary);
}

.form-section__feature span {
  font-size: var(--font-size-sm);
  color: var(--color-text);
  line-height: 1.6;
}

.form-section__contact {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.form-section__contact p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.form-section__contact a {
  color: var(--color-primary);
  font-weight: 600;
}

.form-section__contact a:hover {
  color: var(--color-primary-hover);
}

.form-section__form {
  /* contains the premium-form */
}

/* Premium Form */
.premium-form {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}

.premium-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.premium-form__group {
  position: relative;
}

.premium-form__group--full {
  grid-column: 1 / -1;
}

.premium-form__row .premium-form__group--full {
  grid-column: 1 / -1;
}

.premium-form__label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.premium-form__label--select {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.premium-form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-sm);
  color: var(--color-heading);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast);
}

.premium-form__input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
  background-color: var(--color-white);
}

.premium-form__input::placeholder {
  color: var(--color-text-light);
}

.premium-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-sm);
  color: var(--color-heading);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-height: 140px;
  resize: vertical;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast);
}

.premium-form__textarea:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
  background-color: var(--color-white);
}

.premium-form__textarea::placeholder {
  color: var(--color-text-light);
}

.premium-form__select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-sm);
  color: var(--color-heading);
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast),
              background-color var(--transition-fast);
}

.premium-form__select:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(0, 102, 179, 0.1);
  background-color: var(--color-white);
}

/* File Upload */
.premium-form__file-wrapper {
  position: relative;
}

.premium-form__file {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.premium-form__file-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
  background-color: var(--color-bg-light);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast),
              background-color var(--transition-fast);
  width: 100%;
  text-align: center;
  justify-content: center;
}

.premium-form__file-button:hover {
  border-color: var(--color-secondary);
  background-color: var(--color-bg-gray);
}

.premium-form__file-button svg {
  width: 18px;
  height: 18px;
  fill: var(--color-text-muted);
  color: var(--color-text-muted);
}

.premium-form__file-name {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

/* Checkbox */
.premium-form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.premium-form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  accent-color: var(--color-primary);
  cursor: pointer;
}

.premium-form__checkbox label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  cursor: pointer;
}

.premium-form__checkbox label a {
  color: var(--color-primary);
  font-weight: 500;
}

.premium-form__checkbox label a:hover {
  color: var(--color-primary-hover);
}

/* Submit */
.premium-form .btn.premium-form__submit {
  width: 100%;
  padding: 0.7rem 1.75rem !important;
  font-size: 0.8125rem !important;
  letter-spacing: 0.06em;
}

/* Form Validation States */
.is-invalid {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.08) !important;
}

.form__error {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  margin-top: 0.35rem;
  font-weight: 500;
}

.form__message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: 500;
  margin-top: 1.25rem;
}

.form__message--success {
  background-color: rgba(34, 197, 94, 0.08);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form__message--error {
  background-color: rgba(196, 18, 48, 0.06);
  color: var(--color-primary);
  border: 1px solid rgba(196, 18, 48, 0.15);
}

.form__file-name {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-top: 0.35rem;
}


/* ============================================================
   21. FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-navy);
  color: var(--color-text-white);
  padding-top: 5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  padding-bottom: 4rem;
}

.footer__brand {
  padding-right: 2rem;
}

.footer__logo {
  display: block;
  margin-bottom: 1.5rem;
}

.footer__logo img {
  height: 36px;
  width: auto;
}

.footer__tagline {
  font-size: var(--font-size-sm);
  color: var(--color-text-white-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer__address {
  font-size: var(--font-size-sm);
  color: var(--color-text-white-muted);
  line-height: 1.8;
}

.footer__address p {
  color: var(--color-text-white-muted);
}

.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-white-muted);
  transition: background-color var(--transition-fast),
              color var(--transition-fast);
}

.footer__social-link:hover {
  background-color: var(--color-primary);
  color: var(--color-text-white);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.footer__cert {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: var(--radius-md);
  padding: 0.375rem 0.625rem;
  transition: transform var(--transition-fast);
}

.footer__cert:hover {
  transform: translateY(-2px);
}

.footer__cert img {
  display: block;
  height: 52px;
  width: auto;
}

.footer__column {
  /* individual footer column */
}

.footer__column-title {
  font-size: var(--font-size-sm);
  font-weight: 700;
  color: var(--color-text-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer__links a {
  font-size: var(--font-size-sm);
  color: var(--color-text-white-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover {
  color: var(--color-text-white);
}

/* Footer Bottom Bar */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer__bottom p {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: var(--font-size-xs);
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-fast);
}

.footer__legal a:hover {
  color: var(--color-text-white-muted);
}

/* Powered by Paciolo */
.footer__legal a.footer__credit {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  transition: color var(--transition-base), border-color var(--transition-base),
    background var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.footer__credit-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  animation: footer-credit-twinkle 2.8s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer__credit-name {
  font-weight: 600;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #ff5a73 50%, #4da3ff 60%, #ffffff 70%, #ffffff 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.75;
  transition: opacity var(--transition-base);
}

.footer__legal a.footer__credit:hover,
.footer__legal a.footer__credit:focus-visible {
  color: rgba(255, 255, 255, 0.75);
  border-color: rgba(196, 18, 48, 0.5);
  background: rgba(196, 18, 48, 0.08);
  box-shadow: 0 0 18px rgba(196, 18, 48, 0.25);
  transform: translateY(-2px);
}

.footer__credit:hover .footer__credit-icon,
.footer__credit:focus-visible .footer__credit-icon {
  transform: rotate(180deg) scale(1.2);
}

.footer__credit:hover .footer__credit-name,
.footer__credit:focus-visible .footer__credit-name {
  opacity: 1;
  animation: footer-credit-shine 1.4s ease forwards;
}

@keyframes footer-credit-twinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; filter: drop-shadow(0 0 4px rgba(196, 18, 48, 0.8)); }
}

@keyframes footer-credit-shine {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .footer__credit-icon,
  .footer__credit:hover .footer__credit-name {
    animation: none;
  }
  .footer__legal a.footer__credit:hover {
    transform: none;
  }
}


/* ============================================================
   22. MAP SECTION
   ============================================================ */
.map-section {
  width: 100%;
  height: 450px;
  overflow: hidden;
  position: relative;
}

.map-section iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(20%);
}


/* ============================================================
   22b. VIDEO SHOWCASE
   ============================================================ */
.video-showcase {
  position: relative;
  width: 100%;
  min-height: 70vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Inline video variant */
.video-showcase--inline {
  cursor: default;
}

.video-showcase--inline video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.video-showcase__poster {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.video-showcase__poster img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-showcase:hover .video-showcase__poster img {
  transform: scale(1.03);
}

.video-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 35, 50, 0.4) 0%,
    rgba(26, 35, 50, 0.6) 50%,
    rgba(26, 35, 50, 0.7) 100%
  );
  z-index: 2;
}

.video-showcase__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
}

.video-showcase__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text-white);
  cursor: pointer;
  margin: 0 auto 2rem;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}

.video-showcase__play::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-showcase__play:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  transform: scale(1.1);
}

.video-showcase__play:hover::before {
  inset: -18px;
  border-color: rgba(196, 18, 48, 0.3);
}

.video-showcase__play svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
}

.video-showcase__title {
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-text-white);
  line-height: var(--line-height-heading);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.video-showcase__subtitle {
  font-size: var(--font-size-md);
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.video-showcase__player {
  position: absolute;
  inset: 0;
  z-index: 10;
  background-color: #000;
  display: none;
}

.video-showcase__player.is-active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-showcase__player iframe,
.video-showcase__player video {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-showcase__player-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 11;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: all var(--transition-base);
}

.video-showcase__player-close:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}


/* ============================================================
   22c. SERVICE BLOCK (Transport / About pages)
   ============================================================ */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  overflow: hidden;
}

.service-block--reverse {
  grid-template-columns: 1fr 1fr;
}

.service-block--reverse .service-block__image {
  order: 2;
}

.service-block--reverse .service-block__content {
  order: 1;
}

.service-block__image {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  will-change: clip-path;
}

.service-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  will-change: transform;
}

/* Documents, posters and badges: show the whole image above the stats box */
.service-block__image--contain {
  background-color: #fff;
}

.service-block__image--contain img {
  object-fit: contain;
  top: 2.5rem;
  left: 2.5rem;
  width: calc(100% - 5rem);
  height: calc(100% - 13rem);
}

.service-block__image--contain.service-block__image--no-stats img {
  height: calc(100% - 5rem);
  object-position: center top;
}

.service-block__stats {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  z-index: 3;
  display: flex;
  gap: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.service-block__stat {
  flex: 1;
  text-align: center;
  position: relative;
}

.service-block__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background-color: var(--color-border);
}

.service-block__stat-value {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.service-block__stat-label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-block__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 6rem;
  position: relative;
  overflow: hidden;
}

.service-block__number {
  position: absolute;
  top: -0.2em;
  right: -0.1em;
  font-family: var(--font-primary);
  font-size: clamp(10rem, 15vw, 18rem);
  font-weight: 800;
  color: rgba(0, 0, 0, 0.03);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.service-block--reverse .service-block__number {
  right: auto;
  left: -0.1em;
}

.service-block__content .section__label {
  position: relative;
  z-index: 1;
  margin-bottom: 0.85rem;
}

.service-block__content .section__title {
  position: relative;
  z-index: 1;
  font-size: var(--font-size-3xl);
  margin-bottom: 1.5rem;
}

.service-block__content p {
  position: relative;
  z-index: 1;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.service-block__content .feature-list {
  position: relative;
  z-index: 1;
}

.service-block__content .btn {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 1.5rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}


/* ============================================================
   23. ANIMATIONS & REVEAL
   ============================================================ */

/* GSAP Reveal Classes
   Initial state is set by JavaScript (gsap.set) so that
   content remains visible when JS is disabled or fails.
   The .js-ready class is added to <html> by main.js. */
html.js-ready .reveal,
html.js-ready .reveal-left,
html.js-ready .reveal-right,
html.js-ready .reveal-scale {
  opacity: 0;
}


/* ============================================================
   24. RESPONSIVE - TABLET (max-width: 1024px)
   ============================================================ */
@media (max-width: 1024px) {

  :root {
    --section-padding: 80px;
    --section-padding-sm: 56px;
    --section-padding-lg: 100px;
    --font-size-5xl: 3.5rem;
    --font-size-4xl: 3rem;
    --font-size-3xl: 2.5rem;
    --font-size-2xl: 2rem;
    --font-size-base: 1.125rem;
    --topbar-height: 0px;
  }

  .topbar {
    display: none;
  }

  .header {
    top: 0;
  }

  .section--fullwidth {
    margin-top: 70px;
    margin-bottom: 70px;
  }

  .stats-bar {
    margin-top: 70px;
    margin-bottom: 70px;
    padding: 4rem 0;
  }

  .cta-section {
    margin-top: 70px;
  }

  /* Video Showcase */
  .video-showcase {
    min-height: 50vh;
  }

  .video-showcase__title {
    font-size: var(--font-size-2xl);
  }

  .video-showcase__play {
    width: 80px;
    height: 80px;
  }

  .video-showcase__play svg {
    width: 28px;
    height: 28px;
  }

  .clients-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .client-card {
    padding: 2.5rem 1.5rem;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .news-grid .news-card:last-child {
    display: none;
  }

  .news-section__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  /* Header */
  .nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .side-toggle {
    display: none;
  }

  /* Hero */
  .hero__title {
    font-size: var(--font-size-4xl);
  }

  .hero__scroll {
    display: none;
  }

  /* Page Hero */
  .page-hero__title {
    font-size: var(--font-size-3xl);
  }

  .page-hero--bottom-left .page-hero__content {
    padding: 0 0 2.5rem 2.5rem;
  }

  .page-hero--bottom-left .page-hero__title {
    font-size: var(--font-size-3xl);
  }

  .page-hero--panoramic {
    height: 30vh;
    min-height: 220px;
    max-height: 320px;
  }

  /* Intro Section */
  .intro-section__title {
    font-size: var(--font-size-2xl);
  }

  /* Content Block */
  .content-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .content-block--reverse {
    grid-template-columns: 1fr;
  }

  .content-block--reverse .content-block__image {
    order: 1;
  }

  .content-block--reverse .content-block__text {
    order: 2;
  }

  .content-block__image {
    min-height: 450px;
  }

  .content-block__text {
    padding: 3.5rem 2.5rem;
  }

  /* Service Block */
  .service-block {
    grid-template-columns: 1fr;
  }

  .service-block--reverse {
    grid-template-columns: 1fr;
  }

  .service-block--reverse .service-block__image {
    order: 1;
  }

  .service-block--reverse .service-block__content {
    order: 2;
  }

  .service-block__image {
    min-height: 450px;
  }

  .service-block__content {
    padding: 3.5rem 2.5rem;
  }

  .service-block__number {
    font-size: 10rem;
  }

  .service-block--reverse .service-block__number {
    right: -0.1em;
    left: auto;
  }

  /* Card Grids */
  .card-grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Pillars */
  .pillar-list {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Feature List */
  .feature-list {
    grid-template-columns: 1fr;
  }

  /* Stats Bar */
  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 3rem;
  }

  .stats-bar__item:nth-child(2)::after {
    display: none;
  }

  .stats-bar__item::after {
    display: none;
  }

  /* Stats Showcase */
  .stats-showcase {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Careers */
  .careers-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Forms */
  .form-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-section__info {
    padding-right: 0;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .footer__brand {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  /* Section Headers */
  .section-header--center {
    max-width: 100%;
  }
}


/* ============================================================
   25. RESPONSIVE - MOBILE (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  :root {
    --section-padding: 64px;
    --section-padding-sm: 48px;
    --section-padding-lg: 80px;
    --font-size-5xl: 2.75rem;
    --font-size-4xl: 2.25rem;
    --font-size-3xl: 2rem;
    --font-size-2xl: 1.5rem;
    --font-size-xl: 1.375rem;
    --font-size-base: 1.0625rem;
    --font-size-md: 1.25rem;
    --gutter: 1.25rem;
  }

  .section--fullwidth {
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .stats-bar {
    margin-top: 50px;
    margin-bottom: 50px;
    padding: 3.5rem 0;
  }

  .cta-section {
    margin-top: 50px;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .client-card {
    padding: 2rem 1.25rem;
  }

  .client-card__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
  }

  .client-card__icon svg {
    width: 32px;
    height: 32px;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .news-grid .news-card:last-child {
    display: block;
  }

  .news-card__content {
    padding: 1.5rem;
  }

  /* Hero */
  .hero {
    min-height: 500px;
  }

  .hero__title {
    font-size: var(--font-size-3xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-base);
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero__dots {
    bottom: 1.5rem;
  }

  /* Page Hero */
  .page-hero {
    min-height: 320px;
  }

  .page-hero__title {
    font-size: var(--font-size-2xl);
  }

  .page-hero__description {
    font-size: var(--font-size-sm);
  }

  .page-hero--bottom-left .page-hero__content {
    padding: 0 0 2rem var(--gutter);
  }

  .page-hero--bottom-left .page-hero__title {
    font-size: var(--font-size-2xl);
  }

  .page-hero--panoramic {
    height: 25vh;
    min-height: 180px;
    max-height: 260px;
  }

  /* Content Block */
  .content-block__image {
    min-height: 320px;
  }

  .content-block__text {
    padding: 3rem var(--gutter);
  }

  .content-block__text .section__title {
    font-size: var(--font-size-2xl);
  }

  .content-block__badge {
    bottom: 1.25rem;
    left: 1.25rem;
    padding: 1rem 1.25rem;
  }

  .content-block__badge-value {
    font-size: var(--font-size-2xl);
  }

  .content-block__stats-card {
    flex-direction: column;
    gap: 1.25rem;
  }

  /* Service Block */
  .service-block__image {
    min-height: 320px;
  }

  .service-block__content {
    padding: 3rem var(--gutter);
  }

  .service-block__content .section__title {
    font-size: var(--font-size-2xl);
  }

  .service-block__stats {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    padding: 1rem;
  }

  .service-block__stat-value {
    font-size: var(--font-size-md);
  }

  .service-block__stat-label {
    font-size: 0.6875rem;
  }

  .service-block__number {
    font-size: 8rem;
  }

  /* Card Grids */
  .card-grid--3,
  .card-grid--4 {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Feature Cards */
  .feature-card {
    padding: 1.75rem;
  }

  /* Pillars */
  .pillar-list {
    grid-template-columns: 1fr;
  }

  /* Stats Bar */
  .stats-bar {
    padding: 2.5rem 0;
  }

  .stats-bar__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stats-bar__number {
    font-size: var(--font-size-3xl);
  }

  /* Stats Showcase */
  .stats-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Location Detail */
  .location-detail__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .location-detail__stats {
    grid-template-columns: 1fr;
  }

  /* Hub Cards */
  .hub-grid {
    grid-template-columns: 1fr;
  }

  .hub-card--main .hub-card__inner {
    padding: 2rem 1.75rem;
  }

  .hub-card--main .hub-card__city {
    font-size: var(--font-size-3xl);
  }

  /* Careers */
  .careers-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .careers-stat {
    padding: 1.5rem 1rem;
  }

  .careers-stat__value {
    font-size: var(--font-size-2xl);
  }

  /* CTA Section */
  .cta-section__title {
    font-size: var(--font-size-2xl);
  }

  .cta-section__buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-section__buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  /* Forms */
  .premium-form {
    padding: 1.75rem;
  }

  .premium-form__row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer {
    padding-top: 3.5rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
  }

  .footer__brand {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer__legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  /* Map */
  .map-section {
    height: 300px;
  }

  /* Section Headers */
  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-header--center {
    margin-bottom: 2.5rem;
  }

  .section__description {
    font-size: var(--font-size-base);
  }

  /* Buttons */
  .btn--lg {
    padding: 0.875rem 2.25rem;
  }
}


/* ============================================================
   26. RESPONSIVE - SMALL MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {

  .clients-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .client-card {
    padding: 2rem 1.5rem;
  }

  :root {
    --section-padding: 48px;
    --section-padding-sm: 36px;
    --section-padding-lg: 64px;
    --font-size-5xl: 2.25rem;
    --font-size-4xl: 2rem;
    --font-size-3xl: 1.5rem;
    --font-size-2xl: 1.375rem;
    --font-size-base: 1rem;
    --font-size-md: 1.125rem;
    --gutter: 1rem;
  }

  /* Hero */
  .hero {
    min-height: 450px;
  }

  .hero__label {
    font-size: 0.625rem;
  }

  .hero__title {
    font-size: var(--font-size-2xl);
  }

  .hero__subtitle {
    font-size: var(--font-size-sm);
  }

  /* Page Hero */
  .page-hero {
    min-height: 260px;
    max-height: 360px;
  }

  .page-hero__label {
    font-size: 0.625rem;
  }

  .page-hero__title {
    font-size: var(--font-size-xl);
  }

  .page-hero--bottom-left .page-hero__content {
    padding: 0 0 1.5rem var(--gutter);
  }

  .page-hero--bottom-left .page-hero__title {
    font-size: var(--font-size-xl);
  }

  /* Content Block */
  .content-block__image {
    min-height: 220px;
  }

  .content-block__text {
    padding: 2rem var(--gutter);
  }

  /* Service Block */
  .service-block__image {
    min-height: 240px;
  }

  .service-block__content {
    padding: 2rem var(--gutter);
  }

  .service-block__stats {
    flex-direction: column;
    gap: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
    right: 0.75rem;
    padding: 0.875rem;
  }

  .service-block__stat:not(:last-child)::after {
    display: none;
  }

  .service-block__number {
    font-size: 6rem;
  }

  /* Stats Bar */
  .stats-bar__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .stats-bar__number {
    font-size: var(--font-size-2xl);
  }

  .stats-bar__label {
    font-size: 0.625rem;
  }

  /* Stats Showcase */
  .stats-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .stats-showcase__number {
    font-size: var(--font-size-2xl);
  }

  /* Careers Stats */
  .careers-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .careers-stat {
    padding: 1.25rem 0.75rem;
  }

  .careers-stat__value {
    font-size: var(--font-size-xl);
  }

  /* Job Cards */
  .job-card {
    padding: 1.5rem;
  }

  .job-card__header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .job-card__tags {
    gap: 0.35rem;
  }

  /* CTA Section */
  .cta-section__title {
    font-size: var(--font-size-xl);
  }

  .cta-section__description {
    font-size: var(--font-size-sm);
  }

  /* Forms */
  .premium-form {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
  }

  /* Contact Cards */
  .contact-card {
    padding: 1.5rem;
  }

  /* Feature Cards */
  .feature-card {
    padding: 1.5rem;
  }

  /* Pillar Items */
  .pillar-item {
    padding: 1.5rem;
    flex-direction: column;
    gap: 1rem;
  }

  /* Location Detail */
  .location-detail__header {
    padding: 1.25rem 1.5rem;
  }

  .location-detail__body {
    padding: 1.25rem 1.5rem;
  }

  /* Footer */
  .footer__bottom {
    padding: 1.25rem var(--gutter);
  }

  .footer__column-title {
    margin-bottom: 1rem;
  }

  .footer__links {
    gap: 0.5rem;
  }

  /* Mobile Menu */
  .mobile-menu {
    width: 100%;
    max-width: 100vw;
  }

  /* Buttons */
  .btn {
    padding: 0.75rem 1.75rem;
    font-size: 0.75rem;
  }

  .btn--lg {
    padding: 0.875rem 2rem;
    font-size: 0.8125rem;
  }

  .btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.6875rem;
  }
}


/* ============================================================
   27. PRINT STYLES
   ============================================================ */
@media print {
  .header,
  .hamburger,
  .mobile-overlay,
  .mobile-menu,
  .hero__dots,
  .hero__scroll,
  .cta-section,
  .footer {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .section {
    padding: 2rem 0;
  }

  .content-block {
    display: block;
  }

  .content-block__image {
    max-height: 300px;
  }

  .content-block__text {
    padding: 1rem 0;
  }
}


/* ============================================================
   28. PAGE-HERO COMPACT (Legal Pages)
   ============================================================ */
.page-hero--compact {
  min-height: 280px;
  max-height: 350px;
}

.page-hero--compact .page-hero__content {
  padding-top: calc(var(--header-height) + 2rem);
  padding-bottom: 2rem;
}

.page-hero--compact .page-hero__title {
  font-size: var(--font-size-3xl);
}


/* ============================================================
   29. LEGAL CONTENT (Privacy/Cookie)
   ============================================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--font-size-base);
  line-height: 1.8;
  color: var(--color-text);
}

.legal-content h2 {
  font-family: var(--font-primary);
  font-size: var(--font-size-2xl);
  color: var(--color-heading);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  font-size: var(--font-size-lg);
  color: var(--color-heading);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-content ul {
  list-style: disc;
}

.legal-content ol {
  list-style: decimal;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  color: var(--color-secondary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-primary);
}

.legal-content strong {
  font-weight: 600;
  color: var(--color-heading);
}


/* ============================================================
   30. COMING SOON (Clienti Page)
   ============================================================ */
.coming-soon {
  text-align: center;
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.coming-soon__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  color: var(--color-primary);
}

.coming-soon__icon svg {
  width: 36px;
  height: 36px;
}

.coming-soon h2 {
  font-family: var(--font-primary);
  font-size: var(--font-size-3xl);
  color: var(--color-heading);
  margin-bottom: 1rem;
}

.coming-soon p {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: 1.7;
}


/* ============================================================
   31. SELECTION & FOCUS STYLES
   ============================================================ */
::selection {
  background-color: rgba(196, 18, 48, 0.12);
  color: var(--color-heading);
}

:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}


/* ============================================================
   29. SCROLLBAR STYLING (WebKit)
   ============================================================ */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background-color: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background-color: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-text-light);
}

/* Five-item stats bar: on two-column layouts the last item takes the full row */
@media (max-width: 1024px) {
  .stats-bar__grid--5 .stats-bar__item:last-child {
    grid-column: 1 / -1;
  }
}

/* Mobile: show service-block photos in full, stats box below the image */
@media (max-width: 768px) {
  .service-block__image {
    min-height: 0;
  }

  .service-block__image img {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .service-block__image--contain img {
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    padding: 1.5rem;
  }

  .service-block__image--contain.service-block__image--no-stats img {
    height: auto;
  }

  .service-block__stats {
    position: relative;
    inset: auto;
    flex-direction: row;
    gap: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 0.5rem;
  }

  .service-block__stat {
    padding: 0 0.25rem;
  }

  .service-block__stat:not(:last-child)::after {
    display: block;
  }
}
