/* ============================================================
   KAYASTHA SHAADI — Premium Matrimonial Platform
   Design System
   ============================================================ */

/* ---------- 1. CSS Variables ---------- */
:root {
  /* Brand Colors */
  --maroon: #7A1F3D;
  --maroon-dark: #5C152D;
  --maroon-deep: #3D0E1E;
  --maroon-soft: #9C3A5C;
  --gold: #C9A84C;
  --gold-light: #E8D48B;
  --gold-dark: #A8872F;
  --ivory: #FFF8F0;
  --cream: #F7EFE4;
  --cream-soft: #FBF6EE;
  --green: #2D5A3D;
  --green-light: #3E7A52;
  --charcoal: #2C2C2C;
  --charcoal-soft: #4A4A4A;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --gray-bg: #F5F5F5;
  --border: #E8E0D5;
  --white: #FFFFFF;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

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

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(44, 44, 44, 0.06);
  --shadow-md: 0 8px 24px rgba(44, 44, 44, 0.10);
  --shadow-lg: 0 16px 40px rgba(61, 14, 30, 0.16);
  --shadow-gold: 0 8px 24px rgba(201, 168, 76, 0.28);

  /* Transitions */
  --t-fast: 0.2s ease;
  --t-med: 0.35s ease;
  --t-slow: 0.6s ease;

  /* Container */
  --container: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background-color: var(--ivory);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.25; color: var(--charcoal); }

/* Selection */
::selection { background: rgba(201, 168, 76, 0.35); color: var(--maroon-deep); }

/* Custom scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--maroon), var(--maroon-dark));
  border-radius: 8px;
  border: 2px solid var(--cream);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, var(--gold-dark), var(--maroon-dark)); }
* { scrollbar-width: thin; scrollbar-color: var(--maroon) var(--cream); }

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- 3. Typography Helpers ---------- */
.text-gold { color: var(--gold) !important; }
.text-maroon { color: var(--maroon) !important; }
.text-green { color: var(--green) !important; }
.text-ivory { color: var(--ivory) !important; }
.text-muted { color: var(--gray) !important; }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
}

.eyebrow::before, .eyebrow::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.eyebrow::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0.5rem 0 0.75rem;
  color: var(--charcoal);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.9rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  transition: all var(--t-med);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  color: var(--maroon-deep);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(201, 168, 76, 0.4);
}

.btn-maroon {
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--ivory);
  box-shadow: var(--shadow-md);
}

.btn-maroon:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-gold {
  border: 2px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--maroon-deep);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: var(--ivory);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--ivory);
  transform: translateY(-2px);
}

.btn-outline-maroon {
  border: 2px solid var(--maroon);
  color: var(--maroon);
  background: transparent;
}

.btn-outline-maroon:hover {
  background: var(--maroon);
  color: var(--ivory);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--maroon);
  box-shadow: var(--shadow-md);
}

.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-sm { padding: 0.6rem 1.3rem; font-size: 0.9rem; }
.btn-lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

/* Shine sweep on primary buttons */
.btn-gold::after, .btn-maroon::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.btn-gold:hover::after, .btn-maroon:hover::after { left: 120%; }

/* ---------- 5. Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t-med);
}

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

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.25rem;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.1;
}

.brand-tagline {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  flex: 1;
  min-width: 0;
}

.nav-links a {
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--charcoal-soft);
  border-radius: var(--radius-full);
  transition: all var(--t-fast);
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med);
}

.nav-links a:hover { color: var(--maroon); background: rgba(122, 31, 61, 0.06); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--maroon); font-weight: 600; }

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 2px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(1);
}

.nav-sep {
  display: inline-block;
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 0.4rem;
}

.nav-auth {
  padding: 0.5rem 1.2rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 600 !important;
  color: var(--maroon) !important;
  border: 2px solid var(--maroon);
}

.nav-auth:hover { background: var(--maroon) !important; color: var(--ivory) !important; }

.nav-auth.nav-register {
  color: var(--ivory) !important;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border: 2px solid var(--maroon);
  box-shadow: var(--shadow-sm);
}

.nav-auth.nav-register:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--maroon-dark) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: rgba(122, 31, 61, 0.06);
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--maroon);
  border-radius: 2px;
  transition: all var(--t-med);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 1050;
  background: rgba(61, 14, 30, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity var(--t-med);
}

.mobile-menu.open { display: block; opacity: 1; }

.mobile-menu-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(320px, 85vw);
  background: var(--ivory);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transform: translateX(-100%);
  transition: transform var(--t-med);
  box-shadow: 16px 0 40px rgba(61, 14, 30, 0.18);
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-panel .mm-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.mobile-menu-panel a.mm-link {
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--charcoal-soft);
  font-size: 1.02rem;
  transition: all var(--t-fast);
  position: relative;
}

.mobile-menu-panel a.mm-link::after {
  content: '';
  position: absolute;
  left: 0.9rem;
  bottom: 6px;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--t-med);
}

.mobile-menu-panel a.mm-link:hover, .mobile-menu-panel a.mm-link.active {
  background: rgba(122, 31, 61, 0.07);
  color: var(--maroon);
}

.mobile-menu-panel a.mm-link:hover::after, .mobile-menu-panel a.mm-link.active::after {
  transform: scaleX(1);
}

.mobile-menu-panel .mm-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.mm-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(122, 31, 61, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 1.3rem;
}

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201, 168, 76, 0.18), transparent 45%),
    radial-gradient(ellipse at 85% 80%, rgba(201, 168, 76, 0.12), transparent 40%),
    linear-gradient(135deg, var(--maroon-deep) 0%, var(--maroon) 55%, var(--maroon-dark) 100%);
  color: var(--ivory);
  overflow: hidden;
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(6rem, 10vw, 8rem);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M40 8c8 0 14 6 14 14 0 10-14 22-14 22S26 32 26 22c0-8 6-14 14-14z'/%3E%3Ccircle cx='40' cy='22' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--ivory), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.hero-content .eyebrow { color: var(--gold-light); }
.hero-content .eyebrow::before, .hero-content .eyebrow::after { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.hero-content .eyebrow::after { background: linear-gradient(90deg, var(--gold-light), transparent); }

.hero-title {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  font-weight: 700;
  color: var(--ivory);
  margin: 1.1rem 0 1.2rem;
  line-height: 1.18;
}

.hero-title .gold-text {
  color: var(--gold-light);
  position: relative;
  display: inline-block;
}

.hero-title .gold-text::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 10px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.35), transparent);
  border-radius: 4px;
  z-index: -1;
}

.hero-text {
  font-size: 1.1rem;
  color: rgba(255, 248, 240, 0.88);
  max-width: 560px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 248, 240, 0.18);
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.85);
}

.hero-trust-item svg { width: 22px; height: 22px; color: var(--gold-light); }

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-frame {
  position: relative;
  width: min(430px, 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid rgba(232, 212, 139, 0.5);
  box-shadow: var(--shadow-lg);
  transform: rotate(1.5deg);
  transition: transform var(--t-slow);
  background: linear-gradient(135deg, var(--maroon-soft), var(--maroon-deep));
}

.hero-frame:hover { transform: rotate(0deg) scale(1.01); }

.hero-frame img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.hero-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 14, 30, 0.45), transparent 45%);
}

.hero-frame-caption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  color: var(--ivory);
}

.hero-frame-caption .hfc-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-frame-caption .hfc-sub { font-size: 0.9rem; color: rgba(255, 248, 240, 0.9); }

.hero-ornament {
  position: absolute;
  z-index: 3;
  color: var(--gold-light);
  opacity: 0.9;
}

.hero-ornament.tl { top: -18px; left: -18px; }
.hero-ornament.br { bottom: -18px; right: -18px; transform: rotate(180deg); }

.hero-badge-float {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 248, 240, 0.95);
  box-shadow: var(--shadow-md);
  color: var(--maroon);
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 4s ease-in-out infinite;
}

.hero-badge-float.one { top: 12%; right: -6%; }
.hero-badge-float.two { bottom: 22%; left: -8%; animation-delay: 2s; }

/* Hero ambient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  pointer-events: none;
  z-index: 1;
}
.hero-blob.one {
  width: 420px;
  height: 420px;
  top: -140px;
  right: -90px;
  background: radial-gradient(circle, rgba(156, 58, 92, 0.6), transparent 70%);
  animation: floatSlow 10s ease-in-out infinite;
}
.hero-blob.two {
  width: 380px;
  height: 380px;
  bottom: -160px;
  left: -110px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.42), transparent 70%);
  animation: floatSlow 12s ease-in-out infinite reverse;
}

/* Rotating mandala ring behind hero photo */
.hero-mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 470px;
  height: 470px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}
.hero-mandala::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(232, 212, 139, 0.45);
  animation: spinSlow 70s linear infinite;
}
.hero-mandala::after {
  content: '';
  position: absolute;
  inset: 34px;
  border-radius: 50%;
  border: 1px solid rgba(232, 212, 139, 0.25);
  animation: spinSlow 70s linear infinite reverse;
}

/* Gold inner frame on hero photo */
.hero-frame::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px solid rgba(232, 212, 139, 0.55);
  border-radius: calc(var(--radius-lg) - 9px);
  z-index: 3;
  pointer-events: none;
}

/* Floating stat chip */
.hero-stat-chip {
  position: absolute;
  bottom: -16px;
  right: 0;
  z-index: 5;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  border: 2px solid var(--gold);
  border-radius: var(--radius-md);
  color: var(--ivory);
  padding: 0.7rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: pulseGold 2.6s ease-out infinite;
}
.hero-stat-chip .hsc-number {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}
.hero-stat-chip .hsc-number span { font-size: 1rem; }
.hero-stat-chip .hsc-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 248, 240, 0.85);
}

/* ---------- City / Surname Ticker ---------- */
.city-ticker {
  background: linear-gradient(90deg, var(--maroon-deep), var(--maroon) 50%, var(--maroon-dark));
  border-top: 1px solid rgba(201, 168, 76, 0.35);
  border-bottom: 1px solid rgba(201, 168, 76, 0.35);
  overflow: hidden;
  padding: 0.9rem 0;
  position: relative;
  z-index: 2;
}

.city-ticker::before, .city-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}
.city-ticker::before { left: 0; background: linear-gradient(90deg, var(--maroon), transparent); }
.city-ticker::after { right: 0; background: linear-gradient(-90deg, var(--maroon-dark), transparent); }

.city-ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.city-ticker:hover .city-ticker-track { animation-play-state: paused; }

.city-ticker-group {
  display: flex;
  align-items: center;
  white-space: nowrap;
  padding-right: 0;
}

.city-ticker-group .ct-item {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 248, 240, 0.92);
  padding: 0 1.4rem;
}

.city-ticker-group .ct-dot {
  color: var(--gold);
  font-size: 0.72rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .city-ticker-group .ct-item { font-size: 0.95rem; padding: 0 1rem; }
}

/* ---------- 7. Sections ---------- */
.section { padding: var(--space-xl) 0; position: relative; }
.section-cream {
  background:
    radial-gradient(ellipse at 88% 8%, rgba(201, 168, 76, 0.08), transparent 45%),
    radial-gradient(ellipse at 8% 92%, rgba(122, 31, 61, 0.05), transparent 42%),
    var(--cream);
}
.section-white {
  background:
    radial-gradient(ellipse at 12% 12%, rgba(201, 168, 76, 0.07), transparent 42%),
    radial-gradient(ellipse at 92% 88%, rgba(122, 31, 61, 0.04), transparent 45%),
    var(--white);
}
.section-maroon { background: linear-gradient(135deg, var(--maroon-deep), var(--maroon)); color: var(--ivory); }
.section-maroon .section-title { color: var(--ivory); }
.section-maroon .section-subtitle { color: rgba(255, 248, 240, 0.8); }

/* Scalloped transition edge (white scallops over cream/maroon sections) */
.section-cream::before, .section-maroon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 18px;
  background: radial-gradient(circle at 18px 0, var(--white) 18px, transparent 19px);
  background-size: 36px 18px;
  background-repeat: repeat-x;
  pointer-events: none;
  z-index: 1;
}

.section-head {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section-head.left { text-align: left; }
.section-head.left .section-subtitle { margin: 0; }

/* Ornamental divider */
.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.1rem auto 0;
  color: var(--gold);
}

.ornament-divider svg { width: 26px; height: 26px; }
.ornament-divider::before, .ornament-divider::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.ornament-divider::after { background: linear-gradient(90deg, var(--gold), transparent); }

/* ---------- 8. Search Widget ---------- */
.search-widget {
  position: relative;
  z-index: 5;
  margin-top: -70px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.8rem;
}

.search-widget-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.search-widget-head .sw-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--maroon-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-widget-head .sw-icon svg { width: 22px; height: 22px; }

.search-widget-head h3 { font-size: 1.35rem; margin: 0; }
.search-widget-head p { font-size: 0.9rem; color: var(--gray); }

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.search-grid .field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal-soft);
}

.field select, .field input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream-soft);
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.field select:focus, .field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
  background-color: var(--white);
}

.search-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.8rem;
}

.search-actions .btn { flex: 1; }

/* ---------- 9. Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
}

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

/* Premium gold top-border reveal on all cards */
.profile-card, .story-card, .detail-card, .faq-item { position: relative; }

.profile-card::before, .story-card::before, .pricing-card::before,
.detail-card::before, .faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light) 40%, var(--gold));
  opacity: 0;
  transition: opacity var(--t-med);
  z-index: 5;
}

.profile-card:hover::before, .story-card:hover::before, .pricing-card:hover::before,
.detail-card:hover::before, .faq-item.open::before {
  opacity: 1;
}

/* Subtle gold sparkle corner ornament */
.profile-card::after, .pricing-card::after {
  content: '';
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 26px;
  height: 26px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='28' viewBox='0 0 24 24' fill='none' stroke='%23C9A84C' stroke-width='1.1' stroke-linecap='round'%3E%3Cpath d='M12 2c1.6 4.6 3.6 6.6 8.2 8.2-4.6 1.6-6.6 3.6-8.2 8.2-1.6-4.6-3.6-6.6-8.2-8.2C8.4 8.6 10.4 6.6 12 2z'/%3E%3Ccircle cx='12' cy='12' r='1.4'/%3E%3C/svg%3E");
  background-size: 26px 26px;
  opacity: 0.5;
  transition: opacity var(--t-med), transform var(--t-med);
  pointer-events: none;
  z-index: 4;
}

.profile-card:hover::after, .pricing-card:hover::after {
  opacity: 0.9;
  transform: rotate(45deg) scale(1.1);
}

/* Trust cards */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-card {
  padding: 2rem 1.6rem;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
  position: relative;
  overflow: hidden;
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
  opacity: 0;
  transition: opacity var(--t-med);
}

.trust-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(201, 168, 76, 0.5); }
.trust-card:hover::before { opacity: 1; }

.trust-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(122, 31, 61, 0.08), rgba(201, 168, 76, 0.12));
  border: 1.5px solid rgba(201, 168, 76, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
}

.trust-icon svg { width: 30px; height: 30px; }

.trust-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.trust-card p { font-size: 0.92rem; color: var(--gray); }

/* Profile cards */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.profile-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}

.profile-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.profile-card-photo {
  position: relative;
  height: 230px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
}

.profile-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

.profile-card:hover .profile-card-photo img { transform: scale(1.06); }

.profile-card-photo .photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(61, 14, 30, 0.55), transparent 45%);
}

.profile-card-badges {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 2;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--maroon-deep); }
.badge-green { background: var(--green); color: var(--white); }
.badge-maroon { background: var(--maroon); color: var(--ivory); }
.badge-white { background: rgba(255, 255, 255, 0.92); color: var(--maroon); }

.profile-card-id {
  position: absolute;
  bottom: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  font-size: 0.72rem;
  color: rgba(255, 248, 240, 0.95);
  background: rgba(61, 14, 30, 0.55);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

/* Quick action overlay on photo hover */
.profile-card-quick {
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.62rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(255, 248, 240, 0.94);
  color: var(--maroon);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--t-med), transform var(--t-med);
}

.profile-card:hover .profile-card-quick {
  opacity: 1;
  transform: translateY(0);
}

.profile-card-quick svg { width: 16px; height: 16px; }
.profile-card-quick:hover { background: var(--maroon); color: var(--ivory); }

@media (hover: none) {
  .profile-card-quick { display: none; }
}

.profile-card-body {
  padding: 1.2rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.profile-card-name {
  font-family: var(--font-heading);
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--charcoal);
}

.profile-card-meta {
  font-size: 0.88rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.profile-card-meta svg { width: 15px; height: 15px; color: var(--gold-dark); }

.profile-card-edu {
  font-size: 0.9rem;
  color: var(--charcoal-soft);
  font-weight: 500;
  margin-top: 0.2rem;
}

.profile-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--cream);
  color: var(--charcoal-soft);
  border: 1px solid var(--border);
}

.tag-gold { background: rgba(201, 168, 76, 0.12); color: var(--gold-dark); border-color: rgba(201, 168, 76, 0.35); }

.profile-card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border);
}

.profile-card-actions .btn { flex: 1; padding: 0.65rem 0.8rem; font-size: 0.88rem; }

/* Avatar placeholder (when no photo) */
.avatar-photo {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-photo .avatar-initials {
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  color: rgba(255, 248, 240, 0.92);
  text-shadow: 0 2px 12px rgba(61, 14, 30, 0.35);
}

.avatar-photo .avatar-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23E8D48B' stroke-width='1'%3E%3Cpath d='M30 6c7 0 12 5 12 12 0 9-12 19-12 19S18 27 18 18c0-7 5-12 12-12z'/%3E%3Ccircle cx='30' cy='18' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.avatar-photo .avatar-deco {
  position: absolute;
  bottom: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232, 212, 139, 0.85);
  font-weight: 600;
}

.profile-card-photo .avatar-photo::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1.5px dashed rgba(232, 212, 139, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.profile-card-photo .avatar-initials {
  font-size: 2.6rem;
}

/* ---------- 10. How It Works ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

/* Dashed gold connector between step cards (desktop) */
@media (min-width: 1025px) {
  .steps-grid::before {
    content: '';
    position: absolute;
    top: 61px;
    left: 10%;
    right: 10%;
    height: 0;
    border-top: 2px dashed rgba(201, 168, 76, 0.4);
    z-index: 0;
  }
}

.step-card {
  text-align: center;
  padding: 2rem 1.4rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med), box-shadow var(--t-med);
  position: relative;
}

.step-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.step-number {
  width: 58px;
  height: 58px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 18px rgba(122, 31, 61, 0.25);
  position: relative;
}

.step-card h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.9rem; color: var(--gray); }

/* ---------- 11. Success Stories ---------- */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.story-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}

.story-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.story-photo {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
}

.story-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-slow); }
.story-card:hover .story-photo img { transform: scale(1.06); }

.story-photo .story-year {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: rgba(255, 248, 240, 0.94);
  color: var(--maroon);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}

.story-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }

.story-couple {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--maroon);
}

.story-city {
  font-size: 0.85rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.15rem;
}

.story-city svg { width: 14px; height: 14px; color: var(--gold-dark); }

.story-quote {
  font-size: 0.94rem;
  color: var(--charcoal-soft);
  margin-top: 0.9rem;
  flex: 1;
  font-style: italic;
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid var(--gold-light);
}

/* Featured story banner */
.featured-story-card {
  position: relative;
  background:
    radial-gradient(ellipse at 88% 15%, rgba(201, 168, 76, 0.2), transparent 50%),
    linear-gradient(135deg, var(--maroon-deep), var(--maroon) 60%, var(--maroon-dark));
  border-radius: var(--radius-lg);
  padding: 2.2rem 2.4rem;
  color: var(--ivory);
  margin-bottom: 1.8rem;
  border: 1px solid rgba(201, 168, 76, 0.35);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.featured-story-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-opacity='0.14' stroke-width='1'%3E%3Cpath d='M40 8c8 0 14 6 14 14 0 10-14 22-14 22S26 32 26 22c0-8 6-14 14-14z'/%3E%3Ccircle cx='40' cy='22' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}

.featured-story-card * { position: relative; z-index: 1; }

.fs-quote-mark {
  font-family: var(--font-heading);
  font-size: 5.5rem;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.55;
  flex-shrink: 0;
  align-self: flex-start;
}

.fs-quote {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.55;
  color: rgba(255, 248, 240, 0.95);
  max-width: 720px;
}

.fs-couple {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.fs-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.fs-couple strong { color: var(--gold-light); font-size: 1.05rem; display: block; }
.fs-couple small { color: rgba(255, 248, 240, 0.7); font-size: 0.85rem; }

@media (max-width: 768px) {
  .featured-story-card { flex-direction: column; text-align: center; padding: 1.8rem 1.4rem; }
  .fs-quote-mark { font-size: 4rem; }
  .fs-quote { font-size: 1.1rem; }
  .fs-couple { justify-content: center; }
}

/* ---------- 12. CTA Banner ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 15% 30%, rgba(201, 168, 76, 0.25), transparent 50%),
    linear-gradient(135deg, var(--maroon-deep), var(--maroon) 60%, var(--maroon-dark));
  padding: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--ivory);
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M40 8c8 0 14 6 14 14 0 10-14 22-14 22S26 32 26 22c0-8 6-14 14-14z'/%3E%3Ccircle cx='40' cy='22' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}

.cta-banner * { position: relative; z-index: 1; }

.cta-banner h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--ivory);
  margin-bottom: 0.8rem;
}

.cta-banner p { color: rgba(255, 248, 240, 0.85); max-width: 560px; margin: 0 auto 1.8rem; }

.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ---------- 13. Stats ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-item { text-align: center; position: relative; }

/* Gold diamond separators between stats (desktop) */
@media (min-width: 1025px) {
  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -0.78rem;
    width: 8px;
    height: 8px;
    transform: translateY(-50%) rotate(45deg);
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    opacity: 0.7;
  }
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 248, 240, 0.8);
  margin-top: 0.3rem;
}

/* ---------- 14. Footer ---------- */
.site-footer {
  background: linear-gradient(160deg, var(--maroon-deep), #2A0A14 60%, #1F0710);
  color: rgba(255, 248, 240, 0.75);
  padding: var(--space-xl) 0 0;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-opacity='0.05' stroke-width='1'%3E%3Cpath d='M40 8c8 0 14 6 14 14 0 10-14 22-14 22S26 32 26 22c0-8 6-14 14-14z'/%3E%3Ccircle cx='40' cy='22' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  pointer-events: none;
}

/* Gold flourish line at footer top */
.site-footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand .brand-name { color: var(--ivory); }
.footer-brand .brand-tagline { color: var(--gold-light); }

.footer-about-text {
  font-size: 0.92rem;
  color: rgba(255, 248, 240, 0.65);
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 248, 240, 0.65);
  transition: all var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col a svg { width: 14px; height: 14px; opacity: 0.6; }

.footer-col a:hover { color: var(--gold-light); transform: translateX(4px); }

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 248, 240, 0.12);
  padding: 1.5rem 0;
  text-align: center;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}

.footer-copy { font-size: 0.85rem; color: rgba(255, 248, 240, 0.5); }

/* ---------- 15. Forms ---------- */
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal-soft);
}

.form-group label .req { color: var(--maroon); }

.form-control {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream-soft);
  font-size: 0.98rem;
  color: var(--charcoal);
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.18);
  background: var(--white);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.6rem;
}

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

.form-help { font-size: 0.8rem; color: var(--gray); }

.form-error {
  font-size: 0.8rem;
  color: #C0392B;
  display: none;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.2rem;
}

.form-error.show { display: flex; }

.form-group.invalid .form-control { border-color: #C0392B; }

/* ---------- 16. Auth pages ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  background:
    radial-gradient(ellipse at 15% 20%, rgba(201, 168, 76, 0.16), transparent 45%),
    radial-gradient(ellipse at 85% 85%, rgba(201, 168, 76, 0.12), transparent 40%),
    linear-gradient(135deg, var(--maroon-deep), var(--maroon) 60%, var(--maroon-dark));
  position: relative;
  overflow: hidden;
}

.auth-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M40 8c8 0 14 6 14 14 0 10-14 22-14 22S26 32 26 22c0-8 6-14 14-14z'/%3E%3Ccircle cx='40' cy='22' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.auth-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 460px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.6rem 2.4rem;
  animation: fadeInUp 0.7s ease both;
}

.auth-card.wide { max-width: 560px; }

.auth-card-head { text-align: center; margin-bottom: 1.8rem; }

.auth-card-head .auth-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.auth-card-head h1 { font-size: 1.7rem; margin: 0 0 0.3rem; }
.auth-card-head p { font-size: 0.92rem; color: var(--gray); }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.4rem 0;
  color: var(--gray-light);
  font-size: 0.82rem;
}

.auth-divider::before, .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.auth-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  margin-top: 0.4rem;
}

.auth-links a { color: var(--maroon); font-weight: 500; }
.auth-links a:hover { color: var(--gold-dark); }

.auth-foot {
  text-align: center;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--gray);
}

.auth-foot a { color: var(--maroon); font-weight: 600; }

/* ---------- 17. Register wizard ---------- */
.register-page {
  min-height: 100vh;
  padding: 3rem 1.25rem 5rem;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(201, 168, 76, 0.14), transparent 40%),
    linear-gradient(135deg, var(--maroon-deep), var(--maroon) 60%, var(--maroon-dark));
  position: relative;
}

.register-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-opacity='0.08' stroke-width='1'%3E%3Cpath d='M40 8c8 0 14 6 14 14 0 10-14 22-14 22S26 32 26 22c0-8 6-14 14-14z'/%3E%3Ccircle cx='40' cy='22' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.register-wrap {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
}

.register-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.4rem 2.4rem 2.8rem;
}

/* Progress steps */
.wizard-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.2rem;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 8%;
  right: 8%;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
}

.wizard-steps::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 8%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 3px;
  transition: width var(--t-med);
}

.ws-progress {
  position: absolute;
  top: 24px;
  left: 8%;
  height: 3px;
  width: 8%;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  border-radius: 3px;
  transition: width var(--t-med);
  z-index: 1;
}

.wizard-step {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 16.66%;
}

.wizard-step .ws-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--border);
  color: var(--gray-light);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t-med);
}

.wizard-step .ws-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--gray-light);
  text-align: center;
  line-height: 1.2;
  transition: color var(--t-med);
}

.wizard-step.active .ws-dot {
  border-color: var(--gold);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold-light);
  box-shadow: 0 0 0 5px rgba(201, 168, 76, 0.15);
}

.wizard-step.active .ws-label { color: var(--maroon); }

.wizard-step.done .ws-dot {
  border-color: var(--green);
  background: var(--green);
  color: var(--white);
}

.wizard-panel { display: none; animation: fadeInUp 0.45s ease both; }
.wizard-panel.active { display: block; }

.wizard-panel-title {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.wizard-panel-sub {
  font-size: 0.92rem;
  color: var(--gray);
  margin-bottom: 1.6rem;
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* Photo upload */
.photo-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--cream-soft);
  transition: border-color var(--t-fast), background var(--t-fast);
}

.photo-upload:hover, .photo-upload.dragover {
  border-color: var(--gold);
  background: rgba(201, 168, 76, 0.06);
}

.photo-upload .pu-preview {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  overflow: hidden;
  border: 3px solid var(--gold);
}

.photo-upload .pu-preview img { width: 100%; height: 100%; object-fit: cover; }

.photo-upload .pu-preview svg { width: 44px; height: 44px; }

.photo-upload p { font-size: 0.88rem; color: var(--gray); text-align: center; }

/* ---------- 18. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201, 168, 76, 0.16), transparent 45%),
    linear-gradient(135deg, var(--maroon-deep), var(--maroon) 55%, var(--maroon-dark));
  color: var(--ivory);
  padding: clamp(3.2rem, 7vw, 5rem) 0;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M40 8c8 0 14 6 14 14 0 10-14 22-14 22S26 32 26 22c0-8 6-14 14-14z'/%3E%3Ccircle cx='40' cy='22' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.page-hero * { position: relative; z-index: 1; }

.page-hero .eyebrow { color: var(--gold-light); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: linear-gradient(90deg, transparent, var(--gold-light)); }
.page-hero .eyebrow::after { background: linear-gradient(90deg, var(--gold-light), transparent); }

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ivory);
  margin: 0.8rem 0 0.6rem;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 248, 240, 0.85);
  max-width: 620px;
  margin: 0 auto;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 248, 240, 0.7);
  margin-top: 1rem;
}

.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb svg { width: 14px; height: 14px; }

/* ---------- 19. Content pages (legal, about) ---------- */
.content-page {
  max-width: 860px;
  margin: 0 auto;
  padding: var(--space-xl) 1.25rem;
}

.content-block { margin-bottom: 2.2rem; }

.content-block h2 {
  font-size: 1.55rem;
  color: var(--maroon);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.content-block h2 .cb-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.14);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.content-block h2 .cb-icon svg { width: 19px; height: 19px; }

.content-block p { color: var(--charcoal-soft); margin-bottom: 0.9rem; }
.content-block ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.content-block ul li {
  color: var(--charcoal-soft);
  padding-left: 1.4rem;
  position: relative;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.content-block strong { color: var(--maroon); }

/* ---------- 20. FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow var(--t-med);
}

.faq-item.open { box-shadow: inset 4px 0 0 var(--gold), var(--shadow-md); border-color: rgba(201, 168, 76, 0.5); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  transition: color var(--t-fast);
}

.faq-q:hover { color: var(--maroon); }

.faq-q .faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.14);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--t-med), background var(--t-med);
}

.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--maroon); color: var(--ivory); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med);
}

.faq-a-inner {
  padding: 0 1.5rem 1.4rem;
  color: var(--gray);
  font-size: 0.96rem;
  line-height: 1.75;
}

/* ---------- 21. Membership pricing ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8rem;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2.4rem 2.2rem;
  position: relative;
  transition: transform var(--t-med), box-shadow var(--t-med);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.pricing-card.featured {
  border: 2px solid var(--gold);
  background: linear-gradient(180deg, var(--cream-soft), var(--white) 40%);
  box-shadow: var(--shadow-gold);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 45%, var(--gold-dark));
  color: var(--maroon-deep);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}

.pricing-card h3 { font-size: 1.5rem; color: var(--maroon); }

.pricing-price {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin: 0.6rem 0 0.2rem;
}

.pricing-price small { font-size: 0.9rem; color: var(--gray); font-family: var(--font-body); font-weight: 400; }

.pricing-desc { font-size: 0.9rem; color: var(--gray); margin-bottom: 1.4rem; }

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.8rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.94rem;
  color: var(--charcoal-soft);
}

.pricing-features li svg {
  width: 18px;
  height: 18px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li.off { color: var(--gray-light); }
.pricing-features li.off svg { color: var(--gray-light); }

/* ---------- 22. Profile detail ---------- */
.profile-hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(201, 168, 76, 0.16), transparent 45%),
    linear-gradient(135deg, var(--maroon-deep), var(--maroon) 55%, var(--maroon-dark));
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23C9A84C' stroke-opacity='0.10' stroke-width='1'%3E%3Cpath d='M40 8c8 0 14 6 14 14 0 10-14 22-14 22S26 32 26 22c0-8 6-14 14-14z'/%3E%3Ccircle cx='40' cy='22' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
}

.profile-hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.profile-hero-photo {
  width: 190px;
  height: 190px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--maroon), var(--maroon-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.profile-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.profile-hero-photo .avatar-initials {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: rgba(255, 248, 240, 0.92);
}

.profile-hero-info h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--ivory);
  margin-bottom: 0.4rem;
}

.profile-hero-basics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  color: rgba(255, 248, 240, 0.85);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

.profile-hero-basics span { display: inline-flex; align-items: center; gap: 0.4rem; }
.profile-hero-basics svg { width: 17px; height: 17px; color: var(--gold-light); }

.profile-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.profile-hero-id {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255, 248, 240, 0.7);
  background: rgba(61, 14, 30, 0.45);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201, 168, 76, 0.35);
}

/* Detail sections */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1.8rem;
  padding: var(--space-xl) 0;
}

.detail-main { display: flex; flex-direction: column; gap: 1.8rem; }

.detail-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem;
}

.detail-card-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--border);
}

.detail-card-head .dc-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(122, 31, 61, 0.08), rgba(201, 168, 76, 0.12));
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-card-head .dc-icon svg { width: 20px; height: 20px; }

.detail-card-head h2 { font-size: 1.25rem; margin: 0; }

.detail-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem 1.5rem;
}

.detail-row { display: flex; flex-direction: column; gap: 0.15rem; }

.detail-row .dr-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-row .dr-value {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--charcoal);
}

.detail-row.full { grid-column: 1 / -1; }

.detail-text { font-size: 0.97rem; color: var(--charcoal-soft); line-height: 1.8; }

/* Sidebar */
.detail-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
}

.sidebar-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--border);
  color: var(--maroon);
}

.interest-list { display: flex; flex-direction: column; gap: 0.7rem; }
.interest-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.92rem; color: var(--charcoal-soft); }
.interest-list li svg { width: 18px; height: 18px; color: var(--gold-dark); flex-shrink: 0; }

.safety-note {
  background: var(--cream);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  font-size: 0.86rem;
  color: var(--charcoal-soft);
  display: flex;
  gap: 0.7rem;
}

.safety-note svg { width: 20px; height: 20px; color: var(--gold-dark); flex-shrink: 0; margin-top: 2px; }

.report-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  color: var(--gray);
  font-size: 0.88rem;
  font-weight: 500;
  transition: all var(--t-fast);
}

.report-link:hover { border-color: #C0392B; color: #C0392B; background: rgba(192, 57, 43, 0.04); }
.report-link svg { width: 17px; height: 17px; }

/* ---------- 23. Filters (profiles page) ---------- */
.profiles-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1.8rem;
  padding: var(--space-lg) 0;
}

.filter-panel {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 90px;
}

.filter-panel h3 {
  font-size: 1.1rem;
  color: var(--maroon);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.filter-panel h3 svg { width: 20px; height: 20px; }

.filter-group { margin-bottom: 1.2rem; }

.filter-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--charcoal-soft);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-group select, .filter-group input {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--cream-soft);
  font-size: 0.9rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}

.filter-group select:focus, .filter-group input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.filter-range { display: flex; align-items: center; gap: 0.5rem; }
.filter-range input { text-align: center; }
.filter-range span { color: var(--gray); font-size: 0.85rem; }

.filter-actions { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.2rem; }

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.results-count { font-size: 0.95rem; color: var(--gray); }
.results-count strong { color: var(--maroon); }

.sort-select {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray);
}

.sort-select select {
  padding: 0.55rem 2.2rem 0.55rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.9rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
}

/* Mobile filter button (hidden on desktop) */
.mobile-filter-btn { display: none; }

/* Bottom sheet */
.sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(61, 14, 30, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med), visibility var(--t-med);
}

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

.sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1201;
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 1.5rem 1.25rem 2rem;
  transform: translateY(100%);
  transition: transform var(--t-med);
  max-height: 85vh;
  overflow-y: auto;
}

.sheet.open { transform: translateY(0); }

.sheet-handle {
  width: 44px;
  height: 5px;
  border-radius: 3px;
  background: var(--border);
  margin: 0 auto 1.2rem;
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.sheet-head h3 { font-size: 1.15rem; color: var(--maroon); }

.sheet-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(122, 31, 61, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--maroon);
  font-size: 1.1rem;
}

/* ---------- 24. Toast ---------- */
.toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.toast {
  background: var(--charcoal);
  color: var(--white);
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  animation: toastIn 0.4s ease both;
  max-width: 340px;
}

.toast.success { background: var(--green); }
.toast.error { background: #C0392B; }
.toast svg { width: 20px; height: 20px; flex-shrink: 0; }

.toast.hide { animation: toastOut 0.4s ease both; }

/* ---------- 25. Pagination ---------- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.pagination button {
  min-width: 42px;
  height: 42px;
  padding: 0 0.8rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--charcoal-soft);
  font-weight: 500;
  transition: all var(--t-fast);
}

.pagination button:hover { border-color: var(--gold); color: var(--maroon); }
.pagination button.active { background: linear-gradient(135deg, var(--maroon), var(--maroon-dark)); color: var(--ivory); border-color: var(--maroon); }
.pagination button:disabled { opacity: 0.4; cursor: not-allowed; }

/* ---------- 26. Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  padding: var(--space-xl) 0;
}

.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }

.contact-card {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem;
  transition: transform var(--t-med), box-shadow var(--t-med);
}

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

.contact-card .cc-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(122, 31, 61, 0.08), rgba(201, 168, 76, 0.12));
  border: 1px solid rgba(201, 168, 76, 0.4);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card .cc-icon svg { width: 22px; height: 22px; }

.contact-card h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.contact-card p { font-size: 0.9rem; color: var(--gray); }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

/* ---------- 27. Misc utilities ---------- */
.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; }

.hidden { display: none !important; }

.divider-gold {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: none;
  margin: 2rem auto;
  max-width: 300px;
}

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

/* Back to top */
.back-top {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 950;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--t-med);
}

.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); }
.back-top svg { width: 20px; height: 20px; }

/* Compact profile list item */
.compact-profile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast);
}

.compact-profile:hover { background: var(--cream); }

.compact-profile .cp-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}

.compact-profile .cp-info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.compact-profile .cp-info strong { font-size: 0.95rem; color: var(--charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-profile .cp-info small { font-size: 0.8rem; color: var(--gray); }
.compact-profile .cp-arrow { color: var(--gold-dark); font-size: 1.1rem; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}

.empty-state .es-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty-state .es-icon svg { width: 34px; height: 34px; }
.empty-state h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.empty-state p { color: var(--gray); font-size: 0.95rem; }