/* ==========================================================================
   TABLE OF CONTENTS
   1. IMPORTS & FONTS
   2. CSS VARIABLES & THEMES
   3. BASE & RESET STYLES
   4. UTILITIES & HELPER CLASSES
   5. UI COMPONENTS
      - Buttons
      - Cards
      - Header & Navigation
      - Forms & Inputs
      - Footer
   6. PAGE SECTIONS & LAYOUTS
      - Hero Section
      - Services & Why Us Sections
      - Trust & Brands Section
      - Service Features (Asymmetrical Layouts)
      - Page Header (Internal Pages)
      - Contact Section & Map
      - FAQ Accordion Section
   7. RESPONSIVE / MEDIA QUERIES
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. IMPORTS & FONTS
   -------------------------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --------------------------------------------------------------------------
   2. CSS VARIABLES & THEMES
   -------------------------------------------------------------------------- */
:root {
  /* Light Mode (Default) */
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  /* Migliorato contrasto (era #86868B) */
  --accent-red: #E3000F;
  --accent-red-hover: #C5000D;
  --border-color: #E5E5EA;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.1);
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Native System Dark Mode (Automatic sync on iOS, iPadOS, macOS, Android) */
@media (prefers-color-scheme: dark) {
  :root:not(.light-theme) {
    color-scheme: dark;
    --bg-primary: #121212;
    --bg-secondary: #1E1E1E;
    --text-primary: #F5F5F7;
    --text-secondary: #A1A1A6;
    --accent-red: #FF3B30;
    --accent-red-hover: #FF554D;
    --border-color: #333336;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    --box-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.7);
  }
}

/* Explicit Dark Theme */
:root.dark-theme,
html.dark-theme,
body.dark-theme {
  color-scheme: dark;
  --bg-primary: #121212;
  --bg-secondary: #1E1E1E;
  --text-primary: #F5F5F7;
  --text-secondary: #A1A1A6;
  --accent-red: #FF3B30;
  --accent-red-hover: #FF554D;
  --border-color: #333336;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  --box-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.7);
}

/* Explicit Light Theme */
:root.light-theme,
html.light-theme,
body.light-theme {
  color-scheme: light;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F5F5F7;
  --text-primary: #1D1D1F;
  --text-secondary: #6E6E73;
  --accent-red: #E3000F;
  --accent-red-hover: #C5000D;
  --border-color: #E5E5EA;
  --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   3. BASE & RESET STYLES
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  word-break: break-word;
}

h2 {
  font-size: clamp(1.65rem, 3.8vw, 2.5rem);
  font-weight: 700;
  word-break: break-word;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

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

a {
  text-decoration: none;
  color: var(--accent-red);
  transition: color 0.25s ease;
}

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

/* --------------------------------------------------------------------------
   4. UTILITIES & HELPER CLASSES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

.justify-center {
  justify-content: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

/* --------------------------------------------------------------------------
   KEYFRAME & REVEAL ANIMATIONS (Ottimizzate per non stancare)
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.logo {
  opacity: 0;
  animation: slideInLeft 0.6s ease-out forwards 0.2s;
}

.nav-menu {
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards 0.2s;
}

.nav-actions {
  opacity: 0;
  animation: slideInRight 0.6s ease-out forwards 0.2s;
}

/* Scroll Reveal - Più veloce e meno invasivo */
.reveal-text,
.reveal-item,
.reveal-image,
.card,
.service-feature,
.why-us-item,
.contact-info-card,
.faq-item {
  opacity: 0;
  transform: translateY(10px);
  /* Ridotto da 30px a 10px */
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  /* Ridotto da 0.8s a 0.5s */
}

.reveal-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

.delay-4 {
  transition-delay: 0.4s;
}

/* --------------------------------------------------------------------------
   5. UI COMPONENTS
   -------------------------------------------------------------------------- */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 8px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-red);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--accent-red-hover);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(227, 0, 15, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--text-secondary);
  transform: translateY(-2px);
}

.btn-large {
  padding: 16px 32px;
  font-size: 1.125rem;
}

.btn-outline-white {
  background-color: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFF;
  width: 100%;
  margin-bottom: 2rem;
}

.btn-whatsapp:hover {
  background-color: #1EBE55;
  color: #FFF;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Cards - Transizioni fluide per dark mode */
.card,
.header,
.footer,
.service-feature,
.contact-info-card,
.faq-item,
.form-group input,
.form-group textarea,
.why-us-card,
.trust-section,
.services-section,
.why-us-section {
  transition: background-color 0.4s ease,
    color 0.4s ease,
    border-color 0.4s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

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

.card-icon {
  color: var(--accent-red);
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-bottom: 1rem;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 0;
  background-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    backdrop-filter 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  padding: 0.4rem 0;
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--box-shadow);
}

.dark-theme .header.scrolled {
  background-color: rgba(18, 18, 18, 0.95);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
  width: 100%;
  max-width: 100%;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 65px;
  transform: translateY(6px);
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled .nav-container {
  height: 65px;
  transform: translateY(0);
}

.nav-container nav {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 55px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled .logo img {
  height: 46px;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo .logo-dark {
  display: none;
}

.logo .logo-light {
  display: block;
}

@media (prefers-color-scheme: dark) {
  :root:not(.light-theme) .logo .logo-light {
    display: none;
  }
  :root:not(.light-theme) .logo .logo-dark {
    display: block;
  }
}

.dark-theme .logo .logo-light {
  display: none;
}

.dark-theme .logo .logo-dark {
  display: block;
}

.light-theme .logo .logo-light {
  display: block;
}

.light-theme .logo .logo-dark {
  display: none;
}

/* ==========================================================================
   TRANSPARENT HEADER CONTRAST OVER HERO (Light Theme Only)
   ========================================================================== */
.light-theme .header.header-over-hero:not(.scrolled) .logo-text,
:root:not(.dark-theme) .header.header-over-hero:not(.scrolled) .logo-text {
  color: #FFFFFF;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

@media (min-width: 769px) {
  .light-theme .header.header-over-hero:not(.scrolled) .nav-link,
  :root:not(.dark-theme) .header.header-over-hero:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  }

  .light-theme .header.header-over-hero:not(.scrolled) .nav-link:hover,
  .light-theme .header.header-over-hero:not(.scrolled) .nav-link.active,
  :root:not(.dark-theme) .header.header-over-hero:not(.scrolled) .nav-link:hover,
  :root:not(.dark-theme) .header.header-over-hero:not(.scrolled) .nav-link.active {
    color: #FFFFFF;
  }
}

.light-theme .header.header-over-hero:not(.scrolled) .theme-toggle,
:root:not(.dark-theme) .header.header-over-hero:not(.scrolled) .theme-toggle {
  color: #FFFFFF;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.light-theme .header.header-over-hero:not(.scrolled) .theme-toggle:hover,
:root:not(.dark-theme) .header.header-over-hero:not(.scrolled) .theme-toggle:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.light-theme .header.header-over-hero:not(.scrolled) .menu-toggle .bar,
:root:not(.dark-theme) .header.header-over-hero:not(.scrolled) .menu-toggle .bar {
  background-color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.light-theme .header.header-over-hero:not(.scrolled) .menu-toggle:hover,
:root:not(.dark-theme) .header.header-over-hero:not(.scrolled) .menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 5px;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover: hover) {
  .nav-link:hover::after {
    transform: scaleX(1);
  }
}

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-red);
}

.nav-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.85rem;
}

.nav-chat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 50px;
  background-color: #25D366;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.nav-chat-btn:hover {
  background-color: #20ba59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
  color: #ffffff;
}

.nav-chat-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.theme-toggle {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, transform 0.2s ease;
}

.theme-toggle:hover {
  background-color: var(--bg-secondary);
  transform: rotate(15deg);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 12px 10px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 1003;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  background-color: var(--bg-secondary);
}

.menu-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.25s ease,
              background-color 0.25s ease;
  transform-origin: center;
}

/* Perfect 3-Bar to X Hamburger Transformation */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--accent-red);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--accent-red);
}

/* Hidden by default on Desktop */
.drawer-header,
.drawer-footer,
.nav-backdrop {
  display: none;
}

/* Forms & Inputs */
.contact-form {
  margin-top: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 16px; /* Prevents iOS Safari auto-zoom on mobile */
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='2' stroke='%236E6E73'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow: 0 0 0 3px rgba(227, 0, 15, 0.1);
}

/* Footer */
.footer {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent-red);
}

/* Footer Direct Contact Info with Icons (Falegnameria SM Style) */
.contact-info-footer {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-info-footer p {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.contact-info-footer p svg {
  color: var(--accent-red);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-footer a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.contact-info-footer a:hover {
  color: var(--accent-red);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.copyright {
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  opacity: 0.8;
  margin-bottom: 0.6rem;
}

.credits {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.credits-icon {
  color: var(--accent-red);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.credits-link {
  color: var(--accent-red);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.credits-link:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

/* CTA Footer - Nuovo elemento */
.footer-cta {
  background: linear-gradient(135deg, var(--accent-red) 0%, #B0000C 100%);
  border-radius: 12px;
  padding: 3rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
  color: #FFFFFF;
}

.footer-cta h3 {
  color: #FFFFFF;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.footer-cta p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   6. PAGE SECTIONS & LAYOUTS
   -------------------------------------------------------------------------- */

/* Hero Section */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  /* Ridotto da 100vh a 80vh per dare respiro */
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(18, 18, 18, 0.85), rgba(18, 18, 18, 0.5));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
}

/* Badge di fiducia - Nuovo elemento */
.hero-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
}

.hero-content h1 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  font-size: clamp(3rem, 6vw, 4.5rem);
  line-height: 1.1;
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

.hero-content p {
  color: #F5F5F7;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
  animation-delay: 0.4s;
}

.hero-buttons {
  animation: fadeInUp 0.7s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
}

/* Titolo con sottolineatura */
.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background-color: var(--accent-red);
  border-radius: 2px;
}

/* Servizi: 4 card su desktop */
.services-grid-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 1100px) {
  .services-grid-wide {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 640px) and (max-width: 1099px) {
  .services-grid-wide {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
  }
}

.service-card-wide {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  border-top: 3px solid transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2.5rem 2rem;
  /* Aumentato il padding */
}

.service-card-wide:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(227, 0, 15, 0.15);
  border-top: 3px solid var(--accent-red);
}

.dark-theme .service-card-wide:hover {
  box-shadow: 0 12px 30px rgba(255, 59, 48, 0.25);
}

/* Badge */
.service-card-wide .card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-red);
  background-color: var(--bg-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.service-card-wide:hover .card-badge {
  opacity: 1;
}

/* Icone */
.service-card-wide .card-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(227, 0, 15, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
  flex-shrink: 0;
}

.service-card-wide .card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card-wide:hover .card-icon {
  transform: scale(1.1);
  background-color: rgba(227, 0, 15, 0.15);
}

/* Contenuto card */
.card-content {
  flex: 1;
}

.card-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card-content p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Lista features */
.card-features {
  list-style: none;
  margin-bottom: 1rem;
}

.card-features li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: 700;
}

/* CTA */
.service-card-wide .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-red);
  transition: gap 0.3s ease;
}

.service-card-wide .card-cta .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.service-card-wide:hover .card-cta {
  gap: 0.75rem;
}

.service-card-wide:hover .card-cta .arrow {
  transform: translateX(4px);
}

/* Why Us Section (migliorata con statistiche e card) */
.why-us-section {
  padding: 5rem 0;
}

/* Statistiche */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-red);
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Card vantaggi */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.why-us-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.4s ease,
    border-color 0.4s ease;
}

.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
}

.why-us-card .why-us-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background-color: rgba(227, 0, 15, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-red);
}

.dark-theme .why-us-card .why-us-icon {
  background-color: rgba(255, 59, 48, 0.12);
}

.why-us-card .why-us-icon svg {
  width: 24px;
  height: 24px;
}

.why-us-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.why-us-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* Trust Section & Brands Marquee */
.trust-section {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
  text-align: center;
  overflow: hidden;
}

.brands-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 3rem;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: marqueeScroll 90s linear infinite;
  will-change: transform;
}

.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}

.brand-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item img {
  height: 44px;
  max-width: 125px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.brand-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

.dark-theme .brand-item img {
  filter: grayscale(100%) invert(1);
}

.dark-theme .brand-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes marqueeScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

/* Operators Section & Cards */
.operators-section {
  padding: 5rem 0;
  background-color: var(--bg-primary);
  text-align: center;
}

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

.operator-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.75rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), border-color 0.3s ease;
  min-height: 125px;
}

.operator-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(227, 0, 15, 0.3);
}

.operator-logo {
  height: 48px;
  width: 100%;
  max-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.operator-logo img {
  max-height: 32px;
  width: 100%;
  max-width: 130px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.operator-card:hover .operator-logo img {
  transform: scale(1.08);
}

.operator-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.dark-theme .operator-card {
  background-color: var(--bg-secondary);
}

.dark-theme .operator-logo {
  background-color: #ffffff;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Operator Services Highlights */
.operator-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  text-align: left;
}

.operator-service-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.operator-service-item:hover {
  transform: translateY(-3px);
  border-color: rgba(227, 0, 15, 0.3);
  box-shadow: var(--box-shadow-hover);
}

.operator-service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(227, 0, 15, 0.08);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.dark-theme .operator-service-icon {
  background-color: rgba(227, 0, 15, 0.18);
  color: #ff4d4d;
}

.operator-service-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.operator-service-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.operator-cta-box {
  margin-top: 2.75rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 992px) {
  .operators-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .operator-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .operators-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .operator-services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* Service Features (Asymmetrical Layout) */
.service-feature {
  padding: 6rem 0;
  background-color: var(--bg-primary);
}

.service-feature:nth-child(even) {
  background-color: var(--bg-secondary);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.feature-grid.reverse .feature-content {
  order: 2;
}

.feature-grid.reverse .feature-image {
  order: 1;
}

.feature-content h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.feature-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.feature-image img {
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-image img:hover {
  transform: scale(1.02);
  box-shadow: var(--box-shadow-hover);
}

/* Page Header (Internal Pages) */
.page-header {
  padding: 10rem 0 4rem;
  text-align: center;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Store Benefits / Highlights Section */
.store-benefits {
  padding: 2.5rem 0 0;
}

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

.store-benefit-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: transform 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth), border-color 0.3s ease;
}

.store-benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(227, 0, 15, 0.3);
}

.store-benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(227, 0, 15, 0.08);
  color: var(--accent-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.store-benefit-icon svg {
  width: 22px;
  height: 22px;
}

.store-benefit-content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.store-benefit-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.4;
}

/* Contact Section & Map */
/* Full-Width Map & Location Section */
.map-fullwidth-section {
  padding: 3rem 0 4rem;
  background-color: var(--bg-primary);
}

.map-fullwidth-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.map-fullwidth-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--box-shadow);
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.map-fullwidth-wrapper iframe {
  width: 100%;
  height: 420px;
  display: block;
  border: 0;
}

.map-buttons {
  display: flex;
  gap: 1rem;
}

.map-btn-gps {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.map-btn-gps:hover {
  background-color: var(--accent-red);
  color: #ffffff;
}

/* Directions & Parking Box */
.directions-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.directions-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.direction-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.direction-icon {
  color: var(--accent-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.direction-item h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.direction-item p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* 2-Column Contact & Operations Section */
.contact-section {
  padding: 1rem 0 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-info-card,
.contact-form-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-info-card h2,
.contact-form-card h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.contact-items-group {
  margin-top: 1.5rem;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0;
}

.contact-item-icon {
  color: var(--accent-red);
  margin-top: 3px;
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.contact-item p {
  margin-bottom: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--accent-red);
}

/* Hours Card & Live Status */
.hours-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.75rem;
}

.hours-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hours-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: all 0.3s ease;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  display: inline-block;
  animation: pulse-dot 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.85);
  }
}

.status-badge.open {
  background-color: rgba(52, 199, 89, 0.15);
  color: #1a7e32;
}

.dark-theme .status-badge.open {
  background-color: rgba(48, 209, 88, 0.2);
  color: #30D158;
}

.status-badge.closed {
  background-color: rgba(255, 59, 48, 0.12);
  color: #c01414;
}

.dark-theme .status-badge.closed {
  background-color: rgba(255, 69, 58, 0.2);
  color: #FF453A;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.5rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.875rem;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row.today {
  background-color: rgba(227, 0, 15, 0.06);
  font-weight: 700;
  color: var(--text-primary);
}

.dark-theme .hours-row.today {
  background-color: rgba(255, 59, 48, 0.12);
}

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

.today-tag {
  font-size: 0.6875rem;
  background-color: var(--accent-red);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

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

.hours-row.today .hours-time {
  color: var(--text-primary);
  font-weight: 600;
}

/* Contact Form inside Card */
.contact-form-card .contact-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.form-subtext {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.direction-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.direction-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 0;
}

/* Form Helper & WhatsApp Submit */
.form-subtext {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 0.75rem;
}



/* FAQ Section & Interactive Filter */
.faq-section {
  padding: 4rem 0 6rem 0;
  max-width: 1280px;
  margin: 0 auto;
}



/* Category Filter Tabs */
.faq-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.faq-tab-btn {
  background: var(--bg-secondary);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faq-tab-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
  transform: translateY(-1px);
}

.faq-tab-btn.active {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red);
  box-shadow: 0 4px 12px rgba(227, 0, 15, 0.25);
}

/* FAQ Controls Bar */
.faq-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.faq-toggle-all-btn {
  background: none;
  border: none;
  color: var(--accent-red);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: opacity 0.2s ease;
}

.faq-toggle-all-btn:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* FAQ Grid System */
.faq-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: start;
}

/* FAQ Items */
.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 1.35rem 1.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 152px;
}

.faq-item:hover {
  border-color: rgba(227, 0, 15, 0.35);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.faq-item.active {
  border-color: var(--accent-red);
  box-shadow: 0 8px 24px rgba(227, 0, 15, 0.08);
}

.faq-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.65rem;
}

.faq-cat-tag {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 6px;
  background-color: rgba(227, 0, 15, 0.08);
  color: var(--accent-red);
}

.dark-theme .faq-cat-tag {
  background-color: rgba(227, 0, 15, 0.18);
  color: #ff4d4d;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s ease;
  line-height: 1.45;
  flex: 1;
}

.faq-question:hover {
  color: var(--accent-red);
}

.faq-question:focus {
  outline: none;
}

.faq-question .icon {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--accent-red);
  flex-shrink: 0;
  margin-left: 0.75rem;
  margin-top: 2px;
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    margin-top 0.3s ease, padding-top 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.94rem;
}

.faq-answer p {
  margin-bottom: 0.7rem;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer ul {
  padding-left: 1.15rem;
  margin: 0.4rem 0 0.6rem 0;
}

.faq-answer li {
  margin-bottom: 0.35rem;
}

.faq-item.active .faq-answer {
  max-height: 900px;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
}

/* Empty search state */
.faq-empty-state {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
  background: var(--bg-secondary);
  border-radius: 14px;
  border: 1px dashed var(--border-color);
  margin: 2rem 0;
}

/* FAQ Call to Action Banner */
.faq-cta-banner {
  margin-top: 4.5rem;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 3.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.faq-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  border-radius: 3px;
}

.faq-cta-content {
  max-width: 680px;
  margin: 0 auto;
}

.faq-cta-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-red);
  background-color: rgba(227, 0, 15, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

.dark-theme .faq-cta-badge {
  background-color: rgba(227, 0, 15, 0.2);
  color: #ff4d4d;
}

.faq-cta-banner h2 {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.faq-cta-banner p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.faq-cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-cta-wide {
  min-width: 300px;
  max-width: 100%;
  padding: 14px 32px;
  font-size: 1.05rem;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(227, 0, 15, 0.28);
}

@media (max-width: 992px) {
  .faq-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem;
  }
}

@media (max-width: 640px) {
  .faq-list {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .faq-cta-banner {
    padding: 2.5rem 1.5rem;
    margin-top: 3.5rem;
  }

  .faq-cta-banner h2 {
    font-size: 1.5rem;
  }
}

/* Floating WhatsApp Action Button - Mobile & Tablet Only */
.floating-whatsapp-btn {
  display: none; /* Hidden by default on Desktop */
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: #25D366;
  color: #ffffff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42);
  z-index: 999;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.floating-whatsapp-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.floating-whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: whatsapp-pulse 2.4s infinite;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.2);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* --------------------------------------------------------------------------
   7. RESPONSIVE / MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {

  /* Mobile Header & Action Bar */
  .nav-container {
    padding: 0 1.25rem;
    height: 64px;
    transform: none;
  }

  .header.scrolled .nav-container {
    height: 64px;
    transform: none;
  }

  .logo,
  .nav-actions {
    flex: initial;
  }

  .logo img {
    height: 42px;
  }

  .logo-text {
    font-size: 1.25rem;
  }

  .nav-actions {
    gap: 0.55rem;
  }

  /* Hide Desktop Header Chat Button on Mobile/Tablet */
  .nav-actions .nav-chat-btn {
    display: none;
  }

  /* Show Floating WhatsApp Button on Mobile/Tablet */
  .floating-whatsapp-btn {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  /* Backdrop Overlay */
  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 1001;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  /* Rebuilt Slide-in Drawer from scratch */
  .nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(340px, 86vw);
    height: 100dvh;
    background-color: var(--bg-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 2rem;
    z-index: 1002;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.3);
    border-left: 1px solid var(--border-color);
    transition: right 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dark-theme .nav-drawer {
    background-color: rgba(18, 18, 18, 0.98);
    border-left-color: rgba(255, 255, 255, 0.08);
  }

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

  /* Drawer Top Brand Header with Dedicated Close 'X' Button */
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
  }

  .drawer-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    padding: 0;
    flex-shrink: 0;
  }

  .drawer-close:hover,
  .drawer-close:focus-visible {
    background-color: var(--bg-secondary);
    color: var(--accent-red);
    transform: rotate(90deg);
  }

  .dark-theme .drawer-close:hover {
    background-color: rgba(255, 255, 255, 0.08);
  }

  .drawer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }

  .drawer-badge {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.2px;
  }

  .drawer-tagline {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.8px;
  }

  /* Navigation Links in Drawer */
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
    width: 100%;
    list-style: none;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 16px;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    background-color: var(--bg-secondary);
    color: var(--accent-red);
  }

  .dark-theme .nav-menu .nav-link:hover,
  .dark-theme .nav-menu .nav-link.active {
    background-color: rgba(255, 255, 255, 0.06);
  }

  /* Drawer Footer Contact Info */
  .drawer-footer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
  }

  .drawer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
  }

  .drawer-contact-item svg {
    color: var(--accent-red);
    flex-shrink: 0;
  }

  .drawer-contact-item a {
    color: var(--text-secondary);
    text-decoration: none;
  }

  .drawer-contact-item a:hover {
    color: var(--text-primary);
  }
}

@media (max-width: 768px) {

  /* Section Spacing Balance for Mobile */
  .services-section,
  .why-us-section,
  .trust-section,
  .operators-section,
  .contact-section,
  .faq-section {
    padding: 3.5rem 0;
  }

  /* Hero Section Mobile */
  .hero {
    min-height: 70vh;
    padding: 7.5rem 0 3.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  /* Features Grid Mobile */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-grid.reverse .feature-content {
    order: 1;
  }

  .feature-grid.reverse .feature-image {
    order: 2;
  }

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

  .stat-number {
    font-size: 2rem;
  }

  /* Why Us Grid Mobile */
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  /* Services Grid Mobile */
  .services-grid-wide {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* FAQ Horizontal Swipe Filter Tabs */
  .faq-filter-tabs {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 0.75rem;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .faq-filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .faq-tab-btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 0.92rem;
  }

  /* Contact & Footer Mobile */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

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

  .map-buttons {
    flex-direction: column;
  }

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

  /* Full Width Buttons on Mobile Forms & CTAs */
  .btn-cta-wide,
  .contact-form .btn {
    width: 100%;
    min-width: unset;
    justify-content: center;
  }

  /* Footer CTA Mobile */
  .footer-cta {
    padding: 2rem 1.5rem;
  }

  .footer-cta h3 {
    font-size: 1.5rem;
  }

  .contact-info-card {
    padding: 2rem;
  }
}

@media (max-width: 480px) {

  /* Extra Small Screens */
  .container {
    padding: 0 16px;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .logo img {
    height: 38px;
  }

  .nav-actions {
    gap: 0.4rem;
  }

  .floating-whatsapp-btn {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
  }

  .floating-whatsapp-btn svg {
    width: 28px;
    height: 28px;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 11px 8px;
  }

  .store-benefits-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .map-buttons {
    width: 100%;
    gap: 0.85rem;
  }

  .map-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }

  .btn-large {
    padding: 14px 24px;
    font-size: 1rem;
  }

  .brands-grid {
    gap: 1.8rem;
  }

  .brands-grid img {
    height: 28px;
  }
}