/* ============================================
   Beacon Physical Therapy Goshen
   Classic & Elegant — Terracotta + Sand Palette
   ============================================ */

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

:root {
  /* Terracotta */
  --terra-50: #fdf0ee;
  --terra-100: #fce4df;
  --terra-200: #f7c4ba;
  --terra-300: #ef9e8e;
  --terra-400: #e57460;
  --terra-500: #B85446;
  --terra-600: #a1463a;
  --terra-700: #863930;
  --terra-800: #6e3029;
  --terra-900: #5c2923;

  /* Sand */
  --sand-50: #FDF8F3;
  --sand-100: #FDF6EE;
  --sand-200: #F8EBDA;
  --sand-300: #F0DCC4;
  --sand-400: #E5C8A8;
  --sand-500: #D4B08A;
  --sand-600: #C49A6E;
  --sand-700: #A87D52;
  --sand-800: #8B6340;
  --sand-900: #745235;

  /* Neutrals */
  --ink-900: #1C1410;
  --ink-800: #2D2018;
  --ink-700: #3D2E24;
  --ink-600: #4A382E;
  --ink-500: #5C4840;
  --ink-400: #7A6558;
  --ink-300: #9A8578;
  --ink-200: #B8A89C;
  --ink-100: #D4C8BC;
  --ink-50: #EDE5DD;

  /* Fonts */
  --font-serif: 'Lora', 'Georgia', 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(28, 20, 16, 0.08);
  --shadow-md: 0 4px 16px rgba(28, 20, 16, 0.1);
  --shadow-lg: 0 8px 32px rgba(28, 20, 16, 0.12);
  --shadow-xl: 0 16px 48px rgba(28, 20, 16, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-700);
  background-color: var(--sand-100);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--terra-500);
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--ink-900);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 500;
}

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

/* ---------- CONTAINER ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-2xl);
  }
}

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

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--terra-500);
  color: #fff;
  border-color: var(--terra-500);
}

.btn-primary:hover {
  background: var(--terra-600);
  border-color: var(--terra-600);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ---------- SECTION HELPERS ---------- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terra-500);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: var(--space-lg);
}

.section-title-accent {
  color: var(--terra-500);
  font-style: italic;
}

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

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header--centered {
  text-align: center;
}

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

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sand-300);
  transition: box-shadow var(--transition-base);
}

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

.nav {
  display: flex;
  align-items: center;
  padding: var(--space-md) 0;
  gap: var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--ink-900);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo:hover {
  color: var(--terra-500);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  color: var(--terra-500);
}

.nav-logo-text {
  letter-spacing: -0.01em;
}

.nav-logo-dot {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--terra-500);
  color: #fff;
  padding: 0.125rem 0.3125rem;
  border-radius: var(--radius-sm);
  margin-left: 0.125rem;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink-700);
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
  margin-left: auto;
}

.nav-toggle:hover {
  background: var(--terra-50);
}

.nav-toggle-icon {
  width: 22px;
  height: 22px;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
}

.nav-menu.is-open {
  display: flex;
  flex-direction: column;
  padding: var(--space-lg) 0 var(--space-xl);
  gap: var(--space-md);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  width: 100%;
}

.nav-links a {
  display: block;
  padding: var(--space-sm) 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-600);
  text-decoration: none;
  border-bottom: 1px solid var(--ink-50);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--terra-500);
}

.btn-nav-cta {
  margin-top: var(--space-md);
  text-align: center;
  width: 100%;
}

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

  .nav-menu {
    display: flex !important;
    flex-direction: row;
    padding: 0;
    margin-left: auto;
  }

  .nav-links {
    flex-direction: row;
    width: auto;
    gap: var(--space-xs);
  }

  .nav-links a {
    border-bottom: none;
    padding: var(--space-sm) var(--space-md);
  }

  .btn-nav-cta {
    width: auto;
    margin-top: 0;
  }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--terra-700) 0%,
    var(--terra-500) 30%,
    var(--terra-400) 50%,
    var(--sand-600) 75%,
    var(--sand-400) 100%
  );
  padding: var(--space-4xl) var(--space-xl);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(184, 84, 70, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 70%, rgba(196, 154, 110, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  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='1'%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");
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding-top: var(--space-4xl);
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin-bottom: var(--space-xl);
  letter-spacing: -0.02em;
}

.hero-title-accent {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--sand-200);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 600px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero-stat-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 80px;
}

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

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

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

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

.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--sand-200);
  transition: all var(--transition-base);
}

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

.service-card-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--terra-50);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  color: var(--terra-600);
}

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

.service-card-title {
  font-size: 1.1875rem;
  margin-bottom: var(--space-md);
  color: var(--ink-900);
}

.service-card-body {
  font-size: 0.9375rem;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
  padding: var(--space-4xl) 0;
  background: #fff;
}

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

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.about-image-wrap {
  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;
}

.about-image-accent {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  width: 55%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

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

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

.about-text {
  font-size: 1rem;
  color: var(--ink-500);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about-text:first-of-type {
  margin-top: var(--space-lg);
}

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

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink-700);
}

.about-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--terra-500);
  flex-shrink: 0;
  margin-top: 0.15em;
}

/* ---------- APPROACH ---------- */
.approach {
  padding: var(--space-4xl) 0;
  background: var(--sand-100);
}

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

@media (min-width: 768px) {
  .approach-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
}

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

.approach-step {
  position: relative;
  padding: var(--space-2xl);
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--sand-200);
  transition: all var(--transition-base);
}

.approach-step:hover {
  border-color: var(--terra-200);
  box-shadow: var(--shadow-md);
}

.approach-step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--terra-100);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.approach-step-title {
  font-size: 1.125rem;
  margin-bottom: var(--space-md);
  color: var(--ink-900);
}

.approach-step-body {
  font-size: 0.9375rem;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: var(--space-4xl) 0;
  background: #fff;
}

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

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

.testimonial-card {
  background: var(--sand-100);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  position: relative;
  border: 1px solid var(--sand-200);
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  width: 32px;
  height: 32px;
  color: var(--terra-200);
  opacity: 0.6;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--ink-700);
  line-height: 1.75;
  margin-bottom: var(--space-xl);
  padding-top: var(--space-lg);
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--terra-600);
  font-style: normal;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  padding: var(--space-4xl) var(--space-xl);
  background: linear-gradient(
    135deg,
    var(--terra-700) 0%,
    var(--terra-500) 50%,
    var(--sand-700) 100%
  );
  overflow: hidden;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Ccircle cx='20' cy='20' r='1'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin-bottom: var(--space-lg);
}

.cta-text {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--space-2xl);
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: var(--space-4xl) 0;
  background: var(--sand-100);
}

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

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
  }
}

.contact-intro {
  font-size: 1rem;
  color: var(--ink-500);
  line-height: 1.75;
  margin-bottom: var(--space-2xl);
  max-width: 480px;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contact-detail-label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra-500);
}

.contact-detail-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-detail dd {
  font-size: 1rem;
  color: var(--ink-700);
  line-height: 1.7;
}

.contact-detail dd a {
  color: var(--ink-700);
}

.contact-detail dd a:hover {
  color: var(--terra-500);
}

.contact-hours-note {
  display: block;
  font-size: 0.875rem;
  color: var(--ink-400);
  margin-top: 0.25rem;
}

/* ---------- CONTACT FORM ---------- */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid var(--sand-200);
  box-shadow: var(--shadow-sm);
}

@media (min-width: 600px) {
  .contact-form-wrap {
    padding: var(--space-3xl);
  }
}

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

.contact-form-intro {
  font-size: 0.9375rem;
  color: var(--ink-400);
  margin-bottom: var(--space-2xl);
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

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

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--ink-900);
  background: var(--sand-50);
  border: 1.5px solid var(--sand-300);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: all var(--transition-fast);
  outline: none;
  width: 100%;
}

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

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

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

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

.contact-success-icon {
  width: 56px;
  height: 56px;
  color: var(--terra-500);
  margin: 0 auto var(--space-lg);
}

.contact-success-title {
  font-size: 1.5rem;
  margin-bottom: var(--space-md);
  color: var(--ink-900);
}

.contact-form-success p {
  color: var(--ink-500);
  font-size: 0.9375rem;
}

.contact-form.hidden {
  display: none;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: var(--space-4xl) 0 var(--space-xl);
}

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

@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
  }
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-serif);
  font-size: 1.1875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  margin-bottom: var(--space-md);
}

.footer-logo:hover {
  color: var(--terra-300);
}

.footer-logo-icon {
  width: 32px;
  height: 32px;
  color: var(--terra-400);
}

.footer-logo-dot {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  background: var(--terra-500);
  color: #fff;
  padding: 0.125rem 0.3125rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--ink-300);
  line-height: 1.7;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-100);
  margin-bottom: var(--space-lg);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--ink-300);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.footer-contact address {
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--ink-300);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

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

.footer-contact a:hover {
  color: var(--terra-200);
}

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

@media (min-width: 600px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.footer-legal {
  font-size: 0.75rem;
  color: var(--ink-500);
}

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 600ms ease;
  }

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

/* ---------- 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;
  }
}
