/* ============================================================
   THE WEDDING SCOUT — Research-Based Color Psychology Rebuild
   Based on 2024-2026 wedding color trends and buyer psychology
   Target Audience: Engaged couples planning weddings (romantic, trust-focused)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* UPSCALE PREMIUM PALETTE - 2026 Luxury Wedding Trend */
  /* Deep emerald + warm champagne = "Quiet Luxury" */
  --primary: #1a3a32;           /* Deep emerald - established, premium, timeless */
  --primary-light: #2d5448;     /* Lighter emerald for hovers */
  --secondary: #e8d5b7;         /* Warm champagne - elegant, soft, expensive */
  --secondary-dark: #d4be9c;    /* Darker champagne for hover states */
  --accent: #b8975f;            /* Antique gold - subtle luxury, not gaudy */
  --accent-light: #c9a97a;      /* Lighter gold for hover */
  --bg: #faf7f2;                /* Warm cream - expensive feel */
  --bg-alt: #f4ede2;            /* Slightly darker cream */
  --card-bg: #ffffff;           /* Pure white cards for crisp contrast */
  --text: #1a1a1a;              /* Near black - maximum readability */
  --text-mid: #4a4a4a;          /* Medium gray - readable secondary text */
  --text-light: #6b6b6b;        /* Light gray - tertiary text (still readable) */
  --border: #e0d8cc;            /* Warm soft border */
  --border-light: #ede5d6;      /* Very light warm border */
  --shadow: rgba(26, 58, 50, 0.08);
  --shadow-hover: rgba(26, 58, 50, 0.15);
  --shadow-lg: rgba(26, 58, 50, 0.2);
  
  --font-display: 'Lora', serif;
  --font-body: 'Inter', -apple-system, system-ui, sans-serif;
  
  --radius: 4px;
  --radius-lg: 8px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--secondary);
}

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

.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--bg-alt);
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.site-logo span {
  color: var(--secondary);
}

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

.site-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.nav-btn {
  padding: 8px 20px;
  background: var(--primary);
  color: white !important;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background var(--transition);
}

.nav-btn:hover {
  background: var(--accent);
  color: white !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 194, 194, 0.15) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 700px;
  padding: 0 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(244, 194, 194, 0.3);
}

.hero-cta:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 194, 194, 0.4);
}

/* ============================================================
   PAGE HERO (For interior pages)
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero .label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   HERO INNER LAYOUT (Critical for centering)
   ============================================================ */

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

.hero-text {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 24px;
  line-height: 1.65;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================================
   INFO STRIP (Section between hero and pillars)
   ============================================================ */

.info-strip {
  background: var(--bg-alt);
  padding: 24px 0;
  text-align: center;
}

.info-strip .container {
  max-width: 700px;
}

/* ============================================================
   FOOTER LAYOUT
   ============================================================ */

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

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.text-center {
  text-align: center;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

/* ============================================================
   STARS (Rating display)
   ============================================================ */

.stars {
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 0.95rem;
}

/* ============================================================
   LABEL (Section labels)
   ============================================================ */

.label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}

/* ============================================================
   TRUST STRIP (Homepage) - FIXED LAYOUT
   ============================================================ */

.trust-strip {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
  padding: 0 12px;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.trust-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ============================================================
   PILLARS SECTION (Trust badges - 3 column grid)
   ============================================================ */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 64px auto;
  padding: 0 24px;
}

.pillar {
  text-align: center;
  padding: 24px 16px;
}

.pillar-icon {
  font-size: 1.8rem;
  color: var(--secondary);
  margin-bottom: 16px;
  display: block;
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.pillar p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
}

/* Pillars responsive */
@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ============================================================
   HERO ACTIONS (Button container)
   ============================================================ */

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  padding: 14px 32px;
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(244, 194, 194, 0.3);
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 194, 194, 0.4);
}

.hero-trust {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-top: 16px;
  font-style: italic;
}

/* ============================================================
   FOOTER FIXES (Brand alignment)
   ============================================================ */

.footer-tagline.mt-8 {
  margin-top: 16px;
}

.site-footer .site-logo {
  color: white;
  font-size: 1.5rem;
}

.site-footer .site-logo span {
  color: var(--secondary);
}

/* ============================================================
   SEARCH & FILTERS
   ============================================================ */

.search-wrap {
  position: relative;
  max-width: 500px;
  margin: 0 auto 32px;
}

.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 48px 14px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--card-bg);
  transition: all var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(244, 194, 194, 0.15);
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.search-clear:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.search-input:not(:placeholder-shown) + .search-clear {
  display: flex;
}

.notice {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 32px;
}

.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 16px;
}

.result-count {
  font-size: 0.92rem;
  color: var(--text-mid);
}

.result-count strong {
  color: var(--text);
  font-weight: 600;
}

.sort-select {
  padding: 8px 36px 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a5653' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--transition);
}

.sort-select:focus {
  outline: none;
  border-color: var(--secondary);
}

/* ============================================================
   LISTING GRID (THE FIX!)
   ============================================================ */

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 24px var(--shadow-hover);
  transform: translateY(-2px);
}

.card-body {
  padding: 24px;
}

.card-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.card-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.card-location svg {
  flex-shrink: 0;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.card-rating .stars {
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.card-divider {
  height: 1px;
  background: var(--border-light);
  margin: 16px 0;
}

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

.card-contact {
  flex: 1;
}

.card-contact a {
  display: block;
  width: 100%;
  padding: 10px 18px;
  text-align: center;
  background: var(--secondary);
  color: var(--primary);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
}

.card-contact a:hover {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1px);
}

.card-view {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  white-space: nowrap;
}

.card-view:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover {
  border-color: var(--secondary);
  background: var(--secondary);
  color: var(--primary);
}

.page-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
  text-align: center;
  padding: 64px 24px;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.empty-state p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-soft {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

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

/* ============================================================
   SECTION HEADER
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 24px;
  margin-top: 80px;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.92rem;
  margin-bottom: 32px;
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy,
.footer-note {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   BLOG STYLES
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: 0 8px 24px var(--shadow-hover);
  transform: translateY(-2px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--primary);
}

.blog-title a {
  color: inherit;
  transition: color var(--transition);
}

.blog-title a:hover {
  color: var(--secondary);
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.read-more:hover {
  gap: 8px;
  color: var(--secondary);
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--primary);
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 28px;
}

.article-content li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.article-content a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(212, 165, 165, 0.3);
  text-underline-offset: 2px;
  transition: all var(--transition);
}

.article-content a:hover {
  text-decoration-color: var(--accent);
}

.article-content strong {
  font-weight: 600;
  color: var(--primary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .listing-grid {
    grid-template-columns: 1fr;
  }
  
  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s;
  }
  
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .sort-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .card-action {
    flex-direction: column;
  }
  
  .card-view {
    width: 100%;
    text-align: center;
  }
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--secondary);
}

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

.section {
  padding: 64px 0;
}

.section--alt {
  background: var(--bg-alt);
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.site-logo span {
  color: var(--secondary);
}

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

.site-nav a {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.nav-btn {
  padding: 8px 20px;
  background: var(--primary);
  color: white !important;
  border-radius: var(--radius);
  font-weight: 500;
  transition: background var(--transition);
}

.nav-btn:hover {
  background: var(--secondary);
  color: white !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f5f3f0 0%, #fafaf8 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 700px;
  padding: 0 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--primary);
  letter-spacing: -0.03em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-cta {
  display: inline-block;
  padding: 14px 32px;
  background: var(--secondary);
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.hero-cta:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
}

/* ============================================================
   PAGE HERO (For interior pages)
   ============================================================ */

.page-hero {
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
  padding: 64px 24px 48px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero .label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 12px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   TRUST STRIP (Homepage)
   ============================================================ */

.trust-strip {
  background: var(--card-bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.trust-item {
  text-align: center;
}

.trust-item svg {
  width: 28px;
  height: 28px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.trust-item h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
}

.trust-item p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ============================================================
   SEARCH & FILTERS
   ============================================================ */

.search-wrap {
  position: relative;
  max-width: 500px;
  margin: 0 auto 32px;
}

.search-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 14px 48px 14px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--card-bg);
  transition: all var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  font-size: 1.4rem;
  color: var(--text-light);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.search-clear:hover {
  background: var(--bg-alt);
  color: var(--text);
}

.search-input:not(:placeholder-shown) + .search-clear {
  display: flex;
}

.notice {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 32px;
}

.sort-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 16px;
}

.result-count {
  font-size: 0.92rem;
  color: var(--text-mid);
}

.result-count strong {
  color: var(--text);
  font-weight: 600;
}

.sort-select {
  padding: 8px 36px 8px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: var(--card-bg);
  color: var(--text);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235a5653' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: border-color var(--transition);
}

.sort-select:focus {
  outline: none;
  border-color: var(--secondary);
}

/* ============================================================
   LISTING GRID (THE FIX!)
   ============================================================ */

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 24px var(--shadow-hover);
  transform: translateY(-2px);
}

.card-body {
  padding: 24px;
}

.card-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 8px;
}

.card-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 8px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.card-location svg {
  flex-shrink: 0;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.card-rating .stars {
  color: var(--secondary);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.card-divider {
  height: 1px;
  background: var(--border-light);
  margin: 16px 0;
}

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

.card-contact {
  flex: 1;
}

.card-contact a {
  display: block;
  width: 100%;
  padding: 10px 18px;
  text-align: center;
  background: var(--secondary);
  color: white;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--transition);
}

.card-contact a:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
}

.card-view {
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  transition: all var(--transition);
  white-space: nowrap;
}

.card-view:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
}

.page-btn:hover {
  border-color: var(--secondary);
  background: var(--secondary);
  color: white;
}

.page-btn.active {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
  text-align: center;
  padding: 64px 24px;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.empty-state p {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

.btn-soft {
  background: var(--bg-alt);
  color: var(--text);
  border: 1px solid var(--border);
}

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

/* ============================================================
   SECTION HEADER
   ============================================================ */

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header .label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: -0.02em;
}

/* ============================================================
   FAQ
   ============================================================ */

.faq {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-q {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--primary);
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: var(--primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 48px 0 24px;
  margin-top: 80px;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.92rem;
  margin-bottom: 32px;
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy,
.footer-note {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   BLOG STYLES
   ============================================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.blog-card:hover {
  box-shadow: 0 8px 24px var(--shadow-hover);
  transform: translateY(-2px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}

.blog-content {
  padding: 24px;
}

.blog-meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.blog-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--primary);
}

.blog-title a {
  color: inherit;
  transition: color var(--transition);
}

.blog-title a:hover {
  color: var(--secondary);
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}

.read-more:hover {
  gap: 8px;
  color: var(--accent);
}

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
}

.article-content h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  margin: 40px 0 20px;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.article-content h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 32px 0 16px;
  color: var(--primary);
}

.article-content p {
  margin-bottom: 20px;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--text);
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 28px;
}

.article-content li {
  margin-bottom: 12px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
}

.article-content a {
  color: var(--secondary);
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.3);
  text-underline-offset: 2px;
  transition: all var(--transition);
}

.article-content a:hover {
  text-decoration-color: var(--secondary);
}

.article-content strong {
  font-weight: 600;
  color: var(--primary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .listing-grid {
    grid-template-columns: 1fr;
  }
  
  .site-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.3s;
  }
  
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .sort-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .card-action {
    flex-direction: column;
  }
  
  .card-view {
    width: 100%;
    text-align: center;
  }
}


/* ============================================================
   PREMIUM CONTRAST FIXES (Buttons readable on all backgrounds)
   ============================================================ */

/* Visit Website buttons - use dark text on champagne for readability */
.card-contact a {
  background: var(--primary) !important;
  color: white !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid var(--primary);
  transition: all var(--transition);
}

.card-contact a:hover {
  background: var(--primary-light) !important;
  color: white !important;
  border-color: var(--primary-light);
}

/* Hero CTA - emerald with white text */
.hero-cta,
.btn-primary {
  background: var(--primary) !important;
  color: white !important;
  font-weight: 600;
  border: 1px solid var(--primary);
  transition: all var(--transition);
}

.hero-cta:hover,
.btn-primary:hover {
  background: var(--primary-light) !important;
  color: white !important;
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Nav button - emerald with white */
.nav-btn {
  background: var(--primary) !important;
  color: white !important;
  border: 1px solid var(--primary);
}

.nav-btn:hover {
  background: var(--primary-light) !important;
  color: white !important;
  border-color: var(--primary-light);
}

/* Logo accent - use antique gold for premium feel */
.site-logo span {
  color: var(--accent) !important;
}

/* Section labels - antique gold */
.section-header .label,
.page-hero .label {
  color: var(--accent) !important;
  font-weight: 600;
}

/* Stars rating - antique gold */
.stars,
.card-rating .stars {
  color: var(--accent) !important;
}

/* Article content links */
.article-content a {
  color: var(--accent) !important;
  text-decoration-color: rgba(184, 151, 95, 0.4);
}

.article-content a:hover {
  text-decoration-color: var(--accent);
}

/* ============================================================
   FOOTER FIXES (No more big gap)
   ============================================================ */

.footer-top {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  padding: 48px 0 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .site-logo {
  color: white !important;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.site-footer .site-logo span {
  color: var(--secondary) !important;
}

.footer-tagline {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  max-width: 500px;
  margin: 0 0 16px 0;
}

.footer-tagline.mt-8 {
  margin-top: 0 !important;
}

.footer-links {
  display: flex;
  gap: 24px;
  margin: 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 0.92rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--secondary) !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  margin-top: 24px;
}

.footer-copy,
.footer-note {
  color: rgba(255, 255, 255, 0.65) !important;
  font-size: 0.84rem;
}

/* ============================================================
   PHOTOGRAPHER PROFILE PAGE FIXES (No running off screen)
   ============================================================ */

main,
body > main,
.photographer-profile {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px;
}

/* Container for photographer detail content */
body > h1,
body > p,
body > div:not(.site-header):not(.site-footer):not(footer) {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Breadcrumbs */
nav[aria-label="breadcrumb"],
.breadcrumb {
  max-width: 900px;
  margin: 24px auto 16px;
  padding: 0 24px;
  font-size: 0.88rem;
  color: var(--text-mid);
}

/* Photographer profile content */
.profile-header,
.profile-content,
.profile-details {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px;
}

/* All paragraphs in body should respect container */
body > * {
  max-width: 100%;
}

/* ============================================================
   IMPROVED TEXT CONTRAST (No more fading)
   ============================================================ */

body {
  color: var(--text);
}

p, li {
  color: var(--text);
}

.card-rating,
.card-location {
  color: var(--text-mid) !important;
}

.card-label {
  color: var(--text-mid) !important;
  font-weight: 600;
}

/* Ensure readable card body text */
.card-body p {
  color: var(--text-mid);
}

/* Hero text - dark and readable */
.hero h1,
.page-hero h1 {
  color: var(--primary) !important;
}

.hero p,
.page-hero p,
.hero-sub {
  color: var(--text-mid) !important;
}

/* Section headings */
.section-header h2 {
  color: var(--primary) !important;
}

/* Pillars - readable headings */
.pillar h4 {
  color: var(--primary) !important;
  font-weight: 600;
}

.pillar p {
  color: var(--text-mid) !important;
}

/* ============================================================
   ELEGANT TYPOGRAPHY ADJUSTMENTS
   ============================================================ */

.hero h1,
.page-hero h1,
.section-header h2 {
  letter-spacing: -0.02em;
  font-weight: 600;
}

.card-name {
  color: var(--primary) !important;
  font-weight: 600;
}

/* Card hover - more elegant */
.card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 12px 32px var(--shadow-hover);
}

/* Card view button - elegant outline */
.card-view {
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  background: white;
  transition: all var(--transition);
}

.card-view:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

/* ============================================================
   PHOTOGRAPHER DETAIL PAGE STYLES (Was missing - causing layout issues)
   ============================================================ */

.listing-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.detail-breadcrumb {
  font-size: 0.88rem;
  color: var(--text-mid);
  margin-bottom: 24px;
}

.detail-breadcrumb a {
  color: var(--text-mid);
  transition: color var(--transition);
}

.detail-breadcrumb a:hover {
  color: var(--primary);
}

.detail-breadcrumb .sep {
  margin: 0 8px;
  color: var(--text-light);
}

.detail-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.detail-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.detail-rating .stars {
  color: var(--accent);
  font-size: 1rem;
  letter-spacing: 1px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.detail-main {
  min-width: 0;
}

.detail-sidebar {
  position: sticky;
  top: 100px;
}

.detail-section {
  margin-bottom: 32px;
}

.detail-section h2,
.detail-section h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.detail-section h2 {
  font-size: 1.4rem;
}

.detail-section h3 {
  font-size: 1.15rem;
}

.detail-section p {
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* Contact Card (sidebar) */
.contact-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 2px 8px var(--shadow);
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-light);
}

.contact-value {
  font-size: 0.95rem;
  color: var(--text);
  word-break: break-word;
}

.contact-value a {
  color: var(--primary);
  font-weight: 500;
}

.contact-value a:hover {
  color: var(--accent);
}

/* Detail CTA Button */
.detail-cta {
  display: block;
  width: 100%;
  padding: 14px 24px;
  background: var(--primary);
  color: white !important;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 16px;
  transition: all var(--transition);
  border: 1px solid var(--primary);
}

.detail-cta:hover {
  background: var(--primary-light);
  color: white !important;
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 500;
  margin-top: 24px;
  transition: color var(--transition);
}

.back-link:hover {
  color: var(--accent);
}

/* Not Found State */
.not-found {
  text-align: center;
  padding: 80px 24px;
}

.not-found h1 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.not-found p {
  color: var(--text-mid);
  margin-bottom: 24px;
}

/* Responsive - mobile */
@media (max-width: 768px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .detail-sidebar {
    position: static;
  }
  
  .detail-title {
    font-size: 1.8rem;
  }
  
  .listing-detail {
    padding: 16px 16px 48px;
  }
}
