/* ========================================
   VISIT US PAGE — Complete Redesign
   Premium, modern location page
   ======================================== */

/* ----------------------------------------
   HERO
   ---------------------------------------- */
.vu-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.vu-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.vu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(var(--color-primary-rgb), 0.65) 0%,
    rgba(var(--color-dark-rgb), 0.75) 100%
  );
  z-index: 1;
}

.vu-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--sp-20) var(--padding-page);
}

.vu-hero-eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  margin-bottom: var(--sp-4);
}

.vu-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 2rem + 5vw, 5.5rem);
  font-weight: var(--weight-regular);
  font-style: italic;
  color: var(--color-gold);
  text-transform: none;
  letter-spacing: 0.02em;
  line-height: 1;
  margin: 0;
}

.vu-hero-divider {
  width: 60px;
  height: 2px;
  background: var(--color-gold);
  margin: var(--sp-5) auto;
  opacity: 0.6;
}

.vu-hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ----------------------------------------
   SHARED CONTAINER
   ---------------------------------------- */
.vu-container {
  width: min(calc(100vw - var(--padding-page) * 2), var(--page-width));
  margin: 0 auto;
  padding: 0 var(--padding-page);
}

/* ----------------------------------------
   LOCATIONS SECTION
   ---------------------------------------- */
.vu-locations {
  padding: var(--gap-section) 0;
  background: var(--color-bg-page);
}

.vu-locations-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

/* ----------------------------------------
   LOCATION CARD
   ---------------------------------------- */
.vu-card {
  background: var(--color-white);
  border-radius: var(--rounded-2xl);
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(var(--color-primary-rgb), 0.08);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  display: flex;
  flex-direction: column;
}

.vu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(var(--color-primary-rgb), 0.14);
}

/* Card Image */
.vu-card-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.vu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.vu-card:hover .vu-card-img img {
  transform: scale(1.04);
}

/* Open / Closed badge overlaid on image */
.vu-status {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1d5);
  padding: var(--sp-1d5) var(--sp-4);
  border-radius: var(--rounded-full);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.vu-status.is-open {
  background: rgba(77, 124, 15, 0.9);
  color: #fff;
}

.vu-status.is-open::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a3e635;
  animation: vu-pulse 2s infinite;
}

.vu-status.is-closed {
  background: rgba(120, 30, 50, 0.85);
  color: #fff;
}

.vu-status.is-closed::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fca5a5;
}

@keyframes vu-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Card Body */
.vu-card-body {
  padding: var(--sp-7) var(--sp-6) var(--sp-8);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vu-card-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.vu-card-name {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: var(--heading-weight);
  text-transform: uppercase;
  letter-spacing: var(--heading-letter-spacing);
  color: var(--color-primary);
  margin: 0;
}

.vu-card-badge {
  display: inline-block;
  padding: var(--sp-1) var(--sp-3);
  border-radius: var(--rounded-full);
  font-family: var(--font-body);
  font-size: var(--text-2xs);
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--color-primary);
  color: var(--color-white);
}

.vu-card-badge--new {
  background: var(--color-gold);
  color: var(--color-primary);
}

.vu-card-divider {
  width: 40px;
  height: 2px;
  background: var(--color-gold);
  margin: var(--sp-4) 0 var(--sp-5);
}

/* Info Rows */
.vu-info-row {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.vu-info-icon {
  flex-shrink: 0;
  width: 20px;
  color: var(--color-primary);
  margin-top: 2px;
}

.vu-info-text {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text);
  font-style: normal;
}

.vu-info-text address {
  font-style: normal;
}

/* Hours Table */
.vu-hours-table {
  border-collapse: collapse;
  width: 100%;
}

.vu-hours-table td {
  padding: var(--sp-1d5) 0;
  font-size: var(--text-base);
  color: var(--color-text);
  vertical-align: top;
}

.vu-hours-table td:first-child {
  font-weight: var(--weight-medium);
  padding-right: var(--sp-6);
  white-space: nowrap;
  color: var(--color-text-light);
}

.vu-hours-table td:last-child {
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
}

.vu-hours-table tr + tr td {
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.06);
}

/* Phone Link */
.vu-phone-link {
  font-weight: var(--weight-medium);
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.vu-phone-link:hover {
  color: var(--color-gold);
}

/* Action Buttons */
.vu-card-actions {
  display: flex;
  gap: var(--sp-2d5);
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--sp-5);
}

.vu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-2d5) var(--sp-5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  border-radius: var(--rounded-button);
  text-decoration: none;
  transition: all var(--transition-base);
  min-height: 44px;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.vu-btn-maps {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.vu-btn-maps:hover {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.vu-btn-waze {
  background: #FFE6CB;
  color: #115E32;
  border-color: #115E32;
}

.vu-btn-waze:hover {
  background: #115E32;
  color: #FFE6CB;
  border-color: #115E32;
}

.vu-btn-call {
  background: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-gold);
}

.vu-btn-call:hover {
  background: #e5a60e;
  border-color: #e5a60e;
}

/* Transit micro-info */
.vu-card-transit {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2d5);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(var(--color-primary-rgb), 0.08);
}

.vu-transit-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2d5);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.vu-transit-item svg {
  flex-shrink: 0;
  color: var(--color-primary);
  opacity: 0.6;
}

/* ----------------------------------------
   GETTING HERE SECTION
   ---------------------------------------- */
.vu-getting-here {
  padding: var(--gap-section) 0;
  background: var(--color-white);
}

.vu-section-title {
  font-family: var(--font-heading);
  font-size: var(--text-section);
  font-weight: var(--heading-weight);
  text-transform: uppercase;
  letter-spacing: var(--heading-letter-spacing);
  color: var(--color-primary);
  text-align: center;
  margin-bottom: var(--sp-10);
}

.vu-getting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
}

.vu-getting-col {
  text-align: center;
}

.vu-getting-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(var(--color-primary-rgb), 0.07);
  color: var(--color-primary);
  margin-bottom: var(--sp-5);
}

.vu-getting-col h3 {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: var(--heading-weight);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  margin-bottom: var(--sp-4);
}

.vu-getting-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}

.vu-getting-col li {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-light);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.06);
}

.vu-getting-col li:last-child {
  border-bottom: none;
}

.vu-getting-col li strong {
  color: var(--color-primary);
  font-weight: var(--weight-semibold);
}

/* ----------------------------------------
   CTA BANNER
   ---------------------------------------- */
.vu-cta {
  padding: var(--gap-section) 0;
  background: var(--color-bg-page);
}

.vu-cta-inner {
  background: var(--color-primary);
  border-radius: var(--rounded-2xl);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
}

.vu-cta-inner h2 {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: var(--heading-weight);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: var(--heading-letter-spacing);
  margin-bottom: var(--sp-3);
}

.vu-cta-inner p {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.vu-btn-cta {
  background: var(--color-gold);
  color: var(--color-primary);
  border-color: var(--color-gold);
  font-size: var(--text-base);
  padding: var(--sp-4) var(--sp-10);
  min-height: 52px;
}

.vu-btn-cta:hover {
  background: #fff;
  border-color: #fff;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ----------------------------------------
   RESPONSIVE: TABLET (768px+)
   ---------------------------------------- */
@media (min-width: 768px) {
  .vu-hero {
    min-height: 60vh;
  }

  .vu-hero-content {
    padding: var(--sp-24) var(--padding-page-md);
  }

  .vu-locations-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-8);
  }

  .vu-card-body {
    padding: var(--sp-8) var(--sp-7) var(--sp-9);
  }

  .vu-card-name {
    font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  }

  .vu-getting-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-12);
  }

  .vu-card-actions {
    gap: var(--sp-2);
  }

  .vu-cta-inner {
    padding: var(--sp-16) var(--sp-12);
  }

  .vu-cta-inner h2 {
    font-size: var(--text-4xl);
  }
}

/* ----------------------------------------
   RESPONSIVE: DESKTOP (1024px+)
   ---------------------------------------- */
@media (min-width: 1024px) {
  .vu-hero {
    min-height: 65vh;
  }

  .vu-hero-title {
    font-size: clamp(4rem, 3rem + 3vw, 6rem);
  }

  .vu-locations-grid {
    gap: var(--sp-10);
  }

  .vu-card-body {
    padding: var(--sp-9) var(--sp-8) var(--sp-10);
  }

  .vu-card-actions .vu-btn {
    flex: 1;
  }
}

/* ----------------------------------------
   RESPONSIVE: MOBILE adjustments
   ---------------------------------------- */
@media (max-width: 767px) {
  .vu-hero {
    min-height: 45vh;
  }

  .vu-hero-title {
    font-size: clamp(2rem, 1rem + 6vw, 4rem);
  }

  .vu-hero-content {
    padding: var(--sp-12) var(--sp-4);
  }

  .vu-hero-subtitle {
    font-size: var(--text-base);
  }

  /* Location cards: ensure body padding doesn't clip on narrow screens */
  .vu-card-body {
    padding: var(--sp-5) var(--sp-4) var(--sp-6);
  }

  .vu-card-actions {
    flex-direction: column;
  }

  .vu-card-actions .vu-btn {
    width: 100%;
    justify-content: center;
  }

  /* Hours table: reduce day-column padding to fit on 375px */
  .vu-hours-table td:first-child {
    padding-right: var(--sp-3);
    font-size: var(--text-sm);
  }

  .vu-hours-table td {
    font-size: var(--text-sm);
  }

  .vu-getting-col {
    text-align: center;
  }

  .vu-getting-col ul {
    text-align: left;
  }

  /* Getting here: ensure no overflow on narrow screens */
  .vu-getting-col li {
    font-size: var(--text-sm);
  }

  .vu-cta-inner {
    padding: var(--sp-8) var(--sp-4);
    border-radius: var(--rounded-xl);
  }

  .vu-cta-inner h2 {
    font-size: clamp(1.5rem, 1rem + 3vw, 2rem);
  }

  .vu-btn-cta {
    width: 100%;
    justify-content: center;
    padding-left: var(--sp-4);
    padding-right: var(--sp-4);
  }

  /* Getting here grid: ensure single column */
  .vu-getting-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  /* Prevent name + badge row wrapping awkwardly */
  .vu-card-name {
    font-size: var(--text-xl);
  }
}

/* ========================================
   MOBILE UX OVERHAUL — 2026-03-27
   ======================================== */

@media (max-width: 767px) {

  /* Visit hero: compact */
  .vu-hero {
    min-height: 40vh;
    max-height: 320px;
  }

  .vu-hero-content {
    padding: 2.5rem 1rem;
  }

  .vu-hero-eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
  }

  .vu-hero-title {
    font-size: clamp(1.75rem, 1rem + 5vw, 3rem);
  }

  .vu-hero-divider {
    width: 40px;
    margin: 0.75rem auto;
  }

  .vu-hero-subtitle {
    font-size: 0.875rem;
    letter-spacing: 0.02em;
  }

  /* Locations section: tighter padding */
  .vu-locations {
    padding: 2rem 0;
  }

  .vu-locations-grid {
    gap: 1.25rem;
  }

  /* Location cards: compact mobile layout */
  .vu-card {
    border-radius: 0.875rem;
  }

  .vu-card-img {
    aspect-ratio: 16 / 10;
  }

  .vu-card-body {
    padding: 1rem 0.875rem 1.25rem;
  }

  .vu-card-name-row {
    gap: 0.5rem;
  }

  .vu-card-name {
    font-size: 1.125rem;
  }

  .vu-card-badge {
    font-size: 0.5625rem;
    padding: 0.125rem 0.375rem;
  }

  .vu-card-divider {
    width: 30px;
    margin: 0.625rem 0 0.75rem;
  }

  /* Info rows: tighter */
  .vu-info-row {
    gap: 0.5rem;
    margin-bottom: 0.875rem;
  }

  .vu-info-text {
    font-size: 0.875rem;
    line-height: 1.5;
  }

  .vu-info-icon {
    width: 18px;
  }

  /* Hours table: compact */
  .vu-hours-table td {
    padding: 0.25rem 0;
    font-size: 0.8125rem;
  }

  .vu-hours-table td:first-child {
    padding-right: 0.75rem;
    font-size: 0.8125rem;
  }

  /* Action buttons: full-width stacked */
  .vu-card-actions {
    gap: 0.5rem;
    padding-top: 0.875rem;
  }

  .vu-btn {
    font-size: 0.8125rem;
    padding: 0.5rem 0.875rem;
    min-height: 44px;
  }

  /* Transit info: tighter */
  .vu-card-transit {
    margin-top: 0.875rem;
    padding-top: 0.875rem;
    gap: 0.375rem;
  }

  .vu-transit-item {
    font-size: 0.75rem;
  }

  /* Getting Here section: compact */
  .vu-getting-here {
    padding: 2rem 0;
  }

  .vu-section-title {
    font-size: 1.375rem;
    margin-bottom: 1.5rem;
  }

  .vu-getting-grid {
    gap: 1.5rem;
  }

  .vu-getting-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 0.75rem;
  }

  .vu-getting-col h3 {
    font-size: 1rem;
    margin-bottom: 0.625rem;
  }

  .vu-getting-col li {
    font-size: 0.8125rem;
    padding: 0.5rem 0;
  }

  /* CTA banner: compact */
  .vu-cta {
    padding: 1.5rem 0;
  }

  .vu-cta-inner {
    padding: 1.75rem 1rem;
    border-radius: 0.75rem;
  }

  .vu-cta-inner h2 {
    font-size: 1.25rem;
    margin-bottom: 0.375rem;
  }

  .vu-cta-inner p {
    font-size: 0.875rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }

  .vu-btn-cta {
    min-height: 48px;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
  }

  /* Open/closed status badge: ensure readable */
  .vu-status {
    font-size: 0.5625rem;
    padding: 0.25rem 0.5rem;
  }
}

/* --- TABLET OVERHAUL --- */
@media (min-width: 768px) and (max-width: 1023px) {

  .vu-hero {
    min-height: 50vh;
  }

  .vu-locations-grid {
    gap: 1.25rem;
  }

  .vu-card-body {
    padding: 1.25rem 1rem 1.5rem;
  }

  .vu-card-name {
    font-size: 1.125rem;
  }

  .vu-getting-grid {
    gap: 2rem;
  }
}
