/* ============================================
   SCOUT UDINE 1 - MOBILE-FIRST DESIGN SYSTEM
   ============================================ */

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

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --scout-green: #0d6efd;
  --scout-green-light: #3d8bfd;
  --scout-green-dark: #0a58ca;
  --scout-green-glow: rgba(13, 110, 253, 0.35);

  --scout-gold: #0d6efd;
  --scout-gold-light: #0a58ca;
  --scout-gold-dark: #1e293b;

  --lc-color: #f39c12;
  --lc-color-light: #f1c40f;
  --lc-gradient: linear-gradient(135deg, #f5b041, #e67e22);

  --eg-color: #27ae60;
  --eg-color-light: #2ecc71;
  --eg-gradient: linear-gradient(135deg, #2ecc71, #27ae60);

  --rs-color: #c0392b;
  --rs-color-light: #e74c3c;
  --rs-gradient: linear-gradient(135deg, #e74c3c, #c0392b);

  --coca-color: #8e44ad;
  --coca-color-light: #9b59b6;
  --coca-gradient: linear-gradient(135deg, #9b59b6, #8e44ad);

  --bg-dark: #f8f9fa;
  --bg-dark-lighter: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: rgba(13, 110, 253, 0.05);
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --border-subtle: rgba(13, 110, 253, 0.15);
  --border-hover: rgba(13, 110, 253, 0.3);

  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(13, 110, 253, 0.15);

  --navbar-bg: rgba(248, 249, 250, 0.95);
  --navbar-border: rgba(13, 110, 253, 0.1);
  --navbar-bg-scrolled: rgba(248, 249, 250, 0.98);
  --navbar-collapse-bg: rgba(248, 249, 250, 0.98);
  --navbar-toggler-filter: invert(0.8);

  --hero-img-opacity: 1;
  --hero-img-brightness: 0.45;
}

[data-theme="dark"] {
  --bg-dark: #08111a;
  --bg-dark-lighter: #0d1a26;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --scout-gold: #ffffff;
  --scout-gold-light: #f8f9fa;
  --scout-gold-dark: #e9ecef;
  --text-primary: #f0f4f2;
  --text-secondary: rgba(240, 244, 242, 0.7);
  --text-muted: rgba(240, 244, 242, 0.4);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);

  --glass-bg: rgba(13, 110, 253, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);

  --navbar-bg: rgba(10, 15, 13, 0.95);
  --navbar-border: rgba(255, 255, 255, 0.08);
  --navbar-bg-scrolled: rgba(10, 15, 13, 0.97);
  --navbar-collapse-bg: rgba(10, 15, 13, 0.98);
  --navbar-toggler-filter: invert(1);

  --hero-img-opacity: 1;
  --hero-img-brightness: 0.35;
}

--shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
--shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
--shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
--shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.5);

--navbar-height: 64px;
--section-padding: 48px;
--border-radius: 14px;
--border-radius-sm: 8px;
--border-radius-lg: 20px;

--transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
--transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
--transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
--transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============================================
   RESET & BASE (MOBILE)
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

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

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

a:hover {
  color: var(--scout-gold-light);
}

::selection {
  background: var(--scout-green);
  color: var(--text-primary);
}

::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: var(--scout-green);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--scout-green-light);
}

/* ============================================
   LOADER
   ============================================ */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity .5s ease, visibility .5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-icon {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-subtle);
  border-top-color: var(--scout-green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ============================================
   NAVBAR (MOBILE BASE)
   ============================================ */
.navbar-scout {
  background: var(--navbar-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--navbar-border);
  padding: 0;
  height: var(--navbar-height);
  transition: all var(--transition-base);
  z-index: 1050;
}

.navbar-scout.scrolled {
  background: var(--navbar-bg-scrolled);
  box-shadow: var(--shadow-md);
  height: 58px;
}

.navbar-scout .navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-scout .navbar-brand .brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--scout-green), var(--scout-green-light));
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.navbar-scout .navbar-brand .brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
}

.navbar-scout .nav-link {
  color: var(--text-secondary) !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 10px 14px !important;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  position: relative;
}

.navbar-scout .nav-link:hover,
.navbar-scout .nav-link.active {
  color: var(--text-primary) !important;
  background: rgba(255, 255, 255, 0.05);
}

.navbar-scout .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 18px;
  height: 2px;
  background: var(--scout-gold);
  border-radius: 1px;
  transition: transform var(--transition-base);
}

.navbar-scout .nav-link:hover::after,
.navbar-scout .nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}

.navbar-collapse {
  background: var(--navbar-collapse-bg);
  border-radius: var(--border-radius);
  padding: 12px;
  margin-top: 8px;
  border: 1px solid var(--navbar-border);
  backdrop-filter: blur(20px);
}

.navbar-toggler {
  border: 1px solid var(--navbar-border) !important;
  padding: 5px 9px;
}

.navbar-toggler-icon {
  filter: var(--navbar-toggler-filter);
}

/* ============================================
   HERO SECTION (MOBILE BASE)
   ============================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
  padding-top: calc(var(--navbar-height) + 10px);
  padding-bottom: 40px;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: var(--hero-img-opacity);
  filter: brightness(var(--hero-img-brightness));
}

.hero-bg-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--scout-green-dark) 50%, var(--bg-dark) 100%);
  position: relative;
}

.hero-bg-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(13, 110, 253, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(13, 110, 253, 0.2) 0%, transparent 50%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 15, 13, 0.3) 0%, rgba(10, 15, 13, 0.7) 70%, var(--bg-dark) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  margin: auto 0;
}

.anniversary-banner {
  background: rgba(13, 37, 80, 0.85);
  border: 2px solid #ffc107;
  display: inline-block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  margin-bottom: 2rem;
  transition: transform var(--transition-base);
}

.anniversary-banner:hover {
  transform: scale(1.02);
}

.anniversary-title {
  color: #ffc107;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 0;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.anniversary-subtitle {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0;
  margin-top: 5px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--scout-gold);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f2 50%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% center;
  }

  50% {
    background-position: 200% center;
  }
}

.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
  font-weight: 300;
}

.hero-motto {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.btn-scout-primary {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--scout-green), var(--scout-green-light));
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 15px var(--scout-green-glow);
  width: 100%;
  justify-content: center;
  max-width: 280px;
}

.btn-scout-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--scout-green-glow);
  color: #ffffff;
}

.btn-scout-outline {
  padding: 12px 28px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  backdrop-filter: blur(10px);
  width: 100%;
  justify-content: center;
  max-width: 280px;
}

.btn-scout-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--scout-gold);
  color: var(--scout-gold);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  display: none;
}

.hero-scroll-indicator a {
  color: var(--text-muted);
  font-size: 1.3rem;
  transition: color var(--transition-fast);
}

.hero-scroll-indicator a:hover {
  color: var(--scout-gold);
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--scout-gold);
  border-radius: 50%;
  opacity: 0;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    opacity: 0;
    transform: translateY(100vh) scale(0);
  }

  10% {
    opacity: 0.5;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: translateY(-100px) scale(1);
  }
}

/* ============================================
   SECTIONS (MOBILE BASE)
   ============================================ */
.section {
  padding: var(--section-padding) 0;
  position: relative;
}

#trova-gruppo {
  padding-top: 48px;
}

#chi-siamo,
#branche,
#come-funziona,
#calendario,
#contatti {
  padding-top: 24px;
}

.section-dark {
  background: var(--bg-dark-lighter);
}

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--scout-gold);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   STATS ROW
   ============================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 32px;
}

.stat-card {
  text-align: center;
  padding: 20px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--scout-gold);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
}

/* ============================================
   BRANCH CARDS (MOBILE BASE)
   ============================================ */
.branch-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none !important;
  color: inherit !important;
}

.branch-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--border-radius) var(--border-radius) 0 0;
  transition: height var(--transition-base);
}

.branch-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.branch-card:hover::before {
  height: 4px;
}

.branch-card.lc::before {
  background: var(--lc-gradient);
}

.branch-card.eg::before {
  background: var(--eg-gradient);
}

.branch-card.rs::before {
  background: var(--rs-gradient);
}

.branch-card.coca::before {
  background: var(--coca-gradient);
}

.branch-card .card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  color: white;
  transition: transform var(--transition-spring);
}

.branch-card:hover .card-icon {
  transform: scale(1.1) rotate(-5deg);
}

.branch-card.lc .card-icon {
  background: var(--lc-gradient);
}

.branch-card.eg .card-icon {
  background: var(--eg-gradient);
}

.branch-card.rs .card-icon {
  background: var(--rs-gradient);
}

.branch-card.coca .card-icon {
  background: var(--coca-gradient);
}

.branch-card .card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.branch-card .card-age {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}

.branch-card .card-motto {
  font-style: italic;
  color: var(--scout-gold);
  font-size: 0.85rem;
  margin-bottom: 10px;
  font-weight: 500;
}

.branch-card .card-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-grow: 1;
}

.branch-card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 16px;
  transition: all var(--transition-fast);
}

.branch-card:hover .card-link {
  color: var(--scout-gold);
  gap: 10px;
}

/* ============================================
   CALENDAR (MOBILE BASE)
   ============================================ */
.calendar-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 20px;
  backdrop-filter: blur(10px);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.calendar-month-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.calendar-nav {
  display: flex;
  gap: 6px;
}

.calendar-nav button {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav button:hover {
  background: var(--scout-green);
  border-color: var(--scout-green);
}

.calendar-filters {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--scout-green);
  border-color: var(--scout-green);
  color: var(--text-primary);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  transition: all var(--transition-fast);
}

.event-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.event-date-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  align-self: flex-start;
}

.event-date-box .day {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--scout-gold);
}

.event-date-box .month {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 600;
}

.event-info {
  flex-grow: 1;
}

.event-info .event-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 3px;
}

.event-info .event-desc {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.event-info .event-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.event-tag {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.event-tag.riunione {
  background: rgba(74, 144, 217, 0.2);
  color: var(--lc-color-light);
}

.event-tag.evento {
  background: rgba(230, 126, 34, 0.2);
  color: var(--eg-color-light);
}

.event-tag.uscita {
  background: rgba(26, 86, 50, 0.2);
  color: var(--scout-green-light);
}

.event-tag.zona {
  background: rgba(142, 68, 173, 0.2);
  color: var(--coca-color-light);
}

.event-tag.campo {
  background: rgba(231, 76, 60, 0.2);
  color: var(--rs-color-light);
}

.no-events {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
}

.no-events i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  opacity: 0.3;
  display: block;
}

.no-events p {
  font-size: 1rem;
}

/* ============================================
   CONTACTS (MOBILE BASE)
   ============================================ */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 24px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.contact-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.contact-card.lc::before {
  background: var(--lc-gradient);
}

.contact-card.eg::before {
  background: var(--eg-gradient);
}

.contact-card.rs::before {
  background: var(--rs-gradient);
}

.contact-card.coca::before {
  background: var(--coca-gradient);
}

.contact-card .contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 14px;
}

.contact-card.lc .contact-icon {
  background: var(--lc-gradient);
}

.contact-card.eg .contact-icon {
  background: var(--eg-gradient);
}

.contact-card.rs .contact-icon {
  background: var(--rs-gradient);
}

.contact-card.coca .contact-icon {
  background: var(--coca-gradient);
}

.contact-card .contact-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.contact-card .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}

.contact-card .contact-item:last-child {
  border-bottom: none;
}

.contact-card .contact-item i {
  width: 18px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.contact-card .contact-item a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.contact-card .contact-item a:hover {
  color: var(--scout-gold);
}

/* ============================================
   AGE FINDER WIZARD
   ============================================ */
.age-finder-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  padding: 32px 24px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.age-slider-container {
  max-width: 500px;
  margin: 0 auto 32px;
}

.age-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.age-number {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  color: var(--scout-gold);
  background: linear-gradient(135deg, var(--text-primary), var(--scout-green-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all var(--transition-fast);
}

.age-label {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.age-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--border-subtle);
  outline: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.age-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--scout-green), var(--scout-green-light));
  cursor: pointer;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 2px 10px var(--scout-green-glow);
  transition: transform var(--transition-spring);
}

.age-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.age-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--scout-green), var(--scout-green-light));
  cursor: pointer;
  border: 3px solid var(--bg-dark);
  box-shadow: 0 2px 10px var(--scout-green-glow);
}

.age-range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.age-result {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  animation: fadeSlideUp .4s ease forwards;
}

.age-result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.age-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.age-result-card.result-lc {
  background: rgba(243, 156, 18, 0.06);
}

.age-result-card.result-lc::before {
  background: var(--lc-gradient);
}

.age-result-card.result-eg {
  background: rgba(39, 174, 96, 0.06);
}

.age-result-card.result-eg::before {
  background: var(--eg-gradient);
}

.age-result-card.result-rs {
  background: rgba(192, 57, 43, 0.06);
}

.age-result-card.result-rs::before {
  background: var(--rs-gradient);
}

.age-result-card.result-coca {
  background: rgba(142, 68, 173, 0.06);
}

.age-result-card.result-coca::before {
  background: var(--coca-gradient);
}

.age-result-card.result-none {
  background: rgba(255, 255, 255, 0.02);
}

.age-result-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.age-result-icon.icon-lc {
  background: var(--lc-gradient);
}

.age-result-icon.icon-eg {
  background: var(--eg-gradient);
}

.age-result-icon.icon-rs {
  background: var(--rs-gradient);
}

.age-result-icon.icon-coca {
  background: var(--coca-gradient);
}

.age-result-icon.icon-none {
  background: var(--border-subtle);
  color: var(--text-muted);
}

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

.age-result-text h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.age-result-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 0;
}

.age-result-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-base);
  margin-top: 8px;
}

.age-result-cta.cta-lc {
  background: var(--lc-gradient);
  color: white;
}

.age-result-cta.cta-eg {
  background: var(--eg-gradient);
  color: white;
}

.age-result-cta.cta-rs {
  background: var(--rs-gradient);
  color: white;
}

.age-result-cta.cta-coca {
  background: var(--coca-gradient);
  color: white;
}

.age-result-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-item.open {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.faq-question {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: left;
}

.faq-question:hover {
  color: var(--scout-gold);
}

.faq-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--scout-green-light);
  transition: all var(--transition-base);
}

.faq-item.open .faq-icon {
  background: linear-gradient(135deg, var(--scout-green), var(--scout-green-light));
  color: white;
  border-color: transparent;
}

.faq-chevron {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  color: var(--scout-green-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s cubic-bezier(.4, 0, .2, 1),
    padding .3s ease;
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 20px 18px 68px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

.faq-answer a {
  color: var(--scout-green-light);
  text-decoration: underline;
}

.faq-answer a:hover {
  color: var(--text-primary);
}

/* ============================================
   CONTACT SUBTITLE
   ============================================ */
.contact-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-style: italic;
}

/* ============================================
   FOOTER (MOBILE BASE)
   ============================================ */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 20px;
}

.footer-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.footer-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--scout-gold);
  padding-left: 4px;
}

.footer-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-top: 32px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--scout-green);
  border-color: var(--scout-green);
  color: white;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: all .7s cubic-bezier(.4, 0, .2, 1);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.delay-1 {
  transition-delay: .1s !important;
}

.delay-2 {
  transition-delay: .2s !important;
}

.delay-3 {
  transition-delay: .3s !important;
}

.delay-4 {
  transition-delay: .4s !important;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--scout-green);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--scout-green-light);
  transform: translateY(-4px);
}

/* ============================================
   BRANCH DETAIL PAGES (MOBILE BASE)
   ============================================ */
.branch-hero {
  padding: calc(var(--navbar-height) + 40px) 0 40px;
  position: relative;
  overflow: hidden;
}

.branch-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.branch-hero .container {
  position: relative;
  z-index: 1;
}

.branch-hero.lc::before {
  background: var(--lc-gradient);
}

.branch-hero.eg::before {
  background: var(--eg-gradient);
}

.branch-hero.rs::before {
  background: var(--rs-gradient);
}

.branch-hero.coca::before {
  background: var(--coca-gradient);
}

.branch-hero .branch-icon-lg {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  margin-bottom: 20px;
}

.branch-hero.lc .branch-icon-lg {
  background: var(--lc-gradient);
}

.branch-hero.eg .branch-icon-lg {
  background: var(--eg-gradient);
}

.branch-hero.rs .branch-icon-lg {
  background: var(--rs-gradient);
}

.branch-hero.coca .branch-icon-lg {
  background: var(--coca-gradient);
}

.branch-hero .branch-title {
  font-size: 2rem;
  margin-bottom: 8px;
}

.branch-hero .branch-motto {
  color: var(--scout-gold);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.branch-hero .branch-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 700px;
}

.branch-detail-section {
  padding: 48px 0;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 24px;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

.info-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.info-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-card p,
.info-card ul {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 0.9rem;
}

.info-card ul {
  padding-left: 18px;
}

.info-card ul li {
  margin-bottom: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.back-link:hover {
  color: var(--scout-gold);
  gap: 10px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 16px;
}

.value-item {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.value-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
}

.value-item .value-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.value-item .value-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.value-item .value-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================
   TABLET BREAKPOINT (min-width: 576px)
   ============================================ */
@media(min-width:576px) {
  .hero-title {
    font-size: 2rem;
  }

  .anniversary-title {
    font-size: 1.8rem;
  }

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

  .anniversary-banner {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
  }

  .hero-content {
    padding-top: 0;
    margin: auto 0;
    display: block;
  }

  .hero-buttons {
    flex-direction: row;
  }

  .btn-scout-primary,
  .btn-scout-outline {
    width: auto;
  }

  .stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .event-card {
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
  }

  .event-date-box {
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    padding: 10px;
    align-self: stretch;
    gap: 0;
  }

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

/* ============================================
   MEDIUM BREAKPOINT (min-width: 768px)
   ============================================ */
@media(min-width:768px) {
  :root {
    --section-padding: 70px;
    --navbar-height: 72px;
  }

  body {
    font-size: 16px;
  }

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

  .anniversary-title {
    font-size: 2.2rem;
  }

  .anniversary-subtitle {
    font-size: 1.2rem;
  }

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

  .section-title {
    font-size: 2.2rem;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .calendar-container {
    padding: 32px;
  }

  .branch-card {
    padding: 28px;
  }

  .contact-card {
    padding: 28px;
  }

  .branch-hero .branch-title {
    font-size: 2.4rem;
  }

  .info-card {
    padding: 28px;
  }
}

/* ============================================
   DESKTOP BREAKPOINT (min-width: 992px)
   ============================================ */
@media(min-width:992px) {
  :root {
    --section-padding: 100px;
    --navbar-height: 80px;
  }

  #chi-siamo,
  #branche,
  #come-funziona,
  #calendario,
  #contatti {
    padding-top: var(--section-padding);
  }

  .navbar-collapse {
    background: transparent;
    border: none;
    padding: 0;
    margin-top: 0;
    backdrop-filter: none;
  }

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

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

  .hero-motto {
    font-size: 1.2rem;
  }

  .hero-scroll-indicator {
    display: block;
  }

  .section-title {
    font-size: 2.6rem;
  }

  .section-header {
    margin-bottom: 60px;
  }

  .branch-card {
    padding: 32px;
  }

  .branch-card .card-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    border-radius: 14px;
  }

  .branch-card .card-title {
    font-size: 1.4rem;
  }

  .calendar-container {
    padding: 40px;
  }

  .calendar-month-title {
    font-size: 1.5rem;
  }

  .event-card {
    padding: 20px;
    gap: 20px;
  }

  .event-info .event-title {
    font-size: 1.1rem;
  }

  .contact-card {
    padding: 32px;
  }

  .footer {
    padding: 60px 0 30px;
  }

  .back-to-top {
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
  }

  .branch-hero {
    padding: calc(var(--navbar-height) + 60px) 0 60px;
  }

  .branch-hero .branch-icon-lg {
    width: 80px;
    height: 80px;
    font-size: 2rem;
    border-radius: 20px;
  }

  .branch-hero .branch-title {
    font-size: 2.8rem;
  }

  .branch-detail-section {
    padding: 80px 0;
  }

  .info-card {
    padding: 32px;
  }

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

/* ============================================
   LARGE DESKTOP (min-width: 1200px)
   ============================================ */
@media(min-width:1200px) {
  .hero-title {
    font-size: 4.8rem;
  }

  .section-title {
    font-size: 3rem;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media(prefers-reduced-motion:reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   SHORT SCREENS (Fix for landscape/small phones)
   ============================================ */
@media(max-height: 700px) and (max-width: 991px) {
  .navbar-scout {
    position: static !important;
    background: var(--navbar-bg-scrolled) !important;
  }

  .hero-section {
    min-height: auto;
    height: auto;
    display: block;
    padding-top: 20px;
    overflow: hidden;
  }

  .hero-bg {
    height: 100%;
  }

  .hero-content {
    margin: 0 auto;
    padding-bottom: 60px;
  }
}

/* ============================================
   TEMPORARY PROMO POPUP (16-19 SETTEMBRE)
   ============================================ */
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 20, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.promo-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  padding: 0;
}

.promo-modal-backdrop.active .promo-modal-dialog {
  transform: translateY(0) scale(1);
}

.promo-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.promo-modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.08);
}

.promo-modal-content {
  padding: 0;
}

.promo-flyer-wrapper {
  position: relative;
  width: 100%;
  background: #fbf5ee;
  border-top-left-radius: var(--border-radius-lg);
  border-top-right-radius: var(--border-radius-lg);
  overflow: hidden;
}

.promo-flyer-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.promo-modal-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.promo-contacts-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  text-align: center;
}

.promo-contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 440px) {
  .promo-contacts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.promo-contact-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.promo-contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.promo-contact-card.lc::before {
  background: var(--lc-gradient);
}

.promo-contact-card.eg::before {
  background: var(--eg-gradient);
}

.promo-branch-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.promo-branch-badge.lc {
  color: #d35400;
}

.promo-branch-badge.eg {
  color: #27ae60;
}

.promo-contact-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
}

.promo-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  min-height: 44px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff !important;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.promo-call-btn.lc {
  background: var(--lc-gradient);
}

.promo-call-btn.eg {
  background: var(--eg-gradient);
}

.promo-call-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.promo-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.promo-map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--border-radius-sm);
  background: #0d6efd;
  color: #ffffff !important;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.promo-map-btn:hover {
  background: #0b5ed7;
}

.promo-dismiss-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  min-height: 40px;
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.promo-dismiss-btn:hover {
  background: var(--bg-dark);
  color: var(--text-primary);
}