/* ============================================================================
   Rudolph Law — Premium Redesign
   Tone: Warm, personal, professional — NOT corporate
   Typography: Playfair Display (headings) + Inter (body)
   Approach: Generous whitespace, restrained palette, friendly authority
   =========================================================================== */

/* ============================================================================
   VARIABLES
   =========================================================================== */

:root {
  /* Warm, approachable palette — not harsh navy/gold corporate */
  --slate: #2c3e50;
  --slate-deep: #1a2a3a;
  --slate-light: #3d5468;
  --warm-accent: #b08d57;
  --warm-accent-light: #c9a86c;
  --warm-accent-muted: rgba(176, 141, 87, 0.1);
  --white: #ffffff;
  --cream: #faf8f5;
  --warm-bg: #f5f2ed;
  --text-primary: #2c3440;
  --text-secondary: #5a6a7a;
  --text-muted: #8a96a3;
  --border: #e8e3db;
  --border-light: #f0ede7;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Type scale — premium: 18px base, tight headings, open body */
  --text-xs: 0.778rem;     /* ~14px */
  --text-sm: 0.889rem;     /* ~16px */
  --text-base: 1rem;       /* 18px */
  --text-lg: 1.222rem;     /* ~22px */
  --text-xl: 1.556rem;     /* ~28px */
  --text-2xl: 2rem;        /* 36px */
  --text-3xl: 2.667rem;    /* 48px */
  --text-4xl: 3.556rem;    /* 64px */

  /* Line heights */
  --leading-hero: 1.08;
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-body: 1.7;

  /* Layout */
  --max-width: 1200px;
  --content-width: 700px;
  --radius: 6px;
  --radius-lg: 10px;

  /* Spacing — generous, premium feel */
  --section-pad: clamp(2.5rem, 5vw, 4rem);
  --container-pad: clamp(1.5rem, 5vw, 3rem);

  /* Shadows — subtle, large spread, low opacity */
  --shadow-subtle: 0 1px 3px rgba(0,0,0,0.03);
  --shadow-card: 0 4px 16px rgba(0,0,0,0.05);
  --shadow-lifted: 0 12px 40px rgba(0,0,0,0.07);
  --shadow-hero: 0 20px 60px rgba(0,0,0,0.1);

  /* Transitions — slow, smooth, premium */
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --transition: 280ms var(--ease);
  --transition-slow: 400ms var(--ease);
}

/* ============================================================================
   RESET & BASE
   =========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--text-primary);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
}

/* ============================================================================
   TYPOGRAPHY — serif headings, tight tracking, open body
   =========================================================================== */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--slate);
  font-weight: 700;
}

h1 {
  font-size: var(--text-4xl);
  line-height: var(--leading-hero);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-3xl);
  line-height: var(--leading-tight);
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--text-xl);
  line-height: var(--leading-snug);
  letter-spacing: -0.01em;
}

h4 {
  font-size: var(--text-lg);
  line-height: var(--leading-snug);
  font-weight: 600;
}

p {
  margin: 0 0 1.25rem;
  color: var(--text-secondary);
}
p:last-child { margin-bottom: 0; }

a {
  color: var(--slate);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--warm-accent); }
a:focus-visible {
  outline: 2px solid var(--warm-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

ul, ol { margin: 0 0 1.25rem; padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; color: var(--text-secondary); }

img { max-width: 100%; display: block; }
strong { font-weight: 600; color: var(--text-primary); }

/* ============================================================================
   ACCESSIBILITY
   =========================================================================== */

.skip-to-content {
  position: absolute; top: -50px; left: 0;
  background: var(--slate); color: var(--white);
  padding: 0.75rem 1.25rem; z-index: 100;
  font-weight: 600; text-decoration: none;
}
.skip-to-content:focus { top: 0; }

.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;
}

/* ============================================================================
   NAVIGATION — clean, light, warm
   =========================================================================== */

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-brand { display: flex; align-items: center; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate);
  letter-spacing: -0.02em;
}
.logo-text:hover { color: var(--slate); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.5rem 0;
  position: relative;
  transition: color var(--transition);
}

.nav-link:hover { color: var(--slate); }
.nav-link.active { color: var(--slate); font-weight: 600; }

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0; right: 0;
  height: 2px;
  background: var(--warm-accent);
  border-radius: 1px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  padding: 0.5rem;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  z-index: 51;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--slate); border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle:focus-visible {
  outline: 2px solid var(--warm-accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* ============================================================================
   HERO — warm, personal, inviting (not corporate dark)
   =========================================================================== */

.hero {
  background: var(--cream);
  color: var(--text-primary);
  padding: clamp(2.5rem, 5vw, 4rem) var(--container-pad);
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(176, 141, 87, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero.hero-service {
  padding: clamp(2rem, 4vw, 3rem) var(--container-pad);
  background: var(--slate-deep);
  color: var(--white);
}

.hero.hero-service .hero-title { color: var(--white); }
.hero.hero-service .hero-subtitle { color: rgba(255,255,255,0.7); }

.hero-container {
  max-width: var(--content-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--warm-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, var(--text-4xl));
  color: var(--slate);
  margin-bottom: 1rem;
  line-height: var(--leading-hero);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: var(--leading-body);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================================
   CREDENTIALS BAR — simple, clean, no cards
   =========================================================================== */

.credentials-bar {
  background: var(--white);
  padding: 1.5rem var(--container-pad);
  border-bottom: 1px solid var(--border-light);
}

.credentials-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  flex-wrap: wrap;
}

.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.credential-value {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--warm-accent);
  margin: 0;
  line-height: 1;
}

.credential-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
  line-height: var(--leading-snug);
}

/* ============================================================================
   SECTIONS — generous premium padding with alternating backgrounds
   =========================================================================== */

.services-overview,
.why-choose-us,
.credentials-section,
.memberships-section,
.community-section,
.languages-section,
.contact-section,
.faq-section,
.map-section,
.profile-section-wrap {
  padding: var(--section-pad) var(--container-pad);
}

.services-overview { background: var(--white); }
.why-choose-us { background: var(--cream); }

/* ============================================================================
   SECTION HEADERS
   =========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 { margin-bottom: 0; }

.section-header::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: var(--warm-accent);
  margin: 1rem auto 0;
  border-radius: 1px;
}

/* ============================================================================
   SERVICE CARDS — warm, spacious
   =========================================================================== */

.services-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lifted);
}

.card-icon {
  width: 40px;
  height: 40px;
  color: var(--warm-accent);
  margin-bottom: 1rem;
}
.card-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  color: var(--slate);
  margin-bottom: 0.875rem;
  font-size: var(--text-lg);
}

.service-card p {
  flex-grow: 1;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.card-link {
  color: var(--warm-accent);
  font-weight: 600;
  font-size: var(--text-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition), color var(--transition);
}
.card-link:hover {
  gap: 0.625rem;
  color: var(--slate);
}

/* Service detail pages — content prose layout */
.service-content {
  padding: var(--section-pad) var(--container-pad);
  background: var(--white);
}
.service-container {
  max-width: 680px;
  margin: 0 auto;
}
.back-link {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--warm-accent);
  margin-bottom: 2rem;
  transition: color var(--transition);
}
.back-link:hover {
  color: var(--slate);
}

.content-block {
  margin-bottom: 2.5rem;
}
.content-block:last-child {
  margin-bottom: 0;
}
.content-block h2 {
  font-size: var(--text-xl);
  margin-bottom: 0.75rem;
}
.content-block p {
  max-width: 60ch;
  line-height: var(--leading-body);
}
.services-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1.25rem;
}
.services-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.6;
  max-width: 60ch;
}
.services-list li:last-child {
  border-bottom: none;
}

/* ============================================================================
   WHY CHOOSE — warm, personal
   =========================================================================== */

.why-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.why-container > h2 {
  text-align: center;
  margin-bottom: 1.5rem;
}

.why-intro {
  text-align: center;
  max-width: var(--content-width);
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  font-size: var(--text-lg);
  line-height: var(--leading-body);
}

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

.why-feature {
  padding: 2.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.why-feature:hover { box-shadow: var(--shadow-card); }

.why-feature h3 {
  color: var(--slate);
  margin-bottom: 0.875rem;
  font-size: var(--text-lg);
}

.why-feature p {
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

/* ============================================================================
   CTA SECTION — warm dark, not harsh
   =========================================================================== */

.cta-section {
  background: var(--slate-deep);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--container-pad);
  text-align: center;
}

.cta-container {
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.cta-section h2 {
  color: var(--white);
  font-size: var(--text-2xl);
}

.cta-section p {
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
}

.cta-phone {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--warm-accent-light) !important;
}
.cta-phone a { color: var(--warm-accent-light); }
.cta-phone a:hover { color: var(--white); }

.cta-details { margin-bottom: 0.25rem; }

/* ============================================================================
   BUTTONS — warm, friendly, not harsh
   =========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  min-height: 48px;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn:focus-visible {
  outline: 2px solid var(--warm-accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--warm-accent);
  color: var(--white);
  border-color: var(--warm-accent);
}
.btn-primary:hover {
  background: var(--warm-accent-light);
  border-color: var(--warm-accent-light);
  color: var(--white);
  box-shadow: var(--shadow-card);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--slate);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--slate);
  color: var(--slate);
  background: rgba(44, 62, 80, 0.04);
}

/* On dark backgrounds */
.hero.hero-service .btn-secondary,
.cta-section .btn-secondary {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.25);
}
.hero.hero-service .btn-secondary:hover,
.cta-section .btn-secondary:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.08);
}

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

/* ============================================================================
   PROFILE (About page)
   =========================================================================== */

.profile-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.profile-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.profile-content h2 { margin-bottom: 1.5rem; }
.profile-content p { margin-bottom: 1.25rem; }

.profile-image {
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hero);
}

.profile-highlights {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--warm-accent);
}

.highlight-icon {
  font-size: 1.25rem;
  color: var(--warm-accent);
  flex-shrink: 0;
}

.highlight-content h4 { margin-bottom: 0.25rem; }
.highlight-content p {
  margin: 0;
  font-size: var(--text-sm);
}

/* ============================================================================
   CREDENTIALS (About page)
   =========================================================================== */

.credentials-grid-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.credential-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: box-shadow var(--transition);
}
.credential-card:hover { box-shadow: var(--shadow-card); }

/* ============================================================================
   MEMBERSHIPS (About page)
   =========================================================================== */

.memberships-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.memberships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.membership-item {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.membership-item:hover { box-shadow: var(--shadow-card); }

/* ============================================================================
   COMMUNITY & LANGUAGES
   =========================================================================== */

.community-container,
.languages-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ============================================================================
   FAQ — clean, spacious
   =========================================================================== */

.faq-section {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.faq-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.faq-question {
  padding: 1.375rem 1.5rem;
  background: var(--white);
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--slate);
  font-size: var(--text-base);
  border: none;
  width: 100%;
  text-align: left;
  min-height: 48px;
  transition: background var(--transition);
}
.faq-question:hover { background: var(--cream); }
.faq-question:focus-visible {
  outline: 2px solid var(--warm-accent);
  outline-offset: -2px;
}

.faq-icon {
  display: inline-flex;
  width: 24px; height: 24px;
  align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  transition: transform var(--transition);
  color: var(--text-muted);
  order: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms var(--ease), padding 300ms var(--ease);
}
.faq-item.open .faq-answer {
  max-height: 600px;
  padding: 0 1.5rem 1.5rem;
}
.faq-answer p {
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

/* ============================================================================
   CONTACT — warm, inviting
   =========================================================================== */

.contact-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 4rem;
}

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

.contact-card {
  padding: 1.5rem 1.75rem;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--warm-accent);
}

.contact-card-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.contact-card-value {
  font-size: var(--text-lg);
  color: var(--slate);
  font-weight: 600;
  word-break: break-word;
}
.contact-card-value a { color: var(--slate); }
.contact-card-value a:hover { color: var(--warm-accent); }

.contact-card p {
  margin: 0;
  font-size: var(--text-sm);
}

.contact-form { display: grid; gap: 1.125rem; }

.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.375rem;
  font-size: var(--text-sm);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.875rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group select {
  appearance: none;
  -webkit-appearance: none;
  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 fill='%235a6a7a' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--warm-accent);
  box-shadow: 0 0 0 3px var(--warm-accent-muted);
}
.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-disclaimer {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.form-submit { margin-top: 0.5rem; }

/* ============================================================================
   MAP
   =========================================================================== */

.map-container {
  max-width: var(--max-width);
  margin: 0 auto;
}

.map-embed {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* ============================================================================
   THANK YOU
   =========================================================================== */

.thank-you-section {
  background: var(--cream);
  color: var(--text-primary);
  padding: var(--section-pad) var(--container-pad);
  text-align: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thank-you-container { max-width: 540px; margin: 0 auto; }
.thank-you-section h1 { color: var(--slate); margin-bottom: 1.25rem; }
.thank-you-section p {
  color: var(--text-secondary);
  font-size: var(--text-lg);
}

/* ============================================================================
   FOOTER — warm dark
   =========================================================================== */

.footer {
  background: var(--slate-deep);
  color: rgba(255,255,255,0.65);
  padding: 3rem var(--container-pad) 2rem;
}

.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-column h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-column ul {
  list-style: none; margin: 0; padding: 0;
}
.footer-column li { margin-bottom: 0.625rem; }

.footer-column strong {
  color: var(--white);
}
.footer-column a {
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  transition: color var(--transition);
}
.footer-column a:hover { color: var(--white); }

.footer-column p {
  margin: 0 0 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: var(--text-sm);
  line-height: var(--leading-body);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: rgba(255,255,255,0.35);
  font-size: var(--text-xs);
  margin: 0;
}

.footer-disclaimer {
  color: rgba(255,255,255,0.3);
  font-size: var(--text-xs);
  max-width: 480px;
  margin: 0;
}

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

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-features { grid-template-columns: repeat(2, 1fr); }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  html { font-size: 17px; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem var(--container-pad) 1.5rem;
    gap: 0;
    box-shadow: var(--shadow-lifted);
  }
  .nav-links.open .nav-link {
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
  }
  .nav-links.open .nav-link:last-child { border-bottom: none; }
  .nav-link.active::after { display: none; }

  .nav-toggle { display: flex; flex-direction: column; }

  .credentials-container { gap: 1.5rem; }
  .credential { white-space: normal; }

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

  .profile-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-container { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }

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

@media (max-width: 480px) {
  html { font-size: 16px; }

  h1 { font-size: var(--text-2xl); }
  h2 { font-size: var(--text-xl); }

  .nav-container { height: 64px; }
  .nav-links.open { top: 64px; }

  .hero { padding: 3.5rem var(--container-pad); }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn { width: 100%; justify-content: center; }

  .credentials-container {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .credential {
    justify-content: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
  }
  .credential:last-child { border-bottom: none; }

  .service-card { padding: 1.75rem; }
  .why-feature { padding: 1.75rem; }
  .contact-card { padding: 1.25rem 1.5rem; }

  .section-header { margin-bottom: 2.5rem; }
}

/* ============================================================================
   DARK MODE & HIGH CONTRAST
   =========================================================================== */

@media (prefers-contrast: more) {
  :root { --text-primary: #000; --slate: #001f4d; }
  .nav-link, a { text-decoration: underline; }
  .btn { border-width: 3px; }
}

/* ============================================================================
   ABOUT PAGE
   =========================================================================== */

.about-bio {
  padding: var(--section-pad) 0;
  background: var(--white);
}
.about-bio-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-bio-text {
  max-width: 55ch;
}
.about-lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}
.about-bio-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.about-bio-photo {
  position: sticky;
  top: 6rem;
}
.about-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-credentials {
  padding: var(--section-pad) 0;
  background: var(--cream);
}
.about-credentials-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2rem;
}
.about-cred-block {
  margin-bottom: 2rem;
}
.about-cred-block:last-child {
  margin-bottom: 0;
}
.about-cred-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--warm-accent);
}
.about-cred-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-cred-block li {
  padding: 0.6rem 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.about-cred-block li:last-child {
  border-bottom: none;
}
.about-cred-block li strong {
  color: var(--text-primary);
}
.about-cred-block p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 60ch;
}

@media (max-width: 768px) {
  .about-bio-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-bio-photo {
    position: static;
    max-width: 280px;
    order: -1;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --white: #1a1d21;
    --cream: #20242a;
    --warm-bg: #1e2126;
    --text-primary: #e2e4e8;
    --text-secondary: #a0a8b4;
    --text-muted: #6b7580;
    --border: #333840;
    --border-light: #2a2e34;
  }
  .navbar {
    background: rgba(26, 29, 33, 0.97);
    border-bottom-color: var(--border);
  }
  .logo-text { color: var(--text-primary); }
  .nav-toggle span { background: #e0e0e0; }
  .hero { background: var(--cream); }
  .hero-title { color: var(--text-primary); }
  .credential-card, .service-card, .contact-card, .faq-item,
  .why-feature, .membership-item { background: var(--cream); }
  .faq-question { background: var(--cream); }
}

/* ============================================================================
   PRINT
   =========================================================================== */

@media print {
  .navbar, .hero, .footer, .btn, .credentials-bar { display: none; }
  body { color: #000; background: #fff; font-size: 12pt; }
  h1, h2, h3, h4 { page-break-after: avoid; }
  p, ul, ol { page-break-inside: avoid; }
}
