/* ── Self-hosted fonts ── */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/playfair-400.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/playfair-600.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/playfair-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('/static/fonts/inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/inter-600.woff2') format('woff2'); }

/* ── Variables ── */
:root {
  --bg: #faf9f6;
  --surface: #ffffff;
  --border: #e8e4de;
  --text: #1c1c1e;
  --text-muted: #6b6760;
  --gold: #c9943a;
  --gold-light: #f5e9d4;
  --gold-dark: #a07328;
  --navy: #1a2238;
  --green: #2d7a4f;
  --green-light: #e6f4ec;
  --red: #c0392b;
  --red-light: #fdecea;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.10);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Container ── */
.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow { max-width: 720px; }

/* ── Nav ── */
.nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.nav-logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.9rem;
}
.nav-links a { color: var(--text-muted); font-weight: 500; }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-name {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--text-muted); }
.btn-sm { padding: 7px 16px; font-size: 0.85rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* ── Hero ── */
.hero {
  padding: 80px 0 72px;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  background-image:
    linear-gradient(135deg, rgba(15,22,40,0.72) 0%, rgba(26,34,56,0.60) 100%),
    url('/static/images/hero-istanbul.png');
}

.hero::after {
  background-image:
    linear-gradient(135deg, rgba(15,22,40,0.72) 0%, rgba(26,34,56,0.60) 100%),
    url('/static/images/hero-others.png');
  opacity: 0;
  animation: heroFade 16s ease-in-out infinite;
}

@keyframes heroFade {
  0%, 5%   { opacity: 0; }
  25%, 55% { opacity: 1; }
  75%, 100% { opacity: 0; }
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 20px;
}
.hero-tagline {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  margin-top: 12px;
  margin-bottom: 0;
  font-style: italic;
  letter-spacing: 0.01em;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-top: 52px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { color: #fff; border-color: rgba(255,255,255,0.4); }
.hero .btn-outline:hover { border-color: rgba(255,255,255,0.8); }

/* Hero decoration */
.hero-decoration {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}
.deco-circle {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(201,148,58,0.35);
}
.deco-1 { width: 260px; height: 260px; }
.deco-2 { width: 180px; height: 180px; border-color: rgba(201,148,58,0.5); }
.deco-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.deco-text span {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}
.deco-text span:nth-child(5) { color: var(--gold); font-weight: 700; font-size: 1.1rem; }

/* ── Value props ── */
.values {
  padding: 72px 0;
  background: var(--surface);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
}
.value-card {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  text-decoration: none;
  display: block;
}
.value-card--link {
  border-color: var(--gold);
  background: var(--gold-light);
  transition: box-shadow 0.15s, border-color 0.15s;
}
.value-card--link:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold-dark);
  text-decoration: none;
}
.value-card-cta {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
}
.value-icon { font-size: 2rem; margin-bottom: 14px; }
.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.value-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }


/* ── How it works ── */
.how {
  padding: 72px 0;
  background: var(--bg);
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 12px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  padding: 0 16px;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.step p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  margin-top: 16px;
  flex-shrink: 0;
}

/* ── Request form ── */
.form-section {
  padding: 72px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.form-section .section-title { text-align: left; }
.form-section .section-sub { text-align: left; }

.request-form { margin-top: 36px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group-wide { grid-column: span 1; }
.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.required { color: var(--gold); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.15s;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--surface);
}
.form-group textarea { resize: vertical; }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6760' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-submit { margin-top: 8px; }

/* ── CTA section ── */
.cta-section {
  padding: 80px 0;
  background: var(--navy);
}
.cta-inner {
  text-align: center;
  color: #fff;
}
.cta-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.cta-inner p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.cta-guest {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}
.cta-guest a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
}
.cta-guest a:hover { color: #fff; }

/* ── Auth pages ── */
.auth-page {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-md);
}
.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.auth-sub { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 32px; }
.auth-form .form-group { margin-bottom: 18px; }
.auth-form .btn { margin-top: 8px; }
.auth-switch {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Alerts ── */
.alert {
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  font-weight: 500;
}
.alert-error { background: var(--red-light); color: var(--red); border: 1px solid #f5c6c2; }
.alert-success { background: var(--green-light); color: var(--green); border: 1px solid #b7e0c8; }

/* ── Page layout ── */
.page { padding: 48px 0 80px; }
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 16px;
}
.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.page-sub { color: var(--text-muted); font-size: 0.95rem; }

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-pending { background: #fef3cd; color: #856404; }
.badge-replied { background: var(--green-light); color: var(--green); }

/* ── Request cards ── */
.requests-list { display: flex; flex-direction: column; gap: 12px; }
.request-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.request-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.request-card--replied { border-left: 4px solid var(--green); }
.request-city {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.request-client { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 6px; }
.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}
.request-meta span {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 2px 10px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.request-notes { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }
.request-card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}
.request-date { font-size: 0.8rem; color: var(--text-muted); }

/* ── Filter tabs ── */
.filter-tabs { display: flex; gap: 4px; margin-bottom: 28px; }
.filter-tab {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.15s;
}
.filter-tab:hover { background: var(--border); color: var(--text); text-decoration: none; }
.filter-tab.active { background: var(--navy); color: #fff; }

/* ── Detail page ── */
.back-link {
  display: inline-block;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
}
.back-link:hover { color: var(--text); text-decoration: none; }
.detail-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.detail-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
}
.client-info {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.detail-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.detail-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 20px;
}
.detail-fields {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px 24px;
  align-items: start;
}
.detail-fields dt {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}
.detail-fields dd {
  font-size: 0.9rem;
  color: var(--text);
}

/* ── Recommendation ── */
.recommendation-card {
  background: linear-gradient(135deg, #fffbf3 0%, #fff9ed 100%);
  border: 1.5px solid #e8d5a8;
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.rec-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.rec-icon { font-size: 1.5rem; }
.rec-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
}
.rec-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-wrap;
}
.rec-date { font-size: 0.8rem; color: var(--text-muted); margin-top: 20px; }

.pending-state {
  background: var(--gold-light);
  border: 1px solid #e8d5a8;
  border-radius: var(--radius);
  padding: 24px;
  font-size: 0.95rem;
  color: #7a5c1e;
}

/* ── Reply section ── */
.reply-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.reply-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.reply-hint { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 20px; }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}
.empty-icon { font-size: 3rem; margin-bottom: 20px; }
.empty-state h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.empty-state p { margin-bottom: 28px; }

/* ── Content pages ── */
.content-header { margin-bottom: 48px; }
.content-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 16px;
}
.content-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-left: 3px solid var(--gold);
  padding-left: 20px;
}
.content-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--navy);
  margin: 40px 0 16px;
}
.content-body p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text);
  margin-bottom: 20px;
}
.content-cta { margin-top: 48px; }

/* ── Footer ── */
.footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.footer-links { margin-top: 6px; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { display: none; }
  .hero-text h1 { font-size: 2.4rem; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); }
  .form-row { grid-template-columns: 1fr; }
  .page-header { flex-direction: column; }
  .request-card { flex-direction: column; }
  .request-card-side { align-items: flex-start; }
  .detail-fields { grid-template-columns: 1fr; gap: 4px; }
  .detail-fields dt { margin-top: 10px; }
  .auth-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr 1fr; }
  .nav-links .nav-name { display: none; }
}

/* ── Profile page ── */
.profile-page { max-width: 600px; padding: 60px 20px; }
.profile-page h1 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 8px; }
.profile-page > p { color: var(--text-muted); margin-bottom: 40px; }
.profile-section { margin-bottom: 24px; }
.profile-section h2 { font-size: 1.1rem; margin-bottom: 16px; }
.profile-back { margin-top: 8px; }
.profile-back a { color: var(--text-muted); font-size: 0.9rem; }

/* ── Danger zone ── */
.danger-zone { border: 1px solid var(--red); }
.danger-zone h2 { color: var(--red); }
.danger-zone-desc { color: var(--text-muted); margin-bottom: 16px; font-size: 0.9rem; }
.btn-danger { background: var(--red); color: #fff; border: none; padding: 10px 20px; border-radius: var(--radius); cursor: pointer; font-size: 0.95rem; font-weight: 500; }
.btn-danger:hover { background: #a93226; }
.btn-warning { background: #d97706; color: #fff; border: none; padding: 10px 20px; border-radius: var(--radius); cursor: pointer; font-size: 0.95rem; font-weight: 500; }
.btn-warning:hover { background: #b45309; }
.btn-success { background: #16a34a; color: #fff; border: none; padding: 10px 20px; border-radius: var(--radius); cursor: pointer; font-size: 0.95rem; font-weight: 500; }
.btn-success:hover { background: #15803d; }

/* ── Cookie banner ── */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy); color: #fff; padding: 14px 24px; display: flex; align-items: center; justify-content: center; gap: 20px; font-size: 0.88rem; z-index: 200; flex-wrap: nowrap; }
.cookie-banner p { margin: 0; flex: 1; max-width: 600px; }
.cookie-banner a { color: var(--gold-light); }
.cookie-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,0.45); flex-shrink: 0; }
.cookie-banner .btn-outline:hover { border-color: #fff; }
.cookie-banner--hidden { display: none; }

/* ── Star rating ── */
.rec-rating { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.rating-label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.rating-thanks { font-size: 0.85rem; color: var(--green); margin-top: 6px; }
.stars-display { display: flex; gap: 4px; }
.star { font-size: 1.6rem; color: var(--border); }
.star-filled { color: var(--gold); }
.stars-form { display: flex; gap: 4px; }
.star-btn { background: none; border: none; font-size: 1.6rem; color: var(--border); cursor: pointer; padding: 0; line-height: 1; transition: color 0.1s, transform 0.1s; }
.star-btn:hover, .star-btn:focus { color: var(--gold); transform: scale(1.2); outline: none; }

/* ── Admin rating display ── */
.rating-admin { display: flex; align-items: center; gap: 6px; margin-bottom: 20px; padding: 12px 16px; background: var(--gold-light); border-radius: var(--radius); }
.rating-admin-label { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-right: 4px; }
.rating-admin-num { font-size: 0.85rem; color: var(--text-muted); margin-left: 4px; }

/* ── Referral ── */
.profile-referral-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 12px; }
.referral-link-box { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 10px 14px; font-family: monospace; font-size: 0.88rem; color: var(--navy); word-break: break-all; margin-bottom: 10px; }
.referral-count { font-size: 0.85rem; color: var(--text-muted); }

/* ── In-progress badge ── */
.badge-inprogress { background: #fff3cd; color: #856404; }

/* ── Admin: in-progress action ── */
.in-progress-section { display: flex; align-items: center; gap: 16px; margin: 20px 0; }
.in-progress-hint { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ── Admin: follow-up display ── */
.followup-admin { background: #f0f4ff; border: 1px solid #c7d2fe; border-radius: 10px; padding: 18px 20px; margin: 20px 0; }
.followup-admin h3 { margin: 0 0 10px; font-size: 1rem; }
.followup-content { color: var(--text); font-size: 0.95rem; line-height: 1.6; }
.followup-date { font-size: 0.8rem; color: var(--text-muted); margin: 10px 0 0; }

/* ── Client: follow-up ── */
.followup-form-section { margin-top: 28px; }
.followup-form-section h3 { font-size: 1rem; margin-bottom: 12px; }
.followup-submitted { margin-top: 28px; background: #f0f4ff; border: 1px solid #c7d2fe; border-radius: 10px; padding: 18px 20px; }
.followup-submitted h3 { font-size: 1rem; margin: 0 0 10px; }
.followup-thanks { font-size: 0.85rem; color: #4f46e5; margin: 10px 0 0; }

/* ── Admin stats bar ── */
.stats-bar { display: flex; gap: 16px; margin: 24px 0 20px; flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 120px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 16px 20px; text-align: center; }
.stat-value { display: block; font-size: 1.8rem; font-weight: 700; color: var(--navy); font-family: 'Playfair Display', serif; line-height: 1.1; }
.stat-label { display: block; font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* ── Admin search ── */
.search-form { margin: 0 0 16px; }
.search-input { width: 100%; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 0.95rem; font-family: inherit; background: var(--white); color: var(--text); outline: none; }
.search-input:focus { border-color: var(--gold); }

/* ── Testimonials ── */
.testimonials { padding: 80px 0; background: var(--bg); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 28px 28px 24px; display: flex; flex-direction: column; justify-content: space-between; }
.testimonial-quote { font-size: 0.97rem; line-height: 1.75; color: var(--text); margin: 0 0 24px; font-style: italic; position: relative; }
.testimonial-quote::before { content: '\201C'; font-size: 3rem; color: var(--gold); line-height: 0; vertical-align: -0.6em; margin-right: 4px; font-style: normal; }
.testimonial-author { border-top: 1px solid var(--border); padding-top: 16px; }
.testimonial-name { display: block; font-weight: 600; color: var(--navy); font-size: 0.9rem; }
.testimonial-context { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 2px; }

/* ── Audit log ── */
.audit-table-wrap { overflow-x: auto; margin-top: 24px; }
.audit-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.audit-table th { text-align: left; padding: 10px 14px; border-bottom: 2px solid var(--border); color: var(--text-muted); font-weight: 500; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.05em; }
.audit-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.audit-table tr:last-child td { border-bottom: none; }
.audit-date { color: var(--text-muted); white-space: nowrap; }
.audit-admin { color: var(--text-muted); font-size: 0.82rem; }
.audit-action { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 0.8rem; font-weight: 500; }
.audit-action--replied { background: #dcfce7; color: #166534; }
.audit-action--in_progress { background: #fff3cd; color: #856404; }

/* ── Footer social ── */
.footer-social { margin-top: 10px; }
.footer-social-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); font-size: 0.85rem; transition: color 0.15s; }
.footer-social-link:hover { color: var(--text); text-decoration: none; }
