/* ============================================
   Biwabik Family Dental — Custom Styles
   Palette: Emerald Green + Cream
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-emerald-50:  #ecfdf5;
  --color-emerald-100: #d1fae5;
  --color-emerald-200: #a7f3d0;
  --color-emerald-300: #6ee7b7;
  --color-emerald-400: #34d399;
  --color-emerald-500: #10b981;
  --color-emerald-600: #059669;
  --color-emerald-700: #047857;
  --color-emerald-800: #065f46;
  --color-emerald-900: #064e3b;
  --color-emerald-950: #022c22;

  --color-cream-50:   #fefdf8;
  --color-cream-100:  #fdf9ef;
  --color-cream-200:  #faf3e0;
  --color-cream-300:  #f5e6c4;
  --color-cream-400:  #edc98a;
  --color-cream-500:  #d4a058;

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

  --color-white: #ffffff;
  --color-black: #000000;

  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.12), 0 8px 20px rgba(0,0,0,0.08);

  --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.65;
  color: var(--color-slate-800);
  background-color: var(--color-cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
}

/* --- Accessibility --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-emerald-700);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Typography --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-emerald-700);
  margin-bottom: 12px;
}

.section-label--light {
  color: var(--color-emerald-300);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-slate-900);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-title--light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  max-width: 600px;
  line-height: 1.7;
}

.section-subtitle--light {
  color: var(--color-emerald-200);
  max-width: 480px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-align: center;
}

.btn-full {
  width: 100%;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--color-emerald-700);
  color: var(--color-white);
  border-color: var(--color-emerald-700);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-emerald-800);
  border-color: var(--color-emerald-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-emerald-700);
  border-color: var(--color-emerald-700);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-emerald-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background: var(--color-cream-400);
  color: var(--color-slate-900);
  border-color: var(--color-cream-400);
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background: var(--color-cream-500);
  border-color: var(--color-cream-500);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover,
.btn-outline-light:focus-visible {
  background: var(--color-white);
  color: var(--color-emerald-700);
  border-color: var(--color-white);
  transform: translateY(-1px);
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(254, 253, 248, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(4, 120, 87, 0.08);
  transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-slate-900);
  letter-spacing: -0.02em;
}

.logo-icon {
  color: var(--color-emerald-700);
  flex-shrink: 0;
}

.logo-accent {
  color: var(--color-emerald-700);
}

.logo-light {
  color: var(--color-white);
}

.logo-light .logo-accent {
  color: var(--color-emerald-400);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.primary-nav ul {
  display: flex;
  gap: 8px;
}

.primary-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-slate-600);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

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

/* --- Mobile Nav Toggle --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-slate-700);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  background: linear-gradient(135deg, var(--color-cream-50) 0%, var(--color-emerald-50) 50%, var(--color-cream-100) 100%);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(4, 120, 87, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  border: 1px solid var(--color-emerald-200);
  color: var(--color-emerald-700);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--color-emerald-500);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  color: var(--color-slate-900);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--color-slate-600);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-slate-600);
}

.trust-item svg {
  color: var(--color-emerald-600);
  flex-shrink: 0;
}

/* --- Hero Image --- */
.hero-image-wrapper {
  position: relative;
}

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

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

.hero-image-accent {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.15);
  pointer-events: none;
}

.hero-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--color-emerald-700);
  color: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
}

.hero-card svg {
  flex-shrink: 0;
  opacity: 0.8;
}

.hero-card-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-card strong {
  font-size: 0.875rem;
  font-weight: 600;
}

.hero-card span {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* --- Sections --- */
.section {
  padding: 96px 0;
}

/* --- Services --- */
.services {
  background: var(--color-white);
}

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

.service-card {
  background: var(--color-cream-50);
  border: 1px solid var(--color-cream-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all var(--transition-base);
}

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

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-emerald-100);
  color: var(--color-emerald-700);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  transition: background var(--transition-base);
}

.service-card:hover .service-icon {
  background: var(--color-emerald-700);
  color: var(--color-white);
}

.service-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

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

/* --- About --- */
.about {
  background: var(--color-cream-50);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

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

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

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

.about-image-secondary {
  position: absolute;
  bottom: -32px;
  right: -24px;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--color-cream-50);
}

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

.about-experience-badge {
  position: absolute;
  top: -16px;
  right: 40px;
  background: var(--color-emerald-700);
  color: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-lg);
  line-height: 1.3;
}

.experience-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
}

.experience-text {
  display: block;
  font-size: 0.75rem;
  opacity: 0.85;
  margin-top: 2px;
}

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1.0625rem;
  color: var(--color-slate-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 28px 0 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-slate-700);
}

.feature-check {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-emerald-100);
  color: var(--color-emerald-700);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Why Us --- */
.why-us {
  background: var(--color-emerald-900);
  padding: 80px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-emerald-300);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* --- Insurance --- */
.insurance {
  background: var(--color-white);
}

.insurance-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.insurance-content {
  max-width: 520px;
}

.insurance-text {
  font-size: 1.0625rem;
  color: var(--color-slate-600);
  line-height: 1.8;
  margin-bottom: 24px;
}

.insurance-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.insurance-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9375rem;
  color: var(--color-slate-700);
  font-weight: 500;
}

.insurance-list li svg {
  color: var(--color-emerald-600);
  flex-shrink: 0;
}

.insurance-note {
  font-size: 0.9375rem;
  color: var(--color-slate-600);
}

.insurance-note a {
  color: var(--color-emerald-700);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.insurance-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

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

/* --- CTA Section --- */
.cta {
  background: linear-gradient(135deg, var(--color-emerald-700) 0%, var(--color-emerald-900) 100%);
  padding: 80px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.cta-text {
  font-size: 1.0625rem;
  color: var(--color-emerald-200);
  line-height: 1.7;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-shrink: 0;
  min-width: 280px;
}

/* --- Contact --- */
.contact {
  background: var(--color-cream-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro {
  font-size: 1.0625rem;
  color: var(--color-slate-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  gap: 16px;
}

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-emerald-100);
  color: var(--color-emerald-700);
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

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

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

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

.contact-detail a:hover {
  text-decoration: underline;
}

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

/* --- Contact Form --- */
.contact-form-wrapper {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-slate-900);
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.form-subtitle {
  font-size: 0.9375rem;
  color: var(--color-slate-500);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-slate-700);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  padding: 10px 14px;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-sm);
  background: var(--color-cream-50);
  color: var(--color-slate-800);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-emerald-500);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
  background: var(--color-white);
}

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

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

.form-success {
  text-align: center;
  padding: 32px 20px;
}

.success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-emerald-100);
  color: var(--color-emerald-700);
  border-radius: 50%;
}

.form-success h4 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  color: var(--color-slate-900);
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--color-slate-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-slate-900);
  color: var(--color-slate-400);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  max-width: 300px;
}

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-top: 16px;
  color: var(--color-slate-400);
}

.footer-links h4,
.footer-contact h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-white);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.footer-links a:hover {
  color: var(--color-emerald-400);
}

.footer-contact address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-contact a {
  color: var(--color-emerald-400);
  font-weight: 500;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px 0;
  font-size: 0.8125rem;
  color: var(--color-slate-500);
}

.footer-bottom a {
  color: var(--color-emerald-400);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 32px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-grid,
  .insurance-inner,
  .contact-grid {
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  
  .section {
    padding: 72px 0;
  }
  
  /* Mobile Nav */
  .nav-toggle {
    display: flex;
  }
  
  .primary-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(254, 253, 248, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 24px;
    border-bottom: 1px solid var(--color-emerald-100);
    box-shadow: var(--shadow-lg);
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition-base);
    pointer-events: none;
  }
  
  .primary-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  .primary-nav ul {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }
  
  .primary-nav a {
    display: block;
    padding: 10px 12px;
    font-size: 1rem;
  }
  
  .primary-nav .btn {
    width: 100%;
    justify-content: center;
  }
  
  /* Hero */
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 48px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-image-wrapper {
    order: -1;
  }
  
  .hero-image-container {
    border-radius: var(--radius-lg);
  }
  
  .hero-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 16px;
    max-width: 100%;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-trust {
    gap: 16px;
  }
  
  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* About */
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image-area {
    order: -1;
  }
  
  .about-image-secondary {
    right: 0;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  /* Why Us */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .why-content {
    text-align: center;
  }
  
  .why-content .section-subtitle {
    margin: 0 auto;
  }
  
  .why-content .btn {
    margin: 0 auto;
  }
  
  .why-stats {
    max-width: 400px;
    margin: 0 auto;
  }
  
  /* Insurance */
  .insurance-inner {
    grid-template-columns: 1fr;
  }
  
  .insurance-content {
    max-width: 100%;
  }
  
  /* CTA */
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-text {
    max-width: 100%;
  }
  
  .cta-actions {
    width: 100%;
    min-width: auto;
  }
  
  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 28px 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .section {
    padding: 56px 0;
  }
  
  .hero {
    padding-top: 88px;
  }
  
  .hero-heading {
    font-size: 1.75rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .stat-card {
    padding: 20px 16px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}

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