/* ==========================================================================
   GOOD HEARTS LLC - Design System
   Soft sage green and cream, editorial, warm
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Colors */
  --sage-50: #f4f7f2;
  --sage-100: #e6ede0;
  --sage-200: #c8d6bf;
  --sage-400: #8fa885;
  --sage-500: #6b8a64;
  --sage-600: #547052;
  --sage-700: #425a44;
  --sage-900: #2a3a2c;
  
  --cream-50: #fdfbf5;
  --cream-100: #f9f4e8;
  --cream-200: #f0e8d0;
  
  --warm-white: #fefdfa;
  --ink: #1f2820;
  --ink-soft: #4a554c;
  --ink-muted: #76817a;
  
  --teal: #4a7787;
  --teal-light: #7ba5b3;
  --gold: #b8965a;
  --terracotta: #c97553;
  
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  
  /* Layout */
  --container-max: 1280px;
  --container-narrow: 880px;
  
  /* Effects */
  --shadow-sm: 0 1px 2px rgba(31, 40, 32, 0.06), 0 1px 3px rgba(31, 40, 32, 0.04);
  --shadow-md: 0 4px 12px rgba(31, 40, 32, 0.08);
  --shadow-lg: 0 12px 32px rgba(31, 40, 32, 0.12);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

/* ==========================================================================
   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-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--sage-700);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--sage-900);
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.75rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 500;
}

h4 {
  font-size: 1.25rem;
  font-weight: 500;
}

p {
  margin-bottom: 1rem;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage-600);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ==========================================================================
   Layout
   ========================================================================== */

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

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-2xl) 0;
}

@media (max-width: 768px) {
  section {
    padding: var(--space-xl) 0;
  }
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(254, 253, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sage-100);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  position: relative;
}

.nav-menu a:hover {
  color: var(--sage-700);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sage-600);
  border-radius: 2px;
}

.nav-cta {
  background: var(--sage-700);
  color: var(--cream-50) !important;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-pill);
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background: var(--sage-900);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
}

@media (max-width: 880px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--warm-white);
    flex-direction: column;
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid var(--sage-100);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    padding: 0.5rem 0;
  }
}

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

.hero {
  position: relative;
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--warm-white) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, var(--sage-100) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

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

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.hero-content h1 {
  margin-bottom: var(--space-md);
}

.hero-content h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage-700);
}

.hero-content .lead {
  margin-bottom: var(--space-lg);
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero-meta-item {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.hero-meta-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
}

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

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(31, 40, 32, 0.15) 100%);
}

.hero-badge {
  position: absolute;
  bottom: var(--space-md);
  left: var(--space-md);
  background: var(--warm-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--sage-700);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--sage-500);
  border-radius: 50%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.95rem 1.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary {
  background: var(--sage-700);
  color: var(--cream-50);
}

.btn-primary:hover {
  background: var(--sage-900);
  color: var(--cream-50);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-secondary:hover {
  background: var(--ink);
  color: var(--cream-50);
}

.btn-arrow::after {
  content: '→';
  transition: transform 0.2s ease;
}

.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* ==========================================================================
   Sections - Generic
   ========================================================================== */

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header h2 em {
  font-style: italic;
  color: var(--sage-700);
}

.section-divider {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--sage-400);
  margin: 0 auto var(--space-md);
  border: none;
}

/* ==========================================================================
   Services Grid
   ========================================================================== */

.services {
  background: var(--cream-50);
  position: relative;
}

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

.services-grid-4 {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .services-grid,
  .services-grid-4 {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--warm-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--sage-100);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--sage-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  color: var(--sage-700);
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.waiver-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 0.5rem !important;
  margin-top: -0.5rem;
}

.service-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--teal);
  margin-bottom: 1rem !important;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.service-card p {
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}

.service-card a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage-700);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-card a::after {
  content: '→';
  transition: transform 0.2s ease;
}

.service-card a:hover::after {
  transform: translateX(3px);
}

/* ==========================================================================
   How It Works
   ========================================================================== */

.how-it-works {
  background: var(--warm-white);
}

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

@media (max-width: 880px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--sage-700);
  color: var(--cream-50);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: var(--space-md);
}

.step h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.step p {
  font-size: 0.95rem;
}

/* ==========================================================================
   Trust / Stats
   ========================================================================== */

.trust {
  background: var(--sage-700);
  color: var(--cream-50);
  position: relative;
  overflow: hidden;
}

.trust::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 50%;
  height: 160%;
  background: radial-gradient(circle, var(--sage-600) 0%, transparent 70%);
  opacity: 0.4;
}

.trust .container {
  position: relative;
  z-index: 1;
}

.trust h2 {
  color: var(--cream-50);
  text-align: center;
  margin-bottom: var(--space-xl);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.trust h2 em {
  font-style: italic;
  color: var(--sage-200);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  text-align: center;
}

@media (max-width: 880px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.trust-item .stat {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  display: block;
  color: var(--cream-50);
  margin-bottom: 0.5rem;
}

.trust-item .label {
  font-size: 0.9rem;
  color: var(--sage-200);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   Service Area Section
   ========================================================================== */

.service-area-section {
  background: var(--cream-50);
}

.service-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 880px) {
  .service-area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .service-area-grid {
    grid-template-columns: 1fr;
  }
}

.service-area-card {
  background: var(--warm-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--sage-100);
  border-top: 3px solid var(--teal);
  text-align: center;
}

.service-area-card h4 {
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.service-area-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
  background: var(--cream-100);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before, .cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--sage-100);
  opacity: 0.4;
}

.cta-section::before {
  top: -100px;
  left: -100px;
}

.cta-section::after {
  bottom: -100px;
  right: -100px;
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  margin-bottom: var(--space-md);
}

.cta-section p {
  font-size: 1.15rem;
  margin-bottom: var(--space-lg);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.site-footer {
  background: var(--ink);
  color: var(--cream-100);
  padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

@media (max-width: 880px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand .brand {
  color: var(--cream-50);
  margin-bottom: var(--space-md);
}

.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
  background: var(--cream-50);
  border-radius: 8px;
  padding: 4px;
}

.footer-brand p {
  color: var(--ink-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--cream-50);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

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

.footer-col a {
  color: var(--ink-muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--cream-50);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(254, 253, 250, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   Page Hero (smaller than home hero)
   ========================================================================== */

.page-hero {
  background: linear-gradient(180deg, var(--cream-50) 0%, var(--warm-white) 100%);
  padding: var(--space-xl) 0 var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 100%;
  background: radial-gradient(ellipse, var(--sage-100) 0%, transparent 60%);
  opacity: 0.5;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.page-hero h1 {
  margin-bottom: var(--space-md);
}

.page-hero .lead {
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   Service Detail Pages
   ========================================================================== */

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-2xl);
}

.service-detail:nth-child(even) > div:first-child {
  order: 2;
}

@media (max-width: 880px) {
  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .service-detail:nth-child(even) > div:first-child {
    order: 0;
  }
}

.service-detail img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.service-detail h2 {
  margin-bottom: var(--space-md);
}

.service-detail ul {
  list-style: none;
  margin-top: var(--space-md);
}

.service-detail li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}

.service-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 12px;
  height: 12px;
  background: var(--sage-400);
  border-radius: 50%;
  opacity: 0.4;
}

.service-detail li::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.85rem;
  width: 6px;
  height: 6px;
  background: var(--sage-700);
  border-radius: 50%;
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.about-image {
  margin: var(--space-xl) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

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

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

@media (max-width: 880px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

.value-card {
  text-align: center;
  padding: var(--space-md);
}

.value-card .value-icon {
  width: 56px;
  height: 56px;
  background: var(--sage-100);
  color: var(--sage-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

@media (max-width: 880px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  margin-bottom: var(--space-md);
}

.contact-info p {
  margin-bottom: var(--space-lg);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: var(--space-md);
  padding: var(--space-md);
  background: var(--cream-50);
  border-radius: var(--radius-md);
  border: 1px solid var(--sage-100);
}

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

.contact-method h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-method p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

.contact-method a {
  color: var(--ink);
  font-weight: 500;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.contact-form {
  background: var(--warm-white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--sage-100);
  box-shadow: var(--shadow-sm);
}

.form-group {
  margin-bottom: var(--space-md);
}

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

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
}

input, textarea, select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream-50);
  border: 1px solid var(--sage-200);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--sage-600);
  background: var(--warm-white);
  box-shadow: 0 0 0 3px var(--sage-100);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  margin-top: var(--space-md);
}

/* ==========================================================================
   Provider Access Page
   ========================================================================== */

.provider-intro {
  background: var(--cream-50);
  padding: var(--space-xl) 0;
  text-align: center;
}

.provider-intro .container {
  max-width: 720px;
}

.provider-section {
  padding: var(--space-xl) 0;
}

.provider-section:nth-child(even) {
  background: var(--cream-50);
}

.provider-section h2 {
  text-align: center;
  margin-bottom: var(--space-md);
}

.provider-section .section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-lg);
}

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

@media (max-width: 880px) {
  .documents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .documents-grid {
    grid-template-columns: 1fr;
  }
}

.document-card {
  background: var(--warm-white);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--sage-200);
  text-align: center;
  transition: all 0.2s ease;
}

.document-card:hover {
  border-color: var(--sage-600);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.document-icon {
  width: 48px;
  height: 48px;
  background: var(--sage-100);
  color: var(--sage-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
}

.document-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--ink);
}

.document-card .file-type {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--sage-700);
  color: var(--cream-50);
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-download:hover {
  background: var(--sage-900);
  color: var(--cream-50);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out both;
}

.fade-in-up.delay-1 { animation-delay: 0.1s; }
.fade-in-up.delay-2 { animation-delay: 0.2s; }
.fade-in-up.delay-3 { animation-delay: 0.3s; }
.fade-in-up.delay-4 { animation-delay: 0.4s; }

/* Scroll-triggered animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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