/* ============================================
   Dr. David Shamouelian — Medical Practice
   Classic & Elegant Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Palette: Teal + Slate Grey */
  --teal-50:  #f0f7f7;
  --teal-100: #d1e8e8;
  --teal-200: #a3d1d1;
  --teal-300: #6fb5b5;
  --teal-400: #4a9a9a;
  --teal-500: #2d7d7d;
  --teal-600: #236363;
  --teal-700: #1d5050;
  --teal-800: #1a3f3f;
  --teal-900: #142e2e;
  --teal-950: #0b1a1a;

  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #080e1a;

  --cream: #faf9f7;
  --warm-white: #fefdfb;
  --warm-gray: #f5f3f0;

  /* Typography */
  --font-serif: 'Cormorant Garamond', 'Georgia', serif;
  --font-sans: 'Inter', 'Segoe UI', system-ui, sans-serif;

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

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md:  0 4px 16px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg:  0 12px 40px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
  --shadow-xl:  0 24px 60px rgba(15, 23, 42, 0.14), 0 8px 20px rgba(15, 23, 42, 0.08);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--slate-800);
  background-color: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: var(--teal-600);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--teal-700);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--teal-800);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-size: 0.875rem;
  font-weight: 500;
}

.skip-link:focus {
  top: var(--space-md);
  color: #fff;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--slate-900);
}

/* --- Section Eyebrow --- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-400);
}

/* --- Section Title --- */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: var(--space-lg);
  color: var(--slate-900);
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-3xl);
}

.section-header .section-eyebrow {
  justify-content: center;
}

.section-header .section-eyebrow::before {
  display: none;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal-700);
  color: #fff;
  box-shadow: 0 4px 16px rgba(29, 80, 80, 0.3);
}

.btn-primary:hover {
  background: var(--teal-800);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 80, 80, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--teal-700);
  border: 1.5px solid var(--teal-300);
}

.btn-outline:hover {
  background: var(--teal-50);
  border-color: var(--teal-600);
  color: var(--teal-700);
}

.btn-full {
  width: 100%;
  justify-content: center;
  padding: 1rem 1.75rem;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(254, 253, 251, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--slate-200);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  height: 70px;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--teal-800);
}

.logo-mark {
  color: var(--teal-600);
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--slate-900);
}

.logo-title {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  font-size: 0.9375rem;
  font-weight: 450;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--teal-700);
  background: var(--teal-50);
}

.nav-cta {
  background: var(--teal-700) !important;
  color: #fff !important;
  font-weight: 500 !important;
  margin-left: var(--space-sm);
}

.nav-cta:hover {
  background: var(--teal-800) !important;
  color: #fff !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--slate-100);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}

.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background: var(--teal-950);
  overflow: hidden;
}

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

.hero-pattern {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(45, 125, 125, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 50% 80% at 20% 80%, rgba(26, 63, 63, 0.5) 0%, transparent 50%),
    linear-gradient(160deg, var(--teal-950) 0%, var(--teal-900) 40%, var(--teal-800) 100%);
}

.hero-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
}

.hero-content {
  max-width: 540px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--teal-400);
}

.hero-headline {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--teal-200);
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--slate-300);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

/* Hero Image */
.hero-image {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.hero-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 1;
  pointer-events: none;
}

.hero-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--teal-500);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.5;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-xl);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 450;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--slate-400);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  padding: var(--space-4xl) 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.service-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  border: 1px solid var(--slate-200);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-slow);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--teal-700);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--teal-700);
  color: #fff;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--slate-900);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  padding: var(--space-4xl) 0;
  background: var(--warm-white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-main img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-image-secondary {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--warm-white);
}

.about-image-secondary img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: var(--teal-700);
  color: #fff;
  padding: var(--space-lg);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  z-index: 2;
}

.experience-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.experience-text {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal-200);
  margin-top: 4px;
}

.about-content {
  padding: var(--space-lg) 0;
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--slate-700);
  margin-bottom: var(--space-lg);
}

.about-body {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--slate-500);
  margin-bottom: var(--space-2xl);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}

.value-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--teal-600);
  margin-top: 3px;
}

.value-text {
  font-size: 0.9375rem;
  color: var(--slate-700);
  line-height: 1.5;
}

/* ============================================
   APPROACH
   ============================================ */
.approach {
  padding: var(--space-4xl) 0;
  background: var(--teal-950);
  position: relative;
  overflow: hidden;
}

.approach::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.approach-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.approach .section-eyebrow {
  color: var(--teal-300);
}

.approach .section-eyebrow::before {
  background: var(--teal-400);
}

.approach .section-title {
  color: #fff;
}

.approach .section-desc {
  color: var(--slate-400);
}

.approach-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.approach-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

.approach-number {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--teal-500);
  line-height: 1;
  padding-top: 4px;
}

.approach-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--space-xs);
}

.approach-text p {
  font-size: 0.9375rem;
  color: var(--slate-400);
  line-height: 1.7;
}

.approach-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.approach-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(11, 26, 26, 0.4) 100%);
  z-index: 1;
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.approach-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ============================================
   TESTIMONIAL
   ============================================ */
.testimonial {
  padding: var(--space-4xl) 0;
  background: var(--teal-800);
  position: relative;
}

.testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.04) 0%, transparent 70%);
}

.testimonial-inner {
  position: relative;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial-quote-mark {
  width: 48px;
  height: 48px;
  color: var(--teal-400);
  margin: 0 auto var(--space-lg);
  opacity: 0.6;
}

.testimonial blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: #fff;
  margin-bottom: var(--space-xl);
}

.testimonial-attribution {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-300);
}

/* ============================================
   FAQ
   ============================================ */
.faq {
  padding: var(--space-4xl) 0;
  background: var(--cream);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--slate-200);
  overflow: hidden;
  transition: border-color var(--transition-base);
}

.faq-item:hover {
  border-color: var(--teal-200);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: var(--space-lg) var(--space-xl);
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--slate-800);
  gap: var(--space-md);
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--teal-700);
}

.faq-toggle {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--teal-50);
  color: var(--teal-700);
  transition: all var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-toggle {
  background: var(--teal-700);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq-answer p {
  padding: 0 var(--space-xl) var(--space-lg);
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--teal-600);
  font-weight: 500;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--warm-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-info {
  padding: var(--space-lg) 0;
}

.contact-intro {
  font-size: 1.0625rem;
  color: var(--slate-500);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.contact-detail {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--teal-50);
  border-radius: var(--radius-sm);
  color: var(--teal-700);
}

.contact-detail strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.contact-detail p {
  font-size: 0.9375rem;
  color: var(--slate-600);
  line-height: 1.6;
}

.contact-detail a {
  color: var(--teal-600);
  font-weight: 500;
}

.contact-detail a:hover {
  color: var(--teal-700);
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrapper {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow-md);
}

.contact-form-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.contact-form-desc {
  font-size: 0.9375rem;
  color: var(--slate-500);
  margin-bottom: var(--space-xl);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate-600);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--slate-800);
  background: var(--slate-50);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-400);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 125, 125, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-success {
  text-align: center;
  padding: var(--space-2xl);
}

.form-success svg {
  color: var(--teal-600);
  margin: 0 auto var(--space-md);
}

.form-success h4 {
  font-size: 1.375rem;
  margin-bottom: var(--space-sm);
  color: var(--slate-900);
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--slate-500);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: #fff;
  margin-bottom: var(--space-md);
}

.footer-logo .logo-mark {
  color: var(--teal-400);
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-500);
  max-width: 280px;
}

.footer-links nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--teal-300);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.9375rem;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  line-height: 1.6;
}

.footer-contact svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal-500);
}

.footer-contact a {
  color: var(--slate-400);
}

.footer-contact a:hover {
  color: var(--teal-300);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-xl);
  font-size: 0.8125rem;
  color: var(--slate-600);
}

.footer-disclaimer {
  line-height: 1.6;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }

  .reveal-delay-1 { transition-delay: 0.1s; }
  .reveal-delay-2 { transition-delay: 0.2s; }
  .reveal-delay-3 { transition-delay: 0.3s; }
  .reveal-delay-4 { transition-delay: 0.4s; }
  .reveal-delay-5 { transition-delay: 0.5s; }
  .reveal-delay-6 { transition-delay: 0.6s; }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-sub {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-eyebrow {
    justify-content: center;
  }

  .hero-image {
    max-width: 480px;
    margin: 0 auto;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
  }

  .about-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .approach-inner {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .approach-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 253, 251, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-xl);
    gap: var(--space-xs);
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    overflow-y: auto;
  }

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

  .nav-menu a {
    font-size: 1.125rem;
    padding: var(--space-md);
    border-radius: var(--radius-sm);
  }

  .nav-cta {
    margin-left: 0 !important;
    text-align: center;
    margin-top: var(--space-md);
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-2xl);
  }

  .hero-inner {
    padding: var(--space-xl) 0;
  }

  .hero-headline {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-image {
    display: none;
  }

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

  .about-image-secondary {
    display: none;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .approach-list {
    gap: var(--space-lg);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

  .service-card {
    padding: var(--space-xl);
  }

  .contact-form-wrapper {
    padding: var(--space-lg);
  }
}
