/* ==========================================
   CSS VARIABLES & RESET
   ========================================== */

:root {
  --primary-color: #097349;
  --primary-dark: #097954;
  --primary-light: #34d399;
  --secondary-color: #6366f1;
  --dark: #1f2937;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #b8bdc4;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --background-light: #f0ede7;
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--gray-900);
  background-color: var(--background-light);
  overflow-x: hidden;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.desktop-only {
  display: none;
}

@media (min-width: 768px) {
  .desktop-only {
    display: block;
  }
}

.text-primary {
  color: var(--primary-color);
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slide-up {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.animate-fade-in {
  animation: fade-in 0.8s ease-out forwards;
}

.animate-slide-up {
  animation: slide-up 0.6s ease-out 0.1s forwards;
}

.animate-slide-up-delay {
  animation: slide-up 0.6s ease-out 0.3s forwards;
}

.animate-fade-in-delay {
  animation: fade-in 0.8s ease-out 0.5s forwards;
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

#header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  background-color: transparent;
  border: none;
}

#header.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
}

/* Header su pagina vantaggi (sfondo bianco) */
.hero-vantaggi~* #header:not(.scrolled),
body:has(.hero-vantaggi) #header:not(.scrolled) {
  background-color: var(--white);
  box-shadow: var(--shadow-sm);
}

body:has(.hero-vantaggi) #header:not(.scrolled) .logo-vue {
  color: var(--gray-900);
}

body:has(.hero-vantaggi) #header:not(.scrolled) .desktop-nav a {
  color: var(--gray-700);
}

body:has(.hero-vantaggi) #header:not(.scrolled) .hamburger,
body:has(.hero-vantaggi) #header:not(.scrolled) .hamburger::before,
body:has(.hero-vantaggi) #header:not(.scrolled) .hamburger::after {
  background-color: var(--gray-900);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  cursor: pointer;
}

.logo-smart {
  color: var(--primary-dark);
}

.logo-vue {
  color: var(--white);
  transition: var(--transition);
}

#header.scrolled .logo-vue {
  color: var(--gray-900);
}

.desktop-nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }
}

.desktop-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

#header.scrolled .desktop-nav a {
  color: var(--gray-700);
}

.desktop-nav a:hover {
  color: var(--primary-color);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.desktop-nav a:hover::after {
  width: 100%;
}

/* ==========================================
   MOBILE MENU
   ========================================== */

.mobile-nav {
  display: none;
  /* NASCOSTO DI DEFAULT */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: var(--white);
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  padding: 1rem 0;
}

.mobile-nav.active {
  display: flex;
  /* MOSTRA SOLO QUANDO ATTIVO */
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  color: var(--gray-900);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.mobile-nav a:hover {
  background-color: var(--gray-100);
  color: var(--primary-color);
}

.mobile-nav-cta {
  margin: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-color);
  color: var(--white) !important;
  text-align: center;
  border-radius: 9999px;
}

@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
    /* FORZA NASCOSTO SU DESKTOP */
  }
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  position: relative;
  transition: var(--transition);
}

#header.scrolled .hamburger {
  background-color: var(--gray-900);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

#header.scrolled .hamburger::before,
#header.scrolled .hamburger::after {
  background-color: var(--gray-900);
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  bottom: -8px;
}

.mobile-menu-btn.active .hamburger {
  background-color: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-btn.active .hamburger::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--gray-900);
  transform: scale(1.05);
}

.btn-category {
  width: 100%;
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-category:hover {
  background-color: var(--primary-dark);
  transform: scale(1.02);
}

.btn-cta {
  background-color: var(--white);
  color: var(--primary-color);
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  box-shadow: var(--shadow-xl);
}

.btn-cta:hover {
  background-color: var(--gray-100);
  transform: scale(1.05);
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.4rem 1rem !important;
  /* ← Aggiungi !important */
  border-radius: 9999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: none;
  text-decoration: none;
  font-size: 0.875rem !important;
  /* ← Aggiungi questa riga con !important */
}

.cta-button:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

.cta-button.mobile {
  width: 100%;
}

/* ==========================================
   SECTIONS GENERAL
   ========================================== */

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.section-description,
.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 700px;
  margin: 0 auto;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding-top: 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/hero.png');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

@media (max-width: 767px) {
  .hero::before {
    background-size: auto 100%;
    background-position: center top;
  }
}

@media (min-width: 768px) {
  .hero::before {
    background-attachment: fixed;
  }
}

.hero-content {
  max-width: 800px;
  padding: 0 1rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-weight: 300;
}

.hero-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 1.5rem;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

/* ==========================================
   VANTAGGI SECTION
   ========================================== */

.pdlc-section {
  background-color: var(--white);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.benefit-icon {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gray-800);
}

.benefit-description {
  color: var(--gray-600);
  font-size: 1rem;
}

/* ==========================================
   STACKED CARDS SECTION
   ========================================== */

.stacked-cards-section {
  padding: 0;
  background-color: var(--gray-900);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.stacked-cards-section .section-header {
  padding-top: 5rem;
  padding-bottom: 3rem;
  background-color: var(--gray-900);
  color: var(--white);
  flex-shrink: 0;
}

.stacked-cards-section .section-title {
  color: var(--white);
}

.stacked-cards-section .section-description {
  color: var(--gray-300);
}

/* Swiper Container */
.swiper-container {
  height: 100vh;
  width: 100%;
  position: relative;
  flex-grow: 1;
  overflow: hidden;
}

.swiper-vertical-stack {
  height: 100%;
  width: 100%;
  position: relative;
}

.swiper-vertical-stack .swiper-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Slide Styles with Stacking Effect */
.swiper-vertical-stack .swiper-slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  max-width: 900px;
  height: 70vh;
  border-radius: 1.5rem;
  box-shadow: var(--shadow-2xl);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 3rem;
  color: var(--white);
  transform: translate(-50%, -50%);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform, opacity;
}

/* Card Content */
.card-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
}

.card-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .swiper-container {
    height: 80vh;
  }

  .swiper-vertical-stack .swiper-slide {
    width: 90%;
    height: 60vh;
    padding: 2rem;
  }

  .card-title {
    font-size: 2rem;
  }

  .card-subtitle {
    font-size: 1.125rem;
  }
}

/* ==========================================
   CATEGORIE SECTION
   ========================================== */

.categories-section {
  background-color: var(--background-light);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.category-card {
  background-color: var(--white);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 450px;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
  width: 64px;
  height: 64px;
  color: var(--primary-color);
  margin: 0 auto 1.5rem;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.category-description {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.category-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 1.5rem;
}

.category-features li {
  margin-bottom: 0.5rem;
  color: var(--gray-700);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.feature-check {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

/* ==========================================
   CTA SECTION
   ========================================== */

.cta-section {
  background-color: var(--primary-color);
  padding: 4rem 0;
  color: var(--white);
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-description {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background-color: var(--gray-900);
  color: var(--gray-400);
  padding: 3rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-column h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-column p,
.footer-column a {
  color: var(--gray-400);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--primary-light);
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--gray-700);
}

.footer-bottom p {
  font-size: 0.875rem;
}

/* ==========================================
   PAGINA VANTAGGI - BREADCRUMB
   ========================================== */

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  text-decoration: underline;
}

/* ==========================================
   PAGINA VANTAGGI - HERO ALTERNATIVO
   ========================================== */

.hero.hero-vantaggi {
  height: auto;
  min-height: auto;
  padding: 8rem 0 4rem;
  background: linear-gradient(135deg, #e0f2fe 0%, #f0f9ff 50%, #ffffff 100%);
}

.hero.hero-vantaggi::before,
.hero.hero-vantaggi::after {
  display: none;
}

.hero.hero-vantaggi .hero-title {
  color: var(--gray-900);
}

.hero.hero-vantaggi .hero-subtitle {
  color: var(--gray-600);
}

@media (min-width: 1024px) {
  .hero.hero-vantaggi {
    padding: 10rem 0 5rem;
  }
}

/* ==========================================
   ADVANTAGES GRID - PAGINA VANTAGGI
   ========================================== */

.advantages-section {
  padding: 4rem 0;
  background: var(--white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 0rem;
}

.advantage-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-100);

  /* Stato iniziale per animazione scroll */
  opacity: 0;
  transform: translateY(50px);
  will-change: transform, opacity;
}

/* Classe aggiunta quando l'elemento è visibile */
.advantage-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color, var(--primary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.advantage-card.visible::before {
  transform: scaleX(1);
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: var(--accent-color);
}

.advantage-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.advantage-card-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
  transform: scale(0);
  transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.advantage-card.visible .advantage-card-icon {
  transform: scale(1);
}

.advantage-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.5s ease;
  transition-delay: 0.15s;
  /* ⬇️ QUESTE SONO LE RIGHE CRUCIALI */
  min-width: 0;           /* FONDAMENTALE per flex items */
  flex: 1;                /* Permette di occupare spazio disponibile */
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.advantage-card.visible .advantage-card-title {
  opacity: 1;
  transform: translateX(0);
}

.advantage-card-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  background: var(--accent-color, var(--primary-color));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: rotate(-180deg) scale(0);
  transition: transform 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition-delay: 0.25s;
}

.advantage-card.visible .advantage-card-number {
  transform: rotate(0) scale(1);
}

.advantage-card-description {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
  transition-delay: 0.3s;
}

.advantage-card.visible .advantage-card-description {
  opacity: 1;
  transform: translateY(0);
}

/* Ritardi progressivi per effetto cascata */
.advantage-card:nth-child(1).visible {
  transition-delay: 0.05s;
}

.advantage-card:nth-child(2).visible {
  transition-delay: 0.1s;
}

.advantage-card:nth-child(3).visible {
  transition-delay: 0.15s;
}

.advantage-card:nth-child(4).visible {
  transition-delay: 0.2s;
}

.advantage-card:nth-child(5).visible {
  transition-delay: 0.25s;
}

.advantage-card:nth-child(6).visible {
  transition-delay: 0.3s;
}

.advantage-card:nth-child(7).visible {
  transition-delay: 0.05s;
}

.advantage-card:nth-child(8).visible {
  transition-delay: 0.1s;
}

.advantage-card:nth-child(9).visible {
  transition-delay: 0.15s;
}

.advantage-card:nth-child(10).visible {
  transition-delay: 0.2s;
}

.advantage-card:nth-child(11).visible {
  transition-delay: 0.25s;
}

.advantage-card:nth-child(12).visible {
  transition-delay: 0.3s;
}

/* Colori individuali per ogni card */
.advantage-card:nth-child(1) {
  --accent-color: #e74c3c;
}

.advantage-card:nth-child(2) {
  --accent-color: #3498db;
}

.advantage-card:nth-child(3) {
  --accent-color: #2ecc71;
}

.advantage-card:nth-child(4) {
  --accent-color: #f39c12;
}

.advantage-card:nth-child(5) {
  --accent-color: #9b59b6;
}

.advantage-card:nth-child(6) {
  --accent-color: #1abc9c;
}

.advantage-card:nth-child(7) {
  --accent-color: #34495e;
}

.advantage-card:nth-child(8) {
  --accent-color: #e67e22;
}

.advantage-card:nth-child(9) {
  --accent-color: #95a5a6;
}

.advantage-card:nth-child(10) {
  --accent-color: #d35400;
}

.advantage-card:nth-child(11) {
  --accent-color: #27ae60;
}

.advantage-card:nth-child(12) {
  --accent-color: #8e44ad;
}

/* ==========================================
   ADVANTAGES GRID - RESPONSIVE
   ========================================== */

@media (min-width: 640px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .advantage-card {
    padding: 2.5rem 2rem;
  }

  .advantage-card-icon {
    font-size: 3rem;
  }

  .advantage-card-title {
    font-size: 1.375rem;
  }
}

@media (min-width: 1024px) {
  .advantages-section {
    padding: 5rem 0;
  }

  .advantages-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .advantage-card-title {
    font-size: 1.5rem;
  }

  .advantage-card-description {
    font-size: 1rem;
  }
}

@media (min-width: 1280px) {
  .advantages-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 480px) {
  .hero {
    padding-top: 3rem;
    height: auto;
    min-height: 100vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.125rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .section-description,
  .section-subtitle {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 1.25rem;
  }

  section {
    padding: 6rem 0;
  }

  .cta-button {
    display: inline-block;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================
   FOOTER DROPDOWN MENUS - MOBILE
   ========================================== */

.footer-dropdown {
  position: relative;
}

.footer-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding-bottom: 0.5rem;
  min-height: 44px;
}

@media (min-width: 768px) {
  .footer-dropdown-header {
    cursor: default;
  }
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0;
}

.dropdown-arrow {
  transition: transform 0.3s ease;
  color: var(--gray-400);
}

@media (min-width: 768px) {
  .dropdown-arrow {
    display: none;
  }
}

.footer-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.footer-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.footer-dropdown.active .footer-dropdown-menu {
  max-height: 300px;
}

@media (min-width: 768px) {
  .footer-dropdown-menu {
    max-height: none !important;
  }
}

.footer-dropdown-menu li {
  margin-bottom: 0.5rem;
}

.footer-dropdown-menu a {
  color: var(--gray-400);
  text-decoration: none;
  transition: var(--transition);
  display: block;
  padding: 0.25rem 0;
  min-height: auto;
}

.footer-dropdown-menu a:hover {
  color: var(--primary-light);
}

/* Footer Links Without Bullets */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  display: block;
  transition: var(--transition);
  line-height: 1.5;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-description {
  color: var(--gray-400);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-logo .logo-vue {
  color: var(--white);
}