/* ==========================================================================
   Haupt & Fouché — Static Site Stylesheet
   ========================================================================== */

:root {
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;

  --green-600: #16a34a;
  --green-700: #15803d;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;

  --container-width: 1280px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-900);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

main {
  padding-top: var(--header-height);
}

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

@media (min-width: 1024px) {
  .container {
    padding: 0 3rem;
  }
}

/* ==========================================================================
   Scroll reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--gray-200);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-logo {
  filter: brightness(0);
}

@media (min-width: 768px) {
  .brand img {
    height: 40px;
  }
}

.brand-divider {
  width: 1px;
  height: 24px;
  background: var(--gray-300);
  flex-shrink: 0;
}

.discovery-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.discovery-logo-wrap img {
  height: 24px;
  width: auto;
  object-fit: contain;
}

.discovery-logo-wrap .rep-disclosure {
  display: block;
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gray-500);
  margin-top: 2px;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .discovery-logo-wrap img {
    height: 30px;
  }

  .discovery-logo-wrap .rep-disclosure {
    font-size: 0.625rem;
  }
}

/* ==========================================================================
   Independent provider disclosure banner (homepage)
   ========================================================================== */

.rep-disclosure-banner {
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
  padding: 0.75rem 0;
}

.rep-disclosure-banner p {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--gray-600);
  text-align: center;
}

/* Desktop nav */
.nav-desktop {
  display: none;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
}

.nav-desktop a,
.nav-desktop button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gray-600);
  transition: color 0.2s ease;
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop button:hover {
  color: var(--gray-900);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--gray-900);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Services dropdown */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dropdown-toggle .arrow {
  display: inline-block;
  transition: transform 0.2s ease;
  font-size: 0.7rem;
}

.has-dropdown.open .dropdown-toggle .arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.75rem);
  width: 18rem;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.has-dropdown.open .dropdown-menu,
.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: normal;
  color: var(--gray-700);
  transition: all 0.15s ease;
}

.dropdown-menu a::after {
  display: none;
}

.dropdown-menu a:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.dropdown-menu a.active {
  background: var(--gray-900);
  color: var(--white);
  font-weight: 600;
}

/* Mobile menu toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 110;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gray-900);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav panel */
.nav-mobile {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.nav-mobile.open {
  display: block;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile ul {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.nav-mobile a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-700);
}

.nav-mobile .mobile-services-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.nav-mobile .mobile-services {
  border-top: 1px solid var(--gray-200);
  padding-top: 1.25rem;
}

.nav-mobile .mobile-services li {
  margin-bottom: 0.4rem;
}

.nav-mobile .mobile-services a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 0.4rem;
  font-size: 0.95rem;
}

.nav-mobile .mobile-services a.active {
  background: var(--gray-900);
  color: var(--white);
  font-weight: 600;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gray-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gray-700);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(17, 24, 39, 0.04);
  border: 1px solid var(--gray-200);
  color: var(--gray-900);
}

.btn-secondary:hover {
  background: rgba(17, 24, 39, 0.08);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 1.25rem 3rem;
}

/* ==========================================================================
   Section header (shared)
   ========================================================================== */

.section-eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3.75rem;
  }
}

.section-divider {
  height: 4px;
  width: 100px;
  margin: 0 auto;
  background: linear-gradient(to right, transparent, var(--gray-900), transparent);
}

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

.section-header p.lead {
  margin-top: 1.5rem;
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--gray-50);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(249,250,251,0.7), rgba(249,250,251,0.5) 50%, rgba(249,250,251,0.85));
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0,0,0,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.02) 1px, transparent 1px);
  background-size: 100px 100px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(17, 24, 39, 0.05);
  backdrop-filter: blur(4px);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  color: var(--gray-900);
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 5.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 6.5rem;
  }
}

.hero p.lead {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 42rem;
  margin: 0 auto 3rem;
}

@media (min-width: 768px) {
  .hero p.lead {
    font-size: 1.375rem;
  }
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.hero-actions .btn {
  width: 100%;
}

@media (min-width: 640px) {
  .hero-actions .btn {
    width: auto;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray-400);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
  z-index: 2;
}

.scroll-indicator span {
  width: 4px;
  height: 8px;
  background: var(--gray-500);
  border-radius: 999px;
  animation: scroll-bounce 2s infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* ==========================================================================
   About section
   ========================================================================== */

.about {
  position: relative;
  padding: 8rem 0;
  background: var(--white);
  overflow: hidden;
}

.about-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-text p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.about-cta {
  padding-top: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.stats-note {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--gray-500);
  text-align: center;
}

.disclosure-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.disclosure-box p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--gray-600);
}

.disclosure-strong {
  color: var(--gray-900);
}

/* ==========================================================================
   Services section
   ========================================================================== */

.services {
  position: relative;
  padding: 8rem 0;
  background: var(--gray-50);
  overflow: hidden;
}

.services-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.service-card:hover {
  background: var(--gray-50);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-8px);
}

.service-card .index {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gray-200);
  transition: color 0.3s ease;
}

.service-card:hover .index {
  color: var(--gray-300);
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 1.5rem 0 1rem;
}

.service-card p {
  color: var(--gray-600);
  line-height: 1.7;
}

.service-card .line {
  height: 2px;
  width: 0;
  background: linear-gradient(to right, var(--gray-900), transparent);
  margin-top: 1.5rem;
  transition: width 0.4s ease;
}

.service-card:hover .line {
  width: 100%;
}

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

.services-cta p {
  font-size: 1.125rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Team section
   ========================================================================== */

.team {
  position: relative;
  padding: 8rem 0;
  background: var(--gray-100);
  overflow: hidden;
}

.team-grid {
  display: grid;
  gap: 3rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-card {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 0.72;
  border-radius: 1.5rem;
  overflow: hidden;
  background: linear-gradient(145deg, #1a1a2e 0%, #16213e 100%);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
}

.profile-card:hover {
  transform: translateY(-8px) scale(1.02);
}

.profile-card img.avatar {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-card .pc-info {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(0,0,0,0.75);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 1rem;
  padding: 1rem 1.25rem;
}

.profile-card .pc-status {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.profile-card .pc-status::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(16,185,129,0.6);
}

.profile-card .pc-btn {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 0.625rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.95);
  background: rgba(255,255,255,0.1);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.profile-card .pc-btn:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}

.team-card-name {
  margin-top: 1.5rem;
  text-align: center;
}

.team-card-name h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.team-card-name p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.team-info {
  margin-top: 5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .team-info {
    padding: 3rem;
  }
}

.team-info h3 {
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--gray-900);
}

.team-info-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .team-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.team-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.team-info-icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-100);
  color: var(--gray-700);
}

.team-info-item h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--gray-900);
}

.team-info-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.team-cta {
  text-align: center;
  margin-top: 4rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonials {
  padding: 8rem 0;
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  position: relative;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-10px);
}

.testimonial-quote {
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--gray-400);
  line-height: 1;
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
}

.testimonial-card .body {
  position: relative;
  padding-top: 2.5rem;
}

.testimonial-card p.text {
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.0625rem;
}

.testimonial-author {
  border-top: 1px solid var(--gray-200);
  padding-top: 1.5rem;
}

.testimonial-author .name {
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.testimonial-author .role {
  font-size: 0.875rem;
  color: var(--gray-500);
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Contact section
   ========================================================================== */

.contact {
  position: relative;
  padding: 8rem 0;
  background: var(--gray-50);
  overflow: hidden;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .contact-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 80rem;
  }
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 2.5rem;
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.contact-method {
  margin-bottom: 1.5rem;
}

.contact-method:last-child {
  margin-bottom: 0;
}

.contact-method .label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
}

.contact-method a,
.contact-method p.value {
  font-size: 1.125rem;
  color: var(--gray-700);
}

.contact-method a:hover {
  color: var(--gray-900);
}

.contact-note {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-top: 1.5rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-actions .btn {
  flex: 1 1 auto;
}

.advisor-choice {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.advisor-btn {
  width: 100%;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  font-family: inherit;
}

.advisor-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.advisor-modal-overlay.open {
  display: flex;
}

.advisor-modal {
  position: relative;
  background: var(--white);
  padding: 2.5rem;
  max-width: 24rem;
  width: 100%;
  text-align: center;
}

.advisor-modal h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.advisor-modal .contact-actions {
  margin-top: 0;
}

.advisor-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  border: none;
  background: none;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--gray-500);
  cursor: pointer;
}

.advisor-modal-close:hover {
  color: var(--gray-900);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  position: relative;
  background: var(--gray-100);
  color: var(--gray-800);
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--gray-200);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand h3 {
  font-size: 1.875rem;
  font-weight: 900;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.footer-brand p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.footer-contact-line {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.footer-contact-line span {
  color: var(--gray-800);
}

.footer-contact-line a {
  margin-left: 0.4rem;
}

.footer-contact-line a:hover {
  color: var(--gray-900);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-700);
}

.footer-col a:hover {
  color: var(--gray-900);
}

.footer-disclosure,
.footer-policies {
  border-top: 1px solid var(--gray-200);
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.footer-disclosure h4,
.footer-policies h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 1rem;
}

.footer-disclosure p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray-700);
  max-width: 60rem;
}

.footer-policies .links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.8rem;
}

.footer-policies a:hover {
  color: var(--gray-900);
}

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--gray-600);
}

.footer-decoration {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-300), transparent);
}

/* ==========================================================================
   Inner page hero (services / team profiles / policies)
   ========================================================================== */

.page-hero {
  position: relative;
  padding: 5rem 0;
  background: var(--white);
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-hero {
    padding: 8rem 0;
  }
}

.page-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.02) 1px, transparent 1px);
  background-size: 100px 100px;
  pointer-events: none;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

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

.page-hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .page-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .page-hero-grid.single {
    grid-template-columns: 1fr;
    max-width: 48rem;
    margin: 0 auto;
  }
}

.page-hero-image {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid var(--gray-300);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-tag {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.page-tag.green {
  background: rgba(34,197,94,0.1);
  color: var(--green-600);
  border: 1px solid rgba(34,197,94,0.2);
}

.page-tag.blue {
  background: rgba(59,130,246,0.1);
  color: var(--blue-600);
  border: 1px solid rgba(59,130,246,0.2);
}

.page-tag.gray {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1px solid var(--gray-200);
}

.page-hero h1 {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 1rem;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3.75rem;
  }
}

.page-hero .subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.page-hero .description {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--gray-600);
}

.badge-item svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
}

.badge-item.green svg { color: var(--green-600); }
.badge-item.blue svg { color: var(--blue-600); }

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-pill:hover {
  transform: translateY(-2px) scale(1.03);
}

.btn-pill svg {
  width: 1.1rem;
  height: 1.1rem;
}

.btn-pill.green {
  background: var(--green-600);
  color: var(--white);
}

.btn-pill.green:hover { background: var(--green-700); }

.btn-pill.blue {
  background: var(--blue-600);
  color: var(--white);
}

.btn-pill.blue:hover { background: var(--blue-700); }

.btn-pill.dark {
  background: var(--gray-900);
  color: var(--white);
}

.btn-pill.dark:hover { background: var(--gray-700); }

/* Achievements row */
.achievements {
  padding: 4rem 0;
  background: var(--gray-50);
}

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

@media (min-width: 1024px) {
  .achievements-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.achievement-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-5px);
}

.achievement-card .num {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.achievement-card .num.green { color: var(--green-600); }
.achievement-card .num.blue { color: var(--blue-600); }

.achievement-card .lbl {
  font-size: 0.875rem;
  color: var(--gray-600);
  font-weight: 500;
}

.achievement-card:hover.green-hover { border-color: rgba(34,197,94,0.5); }

/* Approach / philosophy */
.approach {
  padding: 5rem 0;
  background: var(--white);
}

.approach-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.approach-header {
  text-align: center;
  margin-bottom: 3rem;
}

.approach-header h2 {
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .approach-header h2 {
    font-size: 3rem;
  }
}

.approach-header .bar {
  height: 4px;
  width: 5rem;
  margin: 0 auto;
}

.approach-header .bar.green {
  background: linear-gradient(to right, var(--green-600), var(--blue-600));
}

.approach-header .bar.blue {
  background: linear-gradient(to right, var(--blue-600), #9333ea);
}

.approach-body {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2.5rem;
}

@media (min-width: 768px) {
  .approach-body {
    padding: 3rem;
  }
}

.approach-body p {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.approach-body p:last-child {
  margin-bottom: 0;
}

/* Expertise grid */
.expertise {
  padding: 5rem 0;
  background: var(--gray-50);
}

.expertise-grid {
  display: grid;
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .expertise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.expertise-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.expertise-card:hover {
  transform: translateY(-5px) scale(1.01);
}

.expertise-card.green-hover:hover { border-color: rgba(34,197,94,0.5); }
.expertise-card.blue-hover:hover { border-color: rgba(59,130,246,0.5); }

.expertise-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.expertise-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.expertise-card ul li svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
}

.expertise-card.green-hover ul li svg { color: var(--green-600); }
.expertise-card.blue-hover ul li svg { color: var(--blue-600); }

/* CTA box */
.cta-section {
  padding: 5rem 0;
  background: var(--white);
}

.cta-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 1.875rem;
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .cta-box h2 {
    font-size: 2.5rem;
  }
}

.cta-box p {
  font-size: 1.0625rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.cta-box .contact-buttons {
  justify-content: center;
}

.cta-box .office-hours {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-200);
}

.cta-box .office-hours p {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 0;
}

.cta-box .office-hours strong {
  color: var(--gray-900);
}

/* ==========================================================================
   Generic content pages (services overview content / policies)
   ========================================================================== */

.content-section {
  padding: 5rem 0;
  background: var(--white);
}

.content-section.alt {
  background: var(--gray-50);
}

.content-narrow {
  max-width: 48rem;
  margin: 0 auto;
}

.content-narrow h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 3.5rem 0 1.25rem;
}

.content-narrow h2:first-child {
  margin-top: 0;
}

.content-narrow h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 2.5rem 0 0.75rem;
}

.content-narrow p {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 1.5rem;
}

.content-narrow ul {
  margin: 0 0 1.75rem 0;
}

.content-narrow ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.content-narrow ul li svg {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  color: var(--gray-900);
}

.content-narrow .last-updated {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 2rem;
}

.content-narrow ul.policy-list,
.content-narrow ol.policy-list {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem 0;
}

.content-narrow ul.policy-list {
  list-style: disc;
}

.content-narrow ol.policy-list {
  list-style: decimal;
}

.content-narrow .policy-list li {
  display: list-item;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.content-narrow .policy-list.plain {
  list-style: none;
  padding-left: 0;
}

.content-narrow h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: 1.25rem 0 0.5rem;
}

/* Highlight cards (used in service "what we offer" sections) */
.offer-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .offer-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .offer-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 80rem;
  }
}

.offer-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.offer-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.75rem;
}

.offer-card p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ==========================================================================
   Blog
   ========================================================================== */

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

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0.75rem;
  padding: 2rem;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.blog-card .page-tag {
  align-self: flex-start;
}

.blog-card h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 1rem 0 0.75rem;
  line-height: 1.3;
}

.blog-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card .read-more {
  font-weight: 700;
  color: var(--gray-900);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-card .read-more svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.3s ease;
}

.blog-card:hover .read-more svg {
  transform: translateX(4px);
}

/* Key stat / highlight box used inside blog articles */
.stat-highlight {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gray-900);
  border-radius: 0.5rem;
  padding: 1.5rem 1.75rem;
  margin: 0.5rem 0 2rem;
}

.stat-highlight p {
  margin-bottom: 0 !important;
  font-size: 1rem !important;
  color: var(--gray-800) !important;
}

.stat-highlight strong {
  color: var(--gray-900);
}

/* ==========================================================================
   404 page
   ========================================================================== */

.error-page {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gray-50);
  padding: 4rem 1.5rem;
}

.error-page .code {
  font-size: 6rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .error-page .code {
    font-size: 9rem;
  }
}

.error-page h1 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.error-page p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 2.5rem;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

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

/* ==========================================================================
   Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}
