@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto:wght@500;700;900&display=swap');

:root {
  --bg-color: #ffffff;
  --text-color: #374151; /* Dark Gray */
  --text-light: #6b7280; /* Medium Gray */
  --accent-color: #4a6fa5; /* Vision Blue */
  --accent-secondary: #111827; /* Very Dark Gray for headings */
  --accent-warm: #365482; /* Deeper blue for hover */
  --primary-gradient: linear-gradient(135deg, var(--accent-color) 0%, #365482 100%);
  --card-bg: #ffffff;
  --card-border: #e5e7eb;
  --section-bg: #f9fafb; /* Light gray for alternating sections */
  --header-bg: rgba(255, 255, 255, 0.98);
  --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --glow-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  letter-spacing: -0.01em;
  color: var(--accent-secondary);
}

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

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

/* ==========================================
   HEADER & NAVBAR
   ========================================== */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo img {
  max-width: 160px;
  transition: var(--transition);
}

.site-logo:hover img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  margin-left: auto;
}

.nav-menu li a {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-light);
  padding: 8px 14px;
  border-radius: 8px;
  position: relative;
  transition: var(--transition);
}

.nav-menu li a:hover {
  color: var(--accent-color);
  background: rgba(74, 111, 165, 0.06);
}

.nav-menu li a.active {
  color: var(--accent-color);
  background: rgba(74, 111, 165, 0.08);
  font-weight: 600;
}

/* Mobile Menu Toggle — animated hamburger */
.mobile-toggle {
  display: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  color: var(--text-color);
  font-size: 1.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.mobile-toggle:hover {
  background: rgba(0,0,0,0.04);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  position: relative;
}

/* Hero Background Glow Effect */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(74,111,165,0.06) 0%, rgba(0,0,0,0) 70%);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  flex: 1;
  animation: slideUp 0.8s ease-out;
  text-align: left;
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--accent-secondary);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 18px;
  color: var(--text-light);
  max-width: 540px;
}

.hero-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  margin-top: 30px;
  color: var(--text-color);
  font-size: 1.35rem !important;
  border-left: 3px solid var(--accent-color);
  padding-left: 16px;
}

.hero-video-wrapper {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.12);
  animation: fadeInScale 0.8s ease-out 0.2s backwards;
  position: relative;
  background: #f8fafc;
}

/* Optional overlay */
.hero-video-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  display: block;
  transform: scale(1.01);
}

/* ==========================================
   MAIN CONTENT CONTAINER
   ========================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.services-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--accent-secondary);
  letter-spacing: -0.02em;
}

.services-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 16px 16px 0 0;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
}

.service-image-wrapper {
  overflow: hidden;
  position: relative;
  height: 220px;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(74,111,165,0.08) 0%, rgba(74,111,165,0.04) 100%);
  color: var(--accent-color);
  border: 1px solid rgba(74,111,165,0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 24px 24px 0;
}

.service-card h3 {
  margin: 20px 24px 12px;
  font-size: 1.25rem;
  color: var(--accent-secondary);
  font-weight: 700;
  line-height: 1.3;
}

.service-card-content {
  padding: 0 24px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  align-items: flex-start;
}

.service-card-content p {
  font-size: 0.92rem;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ==========================================
   BUTTONS — Distinctive custom design
   ========================================== */
.service-card .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: transparent;
  border: 1.5px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  margin-top: auto;
  position: relative;
  overflow: hidden;
}

.service-card .btn::after {
  content: '→';
  transition: transform 0.3s ease;
  font-size: 1rem;
}

.service-card .btn:hover {
  background: var(--accent-color);
  color: #ffffff;
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(74,111,165,0.25);
}

.service-card .btn:hover::after {
  transform: translateX(4px);
}

.service-card:hover .btn {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(74,111,165,0.25);
}

/* ==========================================
   CONTENT PAGES — Page Header
   ========================================== */
.page-header {
  padding: 120px 24px 40px;
  background: linear-gradient(180deg, rgba(249,250,251,0.8) 0%, rgba(255,255,255,0) 100%);
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: 2.6rem;
  color: var(--accent-secondary);
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

/* Page Content Blocks */
.page-content {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin-top: 28px;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

.page-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  border-radius: 16px 16px 0 0;
}

/* Split Layout */
.split-layout {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.split-image {
  flex: 1;
}

.split-image img {
  border-radius: 12px;
}

.split-text {
  flex: 1.2;
}

/* Numbered List */
.numbered-list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
}

.numbered-list li {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid #f1f5f9;
}

.numbered-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.list-number {
  font-family: 'Roboto', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 40px;
}

.list-content h4 {
  font-size: 1.15rem;
  color: var(--accent-secondary);
  margin-bottom: 6px;
}

.list-content p {
  margin-bottom: 0 !important;
  font-size: 0.95rem !important;
  color: var(--text-light) !important;
}

/* Info Cards (Valutazione Impatto) */
.info-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.info-card {
  border: 1px solid rgba(74,111,165,0.1);
  border-left: 3px solid var(--accent-color);
  padding: 16px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(249,250,251,1) 0%, rgba(255,255,255,1) 100%);
  transition: var(--transition);
}

.info-card:hover {
  border-left-color: var(--accent-warm);
  box-shadow: 0 4px 12px rgba(74,111,165,0.06);
  transform: translateX(4px);
}

.info-card h4 {
  font-size: 1.05rem;
  color: var(--accent-secondary);
  margin-bottom: 4px;
}

.info-card p {
  font-size: 0.92rem !important;
  color: var(--text-light) !important;
  margin-bottom: 0 !important;
}

/* ==========================================
   PDF GRID & DOWNLOAD CARDS
   ========================================== */
.pdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.pdf-card {
  text-align: center;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pdf-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.pdf-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.pdf-card:hover::before {
  opacity: 1;
}

.pdf-preview-link {
  display: block;
  text-decoration: none;
}

.pdf-canvas {
  width: 100%;
  aspect-ratio: 1 / 1.4;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  display: block;
  margin-bottom: 16px;
  transition: var(--transition);
}

.pdf-card:hover .pdf-canvas {
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Download Button — distinctive pill style */
.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  background: transparent;
  border: 1.5px solid var(--accent-color);
  color: var(--accent-color);
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.btn-download span {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-download:hover {
  background: var(--accent-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(74,111,165,0.25);
}

.btn-download:hover span {
  transform: translateY(2px);
}

.page-content h2 {
  color: var(--accent-secondary);
  margin: 36px 0 18px;
  font-size: 1.85rem;
  letter-spacing: -0.01em;
}

.page-content h2:first-of-type {
  margin-top: 8px;
}

.page-content p {
  margin-bottom: 22px;
  color: var(--text-light);
  font-size: 1.08rem;
  line-height: 1.75;
}

.page-content ul {
  margin-bottom: 22px;
  padding-left: 24px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.page-content li {
  margin-bottom: 10px;
  line-height: 1.6;
}

/* ==========================================
   CHI SIAMO SECTION
   ========================================== */
.chi-siamo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 80px 24px;
}

.chi-siamo-content {
  flex: 1;
}

.badge {
  display: inline-block;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.chi-siamo h2 {
  font-size: 2.4rem;
  margin-bottom: 22px;
  color: var(--accent-secondary);
  letter-spacing: -0.02em;
}

.chi-siamo p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light);
}

.chi-siamo-image {
  flex: 1;
}

.chi-siamo-image img {
  border-radius: 16px;
  box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1);
}

/* ==========================================
   LOGOS / ESPERIENZE SECTION
   ========================================== */
.esperienze {
  padding: 70px 24px;
  background: var(--section-bg);
  border-radius: 16px;
  border: 1px solid var(--card-border);
  margin-bottom: 60px;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.logo-placeholder {
  width: 120px;
  height: 60px;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  font-weight: 600;
  border-radius: 8px;
}

.illustration-placeholder {
  width: 100%;
  height: 350px;
  background: var(--section-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-weight: 500;
  font-size: 1.1rem;
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
  background: var(--accent-secondary);
  padding: 48px 24px;
  color: rgba(255,255,255,0.7);
  border-top: none;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-info h2 {
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-info p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.footer-info a {
  color: rgba(255,255,255,0.85);
  font-weight: 500;
  transition: var(--transition);
}

.footer-info a:hover {
  color: #ffffff;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE — TABLET (max-width: 992px)
   ========================================== */
@media (max-width: 992px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 130px;
    padding-bottom: 60px;
    gap: 40px;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero p {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-tagline {
    border-left: none;
    padding-left: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
  }

  .hero-tagline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-color);
  }

  .hero::before {
    left: 25%;
    width: 100vw;
  }

  .chi-siamo {
    flex-direction: column;
    text-align: center;
    padding: 60px 24px;
    gap: 40px;
  }

  .chi-siamo-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .chi-siamo p {
    max-width: 600px;
  }

  .split-layout {
    flex-direction: column;
    gap: 30px;
  }

  .split-image, .split-text {
    width: 100%;
  }

  .footer-info {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }

  .page-content {
    padding: 36px 32px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .services-header h2 {
    font-size: 2.1rem;
  }
}

/* ==========================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ========================================== */
@media (max-width: 768px) {
  /* Mobile Nav */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    flex-direction: column;
    padding: 80px 28px 40px;
    gap: 4px;
    box-shadow: -8px 0 30px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu li a {
    font-size: 1rem;
    padding: 14px 18px;
    border-radius: 10px;
    display: block;
  }

  .nav-menu li a:hover,
  .nav-menu li a.active {
    background: rgba(74, 111, 165, 0.06);
  }

  .mobile-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Mobile overlay */
  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Header */
  .header-container {
    padding: 10px 18px;
  }

  .site-logo img {
    max-width: 130px;
  }

  /* Hero */
  .hero {
    padding-top: 110px;
    padding-bottom: 50px;
    gap: 30px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-tagline {
    font-size: 1.1rem !important;
  }

  .hero-video-wrapper {
    border-radius: 14px;
  }

  /* Page Header */
  .page-header {
    padding: 100px 18px 30px;
  }

  .page-header h1 {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  /* Page Content */
  .page-content {
    padding: 28px 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    border-radius: 14px;
  }

  .page-content h2 {
    font-size: 1.5rem;
    margin: 28px 0 14px;
  }

  .page-content p {
    font-size: 0.98rem;
    margin-bottom: 16px;
  }

  .page-content ul {
    font-size: 0.95rem;
    padding-left: 20px;
  }

  /* Split layout on mobile */
  .split-layout {
    flex-direction: column;
    gap: 24px;
  }

  .split-image {
    display: flex;
    justify-content: center;
  }

  .split-image img {
    max-width: 85%;
    margin: 0 auto;
  }

  .split-text {
    text-align: left;
  }

  /* Numbered list on mobile */
  .numbered-list li {
    gap: 14px;
    margin-bottom: 18px;
    padding-bottom: 18px;
  }

  .list-number {
    font-size: 1.3rem;
    min-width: 32px;
  }

  .list-content h4 {
    font-size: 1.05rem;
  }

  /* Info cards on mobile */
  .info-card {
    padding: 14px 16px;
  }

  .info-card h4 {
    font-size: 0.98rem;
  }

  /* Services Grid on mobile */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .services-header {
    margin-bottom: 36px;
  }

  .services-header h2 {
    font-size: 1.8rem;
  }

  .services-header p {
    font-size: 0.95rem;
  }

  .service-card h3 {
    font-size: 1.15rem;
    margin: 16px 20px 10px;
  }

  .service-icon {
    margin: 20px 20px 0;
  }

  .service-card-content {
    padding: 0 20px 24px;
  }

  /* Logos Grid on mobile — centered 2-column */
  .logos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  /* PDF Grid on mobile */
  .pdf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .pdf-card {
    padding: 14px;
  }

  .btn-download {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  /* Chi Siamo */
  .chi-siamo {
    padding: 50px 18px;
    gap: 30px;
  }

  .chi-siamo h2 {
    font-size: 1.9rem;
  }

  .chi-siamo p {
    font-size: 0.95rem;
  }

  .chi-siamo-image img {
    border-radius: 14px;
    max-width: 90%;
    margin: 0 auto;
  }

  /* Badge */
  .badge {
    font-size: 0.68rem;
    padding: 4px 12px;
  }

  /* Footer on mobile */
  .site-footer {
    padding: 36px 18px;
  }

  .footer-info {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .footer-info h2 {
    font-size: 1.1rem;
  }

  .footer-info p {
    font-size: 0.85rem;
  }

  /* Container on mobile */
  .container {
    padding: 0 16px;
  }
}

/* ==========================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ========================================== */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero p {
    font-size: 0.92rem;
  }

  .page-header h1 {
    font-size: 1.45rem;
  }

  .page-content {
    padding: 22px 16px;
  }

  .page-content h2 {
    font-size: 1.35rem;
  }

  .services-header h2 {
    font-size: 1.5rem;
  }

  /* PDF cards: single column on very small */
  .logos-grid {
    grid-template-columns: 1fr !important;
    max-width: 280px;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .pdf-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
  }

  .chi-siamo h2 {
    font-size: 1.6rem;
  }

  .split-image img {
    max-width: 100%;
  }

  .chi-siamo-image img {
    max-width: 100%;
  }
}
