/* ============================================
   AMI South End - Main Stylesheet
   Brand palette (refreshed 2026):
   Deep Teal:   #2A6B68  (var --navy   — text/headings)
   Teal:        #3A8E8B  (var --navy-light — primary brand)
   Light Teal:  #5BAEAB  (var --sky    — gradient pair)
   Peach:       #E89156  (var --orange — buttons, links)
   Light Peach: #F4B98A  (var --orange-light — accent)
   Sand:        #F4D29C  (var --gold   — warm accent)
   Cream:       #FDF9F4  (var --sand   — background)
   Tagline:     "Come as you are"
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #2A6B68;
  --navy-light: #3A8E8B;
  --orange: #E89156;
  --orange-light: #F4B98A;
  --gold: #F4D29C;
  --sky: #5BAEAB;
  --sky-light: #7FC2BF;
  --sand: #FDF9F4;
  --sand-dark: #F3EEE4;
  --green: #5BB050;
  --white: #FFFFFF;
  --text: #2D2D2D;
  --text-light: #6B7280;
  --shadow: 0 2px 12px rgba(42, 107, 104, 0.10);
  --shadow-lg: 0 8px 32px rgba(42, 107, 104, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
svg.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }

.section-subtitle {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 107, 104, 0.08);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 72px;
  width: auto;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--navy);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--orange); }
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: 50px;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(232, 145, 86, 0.3);
  transition: transform var(--transition), box-shadow var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 145, 86, 0.4);
  color: var(--white) !important;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--sky) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 520px at 50% 36%, rgba(10, 30, 40, 0.55), transparent 72%),
    radial-gradient(ellipse at 20% 80%, rgba(232, 145, 86, 0.3), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(91, 174, 171, 0.2), transparent 50%),
    linear-gradient(180deg, rgba(42, 107, 104, 0.65) 0%, rgba(42, 107, 104, 0.35) 100%);
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-location {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: var(--gold);
  margin-bottom: 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero h1.hero-logo {
  margin: 0 auto 16px;
  text-shadow: none;
  line-height: 0;
}

.hero h1.hero-logo img {
  width: auto;
  max-width: min(440px, 78vw);
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.45)) drop-shadow(0 0 24px rgba(0,0,0,0.35));
}

.hero .tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-light));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(232, 145, 86, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 145, 86, 0.45);
  color: var(--white);
}

.btn-secondary {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: var(--white);
  color: var(--white);
}

/* Wave divider */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  z-index: 3;
}

.wave-divider svg {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Section Base --- */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 12px;
}

/* --- Highlights / Quick Info Bar --- */
.highlights {
  background: var(--white);
  padding: 60px 0;
  position: relative;
  z-index: 4;
  margin-top: -40px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.highlight-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius);
  background: var(--sand);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.highlight-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.5rem;
}
.highlight-icon svg {
  width: 28px;
  height: 28px;
}

.highlight-icon.shop { background: rgba(232, 145, 86, 0.12); color: var(--orange); }
.highlight-icon.dine { background: rgba(91, 176, 80, 0.12); color: var(--green); }
.highlight-icon.play { background: rgba(91, 174, 171, 0.12); color: var(--sky); }
.highlight-icon.stay { background: rgba(232, 184, 79, 0.12); color: var(--gold); }

.highlight-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.highlight-card p { font-size: 0.9rem; color: var(--text-light); }

/* --- Sundown Get Down CTA --- */
.sgd-cta {
  background: var(--white);
  padding: 60px 0;
}

.sgd-banner {
  display: flex;
  align-items: center;
  gap: 48px;
  background: linear-gradient(135deg, #FDF9F4 0%, #F5E8D6 100%);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(232, 145, 86, 0.15);
}

.sgd-logo {
  flex-shrink: 0;
  width: 180px;
}

.sgd-logo img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.sgd-info {
  flex: 1;
}

.sgd-label {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.sgd-info h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.sgd-info p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.sgd-tagline {
  font-family: 'Pacifico', cursive;
  font-size: 1.2rem;
  color: var(--orange);
  margin-bottom: 24px;
}

/* --- Businesses Section --- */
.businesses {
  background: var(--sand);
}

.more-merchants {
  background: var(--white);
}

.business-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 50px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.business-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.business-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.business-card-img .placeholder-icon {
  font-size: 3rem;
  opacity: 0.5;
}

.business-card-img img.business-logo,
.business-card-img .business-logo-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.business-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--sand-dark);
  padding: 24px;
  background: var(--white);
}

.business-card-body h3 a {
  color: var(--navy);
  transition: color var(--transition);
}

.business-card-body h3 a:hover {
  color: var(--orange);
}

.business-visit-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
  margin-top: 8px;
}

.business-visit-link:hover {
  color: var(--navy);
}

.business-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--orange);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.live-music-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.inactive-merchants {
  grid-column: 1 / -1;
  text-align: center;
  padding-top: 24px;
}
.inactive-merchants-title {
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 600;
}
.inactive-merchants-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.inactive-merchant-box {
  background: var(--white);
  color: var(--navy);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1.5px solid var(--sand-dark);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.inactive-merchant-box:hover {
  background: var(--sand);
  border-color: var(--orange);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.inactive-merchant-box a {
  color: inherit;
  text-decoration: none;
}
.inactive-merchants-note {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-light);
  font-style: italic;
}

.business-card-body {
  padding: 20px;
}

.business-card-body h3 {
  margin-bottom: 8px;
}

.business-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.business-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.business-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* --- Events Section --- */
.events {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

/* Sunset stripe decoration inspired by logo */
.events::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg,
    var(--orange) 0%,
    var(--gold) 30%,
    #8CC63F 50%,
    var(--green) 70%,
    var(--sky) 100%
  );
}

.events .section-header .section-subtitle {
  color: var(--gold);
}

.events .section-header h2 {
  color: var(--white);
}

.events .section-header p {
  color: rgba(255,255,255,0.7);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.event-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 3px solid var(--orange);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.event-card:nth-child(2) { border-top-color: var(--gold); }
.event-card:nth-child(3) { border-top-color: var(--green); }
.event-card:nth-child(4) { border-top-color: var(--sky); }
.event-card:nth-child(5) { border-top-color: var(--orange-light); }
.event-card:nth-child(6) { border-top-color: #8CC63F; }

.event-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.event-card:nth-child(2) .event-date { background: var(--gold); color: var(--navy); }
.event-card:nth-child(3) .event-date { background: var(--green); }
.event-card:nth-child(4) .event-date { background: var(--sky); }
.event-card:nth-child(5) .event-date { background: var(--orange-light); }
.event-card:nth-child(6) .event-date { background: #8CC63F; color: var(--navy); }

.event-date svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.event-details svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.event-card h3 {
  margin-bottom: 8px;
  color: var(--white);
}

.event-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.event-details {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.event-details span {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.event-card .business-visit-link {
  color: var(--gold);
}

.event-card .business-visit-link:hover {
  color: var(--white);
}

/* --- Nightlife Section --- */
.nightlife {
  background: #0E1A38;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.nightlife::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 70%, rgba(232, 145, 86, 0.15), transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(91, 174, 171, 0.1), transparent 50%);
}

.nightlife .section-header { position: relative; }
.nightlife h2 { color: var(--white); }
.nightlife .section-header p { color: rgba(255,255,255,0.7); }

.nightlife-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  position: relative;
}
.nightlife-grid .inactive-merchants-title {
  color: var(--white);
}
.nightlife-grid .inactive-merchant-box {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}
.nightlife-grid .inactive-merchant-box:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--gold);
}
.nightlife-grid .inactive-merchant-box a {
  color: var(--white);
}
.nightlife-grid .inactive-merchants-note {
  color: rgba(255,255,255,0.5);
}

.nightlife-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.nightlife-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.nightlife-card-img {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nightlife-card-img .nightlife-card-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.nightlife-card-img .nightlife-card-body {
  padding: 24px;
}

.nightlife-card h3 {
  color: var(--gold);
  margin-bottom: 4px;
}

.nightlife-card .venue-type {
  color: var(--orange-light);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.nightlife-card p {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.nightlife-card .hours {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--sky-light);
  font-size: 0.85rem;
  font-weight: 500;
}

.nightlife-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
}

.nightlife-link:hover {
  color: var(--orange-light);
}

/* --- Gallery Section --- */
.gallery {
  background: var(--sand);
}

.gallery-social {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 720px) {
  .gallery-social { grid-template-columns: 1fr; }
}

.gallery-social-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 22px 20px;
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--navy);
  transition: transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.gallery-social-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--orange);
}

.gallery-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--navy-light);
}

.gallery-social-card:hover .gallery-social-icon {
  background: var(--navy-light);
  color: var(--white);
}

.gallery-social-handle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.gallery-social-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--orange);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  background: linear-gradient(135deg, var(--navy), var(--sky));
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42,107,104,0.7));
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.gallery-item:hover .overlay { opacity: 1; }

.gallery-item .overlay span {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* --- Membership application modal --- */
.info-card-link-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  outline: 0;
  padding: 8px 0 0;
  margin: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  cursor: pointer;
  text-align: left;
  align-self: flex-start;
  margin-top: auto;
}
.info-card-link-btn:hover { color: var(--navy); text-decoration: underline; }
.info-card-link-btn:focus-visible {
  outline: 2px solid var(--navy-light);
  outline-offset: 3px;
  border-radius: 2px;
}

.ms-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(20, 40, 50, 0.55);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 16px;
  overflow-y: auto;
}
.ms-modal[hidden] { display: none; }

.ms-modal-card {
  position: relative;
  background: var(--white);
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px clamp(20px, 4vw, 40px) 32px;
  animation: msModalIn 0.18s ease-out;
}

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

.ms-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 6px 10px;
}
.ms-modal-close:hover { color: var(--navy); }

.ms-modal-header { margin-bottom: 18px; }
.ms-modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
}
.ms-modal-header h2 { font-size: 1.5rem; color: var(--navy); margin: 0 0 8px; }
.ms-modal-header p { font-size: 0.92rem; color: var(--text-light); margin: 0; }

.ms-form { display: flex; flex-direction: column; gap: 14px; }
.ms-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .ms-form-row { grid-template-columns: 1fr; } }

.ms-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--navy);
}

.ms-form .ms-label-text {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.ms-form .ms-req {
  color: var(--orange);
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1;
}
.ms-form input,
.ms-form select,
.ms-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  font-weight: 400;
  letter-spacing: 0;
}
.ms-form input:focus,
.ms-form select:focus,
.ms-form textarea:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(91, 174, 171, 0.18);
}
.ms-form textarea { resize: vertical; min-height: 80px; }
.ms-hp { display: none !important; }

.ms-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 8px;
}

.ms-form-error {
  margin-bottom: 16px;
  padding: 12px 14px 12px 16px;
  border-radius: var(--radius-sm);
  background: #FDECEC;
  border-left: 4px solid #B23B3B;
  color: #7A2424;
  font-size: 0.9rem;
  line-height: 1.5;
}
.ms-form-error[hidden] { display: none; }

.ms-form-success {
  text-align: center;
  padding: 16px 8px 8px;
}
.ms-form-success[hidden] { display: none; }

.ms-form-success .ms-success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(91, 174, 171, 0.15);
  color: #1F7A57;
  margin-bottom: 16px;
}

.ms-form-success h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0 0 10px;
}

.ms-form-success p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 420px;
  margin: 0 auto 24px;
}

.ms-form-success .btn {
  min-width: 140px;
}

.ms-form button[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.5);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,0.2);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  transition: background var(--transition);
}

.lightbox-nav:hover { background: rgba(255,255,255,0.3); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* --- Map Section --- */
.map-section {
  background: var(--white);
  padding: 60px 0;
}

.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/7;
  max-height: 450px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* --- Info Sections (Local, Stay, Visit) --- */
.local-section,
.stay-section,
.visit-section {
  padding: 80px 0;
  background: var(--white);
}

.stay-section { background: var(--sand); }
.visit-section { background: var(--white); }

.info-grid {
  display: grid;
  gap: 24px;
}

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

@media (max-width: 900px) {
  .info-grid-2,
  .info-grid-3 { grid-template-columns: 1fr; }
}

.info-card {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition), box-shadow var(--transition);
}

.stay-section .info-card { background: var(--white); }

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

.info-card-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
}

.info-card h3 {
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0;
}

.info-card p {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.info-card-link {
  margin-top: auto;
  padding-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  align-self: flex-start;
}

.info-card-link[aria-disabled="true"] {
  color: var(--text-light);
  pointer-events: none;
  cursor: default;
}

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

.info-card-subhead {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 4px;
  margin-bottom: -2px;
  letter-spacing: 0.2px;
}

.info-card-list {
  list-style: none;
  padding: 0;
  margin: 4px 0 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-card-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.55;
}

.info-card-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.info-card-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 50px;
  background: var(--sand-dark);
  color: var(--text-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  vertical-align: 2px;
}

.info-card-note {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.55;
  margin-top: 6px;
}

.info-card-note a { color: var(--navy-light); font-weight: 600; }
.info-card-note a:hover { color: var(--orange); }

.info-card-actions {
  margin-top: auto;
  padding-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.info-card-actions .info-card-link { margin-top: 0; padding-top: 0; }

.info-card-socials {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.info-card-socials a {
  color: var(--navy-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sand);
  transition: background var(--transition), color var(--transition);
}

.info-card-socials a:hover {
  background: var(--navy-light);
  color: var(--white);
}

/* --- Footer travel partner block --- */
.footer-partner-logo {
  display: inline-block;
  margin-bottom: 14px;
  background: var(--white);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  line-height: 0;
}

.footer-partner-logo img {
  display: block;
  height: 68px;
  width: auto;
}

.footer-partner {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 12px;
}

.footer-partner strong { color: var(--white); }

.footer-partner-socials {
  display: inline-flex;
  gap: 10px;
}

.footer-partner-socials a {
  color: rgba(255,255,255,0.75);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  transition: background var(--transition), color var(--transition);
}

.footer-partner-socials a:hover {
  background: var(--orange);
  color: var(--white);
}

/* --- Newsletter Signup --- */
.newsletter {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0F1A3A 100%);
}

.newsletter-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 48px;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.newsletter-content .section-subtitle { color: var(--gold); }
.newsletter-content h2 { color: var(--white); font-size: 2rem; margin: 8px 0 12px; }
.newsletter-content p { color: rgba(255,255,255,0.7); margin-bottom: 32px; }

.newsletter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.newsletter-field input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
}

.newsletter-field input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,145,86,0.2);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  cursor: pointer;
}

.newsletter-consent input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--orange);
  flex-shrink: 0;
}

.newsletter-form .btn { margin-top: 8px; }

.newsletter-message {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.newsletter-message.success {
  background: rgba(91,176,80,0.15);
  color: var(--green);
  border: 1px solid rgba(91,176,80,0.3);
}

.newsletter-message.error {
  background: rgba(220,38,38,0.15);
  color: #ff6b6b;
  border: 1px solid rgba(220,38,38,0.3);
}

/* --- Chamber Callout --- */
.chamber-callout {
  background: var(--sand);
  padding: 48px 0;
}

.chamber-banner {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 55, 75, 0.08);
  max-width: 780px;
  margin: 0 auto;
}

.chamber-island {
  flex-shrink: 0;
  width: 260px;
  overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
}

.chamber-island img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.chamber-content {
  flex: 1;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.chamber-label {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.chamber-content p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.chamber-content p strong {
  color: var(--navy);
}

.chamber-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  background: var(--teal);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.2s;
  align-self: flex-start;
}

.chamber-link:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.chamber-link svg {
  transition: transform 0.2s;
}

.chamber-link:hover svg {
  transform: translate(2px, -2px);
}

/* --- Footer --- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
  background: var(--sand);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  box-sizing: content-box;
}
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; }

.site-footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.site-footer ul a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255,255,255,0.5);
  font-size: 1.2rem;
  transition: color var(--transition);
}

.footer-social a:hover { color: var(--orange); }

.footer-legal-links {
  display: inline-flex;
  gap: 16px;
  font-size: 0.8rem;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-legal-links a:hover { color: var(--orange); }

/* --- Legal / long-form pages (Sweepstakes Rules, etc.) --- */
.legal-page {
  background: var(--sand);
  padding-top: 120px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.legal-container {
  max-width: 760px;
}

.legal-hero {
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--sand-dark);
}

.legal-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.legal-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 8px;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--text-light);
}

.legal-content {
  background: var(--white);
  border: 1px solid var(--sand-dark);
  border-radius: var(--radius);
  padding: 36px clamp(20px, 4vw, 40px);
  box-shadow: var(--shadow);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
}

.legal-content p { margin-bottom: 14px; }

.legal-content h2 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 28px 0 8px;
  letter-spacing: 0.2px;
}

.legal-content h2:first-of-type { margin-top: 18px; }

.legal-callout {
  background: var(--sand);
  border-left: 4px solid var(--orange);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  margin-bottom: 20px !important;
}

.legal-callout-end {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
  border-left-color: var(--navy-light);
  font-size: 0.8rem;
  color: var(--text-light);
}

.legal-back {
  margin-top: 28px;
  font-size: 0.9rem;
  font-weight: 600;
}

.legal-back a { color: var(--navy-light); }
.legal-back a:hover { color: var(--orange); }

@media (max-width: 720px) {
  .legal-page { padding-top: 96px; padding-bottom: 56px; }
  .legal-content { padding: 24px 18px; }
}

/* --- Footer Social Section --- */
.footer-social-section {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  margin-bottom: 32px;
}

.footer-social-section h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  text-align: center;
}

.footer-social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.social-link-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  text-decoration: none;
}

.social-link-card:hover {
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.social-link-card svg {
  flex-shrink: 0;
  color: #1877F2;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-links.open { transform: translateY(0); }

  .mobile-toggle { display: flex; }

  .business-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .events-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
  .nightlife-grid { grid-template-columns: 1fr; }

  .map-wrapper { aspect-ratio: 4/3; }

  .sgd-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 24px;
  }

  .sgd-logo { width: 150px; }
  .newsletter-fields { grid-template-columns: 1fr; }
  .newsletter-card { padding: 32px 24px; }
}

@media (max-width: 600px) {
  .highlights-grid { grid-template-columns: 1fr 1fr; }

  .business-grid,
  .events-grid,
  .nightlife-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-brand img { margin: 0 auto 16px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-social-links { flex-direction: column; align-items: stretch; }
  .social-link-card { justify-content: center; }

  .hero-content { padding: 100px 16px 60px; }
  .hero p { font-size: 0.95rem; }
  section { padding: 60px 0; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

  .map-wrapper { aspect-ratio: 1/1; max-height: 350px; }

  .lightbox img { max-width: 95vw; max-height: 75vh; }
  .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
  .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .sgd-cta { padding: 40px 0; }
  .sgd-banner { padding: 24px 16px; }

  .chamber-banner { flex-direction: column; }
  .chamber-island { width: 100%; height: 180px; border-radius: var(--radius) var(--radius) 0 0; }
  .chamber-content { padding: 28px 24px; }
  .chamber-link { align-self: stretch; justify-content: center; }

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

  .tab-btn { padding: 8px 16px; font-size: 0.8rem; }
}

@media (max-width: 400px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }

  .hero h1 { font-size: 1.8rem; }
  .hero .tagline { font-size: 1rem; }

  .sgd-logo { width: 120px; }
  .sgd-tagline { font-size: 1rem; }

  .header-inner { height: 68px; }
  .logo img { height: 52px; }
  .logo-text { font-size: 0.95rem; }

  .btn { padding: 12px 24px; font-size: 0.9rem; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
