/* ==========================================================================
   Rajatamil Matrimony — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Poppins:wght@400;500;600;700&family=Noto+Sans+Tamil:wght@400;500;600;700&display=swap');

/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
  --brand-500: #8C2D4B;
  --brand-600: #6E1F3A;
  --brand-700: #4F1529;
  --brand-100: #F3DDE4;
  --brand-50:  #FBF3F5;
  --brand-rgb: 140, 45, 75;
  --blue-500:  #3B82F6;
  --blue-600:  #2563EB;
  --gold-500:  #D4A657;
  --gold-600:  #B98A3A;
  --cream:     #FAF6EF;
  --cream-line:#EFE7D8;
  --ink-900:   #1C1B1F;
  --ink-700:   #3A3840;
  --grey-500:  #6B6B76;
  --grey-300:  #C9C6CE;
  --grey-100:  #EDEBF0;
  --white:     #FFFFFF;
  --success:   #34A853;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Poppins', 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm:   10px;
  --r-md:   16px;
  --r-lg:   24px;
  --r-xl:   32px;
  --r-pill: 999px;

  --shadow-card:       0 8px 30px rgba(28,27,31,0.08);
  --shadow-card-hover: 0 16px 40px rgba(28,27,31,0.14);
  --shadow-pill:       0 10px 24px rgba(var(--brand-rgb),0.35);
}

/* ── Theme variants ─────────────────────────────────────────────────────────── */
[data-theme="maroon"]  { --brand-500:#8C2D4B; --brand-600:#6E1F3A; --brand-700:#4F1529; --brand-100:#F3DDE4; --brand-50:#FBF3F5; --brand-rgb:140,45,75; }
[data-theme="pink"]    { --brand-500:#E84FB0; --brand-600:#C93D96; --brand-700:#A62E7C; --brand-100:#FBE0F0; --brand-50:#FDF1F8; --brand-rgb:232,79,176; }
[data-theme="saffron"] { --brand-500:#E0782E; --brand-600:#C1611F; --brand-700:#8A4013; --brand-100:#FBE3D2; --brand-50:#FDF3EA; --brand-rgb:224,120,46; }
[data-theme="teal"]    { --brand-500:#1F7A6C; --brand-600:#155E52; --brand-700:#0F433A; --brand-100:#DCEFEC; --brand-50:#F0F9F7; --brand-rgb:31,122,108; }
[data-theme="purple"]  { --brand-500:#6B2D6E; --brand-600:#501F52; --brand-700:#3A1640; --brand-100:#EFE0F1; --brand-50:#F9F2FA; --brand-rgb:107,45,110; }
[data-theme="emerald"] { --brand-500:#0F7A5C; --brand-600:#0C5F47; --brand-700:#083D2E; --brand-100:#D9EFE6; --brand-50:#F0F9F5; --brand-rgb:15,122,92; }
[data-theme="bottle"]  { --brand-500:#173F31; --brand-600:#0F2B21; --brand-700:#0A1D16; --brand-100:#DCE7E1; --brand-50:#F0F5F2; --brand-rgb:23,63,49; }
[data-theme="sage"]    { --brand-500:#6B7F5E; --brand-600:#54634A; --brand-700:#3D4836; --brand-100:#E7EBE3; --brand-50:#F4F6F2; --brand-rgb:107,127,94; }

/* SVG brand colour helpers */
.brand-fill   { fill:   var(--brand-500); }
.brand-stroke { stroke: var(--brand-500); }

/* ── Reset / base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; color: var(--grey-500); }
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

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

/* ── Floral background motif ────────────────────────────────────────────────── */
.floral-bg { position: relative; overflow: hidden; }
.floral-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%238C2D4B' stroke-opacity='0.07' stroke-width='1.5'%3E%3Ccircle cx='110' cy='60' r='26'/%3E%3Ccircle cx='84' cy='100' r='26'/%3E%3Ccircle cx='136' cy='100' r='26'/%3E%3Ccircle cx='110' cy='140' r='26'/%3E%3Ccircle cx='60' cy='140' r='20'/%3E%3Ccircle cx='160' cy='140' r='20'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 220px 220px;
  pointer-events: none;
  z-index: 0;
}
.floral-bg > * { position: relative; z-index: 1; }

/* Theme-specific floral colours */
[data-theme="pink"]    .floral-bg::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23E84FB0' stroke-opacity='0.07' stroke-width='1.5'%3E%3Ccircle cx='110' cy='60' r='26'/%3E%3Ccircle cx='84' cy='100' r='26'/%3E%3Ccircle cx='136' cy='100' r='26'/%3E%3Ccircle cx='110' cy='140' r='26'/%3E%3Ccircle cx='60' cy='140' r='20'/%3E%3Ccircle cx='160' cy='140' r='20'/%3E%3C/g%3E%3C/svg%3E"); }
[data-theme="saffron"] .floral-bg::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23E0782E' stroke-opacity='0.07' stroke-width='1.5'%3E%3Ccircle cx='110' cy='60' r='26'/%3E%3Ccircle cx='84' cy='100' r='26'/%3E%3Ccircle cx='136' cy='100' r='26'/%3E%3Ccircle cx='110' cy='140' r='26'/%3E%3Ccircle cx='60' cy='140' r='20'/%3E%3Ccircle cx='160' cy='140' r='20'/%3E%3C/g%3E%3C/svg%3E"); }
[data-theme="teal"]    .floral-bg::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%231F7A6C' stroke-opacity='0.07' stroke-width='1.5'%3E%3Ccircle cx='110' cy='60' r='26'/%3E%3Ccircle cx='84' cy='100' r='26'/%3E%3Ccircle cx='136' cy='100' r='26'/%3E%3Ccircle cx='110' cy='140' r='26'/%3E%3Ccircle cx='60' cy='140' r='20'/%3E%3Ccircle cx='160' cy='140' r='20'/%3E%3C/g%3E%3C/svg%3E"); }
[data-theme="purple"]  .floral-bg::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%236B2D6E' stroke-opacity='0.07' stroke-width='1.5'%3E%3Ccircle cx='110' cy='60' r='26'/%3E%3Ccircle cx='84' cy='100' r='26'/%3E%3Ccircle cx='136' cy='100' r='26'/%3E%3Ccircle cx='110' cy='140' r='26'/%3E%3Ccircle cx='60' cy='140' r='20'/%3E%3Ccircle cx='160' cy='140' r='20'/%3E%3C/g%3E%3C/svg%3E"); }
[data-theme="emerald"] .floral-bg::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%230F7A5C' stroke-opacity='0.07' stroke-width='1.5'%3E%3Ccircle cx='110' cy='60' r='26'/%3E%3Ccircle cx='84' cy='100' r='26'/%3E%3Ccircle cx='136' cy='100' r='26'/%3E%3Ccircle cx='110' cy='140' r='26'/%3E%3Ccircle cx='60' cy='140' r='20'/%3E%3Ccircle cx='160' cy='140' r='20'/%3E%3C/g%3E%3C/svg%3E"); }
[data-theme="bottle"]  .floral-bg::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%23173F31' stroke-opacity='0.07' stroke-width='1.5'%3E%3Ccircle cx='110' cy='60' r='26'/%3E%3Ccircle cx='84' cy='100' r='26'/%3E%3Ccircle cx='136' cy='100' r='26'/%3E%3Ccircle cx='110' cy='140' r='26'/%3E%3Ccircle cx='60' cy='140' r='20'/%3E%3Ccircle cx='160' cy='140' r='20'/%3E%3C/g%3E%3C/svg%3E"); }
[data-theme="sage"]    .floral-bg::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%236B7F5E' stroke-opacity='0.07' stroke-width='1.5'%3E%3Ccircle cx='110' cy='60' r='26'/%3E%3Ccircle cx='84' cy='100' r='26'/%3E%3Ccircle cx='136' cy='100' r='26'/%3E%3Ccircle cx='110' cy='140' r='26'/%3E%3Ccircle cx='60' cy='140' r='20'/%3E%3Ccircle cx='160' cy='140' r='20'/%3E%3C/g%3E%3C/svg%3E"); }

/* ── Buttons ─────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
  color: var(--white);
  box-shadow: var(--shadow-pill);
}
.btn-primary:hover { box-shadow: 0 14px 30px rgba(var(--brand-rgb),.45); }

.btn-secondary { background: var(--brand-100); color: var(--brand-700); }
.btn-secondary:hover { background: #F6CCE6; }

.btn-outline {
  background: transparent;
  color: var(--ink-900);
  border: 1.5px solid var(--grey-300);
}
.btn-outline:hover { border-color: var(--ink-900); }

.btn-block { width: 100%; }
.btn-sm    { padding: 10px 20px; font-size: 14px; }

/* ── Header / Nav ────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--grey-100);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink-900);
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand { flex-shrink: 0; }
.brand-logo { height: 44px; width: auto; display: block; }
@media (max-width: 600px) { .brand-logo { height: 36px; } }
/* Nav sits just after the logo; actions pushed to the far right (desktop only) */
@media (min-width: 901px) {
  .site-header nav { margin-left: 48px; }
  .nav-actions { margin-left: auto; flex-shrink: 0; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-700);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brand-600); border-color: var(--brand-500); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink-900);
  margin: 5px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--grey-100);
    box-shadow: var(--shadow-card);
  }
  .nav-links.nav-open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--grey-100);
    border-left: none;
  }
  .nav-links a.active,
  .nav-links a:hover { border-color: var(--grey-100); color: var(--brand-600); }
  .nav-links .nav-mobile-login { display: block; }
  .nav-toggle { display: block; }
  .nav-actions .btn-outline { display: none; }
}
@media (min-width: 901px) { .nav-mobile-login { display: none; } }

/* ── Hero section ────────────────────────────────────────────────────────────── */
.hero { padding: 64px 0 56px; overflow: hidden; }
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-100);
  color: var(--brand-700);
  padding: 8px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero h1        { font-size: 48px; color: var(--ink-900); margin-bottom: 20px; }
.hero h1 em     { font-style: italic; color: var(--brand-600); }
.hero p.lead    { font-size: 17px; max-width: 460px; margin-bottom: 32px; }
.hero-ctas      { display: flex; gap: 14px; margin-bottom: 40px; flex-wrap: wrap; }
.hero-stats     { display: flex; gap: 36px; }
.hero-stat b    { display: block; font-family: var(--font-display); font-size: 26px; color: var(--ink-900); }
.hero-stat span { font-size: 13px; color: var(--grey-500); }

/* ── Search card ─────────────────────────────────────────────────────────────── */
.search-card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-card-hover);
  padding: 36px;
  position: relative;
  z-index: 1;
}
.search-card h3 {
  font-size: 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-card h3 svg { color: var(--brand-500); }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group select,
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"] {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--grey-300);
  border-radius: var(--r-md);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink-900);
  background: var(--white);
  transition: border-color .15s ease;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--brand-500);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--grey-500);
  pointer-events: none;
}

/* ── Orbit visual ────────────────────────────────────────────────────────────── */
.orbit-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1/1;
  margin: 0 auto;
}
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(var(--brand-rgb),.25);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.orbit-ring.r1 { width: 100%; height: 100%; }
.orbit-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 68%; height: 68%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-100) 0%, rgba(251,224,240,0) 70%);
}
.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-center svg { width: 44px; height: 44px; }
.orbit-avatar {
  position: absolute;
  top: 50%; left: 50%;
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(28,27,31,.15);
  border: 3px solid var(--white);
  animation: orbit-float 6s ease-in-out infinite;
}
.orbit-avatar svg { width: 46%; height: 46%; opacity: .9; }
.orbit-avatar.a1 { transform: rotate(0deg)   translate(185px) rotate(0deg);    animation-delay: 0s; }
.orbit-avatar.a2 { transform: rotate(51deg)  translate(185px) rotate(-51deg);  animation-delay: .3s; }
.orbit-avatar.a3 { transform: rotate(102deg) translate(185px) rotate(-102deg); animation-delay: .6s; }
.orbit-avatar.a4 { transform: rotate(154deg) translate(185px) rotate(-154deg); animation-delay: .9s; }
.orbit-avatar.a5 { transform: rotate(205deg) translate(185px) rotate(-205deg); animation-delay: 1.2s; }
.orbit-avatar.a6 { transform: rotate(257deg) translate(185px) rotate(-257deg); animation-delay: 1.5s; }
.orbit-avatar.a7 { transform: rotate(308deg) translate(185px) rotate(-308deg); animation-delay: 1.8s; }
@keyframes orbit-float {
  0%,100% { margin-top: -32px; }
  50%      { margin-top: -42px; }
}
@media (prefers-reduced-motion: reduce) { .orbit-avatar { animation: none; } }

.orbit-pin {
  position: absolute;
  width: 34px; height: 34px;
  border-radius: 50% 50% 50% 0;
  background: var(--brand-500);
  transform: translate(-50%,-50%) rotate(45deg);
  top: 10%; right: 8%;
  box-shadow: 0 6px 14px rgba(var(--brand-rgb),.4);
}
.orbit-pin svg { transform: rotate(-45deg); width: 16px; height: 16px; margin: 9px 0 0 9px; }

/* ── Section / utility ───────────────────────────────────────────────────────── */
.section       { padding: 96px 0; }
.section-tight { padding: 56px 0; }
.text-center   { text-align: center; }
.section-head  { max-width: 640px; margin: 0 auto 56px; }
.section-head.left { margin: 0 0 48px; }
.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-bottom: 12px;
  display: block;
}
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* ── Cards ───────────────────────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease, transform .2s ease;
}

/* Avatar placeholder */
.avatar-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.avatar-placeholder img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.avatar-placeholder svg { width: 40%; height: 40%; opacity: .85; }
.avatar-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55) 100%);
}
.av-1 { background: linear-gradient(135deg, #F3DDE4, var(--brand-500)); }
.av-2 { background: linear-gradient(135deg, #B8D4F7, #3B82F6); }
.av-3 { background: linear-gradient(135deg, #F6E3B4, #D4A657); }
.av-4 { background: linear-gradient(135deg, #C9E7D6, #34A853); }
.av-5 { background: linear-gradient(135deg, #E3D3F7, #9B6FD8); }
.av-6 { background: linear-gradient(135deg, #F7CFC0, #E8734F); }
.av-7 { background: linear-gradient(135deg, #CCE8F4, #1D90C8); }

/* ── Profile mini card ───────────────────────────────────────────────────────── */
.profile-mini { overflow: hidden; display: block; color: inherit; }
.profile-mini-body { padding: 14px 16px; }
.profile-mini-body h4     { font-size: 15px; margin: 0 0 2px; color: var(--ink-900); }
.profile-mini-body .city  { font-size: 13px; color: var(--grey-500); display: block; margin-bottom: 4px; }
.profile-mini-body .caste { font-size: 12px; color: var(--brand-600); font-weight: 600; }
.profile-mini:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-4px); }

/* ── Profile carousel ────────────────────────────────────────────────────────── */
.profiles-scroll-wrap { position: relative; }
.profiles-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) { .profiles-scroll { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .profiles-scroll { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .profiles-scroll { grid-template-columns: 1fr 1fr; gap:12px; } }

/* ── Feature grid ────────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
}
.feature-card { padding: 32px; border-radius: var(--r-lg); background: var(--cream); }
.feature-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}
.feature-icon svg { width: 26px; height: 26px; color: var(--brand-600); }
.feature-card h3 { font-size: 19px; margin-bottom: 8px; }
.feature-card p  { font-size: 14px; margin: 0; }
@media (max-width: 900px) { .feature-grid { grid-template-columns: 1fr; } }

/* ── Branch carousel ─────────────────────────────────────────────────────────── */
.branches-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
@media (max-width: 900px) { .branches-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) { .branches-grid { grid-template-columns: 1fr; } }

.branch-card { overflow: hidden; }
.branch-card img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) 0 0; }
.branch-body { padding: 18px 20px; }
.branch-body h4 { font-size: 16px; margin: 0 0 6px; }
.branch-body p  { font-size: 13px; margin: 0 0 12px; }
.branch-body a  { font-size: 13px; font-weight: 600; color: var(--brand-600); }
.branch-body a:hover { text-decoration: underline; }

/* ── Membership teaser ───────────────────────────────────────────────────────── */
.membership-teaser {
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, #241A2E, #3B1730);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.membership-teaser::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212,166,87,.25), transparent 70%);
  top: -200px; right: -150px;
  pointer-events: none;
}
.membership-teaser h2 { color: var(--white); font-size: 34px; }
.membership-teaser p  { color: rgba(255,255,255,.7); }
.vip-medal {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .membership-teaser { grid-template-columns: 1fr; padding: 40px 28px; text-align: center; }
}

/* ── Badges & chips ──────────────────────────────────────────────────────────── */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 13px;
  font-weight: 500;
}
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #F6E3B4, #E9C270);
  color: #6B4E10;
  font-size: 12px;
  font-weight: 600;
}

/* ── Theme switcher ──────────────────────────────────────────────────────────── */
.theme-switcher { position: relative; }
.theme-toggle {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--grey-100);
  background: var(--brand-500);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.theme-toggle:hover { transform: scale(1.08); }
.theme-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--grey-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card-hover);
  padding: 16px;
  width: 240px;
  display: none;
  z-index: 60;
}
.theme-panel.open { display: block; }
.theme-panel h5 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--grey-500);
  margin: 0 0 12px;
}
.theme-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.theme-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: none; border: none; cursor: pointer; padding: 4px 0;
  font-family: var(--font-body);
}
.theme-swatch .dot {
  width: 30px; height: 30px; border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color .15s ease, transform .15s ease;
}
.theme-swatch:hover .dot     { transform: scale(1.1); }
.theme-swatch.active .dot    { border-color: var(--ink-900); }
.theme-swatch span           { font-size: 10.5px; color: var(--grey-500); text-align: center; }
.theme-swatch.active span    { color: var(--ink-900); font-weight: 600; }
@media (max-width: 900px) { .theme-panel { right: -8px; } }

/* ── Footer ──────────────────────────────────────────────────────────────────── */
.site-footer {
  background: var(--cream);
  border-top: 1px solid var(--cream-line);
  padding: 56px 0 28px;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--cream-line);
}
.footer-brand p { max-width: 280px; font-size: 14px; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-900);
  margin-bottom: 14px;
}
.footer-col div       { font-size: 14px; color: var(--grey-500); margin-bottom: 8px; }
.footer-col div a     { color: var(--grey-500); transition: color .15s ease; }
.footer-col div a:hover { color: var(--brand-600); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 13px;
  color: var(--grey-500);
}
.footer-bottom a { color: var(--brand-600); }
.social-row { display: flex; gap: 10px; }
.social-row a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--cream-line);
  transition: background .15s ease, transform .15s ease;
}
.social-row a:hover { background: var(--brand-100); transform: translateY(-2px); }
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ── Hero responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; }
  .orbit-wrap { max-width: 320px; }
  .orbit-avatar.a1 { transform: rotate(0deg)   translate(135px) rotate(0deg); }
  .orbit-avatar.a2 { transform: rotate(51deg)  translate(135px) rotate(-51deg); }
  .orbit-avatar.a3 { transform: rotate(102deg) translate(135px) rotate(-102deg); }
  .orbit-avatar.a4 { transform: rotate(154deg) translate(135px) rotate(-154deg); }
  .orbit-avatar.a5 { transform: rotate(205deg) translate(135px) rotate(-205deg); }
  .orbit-avatar.a6 { transform: rotate(257deg) translate(135px) rotate(-257deg); }
  .orbit-avatar.a7 { transform: rotate(308deg) translate(135px) rotate(-308deg); }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .search-card { padding: 24px; }
}
@media (max-width: 600px) {
  .hero { padding: 40px 0 36px; }
  .hero h1 { font-size: 30px; }
  .hero-ctas .btn { width: 100%; text-align: center; }
}

/* ── Section header flex row ─────────────────────────────────────────────────── */
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-header-row h2 { margin: 0; }

/* ── "No profiles" empty state ───────────────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 48px 24px;
  color: var(--grey-500);
  font-size: 15px;
}
