/* ============================================
   ASD PERUGIA TT — V2 SINGLE-PAGE DESIGN SYSTEM
   Velocity Grid Theme · Corporate Modern Athletic
   Inspired by ping-pong.org layout
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ── CSS Custom Properties ── */
:root {
  /* Brand Colors */
  --primary:           #bd001a;
  --primary-container: #e61e2a;
  --on-primary:        #ffffff;
  --primary-fixed:     #ffdad6;
  --primary-fixed-dim: #ffb3ad;

  --secondary:              #4e5f7c;
  --secondary-container:    #c9dbfd;
  --on-secondary:           #ffffff;
  --on-secondary-container: #4f607d;

  --surface:                  #f9f9ff;
  --surface-container:        #e7eeff;
  --surface-container-high:   #dee8ff;
  --surface-container-highest:#d8e3fa;
  --surface-container-low:    #f0f3ff;
  --surface-container-lowest: #ffffff;
  --surface-dim:              #cfdaf1;
  --surface-variant:          #d8e3fa;

  --on-surface:         #111c2c;
  --on-surface-variant: #5d3f3c;
  --on-background:      #111c2c;
  --background:         #f9f9ff;

  --inverse-surface:    #263142;
  --inverse-on-surface: #ebf1ff;
  --on-primary-container: #fffeff;

  --outline:         #926e6b;
  --outline-variant: #e7bdb9;
  --error:           #ba1a1a;

  /* Typography */
  --font-headline: 'Montserrat', sans-serif;
  --font-body:     'Inter', sans-serif;

  /* Spacing */
  --gutter:           24px;
  --container-max:    1200px;
  --margin-desktop:   32px;
  --margin-mobile:    16px;

  /* Navbar height for scroll offsets */
  --navbar-height:    80px;
}

/* ── Smooth Scroll ── */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--navbar-height);
  width: 100%;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: var(--navbar-height);
}

/* ── Base Reset ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--on-background);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.5;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
}

/* ── Typography Scale ── */
.display-text {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.headline-lg { font-size: 2rem; font-weight: 700; line-height: 1.2; font-family: var(--font-headline); }
.headline-md { font-size: 1.5rem; font-weight: 700; line-height: 1.3; font-family: var(--font-headline); }
.body-lg     { font-size: 1.125rem; line-height: 1.6; }
.label-sm    { font-size: 0.875rem; font-weight: 600; letter-spacing: 0.05em; font-family: var(--font-body); }

/* ── Color Utilities ── */
.text-primary    { color: var(--primary) !important; }
.text-secondary  { color: var(--secondary) !important; }
.text-on-surface { color: var(--on-surface) !important; }
.text-surface-variant { color: var(--surface-variant) !important; }

.bg-primary          { background-color: var(--primary) !important; }
.bg-secondary        { background-color: var(--secondary) !important; }
.bg-surface          { background-color: var(--surface) !important; }
.bg-surface-container{ background-color: var(--surface-container) !important; }
.bg-surface-low      { background-color: var(--surface-container-low) !important; }
.bg-inverse          { background-color: var(--inverse-surface) !important; }

/* ── NAVBAR ── */
.navbar-brand-text {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.navbar-brand-logo {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.navbar-tt {
  background-color: var(--surface);
  border-bottom: 1px solid var(--outline-variant);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  height: var(--navbar-height);
}

.navbar-tt.scrolled {
  box-shadow: 0 4px 20px rgba(17,28,44,0.08);
  background-color: rgba(249, 249, 255, 0.97);
  backdrop-filter: blur(8px);
}

.nav-link-tt {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary) !important;
  padding: 0.3rem 0 !important;
  transition: color 0.2s;
  position: relative;
  text-decoration: none;
}

.nav-link-tt:hover,
.nav-link-tt.active {
  color: var(--primary) !important;
}

.nav-link-tt.active {
  border-bottom: 2px solid var(--primary);
}

.technician-card-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

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

/* ── Body offset for fixed navbar ── */
body {
  padding-top: var(--navbar-height);
}

/* ── BUTTONS ── */
.btn-tt-primary {
  background-color: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s, transform 0.1s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-tt-primary:hover { background-color: #930011; color: #fff; }
.btn-tt-primary:active { transform: scale(0.97); }

.btn-tt-secondary {
  background: transparent;
  color: var(--on-background);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 2px solid var(--on-background);
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  transition: background-color 0.2s, transform 0.1s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-tt-secondary:hover { background-color: var(--surface-container); color: var(--on-background); }
.btn-tt-secondary:active { transform: scale(0.97); }

.btn-tt-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-tt-outline-white:hover { background: #fff; color: var(--primary); }

.btn-login {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  background: transparent;
  border: 2px solid var(--secondary);
  padding: 0.375rem 1rem;
  border-radius: 0.375rem;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.btn-login:hover { background-color: var(--surface-container-low); color: var(--secondary); }

/* ── CARDS ── */
.card-tt {
  background: #fff;
  border: 1px solid var(--outline-variant);
  border-radius: 0.375rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.card-tt:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 20px rgba(8, 28, 54, 0.07);
}

.card-dark {
  background-color: var(--inverse-surface);
  color: #fff;
}

.next-event-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: default;
}

.next-event-card.has-link {
  cursor: pointer;
}

.next-event-card:hover,
.next-event-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(8, 28, 54, 0.08);
  outline: none;
}

.next-event-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.next-event-date,
.next-event-time,
.next-event-location {
  margin: 0 0 0.5rem;
  color: var(--on-surface);
}

.next-event-date strong,
.next-event-time strong,
.next-event-location strong {
  color: var(--on-surface);
}

.next-event-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.next-event-card.has-link:hover .next-event-link,
.next-event-card.has-link:focus-visible .next-event-link,
.next-event-card.has-link .next-event-link.visible {
  opacity: 1;
  transform: translateY(0);
}

.next-event-empty {
  opacity: 0.8;
}

/* ── BENTO GRID ── */
.bento-grid {
  display: grid;
  gap: var(--gutter);
}

/* ── LIVE INDICATOR ── */
.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse-red 2s infinite ease-in-out;
}

@keyframes pulse-red {
  0%   { transform: scale(1);   opacity: 1;   }
  50%  { transform: scale(1.3); opacity: 0.6; }
  100% { transform: scale(1);   opacity: 1;   }
}

/* ── SECTION DIVIDER LINE ── */
.section-line {
  width: 80px;
  height: 4px;
  background-color: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* ── SECTION HEADER ── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header .section-subtitle {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 0.75rem;
}

/* ── LABEL BADGE ── */
.badge-tt {
  background-color: rgba(189, 0, 26, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  display: inline-block;
}

.badge-tt-primary {
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 0.25rem;
  display: inline-block;
}

.location-nav {
  position: relative;
  display: inline-block;
  z-index: 2000;
  width: min(100%, 420px);
}

.location-nav-trigger {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: rgba(189, 0, 26, 0.08);
  color: var(--primary);
  border: 1px solid rgba(189, 0, 26, 0.12);
  border-radius: 1rem;
  padding: 0.7rem 0.9rem 0.7rem 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.location-nav-trigger::-webkit-details-marker {
  display: none;
}

.location-nav-trigger:hover {
  background: rgba(189, 0, 26, 0.12);
  box-shadow: 0 8px 20px rgba(189, 0, 26, 0.08);
}

.location-nav[open] .location-nav-trigger {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: rgba(17, 28, 44, 0.08);
}

.location-nav-text {
  display: inline-flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  gap: 0.35rem;
  white-space: nowrap;
  text-align: left;
  overflow: hidden;
}

.location-nav-label {
  font-weight: 700;
  white-space: nowrap;
}

.location-nav-text > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-nav-chevron {
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.location-nav[open] .location-nav-chevron {
  transform: rotate(180deg);
}

.location-nav-menu {
  position: static;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(17, 28, 44, 0.08);
  border-top: 0;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  box-shadow: 0 12px 28px rgba(17, 28, 44, 0.08);
  overflow: hidden;
  z-index: 3000;
}

.location-nav-menu a,
.location-nav-menu button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 0;
  background: #fff;
  color: var(--on-surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.location-nav-menu a + a,
.location-nav-menu a + button,
.location-nav-menu button + a,
.location-nav-menu button + button {
  border-top: 1px solid rgba(17, 28, 44, 0.06);
}

.location-nav-menu a:hover,
.location-nav-menu button:hover {
  background: rgba(189, 0, 26, 0.04);
}

@media (max-width: 767.98px) {
  .location-nav {
    display: block;
    width: 100%;
  }

  .location-nav-trigger {
    justify-content: space-between;
    padding: 0.7rem 0.85rem;
    border-radius: 0.9rem;
  }

  .location-nav[open] .location-nav-trigger {
    border-radius: 0.9rem 0.9rem 0 0;
  }

  .location-nav-text {
    flex: 1;
    min-width: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
    text-align: left;
  }

  .location-nav-label,
  .location-nav-text > span:last-child {
    white-space: normal;
  }

  .location-nav-menu {
    width: 100%;
    min-width: 0;
    border-bottom-left-radius: 0.9rem;
    border-bottom-right-radius: 0.9rem;
  }

  .location-nav-menu a,
  .location-nav-menu button {
    padding: 0.8rem 0.9rem;
  }
}

/* ── FORM INPUTS ── */
.input-tt {
  width: 100%;
  border: 1px solid var(--outline);
  border-radius: 0.25rem;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--on-surface);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.input-tt:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 2px rgba(78, 95, 124, 0.2);
}

.form-label-tt {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  display: block;
  margin-bottom: 0.5rem;
}

/* ── FOOTER ── */
.footer-tt {
  background-color: var(--inverse-surface);
  color: var(--surface-variant);
  padding: 3rem 0 0;
}

.footer-tt h5 {
  color: var(--primary-fixed);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer-tt a {
  color: var(--surface-variant);
  text-decoration: underline;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

.footer-tt a:hover { color: var(--primary-fixed-dim); }

.footer-tt .social-link {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  margin-bottom: 0;
}

.footer-tt .social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.footer-tt .social-link .social-instagram rect,
.footer-tt .social-link .social-instagram circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.footer-tt .social-link .social-icon-fill {
  fill: var(--inverse-surface);
  stroke: none;
}

.footer-tt .social-link .social-icon-cutout {
  fill: var(--inverse-surface);
}

.footer-tt p a,
.footer-tt .material-symbols-outlined {
  color: var(--surface-variant);
}

.footer-tt p a {
  display: inline;
  margin-bottom: 0;
}

.footer-tt p a:hover,
.footer-tt .d-flex a:hover .material-symbols-outlined {
  color: var(--primary-fixed-dim);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  text-align: center;
  font-size: 0.8125rem;
  color: rgba(216, 227, 250, 0.6);
  margin-top: 2rem;
}

/* ── HERO ── */
.hero-section {
  background-color: var(--surface-container-lowest);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-section .hero-bg-image {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  transition: transform 0.5s ease;
}

.hero-section .hero-bg-image:hover { transform: scale(1.04); }

.technician-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  background: var(--surface-container-low);
  color: var(--secondary);
  border-bottom: 1px solid var(--outline-variant);
}

.technician-photo .material-symbols-outlined {
  font-size: 4rem;
  color: var(--primary);
}

.technician-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.hero-carousel-wrap {
  width: min(100%, 500px);
  margin: 0 auto;
  position: relative;
  padding: 1rem;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hero-carousel-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.zoomable-image {
  cursor: zoom-in;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.zoomable-image:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 24px rgba(17, 28, 44, 0.12);
}

.image-zoom-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8, 12, 20, 0.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 1.5rem;
  z-index: 5000;
}

.image-zoom-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.image-zoom-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.image-zoom-dialog img {
  display: block;
  max-width: min(92vw, 1100px);
  max-height: 88vh;
  object-fit: contain;
  border-radius: 1rem;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  background-color: #fff;
}

.image-zoom-close {
  position: absolute;
  top: -0.8rem;
  right: -0.8rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--on-surface);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.image-zoom-caption {
  color: #fff;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero-carousel .carousel-indicators {
  margin-bottom: 0.75rem;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
  width: 18%;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background-color: rgba(17, 28, 44, 0.78);
  background-size: 52% 52%;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.3);
}

.hero-carousel .carousel-control-prev:hover,
.hero-carousel .carousel-control-next:hover {
  opacity: 1;
}

.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
  background-color: var(--primary);
}

/* ── STATS BAR ── */
.stats-bar {
  background: #fff;
  border: 1px solid var(--outline-variant);
  box-shadow: 0 8px 30px rgba(17,28,44,0.08);
  border-radius: 0.5rem;
  padding: 2rem;
}

.stats-divider {
  width: 1px;
  height: 40px;
  background-color: var(--outline-variant);
}

/* ── BENTO IMAGE CARD ── */
.bento-img-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  cursor: pointer;
}

.bento-img-card .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);
  transition: background 0.3s;
  z-index: 1;
}

.bento-img-card:hover .overlay { background: rgba(0,0,0,0.20); }

.bento-img-card .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s ease;
}

.bento-img-card:hover .bg-img { transform: scale(1.08); }

.bento-img-card .content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
  z-index: 2;
  color: #fff;
}

/* ── MATERIAL SYMBOLS ── */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  font-size: 1.5rem;
  vertical-align: middle;
}

/* ── HOVER LIFT ── */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -10px rgba(189, 0, 26, 0.15);
}

/* ── ATHLETIC GRADIENT ── */
.athletic-gradient {
  background: linear-gradient(135deg, #bd001a 0%, #410003 100%);
}

/* ── ACCORDION FAQ ── */
.faq-accordion .accordion-button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--on-surface);
  background: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary);
  background: #fff;
  box-shadow: none;
}

.faq-accordion .accordion-item {
  border: 1px solid var(--outline-variant);
  border-radius: 0 !important;
  margin-bottom: 0.75rem;
}

/* ── MOBILE MENU ── */
.navbar-toggler-tt {
  border: none;
  background: transparent;
  padding: 0.25rem;
}

.navbar-toggler-tt:focus { box-shadow: none; }

/* ── CONTACT ICON CARD ── */
.contact-icon-card {
  background-color: var(--surface-container-low);
  border: 1px solid var(--outline-variant);
  border-radius: 0.375rem;
  padding: 2rem;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.contact-icon-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.contact-icon-box {
  width: 48px;
  height: 48px;
  background-color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.25rem;
  flex-shrink: 0;
}

.contact-icon-box .material-symbols-outlined { color: #fff; }

/* ── TABLE SCHEDULE ── */
.schedule-table thead th {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--secondary);
  border-bottom: 1px solid var(--outline-variant);
  padding: 1rem 0.75rem;
}

.schedule-table tbody td {
  padding: 1rem 0.75rem;
  border-bottom: 1px solid var(--surface-container);
  vertical-align: middle;
}

.schedule-table .time-cell {
  font-weight: 700;
  color: var(--primary);
  position:sticky;
  left:0;
}

.schedule-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 0.25rem;
  white-space: nowrap;
}

.tag-u18        { background-color: var(--surface-container-high); color: var(--on-surface); }
.tag-o18   { background-color: rgba(189,0,26,0.1); color: var(--primary); }
.tag-ago         { background-color: var(--inverse-surface); color: #fff; }
.tag-prep-atl    { background-color: var(--secondary-container); color: var(--on-secondary-container); }

/* ── COACH CARD ── */
.coach-card { text-align: center; }

.coach-card .coach-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  filter: grayscale(100%);
  transition: filter 0.5s ease;
  margin: 0 auto 1rem;
  display: block;
}

.coach-card:hover .coach-img { filter: grayscale(0); }

/* ── MAP SECTION ── */
.map-placeholder {
  width: 100%;
  height: 400px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--outline-variant);
  border-radius: 1rem;
  background: #f7f7f7;
}

@media (max-width: 991.98px) {
  .map-placeholder {
    height: min(60vh, 420px);
  }
}

@media (max-width: 575.98px) {
  .map-placeholder {
    height: 360px;
  }
}

.map-placeholder .leaflet-container {
  width: 100%;
  height: 100%;
  background: #edf3ff;
  border-radius: 1rem;
}

.map-empty-state {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
  color: var(--on-surface);
  padding: 2rem;
  text-align: center;
}

.map-empty-state strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.map-empty-state code {
  display: inline-block;
  margin-top: 0.75rem;
  background: rgba(17, 28, 44, 0.06);
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
}

.map-info-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: #fff;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-left: 4px solid var(--primary);
  z-index: 2;
}

.map-popup-content strong {
  display: block;
  margin-bottom: 0.75rem;
  color: #312e81;
}

.map-navigation-links {
  display: grid;
  gap: 0.45rem;
}

.map-navigation-link {
  display: block;
  padding: 0.45rem 0.65rem;
  border: 1px solid #312e81;
  color: #312e81;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.map-navigation-link:hover,
.map-navigation-link:focus-visible {
  background: #312e81;
  color: #fff;
}

.map-parking-details {
  display: grid;
  gap: 0.25rem;
  color: #312e81;
  font-size: 0.8rem;
  font-weight: 600;
}

.map-parking-label {
  border: 1px solid #312e81;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.9);
  color: #312e81;
  font-size: 0.75rem;
  font-weight: 800;
  box-shadow: none;
}

.map-parking-label::before {
  display: none;
}

/* ═══════════════════════════════════════
   V2 SINGLE-PAGE SPECIFIC STYLES
   ═══════════════════════════════════════ */

/* ── Section spacing — ping-pong.org style generous padding ── */
.v2-section {
  padding: 5rem 0;
  position: relative;
}

.v2-section-dark {
  background-color: var(--inverse-surface);
  color: #fff;
}

.v2-section-dark h2,
.v2-section-dark h3,
.v2-section-dark h4 {
  color: #fff;
}

.v2-section-alt {
  background-color: var(--surface-container-low);
}

/* ── Section title with accent line (ping-pong.org pattern) ── */
.v2-section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.v2-section-title h2 {
  margin-bottom: 1rem;
}

.v2-section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 0 auto;
  border-radius: 2px;
}

/* ── Scroll-reveal animation ── */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger children */
.scroll-reveal-group > .scroll-reveal:nth-child(2) { transition-delay: 0.1s; }
.scroll-reveal-group > .scroll-reveal:nth-child(3) { transition-delay: 0.2s; }
.scroll-reveal-group > .scroll-reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Visual divider between major sections ── */
.section-divider {
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
  opacity: 0.3;
}

/* ── Hero scroll-down arrow ── */
.hero-scroll-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  animation: bounceArrow 2s infinite;
}

.hero-scroll-btn:hover {
  background: var(--primary);
  color: #fff;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ── RESPONSIVE ADJUSTMENTS ── */
@media (max-width: 767.98px) {
  .display-text   { font-size: 2rem; }
  .headline-lg    { font-size: 1.5rem; }
  .stats-divider  { display: none; }
  .hero-section   { padding: 3rem 0; }
  .v2-section     { padding: 3rem 0; }

  .navbar-tt {
    height: auto;
    min-height: var(--navbar-height);
  }

  .navbar-tt .navbar-collapse {
    padding: 0.75rem 0 0.5rem;
  }

  .navbar-tt .navbar-nav {
    gap: 0.5rem;
  }

  .navbar-tt .nav-link-tt {
    padding: 0.225rem 0 !important;
  }
}

/* ── PAGE TRANSITIONS ── */
.page-transition {
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.5s forwards;
}

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