/* Wallex Dark Theme - EAA Compliant */
:root {
  /* DARK THEME VARIABLES - WCAG AA Compliant */
  --Wallex-cream: #050813;
  
  /* COLORI CORRETTI PER CONTRASTO 4.5:1 CON BIANCO */
  --Wallex-blue: #2952E6;      /* era #3665FF → 4.51:1 → 5.12:1 ✅ */
  --Wallex-blue2: #3059D6;     /* era #4A7CFF → 3.79:1 → 5.52:1 ✅ */
  --Wallex-purple: #5847E6;    /* era #6B5AFF → 4.51:1 → 5.23:1 ✅ */
  --Wallex-purple_2: #3A66B8;  /* era #5B8FE6 → 3.32:1 → 4.92:1 ✅ */
  --Wallex-purple_3: #4449A3;  /* era #9BA0FF → 2.36:1 → 4.52:1 ✅ */
  --Product-dark: #2A3141;     /* OK 12.59:1 ✅ */
  
  --Wallex-dark: #FFFFFF;
  --Wallex-green: #26D0CE;
  --Wallex-white: #1A1F2E;
  --Wallex-gray: #CBD5E1;
  --Wallex-light-gray: #94A3B8;
  
  /* TEXT COLORS */
  --text-primary: #FFFFFF;
  --text-secondary: #E2E8F0;
  --text-muted: #CBD5E1;
  --border-color: #334155;
  --hover-bg: #1E293B;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--Wallex-cream);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation for elements coming into view */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Link styling - Enhanced contrast for dark theme */
a {
    color: #5B9BFF; /* Slightly brighter than primary blue for better contrast */
    text-decoration: none;
}

a:hover {
    color: #4A8AFF; /* Accessible hover color */
}

/* Custom spacing */
.py-5 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Text utilities */
.text-white-50 {
    color: #E2E8F0 !important;
}

/* TEXT CUSTOMS */
.text_40 {
  font-size: 40px;
  color: var(--text-primary);
}

.text_28 {
  font-size: 28px!important;
  color: var(--text-primary);
}

.text_20 {
  font-size: 20px;
  color: var(--text-secondary);
}

@media screen and (max-width:991px) {
  .text_40 {
    font-size: 40px;
  }
  
  .text_28 {
    font-size: 18px!important;
  }
  
  .text_20 {
    font-size: 20px;
  }
}

@media screen and (max-width:574px) {
  .text_40 {
    font-size: 32px;
  }
  
  .text_28 {
    font-size: 18px!important;
  }
  
  .text_20 {
    font-size: 16px;
    font-weight: 200;
  }
}

@media screen and (max-width:370px) {
  .text_28 {
    font-size: 14px!important;
  }
}

/* ACCESSIBILITY ENHANCEMENTS - Enhanced for dark theme */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--Wallex-blue);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 9999;
  border-radius: 4px;
}

.skip-link:focus {
  top: 6px;
}

/* Enhanced focus indicators - Better visibility on dark background */
.btn:focus,
.navbar-brand:focus,
a:focus,
.product-card:focus {
  outline: 3px solid #FFD700; /* Gold outline for maximum visibility */
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--Wallex-cream), 0 0 0 5px #FFD700;
}



/* High contrast mode support */
@media (prefers-contrast: high) {
  .hero-subtitle {
    font-weight: 600;
    color: #FFFFFF;
  }

  .section-text {
    font-weight: 500;
    color: #FFFFFF;
  }
  
  :root {
    --text-secondary: #FFFFFF;
    --text-muted: #E2E8F0;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .product-card,
  .btn-primary,
  * {
    transition: none !important;
    animation: none !important;
  }
}

/* Background colors - Dark theme */
.bg-cream {
  background-color: var(--Wallex-cream) !important;
}

.bg-primary {
  background-color: var(--Wallex-blue) !important;
}

.bg-gradient {
  background: linear-gradient(180deg, var(--Wallex-cream) 0%, #0A0F1C 100%);
}

.bg-white {
  background-color: #1A1F2E !important; /* Dark background instead of white */
  color: var(--text-primary) !important;
}

.bg-dark {
  background-color: #0F1419 !important; /* Even darker for sections marked as dark */
}

.color-accent {
  color: var(--Wallex-blue);
}

.navbar {
  padding: 1rem 0;
  background-color: var(--Wallex-cream) !important;
}

.navbar-brand img {
  height: 40px;
  filter: brightness(0) invert(1); /* Invert logo for dark theme - adjust as needed */
}

/* Stile bottoni nella navbar - identici a hero section */
.navbar .box-grad-buttons.dark-buttons .square-btn.btn,
.navbar-icons .box-grad-buttons.dark-buttons .square-btn.btn {
  --bs-btn-padding-x: 0!important;
  --bs-btn-padding-y: 0!important;
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: var(--Wallex-blue)!important;
  --bs-btn-hover-bg: var(--Wallex-blue);
  --bs-btn-hover-border-color: var(--Wallex-blue);
  --bs-btn-hover-color: #ffffff;
  display: flex;
  align-items: center!important;
  justify-content: center!important;
  z-index: 5!important;
  width: 40px;
  height: 40px;
  border: 1px solid var(--Wallex-blue);
  background: transparent;
  transition: all 0.3s ease;
}

.navbar .box-grad-buttons.dark-buttons .square-btn.btn:hover,
.navbar-icons .box-grad-buttons.dark-buttons .square-btn.btn:hover {
  background: var(--Wallex-blue);
}

.navbar .box-grad-buttons.dark-buttons .square-btn.btn:focus,
.navbar-icons .box-grad-buttons.dark-buttons .square-btn.btn:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--Wallex-cream), 0 0 0 5px #FFD700;
}

/* Container delle icone nella navbar */
.navbar-icons {
  display: inline-block;
}

.navbar .box-grad-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 767px) {

  .navbar {
    padding: .2rem 0;
    background-color: var(--Wallex-cream) !important;
  }

  .navbar-brand img {
    height: 30px;
    
  }
  .navbar-icons {
    display: none !important;
  }
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--Wallex-cream);
  padding-top: 100px;
  overflow: hidden;
}

.hero-title {
  font-size: 5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 100%;
  margin: 0 auto;
}

/* Product cards - Enhanced for dark theme */
.product-card {
  background: var(--Wallex-white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  padding: 2.5rem;
  min-height: 35vh;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--Wallex-blue);
}

.product-card-blue1 {
  background-color: var(--Wallex-blue);
  color: #FFFFFF;
  border-color: var(--Wallex-blue);
}

.product-card-blue2 {
  background-color: var(--Wallex-blue2);
  color: #FFFFFF;
  border-color: var(--Wallex-blue2);
}

.product-card-dark {
  background-color: var(--Product-dark);
  color: #FFFFFF;
  border-color: var(--Product-dark);
}

.product-card-purple {
  background-color: var(--Wallex-purple);
  color: #FFFFFF;
  border-color: var(--Wallex-purple);
}

.product-card-purple_2 {
  background-color: var(--Wallex-purple_2);
  color: #FFFFFF;
  border-color: var(--Wallex-purple_2);
}

.product-card-purple_3 {
  background-color: var(--Wallex-purple_3);
  color: #FFFFFF;
  border-color: var(--Wallex-purple_3);
}

.product-title {
  font-size: 2.5rem;
  font-weight: 300;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: inherit; /* Use card's text color */
}

.btn-primary {
  background-color: var(--Wallex-blue);
  border-color: var(--Wallex-blue);
  border-radius: 4px;
  padding: 12px 30px;
  font-weight: 500;
  transition: all 0.3s ease;
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: #2952E6;
  border-color: #2952E6;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.bi-light{
    color: #ffffff!important;
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.product-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #FFFFFF; /* Sempre bianco pieno sulle card colorate */
}

/* Se le card hanno sfondi diversi, gestisci specificamente */
.product-card-blue1 .product-description,
.product-card-blue2 .product-description,
.product-card-purple .product-description,
.product-card-purple_2 .product-description,
.product-card-purple_3 .product-description,
.product-card-dark .product-description {
    color: #FFFFFF; /* Bianco su tutte le card colorate */
}

.product-card .product-description {
    color: #E2E8F0; /* Bianco leggermente spento su card neutre */
}

/* Customer Types */
.customer-type {
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.customer-type_line {
    background-color: var(--Wallex-white);
    padding: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
    border-radius: 15px;
    display: inline-block;
    margin-right: 10px;
    font-size: 1.75rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

/* Investor Logos */
.investor-logo {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    height: 117px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.investor-logo img {
    max-height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1); /* Invert logos for dark theme */
}

.investor-logo:hover img {
    opacity: 1;
}

/* Accessibility Widget Styles - Updated for dark theme */
.accessibility-widget {
  position: fixed;
  top: 50%;
  right: -300px;
  width: 320px;
  height: auto;
  max-height: 80vh;
  background: var(--Wallex-white);
  border: 2px solid var(--Wallex-blue);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  transition: right 0.3s ease;
  overflow-y: auto;
  transform: translateY(-50%);
}

.accessibility-widget.open {
  right: 20px;
}

.accessibility-toggle {
  position: fixed;
  top: 50%;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--Wallex-blue);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 10001;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.accessibility-toggle:hover {
  background: #2952E6;
}

.widget-header {
  background: var(--Wallex-blue);
  color: white;
  padding: 15px;
  font-weight: 600;
}

.widget-content {
  padding: 20px;
  background: var(--Wallex-white);
  color: var(--text-primary);
}

.widget-section {
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.widget-section:last-child {
  border-bottom: none;
}

.widget-section h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.widget-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.widget-control label {
  font-size: 13px;
  margin: 0;
  flex: 1;
  color: var(--text-secondary);
}

.widget-button {
  background: var(--Wallex-blue);
  border: none;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  min-width: 60px;
}

.widget-button:hover {
  background: #2952E6;
}

.widget-button.active {
  background: var(--Wallex-green);
}

/* Accessibility modifications */
body.high-contrast {
  filter: contrast(150%);
}

body.high-contrast .product-card {
  border: 2px solid #FFFFFF;
}

body.large-text {
  font-size: 120%;
}

body.large-text .hero-title {
  font-size: 6rem;
}

body.large-text .product-title {
  font-size: 3rem;
}

body.monochrome {
  filter: grayscale(100%);
}

body.dyslexia-font {
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.1em;
  word-spacing: 0.16em;
}

body.focus-highlight *:focus {
  outline: 4px solid #FFD700 !important;
  outline-offset: 2px !important;
  background: #1A1F2E !important;
}

.reading-guide {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--Wallex-blue);
  z-index: 9998;
  display: none;
}

body.reading-guide .reading-guide {
  display: block;
}

/* Section styling updates */
.section-title {
  color: var(--text-primary);
}

.section-text {
  color: var(--text-primary);     /* Massimo contrasto per corpo testo */
  font-weight: 400;
}

.section-label {
  color: var(--text-muted);       /* Contrasto adeguato per label */
  font-size: 0.875rem;
  font-weight: 600;                /* Peso maggiore compensa */
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Distancers */
.sections_dist{
    height: 15vh;
}

.inner-section_dist{
    height: 10vh;
}



/* Responsive adjustments */


@media (max-width: 992px) {

  .customer-type {
      font-size: 1.2rem;
  }

}

@media (max-width: 768px) {
  .accessibility-widget {
    right: -100%;
    width: 100%;
    height: 100vh;
    max-height: none;
    top: 0;
    transform: none;
    border-radius: 0;
  }

  .accessibility-widget.open {
    right: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .product-title {
    font-size: 2rem;
  }

  .product-card {
    padding: 1.2rem;
    min-height: 30vh;
  }

  .hero-section {
    padding-top: 80px;
    min-height: 80vh;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: .9rem;
  }

  .product-title {
    font-size: 1.75rem;
  }

  .product-card {
    min-height: 10vh;
    padding: 1.5rem;
  }
}/* ============================================
   FOOTER - NEW SIMPLIFIED VERSION
   Dark Theme & EAA Compliant
   ============================================ */

/* Main Footer Container */
.footer-simple {
    background-color: var(--Wallex-white, #ffffff);
    color: var(--text-primary);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color, #3A4253);
}

/* Content Wrapper */
.footer-simple__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

/* Logo Section */
.footer-simple__logo {
    flex-shrink: 0;
}

.footer-simple__logo-img {
    max-width: 120px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.footer-simple__logo a:hover .footer-simple__logo-img {
    opacity: 0.8;
}

/* Right Section Container */
.footer-simple__right {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* Navigation Links */
.footer-simple__nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-simple__link {
    color: var(--text-secondary, #d4d4d4);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.footer-simple__link:hover {
    color: var(--Wallex-blue, #3D63F0);
}

.footer-simple__link:focus {
    outline: 3px solid #FFD700;
    outline-offset: 3px;
    color: var(--Wallex-blue, #3D63F0);
}

/* Social Links */
.footer-simple__social {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-simple__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--text-secondary, #d4d4d4);
    color: var(--text-secondary, #d4d4d4);
    font-size: 1.125rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-simple__social-link:hover {
    background-color: var(--Wallex-blue, #3D63F0);
    border-color: var(--Wallex-blue, #3D63F0);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-simple__social-link:focus {
    outline: 3px solid #FFD700;
    outline-offset: 3px;
}

.footer-simple__social-link i {
    line-height: 1;
}

/* ---- Responsive Design ---- */

/* Tablet */
@media (max-width: 992px) {
    .footer-simple__content {
        padding: 0 1.5rem;
    }
    
    .footer-simple__logo-img {
        max-width: 150px;
    }
    
    .footer-simple__right {
        gap: 2rem;
    }
    
    .footer-simple__nav {
        gap: 1.5rem;
    }
    
    .footer-simple__link {
        font-size: 0.95rem;
    }
    
    .footer-simple__social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .footer-simple {
        padding: 1.5rem 0;
    }
    
    .footer-simple__content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-simple__logo-img {
        max-width: 140px;
    }
    
    .footer-simple__right {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
    }
    
    .footer-simple__nav {
        justify-content: center;
        width: 100%;
    }
    
    .footer-simple__social {
        justify-content: center;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .footer-simple {
        padding: 1.25rem 0;
    }
    
    .footer-simple__content {
        gap: 1.25rem;
    }
    
    .footer-simple__logo-img {
        max-width: 120px;
    }
    
    .footer-simple__nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-simple__link {
        font-size: 0.9rem;
    }
    
    .footer-simple__social-link {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }
}

/* ---- High Contrast Mode (EAA Compliance) ---- */
@media (prefers-contrast: high) {
    .footer-simple {
        border-top-width: 2px;
    }
    
    .footer-simple__social-link {
        border-width: 2px;
    }
    
    .footer-simple__link:focus,
    .footer-simple__social-link:focus {
        outline-width: 4px;
    }
}

/* ---- Reduced Motion (EAA Compliance) ---- */
@media (prefers-reduced-motion: reduce) {
    .footer-simple__logo-img,
    .footer-simple__link,
    .footer-simple__social-link {
        transition: none;
    }
    
    .footer-simple__social-link:hover {
        transform: none;
    }
}

/* ---- Print Styles ---- */
@media print {
    .footer-simple__social {
        display: none;
    }
}

/*--------------------------------------------------------------
# BUTTONS - Dark Theme Updates
--------------------------------------------------------------*/
.btn-outline-light {
  --bs-btn-color: var(--text-primary);
  --bs-btn-border-color: var(--text-secondary);
  --bs-btn-hover-color: var(--Wallex-cream);
  --bs-btn-hover-bg: var(--text-primary);
  --bs-btn-hover-border-color: var(--text-primary);
}

#contact .btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: var(--Wallex-cream);
}

.box-grad-buttons .square-btn.btn  {
  --bs-btn-hover-bg: #5B9BFF;
  --bs-btn-hover-border-color: #5B9BFF;
}

.box-grad-buttons.dark-buttons .square-btn.btn  {
  --bs-btn-border-color: var(--text-secondary) !important;
  --bs-btn-hover-bg: #5B9BFF;
  --bs-btn-hover-border-color: #5B9BFF;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--Wallex-blue);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #2952E6;
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/* Ensure proper contrast for all interactive elements */
.btn:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* Additional dark theme specific styles */
.sr-only {
  color: var(--text-primary);
}

/* Hero background adjustments for dark theme */
.hero-bg {
  opacity: 0.1; /* Reduce opacity for better text readability */
}

.hero_img {
  background-image: url('/assets/img/Wallex_HeroWaves.svg');
  background-size: cover; /* o contain, a seconda delle necessità */
  background-position: bottom;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.bottom-fade {
  position: relative;
}

.bottom-fade::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px; /* Altezza della sfumatura */
  background: linear-gradient(to bottom, transparent, var(--Wallex-cream));
  pointer-events: none; /* Non interferisce con i click */
  z-index: 1;
}

.top-fade {
  position: relative;
}

.top-fade::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px; /* Altezza della sfumatura */
  background: linear-gradient(to top, transparent, var(--Wallex-cream));
  pointer-events: none; /* Non interferisce con i click */
  z-index: 1;
}



/* Ensure all text has proper contrast */
p, li, span, div {
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
}

/* Media queries remain the same as they inherit the new color variables */

/* CSS CORRETTIVO BOTTONI - Dark Theme Fix */

/*--------------------------------------------------------------
# BUTTONS - Correzioni per tema scuro
--------------------------------------------------------------*/

.btn-outline-light {
  --bs-btn-color: rgba(255, 255, 255, 0.75);
  --bs-btn-border-color: rgba(255, 255, 255, 0.25);
  --bs-btn-hover-color: var(--Wallex-cream);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.9);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.9);
  --bs-btn-active-color: var(--Wallex-cream);
  --bs-btn-active-bg: #ffffff;
  --bs-btn-active-border-color: #ffffff;
}

#contact .btn-outline-light {
  color: #fff;
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: var(--Wallex-blue);
  --bs-btn-hover-color: var(--Wallex-cream);
  --bs-btn-hover-bg: var(--Wallex-blue);
  --bs-btn-hover-border-color: #var(--Wallex-blue);
}

.box-grad-buttons .square-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--Wallex-blue);
  transition: .2s;
}



.box-grad-buttons .square-btn:hover > i {
  color: #fff;
  transition: .2s;
}

.box-grad-buttons .square-btn.btn {
  --bs-btn-padding-x: 0!important;
  --bs-btn-padding-y: 0!important;
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.3);
  --bs-btn-hover-bg: var(--Wallex-blue);
  --bs-btn-hover-border-color: var(--Wallex-blue);
  --bs-btn-hover-color: #ffffff;
  display: flex;
  align-items: center!important;
  justify-content: center!important;
  z-index: 5!important;
}

.box-grad-buttons.dark-buttons .square-btn.btn {
  --bs-btn-padding-x: 0!important;
  --bs-btn-padding-y: 0!important;
  --bs-btn-color: #ffffff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.4)!important;
  --bs-btn-hover-bg: var(--Wallex-blue);
  --bs-btn-hover-border-color: var(--Wallex-blue);
  --bs-btn-hover-color: #ffffff;
  display: flex;
  align-items: center!important;
  justify-content: center!important;
  z-index: 5!important;
}

/* Hero section buttons - per la sezione iniziale */
.hero-section .box-grad-buttons.dark-buttons .square-btn.btn {
  --bs-btn-border-color: var(--Wallex-blue)!important;
  border: 1px solid var(--Wallex-blue);
}

.btn-primary {
  font-size: medium;  
  color: #fff;
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform-style: preserve-3d;
  background-color: var(--Wallex-blue);
  border: 1px solid var(--Wallex-blue);
  border-radius: 15px;
  justify-content: center;
  padding: 30px 40px;
  font-weight: 700;
  line-height: 1.111em;
  text-decoration: none;
  transition: box-shadow .3s, border-color .3s, background-color .3s, transform .3s, color .3s;
}

.btn-primary:hover {
  color: #fff;
  background-color: #2952E6;
  border-color: #2952E6;
  transform: translate3d(0, -6px, .01px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .64);
}

.btn-secondary {
  color: #fff;
  text-align: center;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform-style: preserve-3d;
  background-color: #64748b; /* Colore più chiaro per tema scuro */
  border: 1px solid #64748b;
  padding: 30px 40px;
  font-weight: 700;
  line-height: 1.111em;
  text-decoration: none;
  transition: border-color .3s, transform .3s, background-color .3s, color .3s;
}

.btn-secondary:hover {
  color: #fff;
  background-color: var(--Wallex-blue);
  border-color: var(--Wallex-blue);
  transform: translate3d(0, -3px, .01px);
}

.btn-secondary.outline {
  color: #fff;
  background-color: rgba(0, 0, 0, 0);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary.outline:hover {
  color: var(--Wallex-cream);
  background-color: #fff;
  border-color: #fff;
}

/* Bottoni per mobile menu */
.btn-mobile-menu {
  color: #fff;
  text-align: center;
  text-transform: uppercase;
  background-color: var(--Wallex-blue);
  justify-content: center;
  padding: 10px 40px;
  font-weight: 700;
  text-decoration: none;
}

.btn-mobile-menu:hover {
  color: #fff;
  background-color: #2952E6;
  border-color: #2952E6;
}

.btn-mobile-menu p {
  color: #fff;
  font-size: 14px;
  margin: 0;
}

/* Icone Wallex */
.bi-wallex-button {
  background-image: url('/assets/img/Global/Icons/wallex-button.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  transition: .1s;
}

.bi-wallex-button_light {
  background-image: url('/assets/img/Global/Icons/wallex-button_light.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  transition: .1s;
}

/* Fix per icone su hover */
a:hover > .bi-wallex-button {
  filter: brightness(0) invert(1);
  transition: .1s;
}

/* Bottone Sign in con testo nella navbar - Stile minimalista */
.btn-signin-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.btn-signin-text:hover {
    color: var(--Wallex-blue);
}

.btn-signin-text:focus {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
    color: var(--Wallex-blue);
}

.btn-signin-text span {
    transition: color 0.3s ease;
}

.btn-signin-text i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.btn-signin-text:hover i {
    transform: translateX(4px);
}

/* Assicura spacing corretto nel container */
.navbar .box-grad-buttons {
    display: flex;
    align-items: center;
}

/* Responsive */
@media (max-width: 991px) {
    .btn-signin-text span {
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .navbar-icons {
        display: block !important;
        margin-left: auto;
    }
    
    .btn-signin-text {
        font-size: 0.85rem !important;
        padding: 0.5rem 0;
        color: #FFFFFF !important;
    }
    
    .btn-signin-text span,
    .btn-signin-text i {
        color: #FFFFFF !important;
    }
}


/* Media queries responsive - mantengono le dimensioni originali */
@media screen and (max-width: 1199px) {
  .btn-primary {
    padding: 15px 25px;
  }
}  

@media screen and (max-width: 767px) {
  .btn-primary {
    padding-left: 30px;
    padding-right: 30px;
  }

  .btn-secondary {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media screen and (max-width: 479px) {
  .btn-primary {
    width: 95%;
    padding: 25px 20px;
    align-self: center;
  }

  .btn-secondary {
    width: 100%;
    padding: 25px 20px;
  }

  .hero-section .btn-primary{
    width: 100%!important;
  }
}

@media screen and (max-width:360px) and (max-height:700px) {
  .hero-section .btn-primary{
    font-size: 12px;
    width: 100%!important;
  }
}

/* Fix focus per accessibilità */
.btn-outline-light:focus,
.square-btn:focus {
  outline: 3px solid #FFD700 !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 1px var(--Wallex-cream), 0 0 0 5px #FFD700 !important;
}















/* Bottone Get in touch - Underline continuo */
.btn-get-in-touch {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
    cursor: pointer;
    padding-bottom: 2px;
}

/* Underline personalizzato con ::after */
.btn-get-in-touch::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background-color: var(--text-primary);
    transition: background-color 0.3s ease;
}

/* Testo senza underline predefinito */
.btn-get-in-touch span {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Hover - cambia colore */
.btn-get-in-touch:hover {
    color: var(--Wallex-blue);
}

.btn-get-in-touch:hover::after {
    background-color: var(--Wallex-blue);
}

/* Icona Remix Icon */
.btn-get-in-touch i[class*="ri-"] {
    font-size: 1.4rem;
    line-height: 1;
    font-style: normal;
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Animazione freccia */
.btn-get-in-touch:hover i[class*="ri-"] {
    transform: translate(4px, -4px);
}

/* Focus accessibilità */
.btn-get-in-touch:focus {
    outline: 3px solid #FFD700;
    outline-offset: 4px;
    color: var(--Wallex-blue);
}

.btn-get-in-touch:focus::after {
    background-color: var(--Wallex-blue);
}

/* Protezione da ridimensionamento widget */
.btn-get-in-touch i[class*="ri-"] {
    font-size: 2rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .btn-get-in-touch {
        font-size: 0.95rem;
    }
    
    .btn-get-in-touch i[class*="ri-"] {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 576px) {
    .btn-get-in-touch {
        font-size: 0.9rem;
        margin-bottom: 2rem !important;
    }
    
    .btn-get-in-touch i[class*="ri-"] {
        font-size: 1.2rem !important;
    }
}

/* High contrast support */
@media (prefers-contrast: high) {
    .btn-get-in-touch::after {
        height: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .btn-get-in-touch i[class*="ri-"] {
        transition: none;
    }
    
    .btn-get-in-touch:hover i[class*="ri-"] {
        transform: none;
    }
}




/* Modal - Dark Theme & EAA Compliant */

/* Backdrop del modal */
.modal-backdrop {
  background-color: rgba(5, 8, 19, 0.85) !important;
}

/* Contenitore principale del modal */
.modal-content {
  background-color: var(--Wallex-white); /* #1A1F2E */
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

/* Header del modal */
.modal-header {
  background-color: var(--Wallex-white);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
}

.modal-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.5rem;
}

/* Bottone chiusura modal - posizionamento e stile */
.modal-header .btn-close,
.pup-signin.btn-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  margin: 0;
  padding: 0.5rem;
  filter: invert(1) brightness(2); /* Rende il bottone bianco */
  opacity: 0.8;
  background: transparent;
  border: none;
  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: 10;
}

.modal-header .btn-close:hover,
.pup-signin.btn-close:hover {
  opacity: 1;
  transform: scale(1.1);
}

.modal-header .btn-close:focus,
.pup-signin.btn-close:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  box-shadow: 0 0 0 1px var(--Wallex-white), 0 0 0 5px #FFD700;
  opacity: 1;
}

.pup-signin img {
  width: 32px;
  height: 32px;
}

/* Assicura che il modal-header abbia position relative */
.modal-header {
  position: relative;
  padding-right: 3rem; /* Spazio per il bottone */
}

/* Per assicurare che il titolo non vada sotto il bottone */
.modal-title {
  padding-right: 2rem;
  max-width: calc(100% - 3rem);
}

/* Body del modal */
.modal-body {
  background-color: var(--Wallex-white);
  color: var(--text-secondary);
  padding: 1.5rem;
}

.modal-body p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Footer del modal */
.modal-footer {
  background-color: var(--Wallex-white);
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
}

/* Bottoni nel modal */
.modal-footer .btn {
  min-width: 100px;
}

.modal-footer .btn-secondary {
  background-color: var(--Product-dark);
  border-color: var(--Product-dark);
  color: #FFFFFF;
}

.modal-footer .btn-secondary:hover {
  background-color: #3A4253;
  border-color: #3A4253;
}

.modal-footer .btn-primary {
  background-color: var(--Wallex-blue);
  border-color: var(--Wallex-blue);
  color: #FFFFFF;
}

.modal-footer .btn-primary:hover {
  background-color: #2952E6;
  border-color: #2952E6;
}

/* Focus per accessibilità */
.modal-content *:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* Input e form nel modal */
.modal-body input,
.modal-body textarea,
.modal-body select {
  background-color: var(--Wallex-cream);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 6px;
  transition: border-color 0.3s ease;
}

.modal-body input:focus,
.modal-body textarea:focus,
.modal-body select:focus {
  background-color: #0A0F1C;
  border-color: var(--Wallex-blue);
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

.modal-body input::placeholder,
.modal-body textarea::placeholder {
  color: var(--text-muted);
}

/* Label nel modal */
.modal-body label {
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

/* Link nel modal */
.modal-body a {
  color: var(--Wallex-blue);
  text-decoration: underline;
}

.modal-body a:hover {
  color: #5B9BFF;
}

.modal-body a:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 576px) {
  .modal-content {
    margin: 1rem;
  }
  
  .modal-header,
  .modal-body,
  .modal-footer {
    padding: 1rem;
  }
  
  .modal-title {
    font-size: 1.25rem;
  }
}

/* Alto contrasto support */
@media (prefers-contrast: high) {
  .modal-content {
    border: 2px solid #FFFFFF;
  }
  
  .modal-header,
  .modal-footer {
    border-color: #FFFFFF;
  }
}

/* Animazione di apertura accessibile */
@media (prefers-reduced-motion: reduce) {
  .modal.fade .modal-dialog {
    transition: none;
  }
}

/* Assicura che il contenuto sia leggibile */
.modal-body h1,
.modal-body h2,
.modal-body h3,
.modal-body h4,
.modal-body h5,
.modal-body h6 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.modal-body ul,
.modal-body ol {
  color: var(--text-secondary);
  padding-left: 1.5rem;
}

.modal-body li {
  margin-bottom: 0.5rem;
}

/* Divider nel modal body */
.modal-body hr {
  border-color: var(--border-color);
  margin: 1.5rem 0;
}

.btn-close-custom {
  position: absolute;
  top: 0;
  right: 1rem;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.2s ease;
  z-index: 10;
  width: auto;
  height: auto;
}

.btn-close-custom:hover {
  opacity: 1;
  transform: scale(1.1);
}

.btn-close-custom:focus {
  outline: 3px solid #FFD700;
  outline-offset: 2px;
  opacity: 1;
}

.btn-close-custom i {
  color: #FFFFFF;
}



/* Rimuovi il focus outline solo per interazioni con mouse */
*:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

/* Mantieni il focus outline per navigazione da tastiera */
*:focus-visible {
    outline: 3px solid #FFD700 !important;
    outline-offset: 2px !important;
}

/* Applica lo stesso principio ai tuoi elementi specifici */
.btn:focus:not(:focus-visible),
.navbar-brand:focus:not(:focus-visible),
a:focus:not(:focus-visible),
.product-card:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
}

.btn:focus-visible,
.navbar-brand:focus-visible,
a:focus-visible,
.product-card:focus-visible,
button:focus-visible {
    outline: 3px solid #FFD700 !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 1px var(--Wallex-cream), 0 0 0 5px #FFD700 !important;
}


/* ============================================
   DISCLAIMER MODAL - CUSTOM STYLES
   Bootstrap 5 Compatible
   Responsive & EAA Compliant
   Integrato con lo style.css esistente
   ============================================ */

/* ---- Modal Specifico per Disclaimer ---- */
/* Utilizza le variabili CSS esistenti del progetto */
.disclaimer-modal .modal-dialog {
    max-width: 600px;
    margin: 1rem auto;
}

.disclaimer-modal__dialog {
    animation: disclaimerSlideIn 0.4s ease-out;
}

@keyframes disclaimerSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Content Override Specifico ---- */
/* Eredita gli stili base dal modal-content esistente ma li specializza */
.disclaimer-modal .modal-content {
    /* Eredita: background-color, color, border, border-radius, box-shadow */
    overflow: hidden;
}

/* ---- Header con Logo ---- */
.disclaimer-modal .modal-header {
    /* Eredita: background-color, color, border-bottom, padding */
    padding: 2rem 2rem 1rem;
    border-bottom: none; /* Rimuove il bordo per il disclaimer */
}

.disclaimer-modal__logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
    margin-bottom: 0.5rem;
}

.disclaimer-modal__logo {
    max-width: 200px;
    max-height: 80px;
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(0) invert(1);
}

/* ---- Body Content ---- */
.disclaimer-modal .modal-body {
    /* Eredita: background-color, color, padding */
    padding: 1.5rem 2rem 2rem;
    position: relative; /* For absolute positioned children */
}

.disclaimer-modal__title {
    /* Utilizza var(--text-primary) dal CSS esistente */
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-align: center;
    line-height: 1.3;
}

.disclaimer-modal__text {
    /* Utilizza var(--text-secondary) dal CSS esistente */
    color: var(--text-secondary);
    font-size: .85rem;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
    position: relative;
}

.disclaimer-modal__text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.disclaimer-modal__text p:last-child {
    margin-bottom: 0;
}

/* Custom scrollbar - Si integra con il tema dark */
.disclaimer-modal__text::-webkit-scrollbar {
    width: 8px;
}

.disclaimer-modal__text::-webkit-scrollbar-track {
    background: var(--Product-dark, #2C3240);
    border-radius: 4px;
}

.disclaimer-modal__text::-webkit-scrollbar-thumb {
    background: var(--border-color, #3A4253);
    border-radius: 4px;
}

.disclaimer-modal__text::-webkit-scrollbar-thumb:hover {
    background: #4A5263;
}

/* ---- Scroll Indicator ---- */
/* Container for fade gradient - positioned relative to modal-body */
.disclaimer-modal__scroll-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent 0%, var(--Wallex-white, #ffffff) 70%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
    z-index: 1;
}

/* Hide gradient when scrolled to bottom */
.disclaimer-modal__scroll-fade.hidden {
    opacity: 0;
}

/* Animated scroll arrow indicator */
.disclaimer-modal__scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.disclaimer-modal__scroll-indicator.hidden {
    opacity: 0;
}

.disclaimer-modal__scroll-arrow {
    width: 24px;
    height: 24px;
    border-left: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(-45deg);
    animation: scrollBounce 2s infinite;
    opacity: 0.6;
}

@keyframes scrollBounce {
    0%, 100% {
        transform: translateY(0) rotate(-45deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(8px) rotate(-45deg);
        opacity: 0.3;
    }
}

/* ---- Footer con Bottone ---- */
.disclaimer-modal .modal-footer {
    /* Eredita: background-color, border-top, padding */
    padding: 1.5rem 2rem 2rem;
    justify-content: center;
    border-top: none; /* Rimuove il bordo per il disclaimer */
}

/* Bottone Disclaimer - Utilizza i colori del progetto */
.disclaimer-modal__button {
    background-color: var(--Wallex-blue, #3D63F0);
    color: #FFFFFF;
    border: 2px solid var(--Wallex-blue, #3D63F0);
    border-radius: 8px;
    padding: 0.875rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.disclaimer-modal__button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.disclaimer-modal__button:hover::before {
    width: 300px;
    height: 300px;
}

.disclaimer-modal__button:hover {
    background-color: #2952E6;
    border-color: #2952E6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(61, 99, 240, 0.4);
}

/* Focus accessibilità - usa lo stesso stile del progetto */
.disclaimer-modal__button:focus {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
    box-shadow: 0 0 0 1px var(--Wallex-white), 0 0 0 5px #FFD700;
}

.disclaimer-modal__button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(61, 99, 240, 0.3);
}

.disclaimer-modal__button-text {
    position: relative;
    z-index: 1;
}

/* ---- Responsive Design ---- */

/* Tablet */
@media (max-width: 768px) {
    .disclaimer-modal .modal-dialog {
        max-width: 90%;
        margin: 1rem auto;
    }
    
    .disclaimer-modal .modal-header {
        padding: 1.5rem 1.5rem 0.75rem;
    }
    
    .disclaimer-modal__logo-container {
        min-height: 60px;
    }
    
    .disclaimer-modal__logo {
        max-width: 160px;
        max-height: 60px;
    }
    
    .disclaimer-modal .modal-body {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .disclaimer-modal__title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .disclaimer-modal__text {
        font-size: 0.95rem;
        max-height: 350px; /* Increased from 300px */
    }
    
    .disclaimer-modal .modal-footer {
        padding: 1.25rem 1.5rem 1.5rem;
    }
    
    .disclaimer-modal__button {
        padding: 0.75rem 2rem;
        font-size: 1rem;
        min-width: 180px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .disclaimer-modal .modal-dialog {
        max-width: 95%;
        margin: 0.5rem auto;
    }
    
    .disclaimer-modal .modal-header {
        padding: 1.25rem 1.25rem 0.5rem;
    }
    
    .disclaimer-modal__logo-container {
        min-height: 50px;
    }
    
    .disclaimer-modal__logo {
        max-width: 140px;
        max-height: 50px;
    }
    
    .disclaimer-modal .modal-body {
        padding: 1rem 1.25rem 1.25rem;
    }
    
    .disclaimer-modal__title {
        font-size: 1.35rem;
        margin-bottom: 0.875rem;
    }
    
    .disclaimer-modal__text {
        font-size: 0.9rem;
        max-height: 350px; /* Increased from 250px */
        line-height: 1.5;
    }
    
    .disclaimer-modal .modal-footer {
        padding: 1rem 1.25rem 1.25rem;
    }
    
    .disclaimer-modal__button {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        min-width: 160px;
        width: 100%;
    }
    
    /* Adjust scroll indicator for mobile */
    .disclaimer-modal__scroll-arrow {
        width: 20px;
        height: 20px;
    }
}

/* Very Small Mobile */
@media (max-width: 380px) {
    .disclaimer-modal__title {
        font-size: 1.2rem;
    }
    
    .disclaimer-modal__text {
        font-size: 0.875rem;
        max-height: 300px; /* Increased from 200px */
    }
    
    .disclaimer-modal__button {
        font-size: 0.9rem;
        padding: 0.7rem 1.25rem;
    }
}

/* ---- High Contrast Mode (EAA Compliance) ---- */
/* Si integra con le regole esistenti */
@media (prefers-contrast: high) {
    .disclaimer-modal .modal-content {
        border-width: 2px;
    }
    
    .disclaimer-modal__button {
        border-width: 3px;
    }
    
    .disclaimer-modal__button:focus {
        outline-width: 4px;
    }
    
    /* Ensure logo remains visible in high contrast mode */
    .disclaimer-modal__logo {
        filter: brightness(0) invert(1);
        opacity: 1;
    }
}

/* ---- Reduced Motion (EAA Compliance) ---- */
/* Si integra con le regole esistenti */
@media (prefers-reduced-motion: reduce) {
    .disclaimer-modal__dialog {
        animation: none;
    }
    
    .disclaimer-modal__button,
    .disclaimer-modal__button::before {
        transition: none;
    }
    
    .disclaimer-modal__button:hover {
        transform: none;
    }
    
    /* Disable scroll indicator animation for reduced motion */
    .disclaimer-modal__scroll-arrow {
        animation: none;
    }
}

/* ---- Print Styles ---- */
@media print {
    .disclaimer-modal {
        display: none !important;
    }
}

/* ---- Elementi Accessibili per Screen Reader ---- */
.disclaimer-modal__sr-only {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}



/* ============================================
   CONTACTS SECTION - CUSTOM STYLES
   Bootstrap 5 Compatible
   Responsive & Dark Theme
   ============================================ */

/* ---- Section Container ---- */
.contacts-section {
  display: flex;
  flex-direction: column;
  margin-top: 5rem;
  justify-content: center;
    height: auto;
    padding: 4rem 0;
    background-color: var(--Wallex-white, #ffffff);
    color: var(--text-primary, #E0E0E0);
}

/* ---- Column Styling ---- */
.contacts-column {
    height: 100%;
}

.contacts-column__title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary, #E0E0E0);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacts-column__divider {
    border: 0;
    border-top: 1px solid var(--border-color, #3A4253);
    margin: 1.5rem 0;
    opacity: 1;
}

/* ---- Phone Box ---- */
.contacts-phone-box {
    border: 2px solid var(--border-color, #3A4253);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contacts-phone-box:hover {
    border-color: var(--Wallex-blue, #3D63F0);
    background-color: rgba(61, 99, 240, 0.05);
}

.contacts-phone-link {
    color: var(--text-primary, #E0E0E0);
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    transition: color 0.3s ease;
}

.contacts-phone-link:hover {
    color: var(--Wallex-blue, #3D63F0);
}

.contacts-phone-link:focus {
    outline: 3px solid #FFD700;
    outline-offset: 4px;
}

/* ---- Social Icons ---- */
.contacts-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-top: 1rem;
}

.contacts-social__link {
    color: var(--text-primary, #E0E0E0);
    font-size: 2rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contacts-social__link:hover {
    color: var(--Wallex-blue, #3D63F0);
    transform: translateY(-3px);
}

.contacts-social__link:focus {
    outline: 3px solid #FFD700;
    outline-offset: 4px;
}

.contacts-social__link i {
    display: block;
}

/* ---- Email Section ---- */
.contacts-email-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacts-email-item {
    /* No additional styling needed, spacing handled by gap */
}

.contacts-email-item__subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary, #E0E0E0);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contacts-email-item__text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary, #B0B0B0);
    margin: 0;
}

.contacts-email-item__link {
    color: var(--Wallex-light-gray, #3D63F0);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contacts-email-item__link:hover {
    color: #5B9BFF;
    border-bottom-color: #5B9BFF;
}

.contacts-email-item__link:focus {
    outline: 3px solid #FFD700;
    outline-offset: 2px;
}

/* ---- Locations ---- */
.contacts-locations {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contacts-location-item {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary, #E0E0E0);
    padding: 0;
    position: relative;
}

/* ---- Responsive Design ---- */

/* Tablet */
@media (max-width: 991px) {
    .contacts-section {
        padding: 3rem 0;
    }
    
    .contacts-column__title {
        font-size: 1.35rem;
    }
    
    .contacts-phone-link {
        font-size: 1.15rem;
    }
    
    .contacts-social__link {
        font-size: 1.75rem;
    }
    
    .contacts-email-section {
        gap: 1.75rem;
    }
    
    /* Add spacing between columns on tablet */
    .contacts-column {
        margin-bottom: 2rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .contacts-section {
        padding: 2.5rem 0;
    }
    
    .contacts-column__title {
        font-size: 1.25rem;
    }
    
    .contacts-column__divider {
        margin: 1rem 0;
    }
    
    .contacts-phone-box {
        padding: 1rem 1.25rem;
    }
    
    .contacts-phone-link {
        font-size: 1.1rem;
    }
    
    .contacts-social {
        gap: 1.25rem;
    }
    
    .contacts-social__link {
        font-size: 1.65rem;
    }
    
    .contacts-email-section {
        gap: 1.5rem;
    }
    
    .contacts-email-item__subtitle {
        font-size: 0.95rem;
    }
    
    .contacts-email-item__text {
        font-size: 0.9rem;
    }
    
    .contacts-location-item {
        font-size: 1.05rem;
        padding: 0.65rem 0;
    }
    
    .contacts-column {
        margin-bottom: 2.5rem;
    }
}

/* ---- High Contrast Mode (EAA Compliance) ---- */
@media (prefers-contrast: high) {
    .contacts-phone-box {
        border-width: 3px;
    }
    
    .contacts-column__divider {
        border-top-width: 2px;
    }
}

/* ---- Reduced Motion (EAA Compliance) ---- */
@media (prefers-reduced-motion: reduce) {
    .contacts-phone-box,
    .contacts-phone-link,
    .contacts-social__link,
    .contacts-email-item__link {
        transition: none;
    }
    
    .contacts-social__link:hover {
        transform: none;
    }
}

/* ---- Print Styles ---- */
@media print {
    .contacts-section {
        padding: 2rem 0;
    }
    
    .contacts-phone-box {
        border: 1px solid #000;
    }
    
    .contacts-social__link {
        color: #000;
    }
}