/*
 * @file style.css
 * @description Core CSS design system for Everything San Marcos.
 * 
 * Design Theme: "River Crystal & Midnight Indigo"
 * - Inspired by the crystal clear San Marcos River and Texas starry nights.
 * - Glassmorphism, deep dark indigo/slate backgrounds, pulsing gradients, and vibrant river-teal accents.
 * - Pure Vanilla CSS without external framework dependencies.
 * - Dynamic hover effects, smooth transitions, and high-contrast responsive layouts.
 */

/* Import Premium Typography */
/* Font families loaded via non-blocking <link> in HTML */

:root {
  /* Color Tokens */
  --bg-primary: #f4f7fb;
  --bg-secondary: #e8eef5;
  --bg-glass: rgba(255, 255, 255, 0.75);
  --border-glass: rgba(0, 0, 0, 0.09);
  --border-glass-hover: rgba(0, 0, 0, 0.18);
    --color-midnight: #f4f7fb;
    --text-primary: #1a2332;
    --text-secondary: #4a5c72;
    --text-muted: #5f7385;
    --teal-primary: #0097b2;
    --color-teal: #0097b2;
    --color-blue: #1e7fc0;
    --color-pink: #7c3aed;

    /* Typography */
    --font-display: 'Outfit', 'Segoe UI', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;

    /* Motion and depth */
    --transition-fast: all 0.2s ease;
    --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.10);
    --glow-teal: 0 0 24px rgba(0, 151, 178, 0.18);
    --glow-purple: 0 0 24px rgba(124, 58, 237, 0.18);

    /* Radius scale */
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 24px;

    /* Brand gradients */
    --gradient-river: linear-gradient(135deg, #0097b2 0%, #1e7fc0 100%);
    --gradient-royal: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    --gradient-glow: linear-gradient(135deg, rgba(0, 151, 178, 0.12) 0%, rgba(30, 127, 192, 0.07) 100%);

    color-scheme: light;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  html {
    scroll-behavior: smooth;
    overflow-x: hidden;
  }

  body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-primary);
    background-image:
      radial-gradient(circle at 20% -10%, rgba(0, 151, 178, 0.08) 0%, rgba(0, 151, 178, 0) 45%),
      radial-gradient(circle at 85% 10%, rgba(124, 58, 237, 0.06) 0%, rgba(124, 58, 237, 0) 38%),
      linear-gradient(180deg, #f4f7fb 0%, #e8eef5 100%);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
  }

  .skip-link {
    position: absolute;
    top: -48px;
    left: 16px;
    z-index: 2000;
    background: #ffffff;
    color: var(--text-primary);
    border: 2px solid var(--teal-primary);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.2s ease;
  }

  .skip-link:focus,
  .skip-link:focus-visible {
    top: 10px;
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

  img,
  svg {
    max-width: 100%;
  }

  main {
    position: relative;
    z-index: 1;
  }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-link:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--teal-primary);
  outline-offset: 2px;
}

/* Background Glowing Orbs */
.bg-glow-orb {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 151, 178, 0.06) 0%, rgba(30, 127, 192, 0) 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.orb-1 { top: -200px; right: 0; }
.orb-2 { top: 800px; left: -200px; background: radial-gradient(circle, rgba(124, 58, 237, 0.04) 0%, rgba(124, 58, 237, 0) 70%); }
.orb-3 { bottom: -200px; right: 0; }

/* Grid Layout & Containers */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  gap: 8px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-primary {
  background: var(--gradient-river);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 151, 178, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-teal), 0 8px 30px rgba(0, 151, 178, 0.35);
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border-color: var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.btn-purple {
  background: var(--gradient-royal);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(225, 0, 255, 0.2);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: var(--glow-purple), 0 8px 30px rgba(124, 58, 237, 0.25);
}

/* Glassmorphism Panel base */
.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: var(--transition-smooth);
}

/* Header Section */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 100;
  border-bottom: 1px solid var(--border-glass);
  background: rgba(244, 247, 251, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  flex-shrink: 0;
}

.logo svg {
  fill: url(#river-grad);
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  margin-right: 20px;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 1px;
  background: var(--gradient-river);
  transform: scaleX(0);
  transform-origin: center;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-cta {
  flex-shrink: 0;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.mobile-menu-toggle.active {
  border-color: rgba(0, 151, 178, 0.45);
  box-shadow: 0 0 18px rgba(0, 151, 178, 0.18);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

/* Hero Section */
.hero {
  padding-top: 80px;
  padding-bottom: 100px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 151, 178, 0.08);
  border: 1px solid rgba(0, 151, 178, 0.2);
  color: var(--color-teal);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-teal);
  box-shadow: 0 0 10px var(--color-teal);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 151, 178, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 151, 178, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 151, 178, 0); }
}

.hero-title {
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 800;
}

.hero-title span {
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Floating Stats Card in Hero */
.hero-visual {
  position: relative;
}

.floating-card {
  padding: 32px;
  position: relative;
  z-index: 2;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.floating-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-river);
}

.card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 8px;
}

.card-title {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 16px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 4px;
  display: block;
}

/* Stats Ribbon Section */
.stats-banner {
  padding: 60px 0;
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-box {
  padding: 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
}

.stat-box:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
  box-shadow: var(--glow-teal);
}

.stat-box-num {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 8px;
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-box-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Section Common Styling */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-tag {
  color: var(--color-teal);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Why Choose Us Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  padding: 40px;
  border-radius: var(--radius-lg);
  position: relative;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glass-hover);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 151, 178, 0.2);
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--color-teal);
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Pricing / Packages Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.price-card {
  padding: 36px 20px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-8px);
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-river);
  color: #ffffff;
  padding: 5px 13px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(0, 151, 178, 0.25);
  white-space: nowrap;
}

.price-card.featured-card {
  border-color: rgba(0, 151, 178, 0.25);
  box-shadow: 0 20px 40px rgba(0, 151, 178, 0.05);
}

.price-card.featured-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 20px 40px rgba(0, 151, 178, 0.12), var(--glow-teal);
}

.price-card.sponsor-card {
  border-color: rgba(124, 58, 237, 0.2);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.04);
}

.price-card.sponsor-card:hover {
  border-color: var(--color-pink);
  box-shadow: 0 20px 40px rgba(124, 58, 237, 0.10), var(--glow-purple);
}

/* Annual Sponsor card */
.price-card.annual-card {
  border-color: rgba(0, 151, 178, 0.22);
  box-shadow: 0 20px 40px rgba(0, 200, 150, 0.05);
}

.price-card.annual-card:hover {
  border-color: var(--color-teal);
  box-shadow: 0 20px 40px rgba(0, 200, 150, 0.12), var(--glow-teal);
}

.annual-badge {
  background: linear-gradient(135deg, #0097b2 0%, #00c896 100%);
  color: #ffffff;
}

.price-card.annual-card .price-num {
  background: linear-gradient(135deg, #0097b2 0%, #00c896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-card.annual-card .price-feature-item svg {
  fill: #00b88a;
}

.btn-annual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition-fast);
  background: linear-gradient(135deg, #0097b2 0%, #00c896 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 200, 150, 0.3);
}

.btn-annual:hover {
  opacity: 0.88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 200, 150, 0.4);
}

/* Recurring label and per-month equivalent */
.price-recur-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.price-equiv {
  font-size: 0.82rem;
  color: var(--color-teal);
  font-weight: 600;
  margin-top: -18px;
  margin-bottom: 20px;
}

.sponsor-badge {
  background: var(--gradient-royal);
  color: #ffffff;
}

.price-tier {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 10px;
}

.price-amount {
  margin-bottom: 16px;
  display: flex;
  align-items: baseline;
}

.price-num {
  font-size: 2.6rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
}

.price-card.featured-card .price-num {
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-card.sponsor-card .price-num {
  background: var(--gradient-royal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.price-period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

.price-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 20px;
  min-height: unset;
}

.price-features {
  list-style: none;
  margin-bottom: 28px;
  flex-grow: 1;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.price-feature-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-teal);
  flex-shrink: 0;
}

.price-card.sponsor-card .price-feature-item svg {
  fill: var(--color-pink);
}

.price-card .btn {
  width: 100%;
}

/* Process Section */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  margin-top: 48px;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 50px;
  right: 50px;
  height: 2px;
  background: rgba(0, 0, 0, 0.08);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 24px auto;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.process-step:hover .step-number {
  border-color: var(--color-teal);
  color: var(--color-teal);
  box-shadow: 0 0 20px rgba(0, 151, 178, 0.2);
  transform: scale(1.1);
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0 12px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-glass);
  padding: 24px 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  padding: 8px 0;
}

.faq-q-text {
  font-size: 1.15rem;
  font-weight: 600;
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.faq-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--text-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-a-text {
  padding-top: 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-item.active .faq-toggle svg {
  fill: var(--color-teal);
}

.faq-item.active .faq-answer {
  max-height: 200px; /* arbitrary height to slide down */
}

/* Footer styling */
footer {
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px 0;
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 64px;
  margin-bottom: 60px;
}

.footer-about p {
  color: var(--text-secondary);
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  max-width: 320px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-link-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-link-btn:hover {
  background: var(--gradient-river);
  border-color: transparent;
  transform: translateY(-2px);
}

.social-link-btn:hover svg {
  fill: #ffffff;
}

.social-link-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--text-primary);
}

.footer-column h3,
.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: 24px;
  color: var(--text-primary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--color-teal);
  padding-left: 4px;
}

.footer-link-button {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--text-secondary);
  cursor: pointer;
}

.footer-link-button:hover {
  color: var(--color-teal);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Modal ── */
@keyframes spin { 100% { transform: rotate(360deg); } }

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 18, 40, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.06);
  transform: scale(0.95) translateY(24px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  color: #fff;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg);
}

.modal-close svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  fill: none;
}

/* ── Modal Hero (gradient header band) ── */
.modal-hero {
  padding: 36px 40px 30px;
  background: linear-gradient(135deg, #1a2e42 0%, #243b55 100%);
  border-radius: 20px 20px 0 0;
  position: relative;
}

.modal-hero.hero-featured {
  background: var(--gradient-river);
}

.modal-hero.hero-sponsor {
  background: var(--gradient-royal);
}

.modal-hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.95);
  padding: 4px 13px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}

.modal-hero-pricing {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 6px;
}

.modal-hero-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: #ffffff;
  line-height: 1;
}

.modal-hero-period {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.modal-hero-sub {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* ── Modal Body ── */
.modal-body {
  padding: 28px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ── Modal Form Controls ── */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-input {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  padding: 12px 14px;
  min-height: 46px;
  border-radius: 10px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}

.form-input:focus {
  outline: 2px solid transparent;
  background: #ffffff;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0, 151, 178, 0.13);
}

.form-input::placeholder {
  color: #a0aec0;
}

.form-input[aria-invalid="true"] {
  border-color: #b91c1c;
}

.field-error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

select.form-input {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-teal) 50%), linear-gradient(135deg, var(--color-teal) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  background-color: #f8fafc;
  width: 100%;
  max-width: 100%;
}

select.form-input option {
  background: #ffffff;
  color: #1a2332;
}

.modal-form textarea.form-input {
  resize: vertical;
  min-height: 90px;
}

.modal-submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
}

.stripe-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 0.77rem;
  color: #94a3b8;
  text-align: center;
}

.stripe-disclaimer svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: #94a3b8;
}

/* ── Quantity Stepper ── */
.qty-block {
  background: rgba(0, 151, 178, 0.05);
  border: 1.5px solid rgba(0, 151, 178, 0.18);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qty-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1.5px solid rgba(0, 151, 178, 0.28);
  border-radius: 8px;
  overflow: hidden;
}

.btn-qty {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 0;
  background: rgba(0, 151, 178, 0.07);
  color: var(--color-teal);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-qty:hover:not(:disabled) {
  background: rgba(0, 151, 178, 0.16);
}

.btn-qty:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.qty-display {
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--text-primary);
  min-width: 44px;
  text-align: center;
  background: #fff;
  padding: 8px 0;
}

.qty-total-line {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-teal);
  margin: 0;
}

/* ── Recurring Notice ── */
.recurring-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(109, 40, 217, 0.05);
  border: 1.5px solid rgba(109, 40, 217, 0.16);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.84rem;
  color: #6d28d9;
  line-height: 1.5;
}

.recurring-notice svg {
  flex-shrink: 0;
  margin-top: 2px;
  stroke: #6d28d9;
}

/* ── Form Row (2-col grid for related fields) ────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* ── Form Section Label ──────────────────────────────────────────────────── */
.form-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 4px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-glass);
}

/* Success Page Styling */
.success-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.success-page .success-wrapper {
  padding-top: 56px;
  padding-bottom: 56px;
}

.success-card {
  max-width: 600px;
  width: 100%;
  padding: 60px 40px;
  text-align: center;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 151, 178, 0.1);
  border: 2px solid var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px auto;
  animation: pulse-success 2s infinite;
}

@keyframes pulse-success {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 151, 178, 0.3); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(0, 151, 178, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 151, 178, 0); }
}

.success-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--color-teal);
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.success-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
}

.details-panel {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 40px;
  text-align: left;
}

.details-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.details-row:last-child {
  border-bottom: none;
}

.details-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.details-value {
  color: var(--text-primary);
  font-weight: 600;
}

.details-value.badge-val {
  color: var(--color-teal);
}

/* Cancelled Alert Banner in Hero */
.cancelled-banner {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  padding: 16px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.cancelled-banner svg {
  width: 20px;
  height: 20px;
  fill: #fca5a5;
  flex-shrink: 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-badge, .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .process-timeline::before {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .site-header {
    height: 72px;
  }

  .site-header .container {
    position: relative;
  }

  .logo {
    font-size: 1.15rem;
    gap: 8px;
  }

  .logo svg {
    width: 26px;
    height: 26px;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.3rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .floating-card {
    padding: 24px;
  }

  .card-title {
    font-size: 1.5rem;
  }

  .stat-val {
    font-size: 1.65rem;
  }

  .section {
    padding: 76px 0;
  }

  .section-header {
    margin-bottom: 44px;
  }
  
  .section-title {
    font-size: 2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .stats-grid {
    gap: 16px;
  }

  .stat-box {
    padding: 18px;
  }

  .stat-box-num {
    font-size: 2.2rem;
  }

  .price-card {
    padding: 34px 22px;
  }

  .price-num {
    font-size: 2.7rem;
  }

  .price-desc {
    min-height: unset;
    margin-bottom: 24px;
  }

  .price-features {
    margin-bottom: 28px;
  }

  .step-desc {
    padding: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .mobile-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 16px;
    right: 16px;
    margin: 0;
    gap: 0;
    padding: 8px 0;
    flex-direction: column;
    align-items: stretch;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    background: rgba(244, 247, 251, 0.97);
    border: 1px solid var(--border-glass);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    transition: max-height 0.3s ease, opacity 0.25s ease;
  }

  .nav-links.active {
    max-height: 600px;
    opacity: 1;
    pointer-events: auto;
  }

  .nav-link {
    font-size: 1rem;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link.active {
    background: rgba(0, 151, 178, 0.08);
  }

  .header-cta {
    display: none;
  }
  
  .modal-box {
    max-height: 88vh;
    border-radius: 16px;
  }

  .modal-hero {
    padding: 28px 24px 22px;
    border-radius: 16px 16px 0 0;
  }

  .modal-body {
    padding: 22px 24px 28px;
  }

  .form-input {
    font-size: 16px;
  }
  
  .success-card {
    padding: 40px 20px;
  }

  .success-page .success-wrapper {
    padding-top: 56px;
  }

  .success-title {
    font-size: 2rem;
  }

  .details-row {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .site-header {
    height: 68px;
  }

  .logo {
    font-size: 1rem;
    gap: 6px;
  }

  .logo svg {
    width: 22px;
    height: 22px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
  }

  .mobile-menu-toggle span {
    width: 16px;
  }

  .nav-links {
    top: 68px;
    left: 12px;
    right: 12px;
  }

  .nav-links.active {
    max-height: 600px;
  }

  .nav-link {
    font-size: 0.95rem;
    padding: 12px 16px;
  }

  .success-page .success-wrapper {
    padding-top: 56px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .price-tier {
    font-size: 1rem;
  }

  .price-num {
    font-size: 2.3rem;
  }

  .featured-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 0.95rem;
  }

  .faq-q-text {
    font-size: 1rem;
  }

  .modal-hero-amount {
    font-size: 2.4rem;
  }

  .container {
    padding: 0 12px;
  }
}

/* Pricing Comparison Section Styles */
.comparison-table-container {
  overflow-x: auto;
  margin-top: 48px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 560px;
}

.comparison-table th, 
.comparison-table td {
  padding: 24px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: middle;
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 2px solid var(--border-glass);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.platform-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.platform-esm {
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.table-muted {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: block;
  margin-top: 4px;
}

.low-stat {
  color: #fca5a5;
  font-weight: 600;
}

.med-stat {
  color: #fde047;
  font-weight: 600;
}

.high-stat {
  color: #86efac;
  font-weight: 600;
}

.highlighted-row {
  background: rgba(0, 151, 178, 0.04);
  border: 1px solid rgba(0, 151, 178, 0.12);
}

.highlighted-row td {
  border-bottom-color: rgba(0, 151, 178, 0.08);
}

.accent-text {
  color: var(--color-teal);
  font-weight: 600;
}

.flat-fee {
  font-size: 0.8rem;
  background: rgba(0, 151, 178, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}

/* ==========================================
   Contact Section & Toggle Button Styles
   ========================================== */
.btn-toggle {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  padding: 12px;
  min-height: 52px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-toggle:hover {
  background: rgba(0, 0, 0, 0.06);
  border-color: var(--border-glass-hover);
  color: var(--text-primary);
}

.btn-toggle.active {
  background: var(--gradient-river);
  border-color: transparent;
  color: #ffffff;
  box-shadow: var(--glow-teal);
}

.btn-toggle.active svg {
  stroke: #ffffff;
}

.contact-method-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-badge .pulse-dot,
  .floating-card,
  .success-icon {
    animation: none !important;
  }
}

/* ============================================================
   REDESIGN ADDITIONS
   ============================================================ */

/* ── Hero card: header row ── */
.card-header-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.card-header-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.live-dot-sm {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1d9e75;
  flex-shrink: 0;
  position: relative;
}

.live-dot-sm::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #1d9e75;
  opacity: 0.25;
  animation: pulseGreen 1.8s ease-out infinite;
}

@keyframes pulseGreen {
  0%   { transform: scale(1); opacity: 0.28; }
  100% { transform: scale(2.6); opacity: 0; }
}

.live-badge-text {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1d9e75;
  background: rgba(29, 158, 117, 0.1);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(29, 158, 117, 0.25);
}

/* ── 2×2 stats grid inside floating card ── */
.stats-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat-mini {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: var(--radius-md);
  padding: 14px 12px;
  text-align: center;
}

.stat-mini-num {
  font-size: 1.65rem;
  font-weight: 800;
  font-family: var(--font-display);
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-mini-lbl {
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ── Social proof ticker ── */
.ticker-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-glass);
}

.ticker-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1d9e75;
  flex-shrink: 0;
}

.ticker-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex: 1;
}

.ticker-num {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1d9e75;
}

/* ── Stat box icon ── */
.stat-box-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.stat-box-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-teal);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Value ladder bar (above pricing grid) ── */
.value-ladder-bar {
  display: flex;
  gap: 4px;
  height: 5px;
  border-radius: 3px;
  margin-bottom: 16px;
  overflow: hidden;
}

.vl-seg {
  flex: 1;
  border-radius: 3px;
}

.vl-basic   { background: var(--color-teal); opacity: 0.3; }
.vl-featured { background: var(--color-teal); opacity: 0.62; }
.vl-sponsor  { background: var(--color-pink); opacity: 0.8; }
.vl-annual   { background: var(--color-pink); opacity: 1; }

/* ── Pricing card glow enhancements ── */
.price-card.featured-card {
  border-color: rgba(30, 127, 192, 0.4) !important;
  box-shadow: 0 0 0 2px rgba(30, 127, 192, 0.18), 0 20px 40px rgba(0, 151, 178, 0.1) !important;
}

.price-card.featured-card:hover {
  border-color: var(--color-blue) !important;
  box-shadow: 0 0 0 2px var(--color-blue), 0 20px 40px rgba(0, 151, 178, 0.18), var(--glow-teal) !important;
}

.price-card.sponsor-card {
  border-color: rgba(124, 58, 237, 0.38) !important;
  box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2), 0 20px 40px rgba(124, 58, 237, 0.1) !important;
}

.price-card.sponsor-card:hover {
  border-color: var(--color-pink) !important;
  box-shadow: 0 0 0 2px var(--color-pink), 0 20px 40px rgba(124, 58, 237, 0.18), var(--glow-purple) !important;
}

/* ── Comparison card layout ── */
.compare-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.compare-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 28px 24px 20px;
  position: relative;
}

.compare-card--winner {
  border: 2px solid rgba(30, 127, 192, 0.45);
  box-shadow: 0 0 0 4px rgba(30, 127, 192, 0.07), var(--shadow-lg);
}

.compare-winner-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-river);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 14px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 151, 178, 0.3);
}

.compare-platform-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.compare-platform-name--esm {
  background: var(--gradient-river);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.compare-platform-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-glass);
  gap: 8px;
}

.compare-row--last {
  border-bottom: none;
}

.compare-key {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.compare-val {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: right;
}

.compare-val--low { color: #dc2626; }
.compare-val--mid { color: #d97706; }
.compare-val--hi  { color: #16a34a; }

@media (max-width: 768px) {
  .compare-cards-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }

  .compare-card--winner {
    order: -1;
  }
}

/* ── FAQ improvements ── */
.faq-answer {
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.faq-item.active .faq-answer {
  opacity: 1;
}

.faq-answer-inner {
  border-left: 3px solid var(--color-teal);
  padding-left: 16px;
  margin-top: 4px;
}

.faq-toggle svg {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  fill: none;
  stroke: var(--text-secondary);
  stroke-width: 2.5;
}

.faq-item.active .faq-toggle {
  transform: none;
}

.faq-item.active .faq-toggle svg {
  transform: rotate(180deg);
  stroke: var(--color-teal);
  fill: none;
}

/* ── Sticky CTA bar ── */
.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(244, 247, 251, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-glass);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding: 10px 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

.sticky-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.sticky-cta-left {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

.sticky-cta-brand {
  color: var(--text-primary);
  font-weight: 700;
}

.sticky-cta-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sticky-cta-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .sticky-cta-left {
    display: none;
  }

  .sticky-cta-inner {
    justify-content: center;
  }
}

/* ── Modal step pills ── */
.modal-steps {
  display: flex;
  gap: 6px;
  padding: 10px 20px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.modal-step-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 30px;
  border-radius: 8px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
}

.modal-step-pill--done {
  background: rgba(0, 151, 178, 0.08);
  border-color: rgba(0, 151, 178, 0.3);
  color: var(--color-teal);
}

.modal-step-pill--done svg {
  stroke: var(--color-teal);
  fill: none;
}

.modal-step-pill--active {
  background: var(--gradient-river);
  border-color: transparent;
  color: #ffffff;
}

/* ── Ad Copy Collapsible Section ── */
.ad-copy-section {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.ad-copy-section.is-open {
  border-color: rgba(0, 151, 178, 0.35);
}

.ad-copy-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  background: #f8fafc;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s ease;
  font-family: var(--font-body);
}

.ad-copy-toggle:hover {
  background: #f1f5f9;
}

.ad-copy-section.is-open .ad-copy-toggle {
  background: rgba(0, 151, 178, 0.04);
}

.ad-copy-toggle-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ad-copy-toggle-left svg {
  width: 15px;
  height: 15px;
  stroke: #64748b;
  fill: none;
  flex-shrink: 0;
}

.optional-badge {
  background: rgba(0, 151, 178, 0.09);
  color: var(--color-teal);
  border: 1px solid rgba(0, 151, 178, 0.22);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 100px;
}

.ad-copy-toggle-right {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #94a3b8;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.ad-copy-chevron {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.ad-copy-section.is-open .ad-copy-chevron {
  transform: rotate(180deg);
  stroke: var(--color-teal) !important;
}

.ad-copy-fields {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.ad-copy-section.is-open .ad-copy-fields {
  max-height: 500px;
}

.ad-copy-fields-inner {
  padding: 16px 16px 6px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid #e2e8f0;
}

.label-optional {
  font-size: 0.7rem;
  font-weight: 400;
  color: #94a3b8;
  font-style: italic;
  text-transform: none;
  letter-spacing: normal;
  margin-left: 2px;
}

@media (max-width: 768px) {
  .ad-copy-fields-inner {
    padding: 12px 12px 4px;
  }
}

/* Shared styles for index and registry listing pages */

/* Page hero */
.page-hero { padding: 24px 0 48px; text-align: center; }
.page-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,151,178,.08); border: 1px solid rgba(0,151,178,.2);
  border-radius: 30px; padding: 6px 16px; font-size: .8rem; font-weight: 600;
  color: var(--color-teal); text-transform: uppercase; letter-spacing: .07em; margin-bottom: 20px;
}
.page-hero h1 { font-size: clamp(2rem,5vw,3rem); margin-bottom: 16px; }
.page-hero h1 span {
  background: var(--gradient-river);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero p { color: var(--text-secondary); font-size: 1.05rem; max-width: 540px; margin: 0 auto 28px; line-height: 1.7; }

/* Wrapper */
.registry-wrapper { max-width: 1100px; margin: 0 auto; padding: 0 24px 80px; }

/* Search */
.registry-search-row { margin-bottom: 20px; }
.search-wrap { position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 18px; color: var(--text-muted); pointer-events: none; flex-shrink: 0; }
#registry-search {
  width: 100%; height: 54px; padding: 0 48px 0 52px; font-size: 1rem;
  border-radius: var(--radius-lg); border: 1.5px solid var(--border-glass);
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px);
  transition: border-color .2s, box-shadow .2s; color: var(--text-primary);
}
#registry-search:focus {
  outline: none; border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(0,151,178,.12);
}
#registry-search::placeholder { color: var(--text-muted); }
.search-clear-btn {
  position: absolute; right: 14px; background: none; border: none; cursor: pointer;
  color: var(--text-muted); padding: 4px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: color .15s, background .15s;
}
.search-clear-btn:hover { color: var(--text-primary); background: rgba(0,0,0,.06); }
.search-clear-btn[hidden] { display: none; }

/* Controls */
.registry-controls-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.results-bar { font-size: .9rem; color: var(--text-secondary); font-weight: 500; min-height: 22px; }
.results-bar strong { color: var(--text-primary); }
.controls-right { display: flex; align-items: center; gap: 10px; }
.sort-select {
  height: 36px; padding: 0 10px; font-size: .85rem; border-radius: var(--radius-md);
  border: 1px solid var(--border-glass); background: rgba(255,255,255,.85);
  color: var(--text-primary); cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--color-teal); }
.view-toggle {
  display: flex; border: 1px solid var(--border-glass);
  border-radius: var(--radius-md); overflow: hidden; background: rgba(255,255,255,.85);
}
.view-btn {
  width: 36px; height: 36px; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: background .15s, color .15s;
}
.view-btn + .view-btn { border-left: 1px solid var(--border-glass); }
.view-btn.active { background: var(--color-teal); color: #fff; }
.view-btn:hover:not(.active) { background: rgba(0,0,0,.04); color: var(--text-primary); }

/* Category pills */
.category-pills-wrap { margin-bottom: 16px; }
.category-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  padding: 7px 14px; border-radius: 100px; font-size: .82rem; font-weight: 600;
  cursor: pointer; border: 1.5px solid var(--border-glass);
  background: rgba(255,255,255,.8); color: var(--text-secondary);
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
  flex-shrink: 0; line-height: 1;
}
.pill:hover { border-color: rgba(0,151,178,.4); color: var(--color-teal); background: rgba(0,151,178,.04); }
.pill.pill--active {
  background: var(--gradient-river); border-color: transparent;
  color: #fff; box-shadow: 0 2px 10px rgba(0,151,178,.3);
}
.pill-emoji { font-size: .95rem; line-height: 1; }

/* Active chips */
.active-chips-row { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.chips-label { font-size: .8rem; color: var(--text-muted); font-weight: 500; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 12px; border-radius: 100px;
  background: rgba(0,151,178,.1); border: 1px solid rgba(0,151,178,.3);
  color: var(--color-teal); font-size: .82rem; font-weight: 600;
}
.chip-dismiss {
  background: none; border: none; cursor: pointer; color: var(--color-teal);
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border-radius: 50%; transition: background .15s; padding: 0;
}
.chip-dismiss:hover { background: rgba(0,151,178,.2); }

/* Grid */
.listings-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.listings-grid--list { grid-template-columns: 1fr; gap: 16px; }
@media (max-width: 900px) { .listings-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .listings-grid { grid-template-columns: 1fr; } }

/* Cards */
.listing-card {
  padding: 22px 20px 18px; transition: var(--transition-fast);
  border: 1px solid var(--border-glass); display: flex; flex-direction: column;
  min-width: 0; position: relative; overflow: hidden;
}
.listing-card:hover {
  border-color: rgba(0,151,178,.25);
  box-shadow: 0 8px 30px rgba(0,0,0,.08); transform: translateY(-2px);
}
.card-bg-icon {
  position: absolute; right: -20px; top: -20px;
  width: 130px; height: 130px; pointer-events: none; user-select: none;
  color: var(--color-teal); opacity: .07;
}
.card-bg-icon svg { width: 100%; height: 100%; }
.card-logo {
  position: absolute; right: 0; top: 0;
  width: 180px; height: 180px;
  object-fit: contain; object-position: center;
  pointer-events: none; user-select: none;
  opacity: 1;
  border-radius: 0 var(--radius-lg) 0 var(--radius-lg);
}
.listing-card.has-custom-colors .listing-name,
.listing-card.has-custom-colors .listing-link,
.listing-card.has-custom-colors .listing-hours { color: var(--card-font, inherit); }
.listing-card-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 8px; margin-bottom: 10px; min-width: 0;
}
.listing-type-badge {
  display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px;
  font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  background: rgba(0,151,178,.08); color: var(--color-teal);
  border: 1px solid rgba(0,151,178,.2); white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; max-width: 85%;
}
.coupon-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-pink); flex-shrink: 0; margin-top: 5px;
}
.listing-name {
  font-size: 1.05rem; font-weight: 700; color: var(--text-primary);
  margin: 0 0 12px; line-height: 1.3;
  line-clamp: 2;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.listing-contacts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; flex: 1; min-width: 0; }
.listing-link {
  display: inline-flex; align-items: center; gap: 5px; font-size: .8rem;
  color: var(--text-secondary); text-decoration: none;
  background: rgba(0,0,0,.025); border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm); padding: 5px 10px; transition: var(--transition-fast);
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.listing-link:hover { color: var(--color-teal); border-color: rgba(0,151,178,.3); background: rgba(0,151,178,.04); }
.listing-hours {
  font-size: .85rem; color: var(--text-secondary); white-space: pre-line;
  background: rgba(0,0,0,.025); border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm); padding: 10px 14px; margin-bottom: 12px; line-height: 1.6;
}
.listing-hours-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 4px; }
.listings-grid:not(.listings-grid--list) .listing-hours { display: none; }
.coupon-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: linear-gradient(135deg,rgba(124,58,237,.08),rgba(124,58,237,.04));
  border: 1px dashed rgba(124,58,237,.3); border-radius: var(--radius-sm);
  padding: 6px 10px; font-size: .8rem; color: var(--color-pink); font-weight: 600;
}
.coupon-chip svg { stroke: var(--color-pink); flex-shrink: 0; }
.coupon-code-text { font-family: monospace; background: rgba(124,58,237,.1); padding: 2px 6px; border-radius: 4px; font-size: .75rem; }

/* Boost card variants */
.boost-icon {
  position: absolute; top: 10px; right: 10px; z-index: 4;
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: 0 2px 6px rgba(249,115,22,.35);
  color: #fff;
  pointer-events: none;
  opacity: 0.5;
}
.boost-icon svg { width: 14px; height: 14px; display: block; fill: currentColor; }

.boost-btn {
  position: absolute; top: 10px; right: 10px;
  width: auto; height: auto; padding: 4px 10px; border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.42);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  font-size: .72rem; font-weight: 700; line-height: 1.1; white-space: nowrap; box-shadow: none;
  transition: transform .15s, color .2s, background .2s, box-shadow .2s; z-index: 2;
  color: #f59e0b;
}
.boost-btn svg { width: 12px; height: 12px; display: block; fill: currentColor; flex-shrink: 0; }
.boost-btn:hover { transform: translateY(-1px); color: #fbbf24; background: rgba(245, 158, 11, 0.24); box-shadow: 0 2px 10px rgba(240, 179, 57, 0.32); }
.boost-btn:focus-visible { outline: 2px solid #f0b339; outline-offset: 2px; }

.boost-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 4px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; font-size: .65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .06em; padding: 3px 8px; border-radius: 20px;
  box-shadow: 0 1px 4px rgba(249,115,22,.4); pointer-events: none;
}
.boost-badge svg { width: 11px; height: 11px; display: block; fill: currentColor; }

.listing-card--boosted {
  border-color: rgba(249,115,22,.2);
  box-shadow: 0 0 0 1px rgba(249,115,22,.1), 0 4px 20px rgba(249,115,22,.06);
}
.listing-card--boosted:hover {
  border-color: rgba(249,115,22,.35);
  box-shadow: 0 0 0 1px rgba(249,115,22,.18), 0 8px 30px rgba(249,115,22,.1) !important;
}
.boost-logo-wrap { text-align: center; margin-bottom: 10px; }
.boost-logo { max-height: 56px; max-width: 100%; object-fit: contain; border-radius: 6px; }
.boost-custom-text {
  margin-top: 10px; font-size: .8rem; color: var(--text-secondary);
  font-style: italic; border-top: 1px dashed var(--border-glass); padding-top: 8px;
  line-height: 1.5;
}

/* Empty/loading */
.empty-state {
  text-align: center; padding: 64px 24px; color: var(--text-secondary);
  border: 1px dashed var(--border-glass); border-radius: var(--radius-lg); background: rgba(0,0,0,.02);
}
.empty-state svg { width: 48px; height: 48px; stroke: var(--text-muted); margin-bottom: 16px; }
.empty-state h3 { color: var(--text-primary); margin-bottom: 8px; }
.loading-state { text-align: center; padding: 64px; color: var(--text-muted); }

/* CTA */
.cta-register-banner { margin-top: 48px; padding: 40px; text-align: center; background: var(--gradient-glow); border: 1px solid rgba(0,151,178,.15); }
.cta-register-banner h2 { font-size: 1.4rem; margin-bottom: 10px; }
.cta-register-banner p { color: var(--text-secondary); margin-bottom: 24px; font-size: .95rem; }

@media (max-width: 600px) {
  .registry-controls-row { flex-direction: column; align-items: flex-start; }
  .controls-right { width: 100%; justify-content: space-between; }
  .listing-card { padding: 16px 14px; }
  .registry-wrapper { padding-left: 16px; padding-right: 16px; }
}

/* Boost modal */
.boost-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(7,10,19,.82); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px; opacity: 0; visibility: hidden;
  transition: opacity .2s, visibility .2s;
}
.boost-overlay.open { opacity: 1; visibility: visible; }
.boost-modal {
  background: var(--color-midnight, #070a13);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px; width: 100%; max-width: 900px;
  max-height: 92vh; overflow-y: auto;
  padding: 22px 24px 24px; position: relative;
  transform: translateY(18px); transition: transform .22s cubic-bezier(.16,1,.3,1);
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.1) transparent;
}
.boost-overlay.open .boost-modal { transform: translateY(0); }
.boost-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: none; border: none; cursor: pointer; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; transition: background .15s, color .15s;
}
.boost-modal-close:hover { background: rgba(255,255,255,.08); color: var(--text-primary); }
/* header */
.boost-modal-header { margin-bottom: 14px; padding-right: 36px; }
.boost-modal-title {
  display: flex; align-items: center; gap: 7px;
  font-size: 1.1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 6px;
}
.boost-modal-title svg { color: #f97316; flex-shrink: 0; }
.boost-business-name {
  font-size: .875rem; font-weight: 600; color: var(--color-teal);
  background: rgba(0,151,178,.08); border: 1px solid rgba(0,151,178,.18);
  border-radius: 8px; padding: 4px 10px; display: inline-block;
}
/* step indicators */
.boost-step-indicators { display: flex; align-items: center; margin-bottom: 18px; }
.boost-step-dot { display: flex; align-items: center; gap: 7px; color: var(--text-muted); transition: color .2s; }
.boost-step-dot.active { color: var(--text-primary); }
.bsd-num {
  width: 22px; height: 22px; border-radius: 50%; font-size: .72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,255,255,.12);
  transition: background .2s, border-color .2s, color .2s; flex-shrink: 0;
}
.boost-step-dot.active .bsd-num {
  background: linear-gradient(135deg, #f59e0b, #f97316); border-color: #f97316; color: #fff;
}
.bsd-label { font-size: .74rem; font-weight: 600; }
.boost-step-line { flex: 1; height: 1px; background: rgba(255,255,255,.1); margin: 0 10px; }
/* step 1 two-column layout */
.boost-step1-layout {
  display: grid; grid-template-columns: 1fr 210px; gap: 18px; align-items: start;
}
.boost-step1-form { display: flex; flex-direction: column; }
.boost-form-section { margin-bottom: 14px; }
.boost-form-label {
  display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--text-secondary); margin-bottom: 7px;
}
.boost-label-opt { font-weight: 400; text-transform: none; font-size: .72rem; color: var(--text-muted); }
/* color pickers */
.boost-color-row { display: flex; gap: 16px; }
.boost-color-col { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.boost-color-input {
  width: 48px; height: 48px; border-radius: 10px; border: 2px solid rgba(255,255,255,.14);
  cursor: pointer; padding: 3px; background: none; transition: border-color .15s;
}
.boost-color-input:hover { border-color: rgba(255,255,255,.3); }
.boost-color-swatch-label { font-size: .68rem; color: var(--text-muted); }
/* file upload */
.boost-file-label {
  display: flex; align-items: center; gap: 7px;
  padding: 8px 12px; border: 1.5px dashed rgba(255,255,255,.12);
  border-radius: 8px; cursor: pointer; font-size: .8rem;
  color: var(--text-secondary); transition: border-color .15s, color .15s;
}
.boost-file-label:hover { border-color: var(--color-teal); color: var(--color-teal); }
.boost-file-label input { display: none; }
.boost-email-note { font-size: .72rem; color: var(--text-muted); line-height: 1.5; }
.boost-email-note a { color: var(--color-teal); text-decoration: none; }
.boost-email-note a:hover { text-decoration: underline; }
/* tagline textarea */
.boost-custom-textarea {
  width: 100%; min-height: 58px; resize: vertical; font-family: inherit;
  font-size: .84rem; line-height: 1.55; padding: 8px 10px;
  border-radius: 8px; border: 1.5px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: var(--text-primary);
  transition: border-color .2s; box-sizing: border-box;
}
.boost-custom-textarea:focus { outline: none; border-color: var(--color-teal); }
/* live preview card (step 1 right column) */
.boost-step1-preview { position: sticky; top: 0; }
.boost-preview-label {
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  color: var(--text-muted); margin-bottom: 7px;
}
.boost-preview-card {
  border-radius: 12px; padding: 13px;
  border: 1.5px solid rgba(249,115,22,.4);
  box-shadow: 0 0 0 1px rgba(249,115,22,.08), 0 4px 20px rgba(249,115,22,.1);
  background: #fff; color: #111;
  transition: background .2s, color .2s; position: relative; overflow: hidden; min-height: 130px;
}
.boost-preview-card--large { border-radius: 13px; padding: 16px; min-height: 0; margin-bottom: 14px; }
.bpc-boosted-badge {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: .6rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; border-radius: 20px; padding: 2px 7px;
  margin-bottom: 7px; box-shadow: 0 2px 6px rgba(249,115,22,.28);
}
.bpc-logo {
  width: 36px; height: 36px; object-fit: contain; border-radius: 6px;
  border: 1px solid rgba(0,0,0,.08); margin-bottom: 6px; display: block;
}
.bpc-type-badge {
  font-size: .6rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  opacity: .5; margin-bottom: 3px;
}
.bpc-name { font-size: .88rem; font-weight: 700; margin-bottom: 3px; line-height: 1.3; }
.bpc-meta { font-size: .7rem; opacity: .45; }
.bpc-tagline {
  font-size: .7rem; font-style: italic; opacity: .65;
  border-top: 1px dashed rgba(0,0,0,.15); padding-top: 6px; margin-top: 7px;
}
/* step 1 footer / next button */
.boost-step1-footer { margin-top: 16px; display: flex; justify-content: flex-end; }
.boost-next-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; font-size: .88rem; font-weight: 700;
  border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; box-shadow: 0 4px 14px rgba(249,115,22,.3);
  transition: opacity .2s, box-shadow .2s;
}
.boost-next-btn:hover { opacity: .9; box-shadow: 0 6px 20px rgba(249,115,22,.45); }
/* step 2 */
.boost-step2-inner { max-width: 440px; margin: 0 auto; }
.boost-perks-chips {
  list-style: none; padding: 0; margin: 0 0 14px;
  display: flex; flex-wrap: wrap; gap: 5px;
}
.perk-chip {
  font-size: .7rem; font-weight: 600; padding: 3px 9px;
  border-radius: 20px; border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05); color: var(--text-secondary); white-space: nowrap;
}
.boost-price-callout {
  background: linear-gradient(135deg, rgba(249,115,22,.1), rgba(245,158,11,.07));
  border: 1px solid rgba(249,115,22,.22); border-radius: 10px;
  padding: 11px 14px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px;
}
.boost-price-amount { font-size: 1.5rem; font-weight: 800; color: #f97316; white-space: nowrap; }
.boost-price-amount span { font-size: .85rem; font-weight: 600; }
.boost-price-label { font-size: .75rem; color: var(--text-secondary); line-height: 1.45; }
.boost-email-input {
  width: 100%; height: 40px; padding: 0 11px; font-size: .88rem;
  border-radius: 8px; border: 1.5px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.04); color: var(--text-primary);
  transition: border-color .2s; box-sizing: border-box;
}
.boost-email-input:focus { outline: none; border-color: var(--color-teal); }
.boost-submit-btn {
  width: 100%; padding: 13px; font-size: .95rem; font-weight: 700;
  border: none; border-radius: 10px; cursor: pointer;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: #fff; box-shadow: 0 4px 14px rgba(249,115,22,.35);
  transition: opacity .2s, box-shadow .2s; margin-top: 6px;
}
.boost-submit-btn:hover:not(:disabled) { opacity: .92; box-shadow: 0 6px 20px rgba(249,115,22,.5); }
.boost-submit-btn:disabled { opacity: .6; cursor: not-allowed; }
.boost-error {
  font-size: .82rem; color: #ef4444; margin-top: 8px;
  padding: 9px 12px; background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2); border-radius: 8px;
}
.boost-error[hidden] { display: none; }
.boost-back-btn {
  display: flex; align-items: center; gap: 5px; justify-content: center;
  width: 100%; margin-top: 10px; padding: 6px;
  background: none; border: none; cursor: pointer;
  font-size: .78rem; color: var(--text-muted); transition: color .15s;
}
.boost-back-btn:hover { color: var(--text-secondary); }
@media (max-width: 600px) {
  .boost-step1-layout { grid-template-columns: 1fr; }
  .boost-step1-preview { position: static; }
  .boost-preview-card { min-height: 80px; }
  .boost-modal { padding: 16px; max-height: 96vh; }
}

/* ── Overlay layer (sits inside .listing-card, above bg, below content) ────── */
.boost-overlay-layer {
  position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 0;
}
.listing-card { position: relative; }
.listing-card > *:not(.boost-overlay-layer):not(.boost-badge):not(.boost-btn) { position: relative; z-index: 1; }

/* ── Accordion (design studio sections) ─────────────────────────────────────── */
.boost-accordion { margin-bottom: 6px; border-radius: 10px; overflow: hidden; }
.boost-acc-header {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; cursor: pointer; font-size: .82rem; font-weight: 600;
  color: var(--text-secondary); text-align: left;
  transition: background .15s, color .15s, border-color .15s;
}
.boost-acc-header:hover { background: rgba(255,255,255,.07); color: var(--text-primary); }
.boost-acc-header.open {
  background: rgba(0,151,178,.07); border-color: rgba(0,151,178,.22); color: var(--text-primary);
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
}
.boost-acc-header .acc-icon { font-size: 1rem; flex-shrink: 0; }
.boost-acc-header .acc-chevron {
  margin-left: auto; width: 14px; height: 14px; flex-shrink: 0;
  transition: transform .2s;
}
.boost-acc-header.open .acc-chevron { transform: rotate(180deg); }
.boost-acc-body {
  display: none; padding: 12px 14px 14px;
  border: 1px solid rgba(0,151,178,.18); border-top: none;
  border-bottom-left-radius: 10px; border-bottom-right-radius: 10px;
  background: rgba(0,151,178,.03);
}
.boost-acc-header.open + .boost-acc-body { display: block; }

/* ── Slider row ─────────────────────────────────────────────────────────────── */
.boost-slider-row {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.boost-slider-row label { font-size: .76rem; color: var(--text-secondary); min-width: 90px; flex-shrink: 0; }
.boost-slider {
  flex: 1; height: 4px; accent-color: var(--color-teal, #0097b2);
  cursor: pointer;
}
.boost-slider-val {
  font-size: .75rem; font-weight: 700; color: var(--text-primary);
  min-width: 36px; text-align: right; flex-shrink: 0;
}

/* ── Type / style selector buttons ─────────────────────────────────────────── */
.boost-type-selector { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.boost-type-btn {
  padding: 5px 12px; font-size: .76rem; font-weight: 600; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: var(--text-secondary); cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.boost-type-btn:hover { background: rgba(255,255,255,.08); color: var(--text-primary); }
.boost-type-btn.active {
  background: rgba(0,151,178,.12); border-color: rgba(0,151,178,.4); color: var(--color-teal, #0097b2);
}

/* ── Font picker ────────────────────────────────────────────────────────────── */
.boost-font-picker { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.boost-font-opt {
  padding: 6px 12px; font-size: .82rem; border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04);
  color: var(--text-secondary); cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.boost-font-opt:hover { background: rgba(255,255,255,.08); color: var(--text-primary); }
.boost-font-opt.active {
  background: rgba(0,151,178,.12); border-color: rgba(0,151,178,.4); color: var(--color-teal, #0097b2);
}

/* ── Active effects counter badge ────────────────────────────────────────────── */
.boost-effects-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--color-teal, #0097b2); border-radius: 20px;
  font-size: .65rem; font-weight: 800; color: #fff; margin-left: 4px;
}
.boost-effects-badge[data-count="0"] { display: none; }

/* ── Color sub-row (compact, for use inside accordions) ──────────────────────── */
.boost-color-subrow {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; margin-bottom: 10px;
}
.boost-color-sublabel {
  font-size: .74rem; color: var(--text-secondary); margin-bottom: 4px; display: block;
}
.boost-color-mini {
  width: 38px; height: 38px; border-radius: 8px; border: 1.5px solid rgba(255,255,255,.14);
  cursor: pointer; padding: 2px; background: none;
}
/* Warm overrides for accordion / slider / type-btn */
body[data-nav-warm] .boost-acc-header,
body[data-layout="warm"] .boost-acc-header {
  background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.09); color: #5a4a2a;
}
body[data-nav-warm] .boost-acc-header.open,
body[data-layout="warm"] .boost-acc-header.open {
  background: rgba(180,120,30,.07); border-color: rgba(180,120,30,.25); color: #3a2a0a;
}
body[data-nav-warm] .boost-acc-body,
body[data-layout="warm"] .boost-acc-body {
  border-color: rgba(180,120,30,.2); background: rgba(180,120,30,.03);
}
body[data-nav-warm] .boost-type-btn.active,
body[data-layout="warm"] .boost-type-btn.active,
body[data-nav-warm] .boost-font-opt.active,
body[data-layout="warm"] .boost-font-opt.active {
  background: rgba(180,120,30,.12); border-color: rgba(180,120,30,.4); color: #7a5a1a;
}

/* ═══════════════════════════════════════════════════════════════
   WARM THEME — shared nav + page-layout tokens
   data-nav-warm  → warm nav only (any page)
   data-layout="warm" → full warm page (background, element hiding)
   ═══════════════════════════════════════════════════════════════ */

/* ── Warm tokens (available to any page with warm nav) ───────── */
body[data-nav-warm],
body[data-layout="warm"] {
  --cream: #F3F7F8;
  --cream-dark: #E2EEF0;
  --rust: #1A4F59;
  --rust-hover: #226471;
  --gold: #C48A2E;
  --dark: #101E22;
  --mid: #3A5E66;
  --muted: #7A9EA6;
  --border: rgba(26, 79, 89, 0.13);
  --border-strong: rgba(26, 79, 89, 0.28);
  --shadow-warm: 0 4px 28px rgba(26, 79, 89, 0.10);
}

/* ── Full warm page overrides (background + content) ─────────── */
body[data-layout="warm"] {
  background: var(--cream) !important;
  background-image: none !important;
  color: var(--dark);
}

/* ── Nav — applies to any page carrying data-nav-warm ────────── */
body[data-nav-warm] .site-header {
  height: 60px;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-nav-warm] .logo {
  font-family: 'DM Serif Display', 'Outfit', serif;
  font-size: 1.15rem;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--rust);
  background-clip: unset;
  color: var(--rust);
  letter-spacing: -0.01em;
  gap: 0;
}

body[data-nav-warm] .logo svg { display: none; }

body[data-nav-warm] .logo-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-left: 4px;
  vertical-align: middle;
  position: relative;
  top: -2px;
  flex-shrink: 0;
}

body[data-nav-warm] .nav-link { color: var(--mid); }
body[data-nav-warm] .nav-link:hover,
body[data-nav-warm] .nav-link.active { color: var(--rust); }
body[data-nav-warm] .nav-link::after { background: var(--rust); }

body[data-nav-warm] .warm-nav-cta {
  background: var(--rust) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 100px !important;
  box-shadow: none !important;
  padding: 0.45rem 1rem !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  transition: background 0.18s !important;
}
body[data-nav-warm] .warm-nav-cta:hover {
  background: var(--rust-hover) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Hide old registry layout elements (full warm pages only) ── */
body[data-layout="warm"] .page-hero { display: none; }
body[data-layout="warm"] .registry-search-row { display: none; }
body[data-layout="warm"] .registry-controls-row { display: none; }
body[data-layout="warm"] .category-pills-wrap { display: none; }

/* ── Hero ─────────────────────────────────────────────────────── */
.reg-hero {
  padding: 2.5rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  background: linear-gradient(160deg, #0c4668 0%, #0b6b50 55%, #0d9a80 100%);
}

.reg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 1;
  pointer-events: none;
}

.reg-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 75% at 50% 50%, rgba(0,0,0,0) 20%, rgba(8, 40, 60, 0.35) 100%);
  pointer-events: none;
}

.reg-hero-content { position: relative; z-index: 1; }

.reg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.reg-hero-badge svg {
  width: 12px;
  height: 12px;
  fill: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.reg-hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.9rem, 3.8vw, 2.6rem);
  line-height: 1.08;
  color: #ffffff;
  margin-bottom: 0.625rem;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

.reg-hero-title em {
  font-style: italic;
  color: #7ee8d0;
}

.reg-hero-sub {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  margin-bottom: 2.75rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

/* ── Hero search bar ─────────────────────────────────────────── */
.reg-search-wrap {
  max-width: 660px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  border: 1.5px solid var(--border-strong);
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 1.1rem;
  box-shadow: var(--shadow-warm);
  position: relative;
}

.reg-search-ico {
  color: var(--muted);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.reg-search-ico svg {
  width: 18px;
  height: 18px;
  stroke: var(--muted);
  stroke-width: 2;
  fill: none;
}

.reg-search-wrap #registry-search {
  flex: 1;
  border: none !important;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  color: var(--dark);
  background: transparent;
  min-width: 0;
  padding: 0;
  height: auto;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
}

.reg-search-wrap #registry-search::placeholder { color: var(--muted); }
.reg-search-wrap #registry-search:focus { outline: none; box-shadow: none; border-color: transparent; }

.reg-search-wrap .search-clear-btn {
  position: static;
  color: var(--muted);
  padding: 4px;
  margin-right: 4px;
}
.reg-search-wrap .search-clear-btn:hover { color: var(--dark); background: rgba(0,0,0,.06); }

.reg-search-divider {
  width: 1px;
  height: 26px;
  background: var(--border-strong);
  flex-shrink: 0;
  margin: 0 0.75rem;
}

.reg-search-cat {
  border: none;
  outline: none;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: var(--mid);
  background: transparent;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
  max-width: 160px;
}

.reg-search-btn {
  background: linear-gradient(135deg, #0b6b50 0%, #0d9a80 100%);
  color: #fff;
  border: none;
  border-radius: 11px;
  padding: 0.6rem 1.375rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.18s, box-shadow 0.18s;
  margin-left: 0.5rem;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(13, 154, 128, 0.3);
}
.reg-search-btn:hover { opacity: 0.9; box-shadow: 0 4px 16px rgba(13, 154, 128, 0.45); }

/* ── Sticky filters bar ──────────────────────────────────────── */
.reg-filters-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 60px;
  z-index: 100;
}

.reg-filters-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reg-chips-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
  padding-bottom: 2px;
}
.reg-chips-scroll::-webkit-scrollbar { display: none; }

/* Track wrapper — must constrain scroll area width so overflow-x activates */
.reg-chips-track {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ── Chips track: wraps scroll area + left/right arrow buttons ── */
body[data-layout="warm"] .reg-chips-track {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
body[data-layout="warm"] .chips-scroll-btn {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--cream);
  color: var(--rust);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 6px rgba(26, 79, 89, 0.14);
}
body[data-layout="warm"] .chips-scroll-btn:hover {
  background: var(--rust);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 79, 89, 0.22);
}
body[data-layout="warm"] .chips-scroll-btn[hidden] { display: none !important; }

/* Hide scroll buttons on small phones — native touch swipe works there */
@media (max-width: 540px) {
  body[data-layout="warm"] .chips-scroll-btn { display: none !important; }
}

/* Warm pill overrides (scoped to filters bar) */
body[data-layout="warm"] .reg-chips-scroll .pill {
  background: #fff;
  border: 1px solid var(--border-strong);
  color: var(--mid);
  font-size: 0.8125rem;
  font-weight: 500;
  box-shadow: 0 1px 4px rgba(26, 79, 89, 0.08);
  transition: background 0.15s, border-color 0.15s, color 0.15s, box-shadow 0.15s, transform 0.15s;
  padding: 6px 14px;
}
body[data-layout="warm"] .reg-chips-scroll .pill:hover {
  border-color: var(--rust);
  color: var(--rust);
  background: rgba(26, 79, 89, 0.05);
  box-shadow: 0 2px 8px rgba(26, 79, 89, 0.14);
  transform: translateY(-1px);
}
body[data-layout="warm"] .reg-chips-scroll .pill.pill--active {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(26, 79, 89, 0.30);
  transform: none;
}

/* ── Desktop: pills stay in a single clipped row; expand on demand ──────── */
@media (min-width: 721px) {
  .reg-chips-track,
  body[data-layout="warm"] .reg-chips-track {
    overflow: hidden;
    align-items: center;
  }
  /* single row — pills are clipped, not scrollable */
  .reg-chips-scroll {
    flex-wrap: nowrap;
    overflow: hidden;
    padding-bottom: 0;
  }
  /* expanded state: wrap all pills */
  .reg-chips-track.pills-expanded,
  body[data-layout="warm"] .reg-chips-track.pills-expanded {
    overflow: visible;
    align-items: flex-start;
  }
  .reg-chips-track.pills-expanded .reg-chips-scroll {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 4px;
  }
  /* Arrow scroll buttons not needed on desktop */
  .chips-scroll-btn,
  body[data-layout="warm"] .chips-scroll-btn {
    display: none !important;
  }
  .reg-filters-inner {
    align-items: center;
  }
}

/* ── Expanded state — works on all screen sizes ───────────────── */
.reg-chips-track.pills-expanded,
body[data-layout="warm"] .reg-chips-track.pills-expanded {
  overflow: visible !important;
  align-items: flex-start !important;
}
.reg-chips-track.pills-expanded .reg-chips-scroll {
  flex-wrap: wrap !important;
  overflow: visible !important;
  padding-bottom: 4px;
}
.reg-chips-track.pills-expanded .chips-scroll-btn {
  display: none !important;
}
.reg-filters-inner.pills-bar-expanded {
  align-items: flex-start;
}

/* ── Expand pills button ──────────────────────────────────────── */
.pills-expand-btn {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  height: 30px;
  padding: 0 12px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--rust);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
  box-shadow: 0 1px 4px rgba(26, 79, 89, 0.10);
}
.pills-expand-btn:hover {
  background: var(--rust);
  color: #fff;
  box-shadow: 0 2px 8px rgba(26, 79, 89, 0.22);
}
.pills-expand-btn svg {
  transition: transform 0.2s ease;
}
.pills-expand-btn.is-expanded svg {
  transform: rotate(180deg);
}

.reg-sort-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.reg-sort-label {
  font-size: 0.8125rem;
  color: var(--muted);
  white-space: nowrap;
}
.reg-sort-select {
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  padding: 0.35rem 1.6rem 0.35rem 0.625rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  color: var(--mid);
  background: #fff;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%236A5048' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
}

/* ── Results area ────────────────────────────────────────────── */
.reg-results-header {
  padding: 1.25rem 0 0.75rem;
}

body[data-layout="warm"] .registry-wrapper {
  max-width: 1200px;
  padding-top: 0;
}

body[data-layout="warm"] #results-count { font-size: 0.9375rem; color: var(--mid); }
body[data-layout="warm"] #results-count strong { color: var(--dark); font-weight: 600; }

/* Active filter chip */
body[data-layout="warm"] .filter-chip {
  background: rgba(26, 79, 89, 0.08);
  border: 1px solid rgba(26, 79, 89, 0.25);
  color: var(--rust);
}
body[data-layout="warm"] .chip-dismiss { color: var(--rust); }
body[data-layout="warm"] .chip-dismiss:hover { background: rgba(26, 79, 89, 0.15); }

/* ── Cards ───────────────────────────────────────────────────── */
body[data-layout="warm"] .listing-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 1.25rem;
  cursor: default;
  transition: border-color 0.18s, transform 0.18s;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}
body[data-layout="warm"] .listing-card:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: none;
}

.warm-card-head {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.warm-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(26, 79, 89, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  flex-shrink: 0;
  overflow: hidden;
}
.warm-card-icon img { width: 100%; height: 100%; object-fit: contain; }

.warm-card-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.warm-card-cat {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 2px;
}

.warm-card-body {
  font-size: 0.8125rem;
  color: var(--mid);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.warm-card-body a { color: var(--mid); text-decoration: none; }
.warm-card-body a:hover { color: var(--rust); }

/* Coupon (warm) */
body[data-layout="warm"] .coupon-chip {
  background: rgba(26, 79, 89, 0.06);
  border: 1px dashed rgba(26, 79, 89, 0.3);
  color: var(--rust);
  margin-bottom: 0.75rem;
}
body[data-layout="warm"] .coupon-chip svg { stroke: var(--rust); }
body[data-layout="warm"] .coupon-code-text { background: rgba(26, 79, 89, 0.1); }

/* Boost custom text (warm) */
body[data-layout="warm"] .boost-custom-text {
  font-size: 0.8rem;
  color: var(--mid);
  font-style: italic;
  margin-bottom: 0.75rem;
  padding: 0.45rem 0.75rem;
  border-top: none;
  border-left: 2px solid var(--gold);
  line-height: 1.5;
}

.warm-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin-top: auto;
}

.warm-card-tag {
  font-size: 0.75rem;
  color: var(--rust);
  font-weight: 500;
  background: rgba(26, 79, 89, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
}

.warm-card-link {
  font-size: 0.8125rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}
.warm-card-link:hover { color: var(--rust); }

/* Boosted card border (warm override) */
body[data-layout="warm"] .listing-card--boosted {
  border-color: rgba(196, 138, 46, 0.4) !important;
  box-shadow: 0 0 0 1px rgba(196, 138, 46, 0.15) !important;
}
body[data-layout="warm"] .listing-card--boosted:hover {
  border-color: rgba(196, 138, 46, 0.6) !important;
  box-shadow: 0 0 0 1px rgba(196, 138, 46, 0.25), 0 4px 20px rgba(196, 138, 46, 0.12) !important;
}

/* Boost button (warm) — faded ghost, turns golden on hover */
body[data-layout="warm"] .boost-btn {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.35);
  box-shadow: none;
  color: #92400e;
}
body[data-layout="warm"] .boost-btn:hover {
  background: rgba(245, 158, 11, 0.22);
  box-shadow: 0 2px 8px rgba(200, 148, 10, 0.25);
  color: #78350f;
}

/* ── CTA banner ──────────────────────────────────────────────── */
body[data-layout="warm"] .cta-register-banner {
  background: var(--cream-dark);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  text-align: center;
  padding: 3rem 2rem;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
body[data-layout="warm"] .cta-register-banner h2 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.75rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
body[data-layout="warm"] .cta-register-banner p {
  color: var(--mid);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
body[data-layout="warm"] .cta-register-banner .btn-primary {
  background: var(--rust) !important;
  color: #fff !important;
  border-radius: 100px !important;
  box-shadow: none !important;
  padding: 0.65rem 1.5rem !important;
}
body[data-layout="warm"] .cta-register-banner .btn-primary:hover {
  background: var(--rust-hover) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Boost modal (warm) ──────────────────────────────────────── */
body[data-layout="warm"] .boost-overlay {
  background: rgba(16, 30, 34, 0.55);
}
body[data-layout="warm"] .boost-modal {
  background: var(--cream);
  border: 1px solid var(--border-strong);
  color: var(--dark);
}
body[data-layout="warm"] .boost-modal-title { color: var(--dark); }
body[data-layout="warm"] .boost-business-name {
  color: var(--rust);
  background: rgba(26, 79, 89, 0.07);
  border: 1px solid rgba(26, 79, 89, 0.18);
}
body[data-layout="warm"] .boost-step-dot { color: var(--muted); }
body[data-layout="warm"] .boost-step-dot.active { color: var(--dark); }
body[data-layout="warm"] .bsd-num {
  background: rgba(26, 79, 89, 0.06); border-color: var(--border-strong);
}
body[data-layout="warm"] .boost-step-dot.active .bsd-num {
  background: linear-gradient(135deg, var(--rust), var(--rust-hover));
  border-color: var(--rust); color: #fff;
}
body[data-layout="warm"] .boost-step-line { background: var(--border-strong); }
body[data-layout="warm"] .perk-chip {
  border-color: var(--border-strong); background: rgba(26, 79, 89, 0.05); color: var(--mid);
}
body[data-layout="warm"] .boost-price-callout {
  background: rgba(26, 79, 89, 0.06);
  border: 1px solid rgba(26, 79, 89, 0.15);
}
body[data-layout="warm"] .boost-price-amount { color: var(--rust); }
body[data-layout="warm"] .boost-price-label { color: var(--mid); }
body[data-layout="warm"] .boost-submit-btn {
  background: linear-gradient(135deg, var(--rust), var(--rust-hover));
  box-shadow: 0 4px 16px rgba(26, 79, 89, 0.25);
}
body[data-layout="warm"] .boost-submit-btn:hover:not(:disabled) {
  opacity: 0.92;
  box-shadow: 0 6px 20px rgba(26, 79, 89, 0.35);
}
body[data-layout="warm"] .boost-next-btn {
  background: linear-gradient(135deg, var(--rust), var(--rust-hover));
  box-shadow: 0 4px 14px rgba(26, 79, 89, 0.25);
}
body[data-layout="warm"] .boost-next-btn:hover {
  box-shadow: 0 6px 20px rgba(26, 79, 89, 0.35);
}
body[data-layout="warm"] .boost-back-btn { color: var(--muted); }
body[data-layout="warm"] .boost-back-btn:hover { color: var(--mid); }
body[data-layout="warm"] .boost-form-label { color: var(--mid); }
body[data-layout="warm"] .boost-label-opt { color: var(--muted); }
body[data-layout="warm"] .boost-color-input { border-color: var(--border-strong); }
body[data-layout="warm"] .boost-color-swatch-label { color: var(--muted); }
body[data-layout="warm"] .boost-preview-label { color: var(--muted); }
body[data-layout="warm"] .boost-email-input,
body[data-layout="warm"] .boost-custom-textarea {
  background: rgba(255,255,255,0.7);
  border-color: var(--border-strong);
  color: var(--dark);
}
body[data-layout="warm"] .boost-email-input:focus,
body[data-layout="warm"] .boost-custom-textarea:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(26, 79, 89, 0.1);
}
body[data-layout="warm"] .boost-modal-close { color: var(--muted); }
body[data-layout="warm"] .boost-modal-close:hover {
  background: rgba(26, 79, 89, 0.08);
  color: var(--dark);
}
body[data-layout="warm"] .boost-file-label {
  border-color: var(--border-strong);
  color: var(--mid);
}
body[data-layout="warm"] .boost-file-label:hover {
  border-color: var(--rust);
  color: var(--rust);
}
body[data-layout="warm"] .boost-email-note { color: var(--muted); }
body[data-layout="warm"] .boost-email-note a { color: var(--rust); }

/* ════════════════════════════════════════════════════════════════
   partnerships.html warm-theme overrides
   All rules scoped to body[data-layout="warm"]
   ════════════════════════════════════════════════════════════════ */

/* ── Global button overrides ─────────────────────────────────── */
body[data-layout="warm"] .btn-primary {
  background: var(--rust) !important;
  color: #fff !important;
  border-color: transparent !important;
  border-radius: 100px !important;
  box-shadow: none !important;
}
body[data-layout="warm"] .btn-primary:hover {
  background: var(--rust-hover) !important;
  transform: none !important;
  box-shadow: none !important;
}
body[data-layout="warm"] .btn-secondary {
  background: transparent !important;
  color: var(--rust) !important;
  border: 1.5px solid var(--rust) !important;
  border-radius: 100px !important;
  box-shadow: none !important;
}
body[data-layout="warm"] .btn-secondary:hover {
  background: rgba(26, 79, 89, 0.06) !important;
  transform: none !important;
  box-shadow: none !important;
}
body[data-layout="warm"] .btn-purple {
  background: var(--gold) !important;
  color: #fff !important;
  border-color: transparent !important;
  border-radius: 100px !important;
  box-shadow: none !important;
}
body[data-layout="warm"] .btn-purple:hover {
  background: #b37a28 !important;
  transform: none !important;
  box-shadow: none !important;
}
body[data-layout="warm"] .btn-annual {
  background: var(--dark) !important;
  color: #fff !important;
  border-color: transparent !important;
  border-radius: 100px !important;
  box-shadow: none !important;
}
body[data-layout="warm"] .btn-annual:hover {
  background: #1c2e33 !important;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Hero ────────────────────────────────────────────────────── */
body[data-layout="warm"] .hero {
  background: var(--cream) !important;
  background-image: none !important;
  padding-top: 64px;
}
body[data-layout="warm"] .hero-badge {
  background: rgba(26, 79, 89, 0.07);
  border: 1px solid rgba(26, 79, 89, 0.22);
  color: var(--rust);
  box-shadow: none;
}
body[data-layout="warm"] .pulse-dot {
  background: var(--gold);
  box-shadow: none;
  animation: warm-pulse 2s ease-in-out infinite;
}
@keyframes warm-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}
body[data-layout="warm"] .hero-title {
  color: var(--dark);
  text-shadow: none;
}
body[data-layout="warm"] .hero-title span {
  color: var(--gold);
  background: none;
  -webkit-text-fill-color: var(--gold);
  -webkit-background-clip: unset;
  background-clip: unset;
}
body[data-layout="warm"] .hero-subtitle { color: var(--mid); }
body[data-layout="warm"] .hero-visual .glass-panel,
body[data-layout="warm"] .floating-card {
  background: #fff !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: var(--shadow-warm) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-layout="warm"] .card-header-title { color: var(--dark); font-weight: 600; }
body[data-layout="warm"] .live-dot-sm { background: var(--gold); box-shadow: none; }
body[data-layout="warm"] .live-badge-text { color: var(--gold); }
body[data-layout="warm"] .stat-mini-num { color: var(--rust); font-weight: 700; }
body[data-layout="warm"] .stat-mini-lbl { color: var(--muted); }
body[data-layout="warm"] .ticker-row { border-top: 1px solid var(--border); }
body[data-layout="warm"] .ticker-dot { background: var(--rust); box-shadow: none; }
body[data-layout="warm"] .ticker-text { color: var(--mid); }
body[data-layout="warm"] .ticker-num { color: var(--rust); font-weight: 600; }

/* ── Stats banner ────────────────────────────────────────────── */
body[data-layout="warm"] .stats-banner {
  background: var(--cream-dark) !important;
  border-top: 1px solid var(--border) !important;
  border-bottom: 1px solid var(--border) !important;
  backdrop-filter: none !important;
}
body[data-layout="warm"] .stat-box { background: transparent; box-shadow: none; }
body[data-layout="warm"] .stat-box-icon svg { stroke: var(--rust); fill: none; }
body[data-layout="warm"] .stat-box-num {
  font-family: 'DM Serif Display', serif;
  color: var(--dark);
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: var(--dark);
  -webkit-background-clip: unset;
  background-clip: unset;
}
body[data-layout="warm"] .stat-box-label { color: var(--mid); }

/* ── Section headers ─────────────────────────────────────────── */
body[data-layout="warm"] .section-tag {
  background: rgba(26, 79, 89, 0.07);
  border: 1px solid rgba(26, 79, 89, 0.2);
  color: var(--rust);
  text-shadow: none;
  box-shadow: none;
}
body[data-layout="warm"] .section-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  color: var(--dark);
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: var(--dark);
  -webkit-background-clip: unset;
  background-clip: unset;
}
body[data-layout="warm"] .section-subtitle { color: var(--mid); }

/* ── Feature cards ───────────────────────────────────────────── */
body[data-layout="warm"] .feature-card,
body[data-layout="warm"] .glass-panel.feature-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-layout="warm"] .feature-card:hover,
body[data-layout="warm"] .glass-panel.feature-card:hover {
  border-color: var(--rust) !important;
  box-shadow: none !important;
  transform: translateY(-2px);
}
body[data-layout="warm"] .feature-icon {
  background: rgba(26, 79, 89, 0.08);
  box-shadow: none;
}
body[data-layout="warm"] .feature-icon svg { stroke: var(--rust); fill: none; }
body[data-layout="warm"] .feature-title { color: var(--dark); }
body[data-layout="warm"] .feature-desc { color: var(--mid); }

/* ── Pricing cards ───────────────────────────────────────────── */
body[data-layout="warm"] .price-card,
body[data-layout="warm"] .glass-panel.price-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-layout="warm"] .featured-card,
body[data-layout="warm"] .glass-panel.featured-card {
  border-color: var(--rust) !important;
  box-shadow: 0 0 0 1px rgba(26, 79, 89, 0.12) !important;
}
body[data-layout="warm"] .sponsor-card,
body[data-layout="warm"] .glass-panel.sponsor-card {
  border-color: rgba(196, 138, 46, 0.5) !important;
  box-shadow: 0 0 0 1px rgba(196, 138, 46, 0.15) !important;
}
body[data-layout="warm"] .annual-card,
body[data-layout="warm"] .glass-panel.annual-card {
  border-color: rgba(16, 30, 34, 0.3) !important;
}
body[data-layout="warm"] .featured-badge {
  background: var(--rust);
  color: #fff;
  box-shadow: none;
}
body[data-layout="warm"] .featured-badge.sponsor-badge {
  background: var(--gold);
  color: #fff;
}
body[data-layout="warm"] .featured-badge.annual-badge {
  background: var(--dark);
  color: #fff;
}
body[data-layout="warm"] .price-tier { color: var(--muted); }
body[data-layout="warm"] .price-recur-label { color: var(--muted); }
body[data-layout="warm"] .price-num {
  font-family: 'DM Serif Display', serif;
  color: var(--dark);
  text-shadow: none;
  background: none;
  -webkit-text-fill-color: var(--dark);
  -webkit-background-clip: unset;
  background-clip: unset;
}
body[data-layout="warm"] .price-period { color: var(--muted); }
body[data-layout="warm"] .price-desc { color: var(--mid); }
body[data-layout="warm"] .price-equiv { color: var(--muted); }
body[data-layout="warm"] .price-feature-item span { color: var(--mid); }
body[data-layout="warm"] .price-feature-item strong { color: var(--dark); }
body[data-layout="warm"] .price-feature-item svg { fill: var(--rust); flex-shrink: 0; }
body[data-layout="warm"] .vl-seg.vl-basic  { background: rgba(26, 79, 89, 0.30); }
body[data-layout="warm"] .vl-seg.vl-featured { background: rgba(26, 79, 89, 0.55); }
body[data-layout="warm"] .vl-seg.vl-sponsor { background: rgba(196, 138, 46, 0.65); }
body[data-layout="warm"] .vl-seg.vl-annual  { background: var(--dark); }

/* ── Process steps ───────────────────────────────────────────── */
body[data-layout="warm"] .process-step {
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-layout="warm"] .step-number {
  background: var(--rust);
  color: #fff;
  box-shadow: none;
  text-shadow: none;
}
body[data-layout="warm"] .step-title { color: var(--dark); }
body[data-layout="warm"] .step-desc  { color: var(--mid); }

/* ── FAQ accordion ───────────────────────────────────────────── */
body[data-layout="warm"] .faq-item {
  background: transparent;
  border-bottom: 1px solid var(--border);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body[data-layout="warm"] .faq-question       { color: var(--dark); }
body[data-layout="warm"] .faq-question:hover { color: var(--rust); }
body[data-layout="warm"] .faq-toggle svg     { stroke: var(--rust); }
body[data-layout="warm"] .faq-a-text         { color: var(--mid); }

/* ── Comparison cards ────────────────────────────────────────── */
body[data-layout="warm"] .compare-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-layout="warm"] .compare-card--winner {
  background: rgba(26, 79, 89, 0.04) !important;
  border-color: var(--rust) !important;
  box-shadow: 0 0 0 1px rgba(26, 79, 89, 0.12) !important;
}
body[data-layout="warm"] .compare-winner-badge   { background: var(--rust); color: #fff; }
body[data-layout="warm"] .compare-platform-name  { color: var(--dark); }
body[data-layout="warm"] .compare-platform-name--esm { color: var(--rust); }
body[data-layout="warm"] .compare-platform-sub   { color: var(--muted); }
body[data-layout="warm"] .compare-key            { color: var(--mid); }
body[data-layout="warm"] .compare-val            { color: var(--dark); }
body[data-layout="warm"] .compare-val--hi  { color: var(--rust); font-weight: 600; }
body[data-layout="warm"] .compare-val--low { color: #b05a2f; }
body[data-layout="warm"] .compare-val--mid { color: var(--muted); }
body[data-layout="warm"] .compare-row      { border-bottom: 1px solid var(--border); }
body[data-layout="warm"] .compare-row--last { border-bottom: none; }

/* ── Contact form ────────────────────────────────────────────── */
body[data-layout="warm"] .contact-card-container {
  background: #fff !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-layout="warm"] .form-label { color: var(--dark); }
body[data-layout="warm"] .form-input {
  background: var(--cream);
  border: 1px solid var(--border-strong);
  color: var(--dark);
}
body[data-layout="warm"] .form-input::placeholder { color: var(--muted); }
body[data-layout="warm"] .form-input:focus {
  border-color: var(--rust);
  box-shadow: 0 0 0 3px rgba(26, 79, 89, 0.10);
  outline: none;
}
body[data-layout="warm"] .btn-toggle {
  background: transparent !important;
  border: 1.5px solid var(--border-strong) !important;
  color: var(--mid) !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}
body[data-layout="warm"] .btn-toggle.active {
  background: var(--rust) !important;
  border-color: var(--rust) !important;
  color: #fff !important;
}
body[data-layout="warm"] .btn-toggle:hover:not(.active) {
  border-color: var(--rust) !important;
  color: var(--rust) !important;
}

/* ── Footer ──────────────────────────────────────────────────── */
body[data-layout="warm"] footer {
  background: var(--cream-dark) !important;
  border-top: 1px solid var(--border) !important;
  backdrop-filter: none !important;
}
body[data-layout="warm"] footer p { color: var(--mid); }
body[data-layout="warm"] .footer-grid h3 {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  color: var(--dark);
}
body[data-layout="warm"] .footer-links a,
body[data-layout="warm"] .footer-link-button {
  color: var(--mid);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
}
body[data-layout="warm"] .footer-links a:hover,
body[data-layout="warm"] .footer-link-button:hover { color: var(--rust); }
body[data-layout="warm"] .footer-bottom p { color: var(--muted); font-size: 0.825rem; }
body[data-layout="warm"] .social-link-btn {
  border: 1.5px solid var(--border-strong);
  color: var(--rust);
  background: #fff;
  box-shadow: none;
}
body[data-layout="warm"] .social-link-btn:hover {
  background: var(--rust);
  border-color: var(--rust);
  color: #fff;
  box-shadow: none;
}
body[data-layout="warm"] .social-link-btn svg { fill: currentColor; }

/* ── Checkout modal ──────────────────────────────────────────── */
body[data-layout="warm"] .modal-overlay { background: rgba(16, 30, 34, 0.45); }
body[data-layout="warm"] .modal-box {
  background: #fff !important;
  border: 1px solid var(--border-strong) !important;
  box-shadow: 0 8px 40px rgba(26, 79, 89, 0.18) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-layout="warm"] .modal-hero {
  background: var(--rust);
  border-radius: 12px 12px 0 0;
}
body[data-layout="warm"] .modal-hero-badge { background: var(--gold); color: #fff; }
body[data-layout="warm"] .modal-hero-amount,
body[data-layout="warm"] .modal-hero-period,
body[data-layout="warm"] .modal-hero-sub { color: #fff; }
body[data-layout="warm"] .modal-step-pill {
  background: var(--cream-dark);
  color: var(--muted);
  border: 1px solid var(--border);
}
body[data-layout="warm"] .modal-step-pill--active {
  background: var(--rust);
  color: #fff;
  border-color: var(--rust);
}
body[data-layout="warm"] .modal-step-pill--done {
  background: rgba(26, 79, 89, 0.12);
  color: var(--rust);
  border-color: var(--rust);
}
body[data-layout="warm"] .modal-close { color: var(--mid); background: transparent; }
body[data-layout="warm"] .modal-close:hover {
  background: rgba(26, 79, 89, 0.08);
  color: var(--dark);
}
body[data-layout="warm"] .qty-stepper {
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  overflow: hidden;
}
body[data-layout="warm"] .btn-qty { background: var(--cream); color: var(--rust); border: none; }
body[data-layout="warm"] .btn-qty:hover { background: var(--rust); color: #fff; }
body[data-layout="warm"] .qty-display  { color: var(--dark); }
body[data-layout="warm"] .qty-total-line { color: var(--mid); }
body[data-layout="warm"] .recurring-notice {
  background: rgba(26, 79, 89, 0.07);
  border: 1px solid rgba(26, 79, 89, 0.18);
  color: var(--rust);
  border-radius: 8px;
}
body[data-layout="warm"] .recurring-notice svg { stroke: var(--rust); }

/* ── Cancelled Stripe banner ─────────────────────────────────── */
body[data-layout="warm"] .cancelled-banner {
  background: rgba(196, 138, 46, 0.08) !important;
  border: 1px solid rgba(196, 138, 46, 0.3) !important;
  color: var(--dark) !important;
  border-radius: 10px;
}
body[data-layout="warm"] .cancelled-banner svg { stroke: var(--gold); }
body[data-layout="warm"] .bpc-tagline { border-top-color: var(--border-strong); }

/* ── Empty/loading (warm) ────────────────────────────────────── */
body[data-layout="warm"] .empty-state {
  border-color: var(--border-strong);
  background: rgba(26, 79, 89, 0.02);
  color: var(--mid);
}
body[data-layout="warm"] .empty-state h3 { color: var(--dark); }
body[data-layout="warm"] .empty-state svg { stroke: var(--muted); }
body[data-layout="warm"] .loading-state { color: var(--muted); }

/* ── Footer (warm) ───────────────────────────────────────────── */
body[data-layout="warm"] footer {
  border-top-color: var(--border) !important;
  color: var(--muted) !important;
}

/* ── Focus styles (warm) ─────────────────────────────────────── */
body[data-layout="warm"] a:focus-visible,
body[data-layout="warm"] button:focus-visible,
body[data-layout="warm"] input:focus-visible,
body[data-layout="warm"] select:focus-visible,
body[data-layout="warm"] textarea:focus-visible { outline-color: var(--rust); }

/* ── Mobile (warm) ───────────────────────────────────────────── */
@media (max-width: 720px) {
  body[data-layout="warm"] .site-header .nav-links,
  body[data-layout="warm"] .site-header .header-cta { display: none; }
  body[data-layout="warm"] .site-header .nav-links.active { display: flex; }
  body[data-layout="warm"] .mobile-menu-toggle { display: flex; }
  body[data-layout="warm"] .site-header .container { justify-content: space-between; }

  .reg-hero { padding: 1.25rem 1rem 1rem; }

  .reg-search-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 14px;
    gap: 0;
  }
  .reg-search-ico { display: none; }
  .reg-search-wrap #registry-search {
    padding: 0.5rem 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border) !important;
    border-radius: 0;
    width: 100%;
  }
  .reg-search-divider { display: none; }
  .reg-search-cat {
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    font-size: 0.9375rem;
  }
  .reg-search-btn {
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 9px;
    padding: 0.75rem;
    font-size: 1rem;
  }
  .reg-sort-label { display: none; }
  /* Sort selector drops to second line below the pill scroll bar */
  .reg-filters-inner { gap: 0.5rem 0.75rem; flex-wrap: wrap; }
  .reg-chips-track,
  body[data-layout="warm"] .reg-chips-track { flex: 0 0 100%; }
  .reg-sort-wrap { margin-left: auto; }
}

@media (max-width: 480px) {
  .reg-hero-title { letter-spacing: -0.01em; }
  body[data-layout="warm"] .listings-grid { grid-template-columns: 1fr !important; }
}

/* ═══════════════════════════════════════════════════════════════
   v2026-06 additions — profile links, announcements, socials,
   spotlight carousel, design presets
   ═══════════════════════════════════════════════════════════════ */

/* ── Card name links to business profile ─────────────────────── */
.listing-name-link {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s;
}
.listing-name-link:hover { text-decoration: underline; text-underline-offset: 3px; }

.warm-card-profile-link { margin-left: auto; margin-right: 0.75rem; }

/* ── Announcement chip on cards ──────────────────────────────── */
.listing-announcement {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 500;
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  background: rgba(196, 138, 46, 0.12);
  border: 1px solid rgba(196, 138, 46, 0.3);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.listing-announcement-ico { flex-shrink: 0; font-size: 0.85rem; }

/* ── Social icon row on cards ────────────────────────────────── */
.listing-socials {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}
.listing-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  color: var(--muted, #8a8f98);
  background: rgba(26, 79, 89, 0.06);
  transition: color 0.15s, background 0.15s, transform 0.15s;
}
.listing-social-btn svg { width: 14px; height: 14px; }
.listing-social-btn:hover {
  color: #fff;
  background: var(--rust, #1a4f59);
  transform: translateY(-1px);
}

/* ── Photo count badge (glass cards) ─────────────────────────── */
.listing-photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 0.72rem;
  font-weight: 600;
  color: inherit;
  opacity: 0.75;
  text-decoration: none;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.15);
  margin-left: 0.4rem;
}
.listing-photo-badge:hover { opacity: 1; }

/* ── Boosted-card readability on custom backgrounds ──────────────
   Boosted cards can have any owner-chosen background, so fixed
   light-theme text colors (--mid/--muted/--rust) become unreadable.
   Make child text inherit the card's boost font color instead. */
.listing-card--boosted .warm-card-cat { color: inherit; opacity: 0.78; }
.listing-card--boosted .warm-card-body { color: inherit; }
.listing-card--boosted .warm-card-body a {
  color: inherit;
  opacity: 0.92;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  text-underline-offset: 3px;
}
.listing-card--boosted .warm-card-body a:hover { opacity: 1; }
.listing-card--boosted .listing-contacts .listing-link {
  color: inherit;
  opacity: 0.92;
  background: color-mix(in srgb, currentColor 8%, transparent);
  border-color: color-mix(in srgb, currentColor 30%, transparent);
}
.listing-card--boosted .listing-hours { color: inherit; opacity: 0.9; }
.listing-card--boosted .listing-hours-label { color: inherit; opacity: 0.7; }
body .listing-card--boosted .coupon-chip {
  color: inherit;
  background: color-mix(in srgb, currentColor 10%, transparent);
  border-color: color-mix(in srgb, currentColor 45%, transparent);
}
body .listing-card--boosted .coupon-chip svg { stroke: currentColor; }
body .listing-card--boosted .coupon-code-text {
  background: color-mix(in srgb, currentColor 16%, transparent);
}
body[data-layout="warm"] .listing-card--boosted .boost-custom-text { color: inherit; opacity: 0.88; }
.listing-card--boosted .warm-card-foot { border-top-color: color-mix(in srgb, currentColor 22%, transparent); }
.listing-card--boosted .warm-card-tag {
  color: inherit;
  opacity: 0.85;
  background: color-mix(in srgb, currentColor 12%, transparent);
}
.listing-card--boosted .warm-card-link { color: inherit; opacity: 0.85; }
.listing-card--boosted .warm-card-link:hover { color: inherit; opacity: 1; }
.listing-card--boosted .listing-social-btn {
  color: inherit;
  opacity: 0.8;
  background: color-mix(in srgb, currentColor 10%, transparent);
}
.listing-card--boosted .listing-social-btn:hover {
  opacity: 1;
  color: inherit;
  background: color-mix(in srgb, currentColor 20%, transparent);
}
.listing-card--boosted .listing-announcement {
  background: color-mix(in srgb, currentColor 10%, transparent);
  border-color: color-mix(in srgb, currentColor 35%, transparent);
}
.listing-card--boosted .listing-type-badge {
  color: inherit;
  opacity: 0.85;
  background: color-mix(in srgb, currentColor 10%, transparent);
  border-color: color-mix(in srgb, currentColor 25%, transparent);
}

/* ── Community Spotlight carousel ────────────────────────────── */
.boost-spotlight { margin: 0 0 1.5rem; }
.boost-spotlight-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.boost-spotlight-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark, #eaeef5);
}
body[data-layout="warm"] .boost-spotlight-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  font-size: 1.2rem;
}
.boost-spotlight-sub { font-size: 0.8rem; color: var(--muted, #8a8f98); }
.boost-spotlight-track {
  display: flex;
  gap: 0.875rem;
  overflow-x: auto;
  padding: 4px 4px 12px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.spotlight-card {
  position: relative;
  overflow: hidden;
  flex: 0 0 240px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(196, 138, 46, 0.35);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s, box-shadow 0.18s;
}
.spotlight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(196, 138, 46, 0.18);
}
.spotlight-card .boost-overlay-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.spotlight-logo {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.35);
}
.spotlight-body { position: relative; z-index: 1; min-width: 0; }
.spotlight-name {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-cat {
  font-size: 0.72rem;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-tagline {
  font-size: 0.72rem;
  font-style: italic;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.spotlight-announce {
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 4px;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: inline-block;
}

/* ── Design preset chips (boost modal + manage page) ─────────── */
.boost-presets-row { margin-bottom: 0.9rem; }
.boost-presets-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted, #8a8f98);
  margin-bottom: 0.45rem;
}
.boost-presets-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.boost-preset-btn {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--border, rgba(255, 255, 255, 0.14));
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.boost-preset-btn:hover { border-color: var(--gold, #c48a2e); transform: translateY(-1px); }
.boost-preset-btn.active {
  border-color: var(--gold, #c48a2e);
  background: rgba(196, 138, 46, 0.14);
}

@media (max-width: 480px) {
  .spotlight-card { flex: 0 0 200px; }
}

/**
 * @file site-nav.css
 * @description Unified River-Glass Navigation Header & Mobile Drawer for Everything San Marcos v2.0.
 *
 * Design Intent:
 * - Replaces the fragmented V1 navbars and plain `<select>` dropdown with an accessible,
 *   responsive glassmorphic navigation bar and slide-over mobile drawer.
 * - Highlights the Owner Studio (`manage.html`), Advertiser Packages (`partnerships.html`),
 *   Interactive Map, and Free Registration CTA.
 *
 * Audit Trail:
 * - Upgraded for Everything San Marcos v2.0 (`everythingsanmo2`)
 */

.site-header,
nav.site-nav[data-shared-nav],
nav.site-nav.site-header,
body[data-nav-warm] nav.site-nav.site-header,
body[data-layout="warm"] nav.site-nav.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 950 !important;
  height: auto !important;
  min-height: 68px !important;
  display: block !important;
  padding: 0 !important;
  background: rgba(7, 22, 27, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 8px 28px rgba(4, 15, 19, 0.22) !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

.header-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.brand-logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, #00b4cc 0%, #059669 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(0, 180, 204, 0.32);
  flex-shrink: 0;
}

.brand-logo-mark svg {
  width: 21px;
  height: 21px;
  stroke: #ffffff !important;
}

.brand-logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-logo-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
}

.brand-logo-sub {
  font-size: 0.68rem;
  font-weight: 600;
  color: #5efce8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Desktop Nav Links */
.header-nav,
.site-header nav.header-nav {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  height: auto !important;
  position: static !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 4px !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(240, 251, 250, 0.80) !important;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.09);
}

.nav-link.active {
  color: #07161b !important;
  background: linear-gradient(135deg, #5efce8 0%, #38bdf8 100%) !important;
  font-weight: 700;
  box-shadow: 0 3px 12px rgba(56, 189, 248, 0.28);
}

/* Right Action Group */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-portal-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fcd34d !important;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.32);
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s ease;
}

.header-portal-link:hover {
  background: rgba(245, 158, 11, 0.22);
  transform: translateY(-1px);
}

.header-cta a,
.btn-nav-register {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px !important;
  border-radius: 999px !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  background: linear-gradient(135deg, #00b4cc 0%, #059669 100%) !important;
  color: #ffffff !important;
  border: none !important;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 180, 204, 0.32);
  transition: all 0.18s ease;
}

.header-cta a:hover,
.btn-nav-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 180, 204, 0.42);
}

/* Mobile Menu Button & Drawer */
.esm-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
}

.esm-mobile-drawer {
  display: none;
  background: #07161b;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 16px 20px 22px;
}

.esm-mobile-drawer.open {
  display: block;
}

.esm-mobile-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 14px;
}

.esm-mobile-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2f5f3 !important;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}

.esm-mobile-link.active {
  background: rgba(0, 180, 204, 0.18);
  border-color: #38bdf8;
  color: #5efce8 !important;
}

/* Hide legacy mobile select if still present in static HTML before JS runs */
.header-mobile-nav {
  display: none !important;
}

@media (max-width: 1040px) {
  .header-nav,
  .site-header nav.header-nav {
    display: none !important;
  }
  .esm-mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 440px) {
  .header-container {
    padding: 0 10px !important;
    gap: 8px !important;
  }
  .brand-logo {
    gap: 8px;
  }
  .brand-logo-mark {
    width: 32px;
    height: 32px;
  }
  .brand-logo-title {
    font-size: 0.88rem;
  }
  .brand-logo-sub {
    display: none;
  }
  .header-actions {
    gap: 6px;
  }
  .header-portal-link {
    padding: 7px 10px;
  }
  .btn-nav-register {
    padding: 7px 11px !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 640px) {
  .header-container {
    padding: 0 14px;
    min-height: 60px;
  }
  .header-portal-link span.hide-xs {
    display: none;
  }
  .esm-mobile-links {
    grid-template-columns: 1fr;
  }
}
/**
 * @file esm-v2.css
 * @description Unified "San Marcos River Luxe" Design System for Everything San Marcos v2.0.
 *
 * Design Intent:
 * - Eliminates the visual fragmentation of V1 by providing a single, cohesive,
 *   high-contrast design language across all 12 pages.
 * - Palette inspired by San Marcos, TX: Springfed Emerald (#057A6D), River Teal (#008B9E),
 *   Cypress Midnight (#07161B), Sunlit Amber Gold (#D97706), and Hill Country Limestone (#F6F9F8).
 * - WCAG 2.1 AA compliant contrast ratios across light editorial surfaces and dark luxury hero/studio surfaces.
 *
 * Audit Trail:
 * - Created & unified for Everything San Marcos v2.0 (`everythingsanmo2`)
 */

/* Font families loaded via non-blocking <link> in HTML */

:root {
  /* Core Brand Tokens (Set A) */
  --esm-river: #008b9e;
  --esm-river-bright: #00b4cc;
  --esm-river-deep: #062831;
  --esm-river-mid: #0e7488;
  --esm-river-light: #e0f5f3;
  --esm-spring-aqua: #12a594;
  --esm-emerald: #057a6d;
  --esm-emerald-light: #10b981;
  --esm-midnight: #07161b;
  --esm-midnight-elevated: #0d232b;
  --esm-gold: #d97706;
  --esm-gold-bright: #f59e0b;
  --esm-gold-soft: #fef3c7;
  --esm-amber-gold: #d97706;
  --esm-amber-deep: #b45309;
  --esm-coral: #e11d48;
  --esm-indigo: #4f46e5;

  /* Surface Tokens (Crisp Daylight + Limestone — Set A & Set B) */
  --esm-bg: #f5f8f7;
  --esm-bg-alt: #ebf1ef;
  --esm-limestone: #f5f8f7;
  --esm-limestone-dark: #e8efed;
  --esm-surface: #ffffff;
  --esm-surface-glass: rgba(255, 255, 255, 0.88);
  --esm-border: rgba(11, 41, 48, 0.11);
  --esm-border-strong: rgba(0, 139, 158, 0.28);

  /* Typography Colors (Set A & Set B) */
  --esm-text: #0b1f24;
  --esm-text-secondary: #2e4950;
  --esm-text-muted: #5a767e;
  --esm-text-inverse: #f4fbfa;
  --esm-ink: #0b1f24;
  --esm-ink-soft: #2e4950;
  --esm-ink-muted: #5a767e;

  /* Page-Specific Tokens (Set C: calendar, register, last-resort, marketing-services, blog, success) */
  --spring-teal: #008b9e;
  --spring-teal-deep: #064e5b;
  --spring-teal-glow: rgba(0, 139, 158, 0.12);
  --terracotta: #e85d2a;
  --amber-gold: #d97706;
  --bg-sandstone: #f4f7f6;
  --bg-limestone: #f5f8f7;
  --bg-primary: #f5f8f7;
  --border-stone: rgba(11, 41, 48, 0.11);
  --border-stone-strong: rgba(11, 41, 48, 0.20);
  --border-glass: rgba(11, 41, 48, 0.11);
  --border-glass-hover: rgba(0, 139, 158, 0.30);
  --text-primary: #0b1f24;
  --text-secondary: #2e4950;
  --text-muted: #5a767e;
  --color-teal: #008b9e;
  --color-blue: #0284c7;
  --color-pink: #e11d48;
  --color-midnight: #07161b;
  --accent-blue: #008b9e;
  --gradient-river-hero: linear-gradient(155deg, #06151a 0%, #09252e 52%, #08333a 100%);
  --transition-fast: 0.18s ease;

  /* Font Stacks */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', 'DM Serif Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Radii & Shadows */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --radius-pill: 9999px;

  --shadow-xs: 0 2px 6px rgba(7, 22, 27, 0.04);
  --shadow-sm: 0 6px 18px rgba(7, 22, 27, 0.06), 0 1px 3px rgba(7, 22, 27, 0.04);
  --shadow-md: 0 14px 34px rgba(7, 22, 27, 0.09), 0 3px 8px rgba(7, 22, 27, 0.04);
  --shadow-lg: 0 24px 56px rgba(7, 22, 27, 0.14), 0 6px 16px rgba(7, 22, 27, 0.06);
  --esm-shadow-sm: var(--shadow-sm);
  --esm-shadow-md: var(--shadow-md);
  --esm-shadow-lg: var(--shadow-lg);
  --shadow-river: 0 14px 32px rgba(0, 139, 158, 0.24);
  --shadow-gold: 0 14px 34px rgba(217, 119, 6, 0.26);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── Base & Accessibility ───────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--esm-bg);
  background-image:
    radial-gradient(circle at 12% 0%, rgba(0, 180, 204, 0.07) 0%, transparent 42%),
    radial-gradient(circle at 88% 8%, rgba(5, 122, 109, 0.06) 0%, transparent 40%);
  color: var(--esm-text);
  line-height: 1.6;
}

.skip-link {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  z-index: 9999;
}

.skip-link:focus-visible {
  left: 16px !important;
  top: 16px !important;
  width: auto !important;
  height: auto !important;
  padding: 10px 18px !important;
  border-radius: 10px !important;
  background: #07161b !important;
  color: #5efce8 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35) !important;
}

.esm-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .esm-container {
    padding: 0 16px;
  }
}

/* ─── River Luxe Hero Banner (Shared Across All Pages) ───────────────────── */

.esm-hero,
.cal-hero,
.register-hero,
.services-hero,
.blog-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 20%, rgba(0, 180, 204, 0.26) 0%, transparent 45%),
    radial-gradient(circle at 82% 15%, rgba(16, 185, 129, 0.20) 0%, transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(245, 158, 11, 0.14) 0%, transparent 50%),
    linear-gradient(155deg, #06151a 0%, #09252e 52%, #08333a 100%) !important;
  color: #f4fbfa !important;
  padding: 58px 0 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.esm-hero::after,
.cal-hero::after,
.register-hero::after,
.services-hero::after,
.blog-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.065) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 85%);
  pointer-events: none;
}

.esm-hero-inner,
.cal-hero > .esm-container,
.register-hero > .esm-container,
.services-hero > .esm-container,
.blog-hero > .esm-container {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.esm-hero-inner {
  text-align: center;
}

.esm-eyebrow,
.esm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 180, 204, 0.16);
  border: 1px solid rgba(94, 252, 232, 0.34);
  color: #7ef3e6 !important;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.esm-eyebrow-dot,
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.25);
  animation: esmPulse 2.2s infinite;
  flex-shrink: 0;
}

@keyframes esmPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.75; }
}

.esm-hero-title,
.cal-hero-title,
.register-hero h1,
.services-hero h1,
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.3vw, 3.55rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  margin: 0 auto 14px;
  color: #ffffff !important;
}

.esm-hero-title .accent,
.esm-hero-title em,
.cal-hero-title em,
.register-hero h1 em,
.services-hero h1 em,
.blog-hero h1 em {
  font-style: italic;
  background: linear-gradient(125deg, #5efce8 0%, #38bdf8 55%, #fcd34d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.esm-hero-sub,
.cal-hero-sub,
.register-hero p,
.services-hero p,
.blog-hero p {
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  color: rgba(230, 246, 245, 0.85) !important;
  max-width: 680px;
  margin: 0 auto 26px;
  line-height: 1.62;
}

.cal-hero-sub {
  margin: 0;
}

.register-hero .hero-trust-chip {
  background: rgba(255, 255, 255, 0.09) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  color: #e6f8f6 !important;
  backdrop-filter: blur(8px);
}

/* ─── Hero Stats Strip & Trust Badges ────────────────────────────────────── */

.esm-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 780px;
  margin: 28px auto 0;
}

@media (max-width: 680px) {
  .esm-stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.esm-stat-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.esm-stat-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(94, 252, 232, 0.36);
}

.esm-stat-pill .stat-val {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  color: #5efce8;
  margin-bottom: 3px;
}

.esm-stat-pill .stat-lbl {
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(230, 246, 245, 0.80);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.esm-trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.esm-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2f5f3;
  font-size: 0.81rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}

.esm-trust-pill strong {
  color: #5efce8;
  font-weight: 800;
}

/* ─── Sticky Discovery Bar & Neighborhood Switcher ───────────────────────── */

.esm-discovery-bar {
  position: sticky;
  top: 68px;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--esm-border);
  padding: 14px 0;
  box-shadow: 0 6px 20px rgba(7, 22, 27, 0.05);
}

.esm-discovery-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.esm-discovery-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.esm-neighborhood-pills,
.esm-neighborhood-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.esm-neighborhood-scroll::-webkit-scrollbar {
  display: none;
}

.esm-hood-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--esm-border);
  background: var(--esm-bg);
  color: var(--esm-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s var(--ease-out);
}

.esm-hood-btn:hover {
  border-color: var(--esm-river);
  color: var(--esm-river-deep);
  background: rgba(0, 139, 158, 0.08);
}

.esm-hood-btn.active {
  background: linear-gradient(135deg, var(--esm-river) 0%, var(--esm-emerald) 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 139, 158, 0.25);
}

.esm-view-toggle,
.esm-view-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--esm-bg);
  padding: 4px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--esm-border);
  gap: 3px;
}

.esm-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--esm-text-secondary);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s var(--ease-out);
}

.esm-view-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.esm-view-btn.active {
  background: var(--esm-midnight);
  color: #ffffff;
  box-shadow: var(--shadow-xs);
}

/* ─── Interactive Map Container & Split Layout ───────────────────────────── */

.esm-workspace,
.esm-directory-layout {
  display: block;
}

#listings-container {
  min-height: 680px;
}

.esm-workspace[data-view-mode="split"],
.esm-directory-layout--split {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(380px, 0.85fr);
  gap: 24px;
  align-items: start;
}

@media (max-width: 1060px) {
  .esm-workspace[data-view-mode="split"],
  .esm-directory-layout--split {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .esm-workspace[data-view-mode="split"] .esm-map-panel,
  .esm-directory-layout--split .esm-map-panel {
    order: -1;
    position: static;
    top: auto;
  }
}

/* Mobile Quick-Jump Section Bar (<= 1060px) */
.esm-mobile-jumpbar {
  display: none;
}

@media (max-width: 1060px) {
  .esm-mobile-jumpbar {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .esm-mobile-jumpbar::-webkit-scrollbar {
    display: none;
  }
  .esm-jump-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid var(--esm-border-strong);
    color: var(--esm-river-deep);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: var(--shadow-xs);
    min-height: 38px;
  }
  .esm-jump-pill:active {
    background: var(--esm-river-light);
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }
  .esm-hero,
  .cal-hero,
  .register-hero,
  .services-hero,
  .blog-hero {
    padding: 32px 0 28px !important;
  }
  .esm-hero-title,
  .cal-hero-title,
  .register-hero h1,
  .services-hero h1,
  .blog-hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.3rem) !important;
  }
  .esm-hero-sub {
    font-size: 0.94rem !important;
    margin-bottom: 18px !important;
  }
  .esm-stats-strip {
    gap: 8px;
    margin-top: 18px;
  }
  .esm-stat-pill {
    padding: 10px 8px;
    border-radius: 12px;
  }
  .esm-stat-pill .stat-val {
    font-size: 1.22rem;
  }
  .esm-stat-pill .stat-lbl {
    font-size: 0.66rem;
  }
  .esm-discovery-bar {
    position: static;
    padding: 10px 0;
  }
  .esm-discovery-inner {
    padding: 0 14px;
    gap: 10px;
  }
  .esm-map-canvas {
    height: 290px;
  }
  .esm-workspace[data-view-mode="map"] .esm-map-canvas,
  .esm-directory-layout--map .esm-map-canvas {
    height: 440px;
  }
  .esm-view-switcher,
  .esm-view-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .esm-view-btn {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.78rem;
  }
  .reg-search-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    padding: 12px !important;
    border-radius: 18px !important;
  }
  .reg-search-ico,
  .reg-search-divider {
    display: none !important;
  }
  .reg-search-wrap input,
  .reg-search-cat,
  .reg-search-btn {
    width: 100% !important;
    min-height: 44px;
  }
  #listings-container {
    min-height: 280px;
  }
}

/* ─── Dedicated Mobile UI & Scaling Across Major Devices (360px - 900px) ── */

@media (max-width: 900px) {
  .reg-filters-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px !important;
  }
  .reg-chips-track {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .reg-chips-scroll {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .reg-filters-inner > div {
    max-width: 100% !important;
    min-width: 0 !important;
    flex-wrap: wrap !important;
  }
  .listings-grid,
  .esm-directory-layout--split .listings-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .listing-card,
  .esm-card,
  .pkg-card,
  .sim-controls,
  .fb-mock-card,
  .lr-canvas-area,
  .lr-sidebar,
  .lr-panel,
  .lr-filter-bar,
  .biz-panel,
  .blog-post,
  .schedule-card,
  .schedule-side-card,
  .service-offer-card {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .sim-grid,
  .packages-grid,
  .lr-grid,
  .biz-layout-grid,
  .schedule-layout,
  .blog-page-layout,
  .services-grid,
  .split-row {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .lr-wrap {
    padding: 18px 14px 3rem !important;
  }
  .lr-canvas-area,
  .lr-panel,
  .lr-filter-bar {
    padding: 16px !important;
  }
  .lr-cat-rail-track,
  .lr-cat-rail {
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .lr-wheel-scene {
    width: min(320px, 100%) !important;
  }
  .lr-pointer-wrap {
    right: -12px !important;
  }
  .biz-hero-top {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .biz-hero-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .esm-container,
  .esm-hero-inner,
  .esm-discovery-inner {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .esm-eyebrow,
  .esm-hero-eyebrow {
    font-size: 0.68rem;
    padding: 5px 12px;
    white-space: normal;
    text-align: center;
  }
  .esm-btn,
  .esm-btn-primary,
  .esm-btn-secondary,
  .esm-btn-outline,
  .esm-btn-gold,
  .esm-btn-ghost {
    white-space: normal;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.84rem;
  }
  .listing-card {
    padding: 15px !important;
    border-radius: 16px !important;
  }
  .warm-card-foot {
    flex-wrap: wrap;
    gap: 8px;
  }
  .spotlight-card {
    flex: 0 0 min(272px, 82vw) !important;
  }
  .esm-map-header {
    flex-wrap: wrap;
    padding: 10px 12px;
    font-size: 0.78rem;
  }
  .esm-footer {
    padding: 36px 0 24px !important;
    margin-top: 40px !important;
  }
  .esm-footer-grid {
    padding: 0 14px !important;
    gap: 24px !important;
  }
}

.esm-map-panel {
  display: none;
  background: var(--esm-surface);
  border: 1px solid var(--esm-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.esm-workspace[data-view-mode="split"] .esm-map-panel,
.esm-directory-layout--split .esm-map-panel {
  display: block;
  position: sticky;
  top: 142px;
}

.esm-workspace[data-view-mode="map"] .esm-map-panel,
.esm-directory-layout--map .esm-map-panel {
  display: block;
  margin-bottom: 24px;
}

.esm-workspace[data-view-mode="map"] .esm-listings-panel,
.esm-directory-layout--map .esm-listings-pane {
  display: none;
}

.esm-directory-layout--grid .esm-map-panel {
  display: none;
}

.esm-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #07161b 0%, #0b2933 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
}

.esm-map-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.85);
}

.esm-legend-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 5px;
}

.esm-legend-dot.boosted {
  background: #f59e0b;
  box-shadow: 0 0 8px #f59e0b;
}

.esm-legend-dot.standard {
  background: #00b4cc;
}

.esm-map-canvas {
  width: 100%;
  height: 560px;
  background: #e5eef0;
  z-index: 1;
}

.esm-workspace[data-view-mode="map"] .esm-map-canvas,
.esm-directory-layout--map .esm-map-canvas {
  height: 650px;
}

/* Custom Leaflet Marker Pins */
.esm-pin-wrap,
.esm-pin-wrapper {
  background: transparent;
  border: none;
}

.esm-pin {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: linear-gradient(135deg, #008b9e 0%, #057a6d 100%);
  border: 2.5px solid #ffffff;
  box-shadow: 0 6px 16px rgba(7, 22, 27, 0.28);
  transition: transform 0.2s var(--ease-out);
}

.esm-pin:hover {
  transform: rotate(-45deg) scale(1.16);
}

.esm-pin-inner,
.esm-pin-emoji {
  transform: rotate(45deg);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}

.esm-pin.is-boosted,
.esm-pin.esm-pin--boosted {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: 2.5px solid #fef3c7;
  box-shadow: 0 0 0 5px rgba(245, 158, 11, 0.28), 0 8px 20px rgba(217, 119, 6, 0.45);
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
  border-radius: 16px !important;
  padding: 0 !important;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(7, 22, 27, 0.22) !important;
  border: 1px solid rgba(0, 139, 158, 0.18);
}

.leaflet-popup-content {
  margin: 0 !important;
  width: 270px !important;
  font-family: var(--font-sans) !important;
}

.esm-popup-card {
  padding: 16px;
  background: #ffffff;
  color: var(--esm-text);
}

.esm-popup-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
  margin-bottom: 6px;
}

.esm-popup-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 800;
  color: var(--esm-text);
}

.esm-popup-meta {
  font-size: 0.78rem;
  color: var(--esm-text-secondary);
  margin-bottom: 10px;
}

.esm-popup-coupon {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(5, 122, 109, 0.08);
  border: 1px dashed rgba(5, 122, 109, 0.35);
  color: #065f46;
  font-size: 0.76rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.esm-popup-actions {
  display: flex;
  gap: 8px;
}

.esm-popup-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s;
}

.esm-popup-btn.primary {
  background: var(--esm-midnight);
  color: #ffffff;
}

.esm-popup-btn.secondary {
  background: var(--esm-bg);
  color: var(--esm-text);
  border: 1px solid var(--esm-border);
}

/* ─── Universal Buttons, Cards & Badges ──────────────────────────────────── */

.esm-btn,
.esm-btn-primary,
.esm-btn-secondary,
.esm-btn-outline,
.esm-btn-gold,
.esm-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all 0.2s var(--ease-out);
  white-space: nowrap;
}

.esm-btn-primary {
  background: linear-gradient(135deg, var(--esm-river) 0%, var(--esm-emerald) 100%);
  color: #ffffff !important;
  box-shadow: var(--shadow-river);
}

.esm-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(0, 139, 158, 0.34);
}

.esm-btn-secondary {
  background: #ffffff;
  color: var(--esm-ink) !important;
  border-color: rgba(11, 41, 48, 0.18);
  box-shadow: var(--shadow-xs);
}

.esm-btn-secondary:hover {
  border-color: var(--esm-river);
  color: var(--esm-river-deep) !important;
  background: #f8fbfb;
  transform: translateY(-1px);
}

/* High-contrast glass secondary button when placed inside dark hero sections */
.esm-hero .esm-btn-secondary,
.cal-hero .esm-btn-secondary,
.register-hero .esm-btn-secondary,
.services-hero .esm-btn-secondary,
.blog-hero .esm-btn-secondary {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
}

.esm-hero .esm-btn-secondary:hover,
.cal-hero .esm-btn-secondary:hover,
.register-hero .esm-btn-secondary:hover,
.services-hero .esm-btn-secondary:hover,
.blog-hero .esm-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.20);
  border-color: #5efce8;
  color: #ffffff !important;
}

.esm-btn-outline {
  background: transparent;
  color: var(--esm-river-mid) !important;
  border-color: rgba(14, 116, 136, 0.35);
}

.esm-btn-outline:hover {
  background: rgba(14, 116, 136, 0.08);
  border-color: var(--esm-river-mid);
}

.esm-btn-gold {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff !important;
  box-shadow: var(--shadow-gold);
}

.esm-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(217, 119, 6, 0.36);
}

.esm-btn-ghost {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.24);
}

.esm-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
}

.esm-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 139, 158, 0.10);
  border: 1px solid rgba(0, 139, 158, 0.24);
  color: var(--esm-river-deep);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.esm-card {
  background: var(--esm-surface);
  border: 1px solid var(--esm-border);
  border-radius: 20px;
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.esm-card:hover {
  box-shadow: var(--shadow-md);
}

/* ─── Universal Footer (Protected Against Legacy Overrides) ──────────────── */

footer.esm-footer,
body[data-layout="warm"] footer.esm-footer {
  background: linear-gradient(180deg, #07161b 0%, #040e12 100%) !important;
  color: rgba(244, 251, 250, 0.78) !important;
  padding: 56px 0 36px !important;
  margin-top: 72px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.09) !important;
}

.esm-footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
}

@media (max-width: 860px) {
  .esm-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 540px) {
  .esm-footer-grid {
    grid-template-columns: 1fr;
  }
}

.esm-footer-brand h3,
.esm-footer-logo {
  font-family: var(--font-display);
  font-size: 1.38rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.esm-footer-logo .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2bd9c4;
  display: inline-block;
  box-shadow: 0 0 8px #2bd9c4;
}

.esm-footer-brand p {
  font-size: 0.88rem;
  color: rgba(244, 251, 250, 0.70) !important;
  max-width: 340px;
  margin: 0 0 16px;
}

.esm-footer-col h4 {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #5efce8 !important;
  margin: 0 0 14px;
}

.esm-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.esm-footer-col a,
body[data-layout="warm"] footer.esm-footer a {
  color: rgba(244, 251, 250, 0.78) !important;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.15s;
}

.esm-footer-col a:hover,
body[data-layout="warm"] footer.esm-footer a:hover {
  color: #5efce8 !important;
}

.esm-footer-bottom {
  max-width: 1280px;
  margin: 36px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(244, 251, 250, 0.58) !important;
}

/* ─── Live Preview Card on register.html & Input Normalization ───────────── */

.register-card .form-input,
.schedule-card .form-input {
  background: #f8fbfa !important;
  border: 1.5px solid rgba(11, 41, 48, 0.18) !important;
  color: #0b1f24 !important;
  border-radius: 12px !important;
  padding: 11px 14px !important;
  font-family: var(--font-sans) !important;
}

.register-card .form-input:focus,
.schedule-card .form-input:focus {
  background: #ffffff !important;
  border-color: var(--esm-river) !important;
  box-shadow: 0 0 0 3px rgba(0, 139, 158, 0.14) !important;
}

.registry-card {
  background: linear-gradient(160deg, #ffffff 0%, #f4faf9 100%);
  border: 1.5px solid rgba(0, 139, 158, 0.22);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.rc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.rc-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--esm-river) 0%, var(--esm-emerald) 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rc-title-group {
  min-width: 0;
  flex: 1;
}

.rc-cat-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--esm-river-mid);
  margin-bottom: 2px;
}

.rc-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--esm-ink);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rc-location-row {
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(0, 139, 158, 0.07);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--esm-ink-soft);
}

.rc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--esm-border);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--esm-river-deep);
}

/* ============================================================================
   V2 DIRECTORY CARD ENHANCEMENTS & INTERACTIVE MAP SYNC STYLES
   ============================================================================ */
.listing-location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--esm-ink-soft);
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  background: rgba(14, 116, 136, 0.05);
  border: 1px solid rgba(14, 116, 136, 0.1);
}
.listing-card--boosted .listing-location-row {
  color: inherit;
  background: color-mix(in srgb, currentColor 8%, transparent);
  border-color: color-mix(in srgb, currentColor 22%, transparent);
}
.listing-location-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
}
.listing-map-locate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--esm-river-mid);
  background: #ffffff;
  border: 1px solid rgba(14, 116, 136, 0.25);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.16s ease;
}
.listing-map-locate-btn:hover {
  background: var(--esm-river-mid);
  color: #ffffff;
  border-color: var(--esm-river-mid);
  transform: translateY(-1px);
}
.listing-card--boosted .listing-map-locate-btn {
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  border-color: color-mix(in srgb, currentColor 35%, transparent);
}
.listing-card--boosted .listing-map-locate-btn:hover {
  background: rgba(255, 255, 255, 0.32);
}

.listing-highlights-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.7rem;
}
.listing-highlight-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.18rem 0.52rem;
  border-radius: 999px;
  background: rgba(18, 165, 148, 0.09);
  color: var(--esm-river-deep);
  border: 1px solid rgba(18, 165, 148, 0.22);
}
.listing-card--boosted .listing-highlight-pill {
  color: inherit;
  background: color-mix(in srgb, currentColor 12%, transparent);
  border-color: color-mix(in srgb, currentColor 28%, transparent);
}

.warm-card-featured-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(234, 88, 12, 0.3);
  margin-bottom: 0.65rem;
}

.warm-card-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}
.warm-card-profile-link {
  margin: 0 !important;
}
.warm-card-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff !important;
  box-shadow: 0 3px 10px rgba(217, 119, 6, 0.3);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.warm-card-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(217, 119, 6, 0.45);
}

.listing-card--map-active {
  outline: 3px solid var(--esm-spring-aqua) !important;
  outline-offset: 2px;
  transform: translateY(-3px);
}

/* Split layout adjustments for business cards */
.esm-directory-layout--split .listings-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}
@media (max-width: 780px) {
  .esm-directory-layout--split .listings-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Enhanced Spotlight Track */
.boost-spotlight {
  background: linear-gradient(135deg, rgba(6, 40, 49, 0.04) 0%, rgba(18, 165, 148, 0.07) 100%);
  border: 1px solid rgba(14, 116, 136, 0.15);
  border-radius: 20px;
  padding: 1.15rem 1.25rem 0.85rem;
  margin-bottom: 1.5rem;
}
.boost-spotlight-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}
.boost-spotlight-title {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--esm-ink);
}
.boost-spotlight-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--esm-ink-muted);
}
.boost-spotlight-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--esm-amber-deep);
  background: rgba(217, 138, 43, 0.12);
  border: 1px solid rgba(217, 138, 43, 0.3);
  transition: all 0.18s ease;
}
.boost-spotlight-cta:hover {
  background: var(--esm-amber-gold);
  color: #ffffff;
}
.spotlight-card {
  flex: 0 0 285px !important;
  border-radius: 16px !important;
  padding: 1rem 1.1rem !important;
}
.spotlight-meta-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.spotlight-badge {
  background: rgba(245, 158, 11, 0.22);
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
}
.spotlight-hood {
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Quick Filter Pill Buttons (Deals / Boosted) */
.esm-quick-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.44rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--esm-border-strong);
  background: #ffffff;
  color: var(--esm-ink-soft);
  cursor: pointer;
  transition: all 0.16s ease;
}
.esm-quick-filter-btn:hover {
  border-color: var(--esm-river-mid);
  color: var(--esm-river-deep);
}
.esm-quick-filter-btn.active {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.28);
}

/* CLS Prevention: reserve space for dynamically populated bars */
.esm-neighborhood-scroll { min-height: 36px; }
.reg-results-header { min-height: 28px; }
