/* ============================================================
   Austin Wedding Collective - Design System
   A warm, editorial, sophisticated wedding vendor directory
   for Austin, TX.
   ============================================================ */

/* ------------------------------------------------------------
   0. FONT IMPORTS
   Fonts are now self-hosted via /css/fonts.css (loaded in base.njk)
   ------------------------------------------------------------ */

/* ------------------------------------------------------------
   1. CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  /* Primary palette */
  --terracotta: #C4704B;
  --terracotta-deep: #A85A38;
  --terracotta-light: #D4926F;
  --sage: #8B9E82;
  --sage-deep: #6E8570;
  --sage-light: #A8B8A0;
  --dusty-rose: #D4A59A;
  --dusty-rose-deep: #B8867A;

  /* Neutrals */
  --ivory: #FAF8F5;
  --cream: #F0EDE8;
  --warm-gray: #636E72;
  --warm-gray-light: #95A5A6;
  --charcoal: #2D3436;
  --white: #FEFEFE;

  /* Accent */
  --gold: #C9A96E;

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Outfit', sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(45, 52, 54, 0.06);
  --shadow-md: 0 4px 12px rgba(45, 52, 54, 0.08);
  --shadow-lg: 0 8px 30px rgba(45, 52, 54, 0.12);
  --shadow-hover: 0 12px 36px rgba(45, 52, 54, 0.15);

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 50px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Header height — used for body padding-top */
  --header-height: 72px;
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--charcoal);
  background-color: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: var(--header-height);
}

/* No scroll when mobile menu open */
body.nav-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--terracotta-deep);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

::selection {
  background-color: var(--dusty-rose);
  color: var(--charcoal);
}

/* ------------------------------------------------------------
   3. TYPOGRAPHY
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

h1 { font-size: clamp(2.6rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); }
h4 { font-size: 1.35rem; }
h5 { font-size: 1.15rem; }
h6 { font-size: 1rem; }

.heading-xxl {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: inherit;
}

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--charcoal);
}

.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.heading-md {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
}

.heading-sm {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--charcoal);
}

.overline {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
}

.body-lg {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--warm-gray);
}

.body-sm {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--warm-gray);
}

.body-xs {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--warm-gray-light);
}

p {
  margin-bottom: 1rem;
  color: var(--warm-gray);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

em {
  font-style: italic;
}

blockquote {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--charcoal);
  border-left: 3px solid var(--terracotta);
  padding-left: var(--space-md);
  margin: var(--space-lg) 0;
}

/* ------------------------------------------------------------
   4. LAYOUT & CONTAINERS
   ------------------------------------------------------------ */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container-narrow {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.container-wide {
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

/* Grid utilities */
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: var(--space-md);
}

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

/* ------------------------------------------------------------
   5. SECTIONS
   ------------------------------------------------------------ */
.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  padding: var(--space-2xl) 0;
  background-color: var(--cream);
}

.section-cream {
  padding: var(--space-2xl) 0;
  background-color: var(--cream);
}

.section-dark {
  padding: var(--space-2xl) 0;
  background-color: var(--charcoal);
  color: var(--cream);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6,
.section-dark .heading-xxl,
.section-dark .heading-xl,
.section-dark .heading-lg,
.section-dark .heading-md,
.section-dark .heading-sm {
  color: var(--white);
}

.section-dark p {
  color: var(--warm-gray-light);
}

.section-dark .overline {
  color: var(--terracotta-light);
}

.section-terracotta {
  padding: var(--space-2xl) 0;
  background-color: var(--terracotta);
  color: var(--white);
}

.section-terracotta h1,
.section-terracotta h2,
.section-terracotta h3,
.section-terracotta h4,
.section-terracotta .heading-xxl,
.section-terracotta .heading-xl,
.section-terracotta .heading-lg,
.section-terracotta .heading-md,
.section-terracotta .heading-sm {
  color: var(--white);
}

.section-terracotta p {
  color: rgba(255, 255, 255, 0.85);
}

.section-terracotta .overline {
  color: var(--cream);
}

/* Section header — centered text block used above grids */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-lg);
}

.section-header .overline {
  margin-bottom: var(--space-xs);
}

.section-header h2,
.section-header .heading-lg {
  margin-bottom: var(--space-xs);
}

/* ------------------------------------------------------------
   6. HEADER & NAVIGATION
   ------------------------------------------------------------ */

/* Fixed header bar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition-base),
              box-shadow var(--transition-base);
}

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

/* Inner flex row — also has .container class */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.site-logo {
  display: block;
  text-decoration: none;
  color: inherit;
}

.site-logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  transition: color var(--transition-fast);
  line-height: 1;
}

.site-header.scrolled .site-logo-text {
  color: var(--charcoal);
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-item {
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
}

.site-header.scrolled .nav-link {
  color: var(--charcoal);
}

.site-header.scrolled .nav-link:hover {
  color: var(--terracotta);
}

/* Header right-side actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* Saved vendors heart link */
.saved-vendors-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.site-header.scrolled .saved-vendors-link {
  color: var(--charcoal);
}

.saved-vendors-link:hover {
  color: var(--dusty-rose);
}

/* Badge showing saved count */
.saved-count-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 600;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.saved-count-badge.has-items {
  display: flex;
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-fast);
}

.site-header.scrolled .nav-toggle-bar {
  background: var(--charcoal);
}

/* Hamburger -> X animation */
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav: slide-in panel attached to nav-menu */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    padding: 5rem var(--space-lg) var(--space-lg);
    z-index: 999;
    transition: right var(--transition-slow);
    overflow-y: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-menu.is-open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--charcoal);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--cream);
    text-transform: none;
    letter-spacing: 0;
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover,
  .nav-link--active {
    color: var(--terracotta);
  }
}

/* Overlay behind mobile menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 52, 54, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base),
              visibility var(--transition-base);
  z-index: 998;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* ------------------------------------------------------------
   7. BUTTONS
   ------------------------------------------------------------ */
.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}

/* Primary: terracotta bg */
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  border: 2px solid var(--terracotta);
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  border-color: var(--terracotta-deep);
  color: var(--white);
}

/* Secondary: underline style */
.btn-secondary {
  background: transparent;
  color: var(--charcoal);
  border: none;
  border-bottom: 2px solid var(--charcoal);
  border-radius: 0;
  padding: 0.5rem 0;
}

.btn-secondary:hover {
  color: var(--terracotta);
  border-bottom-color: var(--terracotta);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 2px solid var(--charcoal);
}

.btn-outline:hover {
  background: var(--charcoal);
  color: var(--white);
}

/* Buttons on dark/terracotta backgrounds */
.section-dark .btn-outline,
.section-terracotta .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.section-dark .btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
}

.section-terracotta .btn-outline:hover {
  background: var(--white);
  color: var(--terracotta);
}

/* Hero area secondary button */
.hero .btn-secondary,
.page-hero .btn-secondary {
  color: var(--white);
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.hero .btn-secondary:hover,
.page-hero .btn-secondary:hover {
  color: var(--dusty-rose);
  border-bottom-color: var(--dusty-rose);
}

/* Size modifiers */
.btn-sm {
  font-size: 0.72rem;
  padding: 0.55rem 1.3rem;
}

.btn-lg {
  font-size: 0.9rem;
  padding: 1rem 2.6rem;
}

/* Full-width modifier */
.btn-full {
  width: 100%;
  justify-content: center;
}

/* Text-only button */
.btn-text {
  background: none;
  border: none;
  color: var(--terracotta);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.btn-text:hover {
  color: var(--terracotta-deep);
}

/* ------------------------------------------------------------
   8. HERO (Home page)
   ------------------------------------------------------------ */
.hero {
  background: linear-gradient(160deg, var(--sage-deep) 0%, var(--charcoal) 100%);
  padding: var(--space-2xl) 0;
  text-align: center;
  color: var(--white);
}

.hero .container {
  display: flex;
  justify-content: center;
}

.hero-content {
  max-width: 720px;
}

.hero .overline {
  color: var(--dusty-rose);
  margin-bottom: var(--space-xs);
}

.hero .heading-xxl {
  color: var(--white);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* ------------------------------------------------------------
   9. STATS RIBBON
   ------------------------------------------------------------ */
.stats-ribbon {
  background: var(--terracotta);
  color: var(--white);
  padding: var(--space-md) 0;
}

.stats-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

/* Home page: stacked stat items */
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.25rem;
}

/* Category pages: inline count + label */
.stats-ribbon-count {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--white);
  margin-right: 0.5rem;
}

.stats-ribbon-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ------------------------------------------------------------
   10. PAGE HERO (inner pages)
   ------------------------------------------------------------ */
.page-hero {
  background: linear-gradient(160deg, var(--sage-deep) 0%, var(--charcoal) 100%);
  padding: var(--space-xl) 0;
  text-align: center;
  color: var(--white);
}

.page-hero .heading-xl {
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: var(--space-sm);
}

.page-hero em {
  color: var(--dusty-rose);
  font-style: italic;
}

.page-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ------------------------------------------------------------
   11. CATEGORY GRID (home page)
   ------------------------------------------------------------ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.category-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-decoration: none;
  color: var(--charcoal);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-fast);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--terracotta-light);
  color: var(--charcoal);
}

.category-card .heading-sm {
  margin-bottom: 0.35rem;
}

.category-card p {
  font-size: 0.875rem;
  color: var(--warm-gray);
  margin-bottom: var(--space-xs);
}

.category-count {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  background: rgba(196, 112, 75, 0.1);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-pill);
}

/* ------------------------------------------------------------
   12. FEATURE GRID (home page)
   ------------------------------------------------------------ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: var(--white);
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-md) var(--space-md) var(--space-md) calc(var(--space-md) - 3px);
}

.feature-card .heading-sm {
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   13. CTA BLOCKS
   ------------------------------------------------------------ */
.cta-block {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-block .overline {
  margin-bottom: var(--space-xs);
}

.cta-block .heading-lg {
  margin-bottom: var(--space-sm);
}

.cta-block p {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  align-items: center;
}

/* ------------------------------------------------------------
   14. LISTING GRID & CARDS (vendor category pages)
   ------------------------------------------------------------ */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.listing-card {
  position: relative;
  display: block;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--charcoal);
  transition: transform var(--transition-base),
              box-shadow var(--transition-base);
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  color: var(--charcoal);
}

.listing-card-body {
  padding: var(--space-md);
}

.listing-card .overline {
  margin-bottom: 0.25rem;
  display: block;
}

.listing-card-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.listing-card:hover .listing-card-title {
  color: var(--terracotta);
}

.listing-card-desc {
  font-size: 0.875rem;
  color: var(--warm-gray);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.listing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: var(--space-xs);
}

/* Meta tags / pills */
.meta-tag {
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--warm-gray);
  white-space: nowrap;
}

.meta-tag--rainbow {
  background: linear-gradient(90deg, #e74c3c, #e67e22, #f1c40f, #2ecc71, #3498db, #9b59b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  padding: 0;
  border: 1px solid rgba(155, 89, 182, 0.3);
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  /* fallback for browsers without background-clip */
  color: var(--sage-deep);
}

/* Save heart button on listing card */
.card-save-btn {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  font-size: 1rem;
  z-index: 3;
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
}

.card-save-btn:hover {
  background: var(--white);
  color: var(--dusty-rose-deep);
  transform: scale(1.1);
}

.card-save-btn.saved {
  background: var(--dusty-rose);
  color: var(--white);
}

/* Larger save button on vendor detail page */
.card-save-btn--large {
  position: static;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--charcoal);
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 500;
  gap: 0.4rem;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--cream);
}

.card-save-btn--large:hover {
  background: var(--dusty-rose);
  color: var(--white);
  transform: none;
}

.card-save-btn--large.saved {
  background: var(--dusty-rose);
  color: var(--white);
}

/* Empty state when no vendors */
.empty-state {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
}

.empty-state .heading-md {
  margin-bottom: var(--space-sm);
}

.empty-state p {
  margin-bottom: var(--space-md);
}

/* ------------------------------------------------------------
   15. VENDOR DETAIL PAGE
   ------------------------------------------------------------ */

/* Breadcrumb */
.breadcrumb {
  background: var(--cream);
  padding: var(--space-sm) 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--warm-gray-light);
  flex-wrap: wrap;
}

.breadcrumb-list li + li::before {
  content: '/';
  margin: 0 0.4rem;
  color: var(--warm-gray-light);
}

.breadcrumb-list a {
  color: var(--warm-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-list a:hover {
  color: var(--terracotta);
}

.breadcrumb-list li:last-child {
  color: var(--charcoal);
  font-weight: 500;
}

/* Vendor detail hero */
.vendor-detail-hero {
  background: var(--ivory);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--cream);
}

.vendor-detail-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.vendor-detail-header .overline {
  margin-bottom: 0.25rem;
  display: block;
}

.vendor-detail-header .heading-lg {
  margin-bottom: var(--space-xs);
}

/* LGBTQ badge */
.lgbtq-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #e74c3c, #e67e22, #f1c40f, #2ecc71, #3498db, #9b59b6);
  color: var(--white);
  margin-top: var(--space-xs);
}

/* Image gallery placeholder */
.vendor-image-gallery {
  margin-bottom: 0;
}

.image-placeholder {
  width: 100%;
  background: var(--cream);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-gray-light);
  font-size: 0.85rem;
  aspect-ratio: 16 / 7;
}

.image-placeholder--hero {
  min-height: 300px;
  aspect-ratio: 16 / 6;
}

/* Detail grid: 2fr main + 1fr sidebar */
.vendor-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.vendor-main-content > div {
  margin-bottom: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--cream);
}

.vendor-main-content > div:last-child {
  border-bottom: none;
}

.vendor-about p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Couple deal box */
.couple-deal-box {
  background: linear-gradient(135deg, rgba(212, 165, 154, 0.15) 0%, rgba(139, 158, 130, 0.12) 100%);
  border: 1.5px solid var(--dusty-rose);
  border-radius: var(--radius-md);
  padding: var(--space-md);
}

.couple-deal-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xs);
  color: var(--dusty-rose-deep);
}

.couple-deal-header svg {
  flex-shrink: 0;
  stroke: var(--dusty-rose-deep);
}

.couple-deal-header .heading-sm {
  color: var(--dusty-rose-deep);
}

.couple-deal-box p {
  font-size: 0.925rem;
  color: var(--warm-gray);
  margin-bottom: 0;
}

/* Features list (checkmarks) */
.vendor-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: var(--space-sm);
}

.vendor-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--warm-gray);
  line-height: 1.5;
}

.vendor-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Services list */
.vendor-services {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem var(--space-md);
  margin-top: var(--space-sm);
}

.vendor-services li {
  font-size: 0.9rem;
  color: var(--warm-gray);
  padding-left: 1rem;
  position: relative;
}

.vendor-services li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* Capacity grid */
.capacity-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
}

.capacity-item {
  text-align: center;
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  min-width: 100px;
}

.capacity-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--terracotta);
  line-height: 1;
  display: block;
}

.capacity-label {
  font-size: 0.75rem;
  color: var(--warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 0.25rem;
}

/* Vendor sidebar */
.vendor-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
}

/* Contact card */
.vendor-contact-card {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.vendor-contact-card .heading-sm {
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--cream);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--cream);
  color: var(--warm-gray);
  font-size: 0.875rem;
}

.contact-item:last-of-type {
  border-bottom: none;
  margin-bottom: var(--space-sm);
}

.contact-item svg {
  flex-shrink: 0;
  color: var(--terracotta);
}

.contact-item a {
  color: var(--charcoal);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--terracotta);
}

.vendor-contact-card .btn-primary {
  width: 100%;
  margin-top: var(--space-sm);
}

/* Social card */
.vendor-social-card {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.vendor-social-card .heading-sm {
  margin-bottom: var(--space-sm);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--cream);
  color: var(--warm-gray);
  background: var(--ivory);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-link:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: rgba(196, 112, 75, 0.08);
}

/* Pricing card */
.vendor-pricing-card {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.vendor-pricing-card .heading-sm {
  margin-bottom: var(--space-sm);
}

.pricing-tier {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.25rem;
}

.pricing-starting {
  font-size: 0.875rem;
  color: var(--warm-gray);
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   16. FORMS
   ------------------------------------------------------------ */
.form {
  width: 100%;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-fast),
              box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--terracotta-light);
  box-shadow: 0 0 0 3px rgba(196, 112, 75, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--warm-gray-light);
}

/* Select uses form-input class too */
.form-input[type="date"],
select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23636E72' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.form-actions {
  margin-top: var(--space-md);
}

.form-disclaimer {
  font-size: 0.78rem;
  color: var(--warm-gray-light);
  margin-top: var(--space-sm);
  line-height: 1.5;
}

.form-disclaimer a {
  color: var(--warm-gray);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-success {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--sage-light);
}

.form-success .heading-md {
  color: var(--sage-deep);
  margin-bottom: var(--space-sm);
}

/* Required asterisk */
.required {
  color: #c0392b;
  margin-left: 0.15rem;
}

/* Sidebar helper text */
.sidebar-note {
  font-size: 0.85rem;
  color: var(--warm-gray);
  line-height: 1.55;
  margin-bottom: var(--space-md);
}

/* Checkbox / Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--terracotta);
  cursor: pointer;
}

/* ------------------------------------------------------------
   17. GET QUOTES PAGE
   ------------------------------------------------------------ */
.quotes-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.quotes-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

.quotes-sidebar .heading-sm {
  margin-bottom: var(--space-xs);
  padding-bottom: var(--space-xs);
  border-bottom: 1px solid var(--cream);
}

.quotes-form-panel {
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.quotes-form-panel .heading-md {
  margin-bottom: var(--space-xs);
}

.quotes-form-panel > p {
  margin-bottom: var(--space-lg);
}

/* Saved vendors list */
.saved-vendors-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: var(--space-sm);
  min-height: 60px;
}

.saved-vendor-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--ivory);
  border: 1px solid var(--cream);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  gap: var(--space-xs);
}

.saved-vendor-name {
  font-size: 0.875rem;
  color: var(--charcoal);
  font-weight: 500;
  line-height: 1.3;
}

.saved-vendor-remove {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--warm-gray-light);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.1rem;
  transition: color var(--transition-fast);
}

.saved-vendor-remove:hover {
  color: #c0392b;
}

.saved-vendors-actions {
  margin-top: var(--space-sm);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--cream);
  text-align: right;
}

/* ------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------ */
.site-footer {
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.65);
  padding: var(--space-2xl) 0 var(--space-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

/* Brand column */
.footer-brand {
  /* column, no specific layout needed */
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 280px;
  font-style: italic;
  margin-bottom: var(--space-xs);
}

.footer-location {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0;
}

/* Nav / categories / contact columns */
.footer-nav,
.footer-categories,
.footer-contact {
  /* column wrappers */
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--terracotta-light);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.footer-copyright {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 0;
}

/* ------------------------------------------------------------
   19. ANIMATIONS & TRANSITIONS
   ------------------------------------------------------------ */

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered reveal children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* ------------------------------------------------------------
   20. UTILITY CLASSES
   ------------------------------------------------------------ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.pt-1 { padding-top: var(--space-sm); }
.pt-2 { padding-top: var(--space-md); }
.pt-3 { padding-top: var(--space-lg); }
.pt-4 { padding-top: var(--space-xl); }

.pb-1 { padding-bottom: var(--space-sm); }
.pb-2 { padding-bottom: var(--space-md); }
.pb-3 { padding-bottom: var(--space-lg); }
.pb-4 { padding-bottom: var(--space-xl); }

.hidden      { display: none; }
.block       { display: block; }
.flex        { display: flex; }
.inline-flex { display: inline-flex; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap { flex-wrap: wrap; }
.gap-1     { gap: var(--space-sm); }
.gap-2     { gap: var(--space-md); }
.gap-3     { gap: var(--space-lg); }

.w-full { width: 100%; }

/* Decorative divider */
.divider {
  width: 60px;
  height: 2px;
  background: var(--terracotta);
  margin: var(--space-md) 0;
}

.divider-center {
  width: 60px;
  height: 2px;
  background: var(--terracotta);
  margin: var(--space-md) auto;
}

/* Pill / badge */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--cream);
  color: var(--warm-gray);
}

/* Truncate */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Visually hidden */
.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;
}

/* ------------------------------------------------------------
   21. SEARCH & FILTER BAR
   ------------------------------------------------------------ */
.search-bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--white);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
}

.search-bar-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  color: var(--charcoal);
  background: transparent;
}

.search-bar-input::placeholder {
  color: var(--warm-gray-light);
}

.search-bar-btn {
  padding: 0.6rem 1.4rem;
  background: var(--terracotta);
  color: var(--white);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background var(--transition-fast);
  border: none;
  cursor: pointer;
}

.search-bar-btn:hover {
  background: var(--terracotta-deep);
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
}

.filter-tag {
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border: 1px solid var(--cream);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--warm-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tag:hover,
.filter-tag.active {
  border-color: var(--terracotta);
  background: var(--terracotta);
  color: var(--white);
}

/* ------------------------------------------------------------
   22. PAGINATION
   ------------------------------------------------------------ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: var(--space-xl);
}

.pagination-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--warm-gray);
  border: 1px solid var(--cream);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.pagination-btn:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
}

.pagination-btn.active {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
}

.pagination-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* ------------------------------------------------------------
   23. TOAST / NOTIFICATION
   ------------------------------------------------------------ */
.toast {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: var(--charcoal);
  color: var(--white);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  z-index: 2000;
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-success {
  border-left: 4px solid var(--sage);
}

.toast-error {
  border-left: 4px solid #c0392b;
}

.toast-close {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.1rem;
  margin-left: var(--space-sm);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.toast-close:hover {
  color: var(--white);
}

/* ------------------------------------------------------------
   24. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */

/* <= 480px: Small phones */
@media (max-width: 480px) {
  :root {
    --header-height: 60px;
  }

  .heading-xxl {
    font-size: 1.9rem;
  }

  .hero,
  .page-hero {
    padding: var(--space-xl) 0;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary,
  .cta-actions .btn-primary,
  .cta-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* <= 768px: Mobile */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section,
  .section-alt,
  .section-cream,
  .section-dark,
  .section-terracotta {
    padding: var(--space-xl) 0;
  }

  /* Category grid: 2 cols on mobile */
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Feature grid: 1 col */
  .feature-grid {
    grid-template-columns: 1fr;
  }

  /* Listing grid: 1 col */
  .listing-grid {
    grid-template-columns: 1fr;
  }

  /* Vendor detail: stack layout */
  .vendor-detail-grid {
    grid-template-columns: 1fr;
  }

  .vendor-sidebar {
    position: static;
  }

  .vendor-services {
    grid-template-columns: 1fr;
  }

  /* Quotes: stack */
  .quotes-layout {
    grid-template-columns: 1fr;
  }

  .quotes-sidebar {
    position: static;
  }

  .quotes-form-panel {
    padding: var(--space-lg);
  }

  /* Form row: stack */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer: stack */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  /* Stats ribbon: wrap */
  .stats-ribbon-inner {
    gap: var(--space-lg);
  }

  /* Grid utilities: stack */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Search */
  .search-bar {
    flex-direction: column;
  }

  .search-bar-btn {
    width: 100%;
    text-align: center;
  }

  /* Toast */
  .toast {
    left: var(--space-sm);
    right: var(--space-sm);
    bottom: var(--space-sm);
  }
}

/* <= 1024px: Tablet */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
  }

  .vendor-detail-grid {
    grid-template-columns: 3fr 2fr;
  }

  .quotes-layout {
    grid-template-columns: 260px 1fr;
  }
}

/* <= 600px: extra-small phones — category grid 1 col */
@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* >= 1200px: Large screens */
@media (min-width: 1200px) {
  .container {
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
  }
}

/* ------------------------------------------------------------
   25. PRINT STYLES
   ------------------------------------------------------------ */
@media print {
  .site-header,
  .site-footer,
  .toast,
  .card-save-btn,
  .filter-tags,
  .pagination,
  .nav-toggle {
    display: none !important;
  }

  body {
    background: white;
    color: black;
    font-size: 12pt;
    padding-top: 0;
  }

  .section,
  .section-alt,
  .section-dark,
  .section-cream,
  .section-terracotta {
    padding: 1rem 0;
    background: white !important;
    color: black !important;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .listing-card,
  .category-card,
  .feature-card {
    box-shadow: none;
    border: 1px solid #ccc;
    break-inside: avoid;
  }
}

/* ============================================================
   BLOG SYSTEM
   ============================================================ */

/* Breadcrumbs */
.breadcrumbs {
  padding: 6rem 0 var(--space-sm);
  background: var(--cream);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--warm-gray-light);
}

.breadcrumb-item + .breadcrumb-item::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--warm-gray-light);
}

.breadcrumb-item a {
  color: var(--warm-gray);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover {
  color: var(--terracotta);
}

.breadcrumb-item.active {
  color: var(--charcoal);
  font-weight: 500;
}

/* Blog Hero */
.blog-hero {
  padding: var(--space-lg) 0 var(--space-xl);
  background: var(--cream);
  text-align: center;
}

.blog-category-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
  background: rgba(196, 112, 75, 0.1);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-sm);
}

.blog-category-tag--sm {
  font-size: 0.65rem;
  padding: 0.2rem 0.7rem;
}

.blog-title {
  margin: var(--space-sm) 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.blog-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--warm-gray);
  margin-bottom: var(--space-xs);
}

.blog-meta-sep {
  color: var(--warm-gray-light);
}

.blog-byline {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--warm-gray);
}

.blog-byline strong {
  color: var(--charcoal);
}

/* Blog Article Content */
.blog-article {
  padding: var(--space-xl) 0 var(--space-2xl);
}

.blog-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--charcoal);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.blog-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.5rem);
  font-weight: 500;
  color: var(--charcoal);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xs);
}

.blog-content p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--warm-gray);
  margin-bottom: var(--space-md);
}

.blog-content ul,
.blog-content ol {
  margin-bottom: var(--space-md);
}

.blog-content li {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--warm-gray);
}

.blog-content a {
  color: var(--terracotta);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--terracotta-light);
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.blog-content a:hover {
  color: var(--terracotta-deep);
  text-decoration-color: var(--terracotta-deep);
}

.blog-content strong {
  color: var(--charcoal);
}

.blog-content blockquote {
  margin: var(--space-lg) 0;
}

/* Blog Share */
.blog-share {
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--cream);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.blog-share-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  margin-bottom: 0;
}

.blog-share-links {
  display: flex;
  gap: var(--space-sm);
}

.blog-share-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--charcoal);
  background: var(--cream);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.blog-share-link:hover {
  background: var(--terracotta);
  color: var(--white);
}

.blog-share-link svg {
  flex-shrink: 0;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

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

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

/* Blog Card */
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.blog-card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--charcoal);
  margin: var(--space-xs) 0;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--terracotta);
}

.blog-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--warm-gray);
  margin-bottom: var(--space-sm);
  flex: 1;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.blog-card-date {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--warm-gray-light);
}

.blog-card-read {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--terracotta);
}

/* Blog Filters */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-xl);
}

.blog-filter-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.5rem 1.2rem;
  border: 1px solid var(--cream);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--warm-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.blog-filter-btn:hover {
  border-color: var(--terracotta-light);
  color: var(--terracotta);
}

.blog-filter-btn.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
}

/* Blog responsive adjustments */
@media (max-width: 768px) {
  .blog-hero {
    padding: var(--space-md) 0 var(--space-lg);
  }

  .blog-share {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-filters {
    gap: 0.35rem;
  }

  .blog-filter-btn {
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
  }
}

/* ============================================================
   WEDDING VIBE QUIZ
   ============================================================ */

/* Quiz Hero */
.quiz-hero {
  text-align: center;
  padding: var(--space-2xl) 0 var(--space-lg);
  background: linear-gradient(180deg, var(--cream) 0%, var(--ivory) 100%);
}

.quiz-hero .overline {
  margin-bottom: var(--space-sm);
}

.quiz-hero .heading-xl {
  margin-bottom: var(--space-md);
}

.quiz-hero-subtitle {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--warm-gray);
}

/* Quiz Container */
.quiz-container {
  max-width: 720px;
  margin: 0 auto;
}

/* Start Screen */
.quiz-start {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 40vh;
}

.quiz-start-inner {
  max-width: 560px;
}

.quiz-start .heading-lg {
  margin-bottom: var(--space-sm);
}

.quiz-start .body-lg {
  margin-bottom: var(--space-lg);
}

/* Progress Bar */
.quiz-progress {
  margin-bottom: var(--space-lg);
}

.quiz-progress-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  margin-bottom: var(--space-xs);
}

.quiz-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--cream);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--terracotta), var(--dusty-rose));
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

/* Question */
.quiz-question {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.quiz-question--entering {
  opacity: 0;
  transform: translateY(16px);
}

.quiz-question-number {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--terracotta);
  margin-bottom: var(--space-xs);
}

.quiz-question-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: var(--space-lg);
}

/* Option Cards */
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quiz-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--white);
  border: 2px solid var(--cream);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.4;
}

.quiz-option:hover {
  border-color: var(--terracotta-light);
  background: var(--ivory);
  transform: translateX(4px);
}

.quiz-option--selected {
  border-color: var(--terracotta);
  background: linear-gradient(135deg, rgba(196, 112, 75, 0.06), rgba(212, 165, 154, 0.08));
}

.quiz-option--selected .quiz-option-check {
  opacity: 1;
  transform: scale(1);
}

.quiz-option-text {
  flex: 1;
}

.quiz-option-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--terracotta);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.25s ease;
}

/* Quiz Navigation */
.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--cream);
}

.quiz-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--warm-gray);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.quiz-nav-back:hover {
  color: var(--charcoal);
}

/* Results */
.quiz-result {
  animation: quizFadeIn 0.5s ease forwards;
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-result-inner {
  text-align: center;
}

.quiz-result-inner .overline {
  margin-bottom: var(--space-xs);
}

.quiz-result-title {
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--terracotta), var(--dusty-rose-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.quiz-result-tagline {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--warm-gray);
  margin-bottom: var(--space-lg);
}

.quiz-result-desc {
  max-width: 600px;
  margin: 0 auto var(--space-xl);
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--warm-gray);
}

/* Color Palette */
.quiz-color-section {
  margin-bottom: var(--space-xl);
}

.quiz-color-section .heading-sm {
  margin-bottom: var(--space-md);
}

.quiz-color-palette {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.quiz-color-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.quiz-color-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--white);
}

.quiz-color-name {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--warm-gray);
  letter-spacing: 0.04em;
}

/* Recommendation Sections */
.quiz-rec-section {
  text-align: left;
  margin-bottom: var(--space-xl);
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.quiz-rec-section .heading-sm {
  margin-bottom: var(--space-sm);
}

.quiz-rec-section > p {
  color: var(--warm-gray);
  line-height: 1.7;
}

.quiz-rec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: var(--space-sm);
}

.quiz-rec-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--ivory);
  border: 1px solid var(--cream);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: all var(--transition-base);
}

.quiz-rec-card:hover {
  border-color: var(--terracotta-light);
  color: var(--terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.quiz-rec-card svg {
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.quiz-rec-card:hover svg {
  opacity: 1;
  transform: translateX(3px);
}

/* Runner Up */
.quiz-runner-up {
  margin-bottom: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: linear-gradient(135deg, rgba(196, 112, 75, 0.06), rgba(139, 158, 130, 0.06));
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--terracotta);
}

.quiz-runner-label {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--charcoal);
  margin: 0;
}

/* Result Actions */
.quiz-result-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

/* Quiz Responsive */
@media (max-width: 768px) {
  .quiz-hero {
    padding: var(--space-xl) 0 var(--space-md);
  }

  .quiz-question-text {
    margin-bottom: var(--space-md);
  }

  .quiz-option {
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
  }

  .quiz-rec-grid {
    grid-template-columns: 1fr;
  }

  .quiz-color-circle {
    width: 52px;
    height: 52px;
  }

  .quiz-color-palette {
    gap: var(--space-sm);
  }

  .quiz-result-actions {
    flex-direction: column;
    align-items: center;
  }

  .quiz-result-actions .btn-primary,
  .quiz-result-actions .btn-outline {
    width: 100%;
    max-width: 320px;
  }

  .quiz-rec-section {
    padding: var(--space-md);
  }

  .quiz-runner-up {
    padding: var(--space-sm) var(--space-md);
  }
}

@media (max-width: 480px) {
  .quiz-option {
    padding: 0.75rem 0.85rem;
    font-size: 0.85rem;
  }

  .quiz-option-check {
    width: 24px;
    height: 24px;
  }

  .quiz-color-circle {
    width: 44px;
    height: 44px;
  }
}
