/* style.css — Precision Auto Body */

/* ========== TYPE SCALE ========== */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.9rem  + 0.5vw,  1.125rem);
  --text-lg:   clamp(1.125rem, 0.95rem + 0.85vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1rem    + 1.5vw,  2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* ========== SPACING ========== */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ========== FONTS ========== */
  --font-display: 'Libre Baskerville', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;

  /* ========== RADIUS ========== */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* ========== TRANSITIONS ========== */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* ========== CONTENT WIDTHS ========== */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;
}

/* ========== LIGHT THEME ========== */
:root, [data-theme="light"] {
  --color-bg:             #F2F4F7;
  --color-surface:        #FFFFFF;
  --color-surface-2:      #F8F9FB;
  --color-surface-offset: #E8ECF1;
  --color-surface-offset-2: #DDE2E9;
  --color-surface-dynamic: #D0D6DF;
  --color-divider:        #C5CCD6;
  --color-border:         #B8C0CC;

  --color-text:           #0F1923;
  --color-text-muted:     #5A6A7A;
  --color-text-faint:     #9AABBA;
  --color-text-inverse:   #F2F4F7;

  --color-primary:        #1A73E8;
  --color-primary-hover:  #1557B0;
  --color-primary-active: #0D3F82;
  --color-primary-highlight: #D4E4FA;

  --color-error:          #D93025;
  --color-error-hover:    #B3261E;
  --color-error-active:   #8C1D18;
  --color-error-highlight: #FADADD;

  --color-success:        #1E8E3E;
  --color-success-hover:  #137333;
  --color-success-active: #0D5228;
  --color-success-highlight: #D4EDDA;

  --color-warning:        #E8710A;
  --color-warning-hover:  #C25E08;
  --color-warning-active: #9C4C06;
  --color-warning-highlight: #FDE8D0;

  --color-navy:           #0F1923;
  --color-navy-light:     #1B2D3E;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 250 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 250 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 250 / 0.12);
}

/* ========== DARK THEME ========== */
[data-theme="dark"] {
  --color-bg:             #0B1119;
  --color-surface:        #111921;
  --color-surface-2:      #16202A;
  --color-surface-offset: #131C26;
  --color-surface-offset-2: #1A2533;
  --color-surface-dynamic: #243040;
  --color-divider:        #1E2A38;
  --color-border:         #2A3848;

  --color-text:           #D0D8E0;
  --color-text-muted:     #7A8B9C;
  --color-text-faint:     #4A5A6A;
  --color-text-inverse:   #0F1923;

  --color-primary:        #5CA0F0;
  --color-primary-hover:  #3D88E8;
  --color-primary-active: #2570D0;
  --color-primary-highlight: #1A2D45;

  --color-error:          #F28B82;
  --color-error-hover:    #E06B62;
  --color-error-active:   #C84B42;
  --color-error-highlight: #3D2222;

  --color-success:        #6DBF80;
  --color-success-hover:  #4DAF60;
  --color-success-active: #2D9F40;
  --color-success-highlight: #1A3322;

  --color-warning:        #F5A623;
  --color-warning-hover:  #E09010;
  --color-warning-active: #C07808;
  --color-warning-highlight: #3D2E14;

  --color-navy:           #0F1923;
  --color-navy-light:     #1B2D3E;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #0B1119;
    --color-surface:        #111921;
    --color-surface-2:      #16202A;
    --color-surface-offset: #131C26;
    --color-surface-offset-2: #1A2533;
    --color-surface-dynamic: #243040;
    --color-divider:        #1E2A38;
    --color-border:         #2A3848;
    --color-text:           #D0D8E0;
    --color-text-muted:     #7A8B9C;
    --color-text-faint:     #4A5A6A;
    --color-text-inverse:   #0F1923;
    --color-primary:        #5CA0F0;
    --color-primary-hover:  #3D88E8;
    --color-primary-active: #2570D0;
    --color-primary-highlight: #1A2D45;
    --color-error:          #F28B82;
    --color-success:        #6DBF80;
    --color-warning:        #F5A623;
    --color-navy:           #0F1923;
    --color-navy-light:     #1B2D3E;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}

/* ========== SKIP LINK ========== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus {
  top: var(--space-2);
}

/* ========== NAVIGATION ========== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: oklch(from var(--color-navy) l c h / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid oklch(1 0 0 / 0.08);
}
.nav-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-3) var(--space-4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}
.nav-logo span {
  color: var(--color-primary);
}
[data-theme="dark"] .nav-logo span {
  color: var(--color-primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  transition: color var(--transition-interactive);
}
.nav-links a:hover {
  color: #fff;
}
.nav-cta {
  background: var(--color-primary) !important;
  color: #fff !important;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-md);
  font-weight: 600 !important;
  font-size: var(--text-sm);
  transition: background var(--transition-interactive), box-shadow var(--transition-interactive);
}
.nav-cta:hover {
  background: var(--color-primary-hover) !important;
  box-shadow: var(--shadow-md);
}
.theme-toggle-nav {
  padding: var(--space-2);
  color: rgba(255,255,255,0.7);
  border-radius: var(--radius-md);
  transition: color var(--transition-interactive), background var(--transition-interactive);
  display: flex;
  align-items: center;
  justify-content: center;
}
.theme-toggle-nav:hover {
  color: #fff;
  background: oklch(1 0 0 / 0.08);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  padding: var(--space-2);
  color: rgba(255,255,255,0.85);
}
@media (max-width: 767px) {
  .mobile-menu-btn { display: flex; align-items: center; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--color-navy);
    padding: var(--space-4);
    gap: var(--space-1);
    border-bottom: 1px solid oklch(1 0 0 / 0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
  }
  .nav-links a:hover { background: oklch(1 0 0 / 0.06); }
  .nav-cta { text-align: center; margin-top: var(--space-2); }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
  padding-top: var(--space-16);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    oklch(from var(--color-navy) l c h / 0.92) 0%,
    oklch(from var(--color-navy) l c h / 0.78) 60%,
    oklch(from var(--color-navy) l c h / 0.65) 100%
  );
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: clamp(var(--space-16), 10vw, var(--space-32)) var(--space-4);
  padding-bottom: clamp(var(--space-20), 12vw, var(--space-32));
}
.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  line-height: 1.05;
  max-width: 14ch;
}
.hero-tagline {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-3);
  max-width: 40ch;
}
.hero-certs {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-8);
  font-weight: 500;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: background var(--transition-interactive),
              box-shadow var(--transition-interactive),
              transform var(--transition-interactive);
  box-shadow: 0 4px 20px oklch(from var(--color-primary) l c h / 0.35);
}
.hero-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 28px oklch(from var(--color-primary) l c h / 0.4);
}
.hero-cta:active {
  transform: translateY(0);
}
.hero-cta svg {
  display: inline;
}
@media (max-width: 767px) {
  .hero {
    min-height: 70vh;
    clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
  }
  .hero h1 {
    font-size: var(--text-2xl);
  }
}

/* ========== INSURANCE BAR ========== */
.insurance-bar {
  padding: var(--space-8) var(--space-4) var(--space-6);
  position: relative;
  z-index: 3;
}
.insurance-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  text-align: center;
}
.insurance-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}
.insurance-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-6);
}
.insurance-logos span {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-faint);
  letter-spacing: 0.02em;
}
@media (max-width: 600px) {
  .insurance-logos { gap: var(--space-4); }
  .insurance-logos span { font-size: var(--text-xs); }
}

/* ========== SECTIONS ========== */
.section {
  padding: clamp(var(--space-12), 6vw, var(--space-24)) var(--space-4);
}
.section-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
}
.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}
.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-bottom: var(--space-10);
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}
.service-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card:active {
  transform: translateY(0);
}
.service-icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary-highlight);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========== ABOUT / IMAGE SECTION ========== */
.about-section {
  background: var(--color-surface);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
}
.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-content {
  padding: var(--space-4) 0;
}
.about-content .section-label { margin-bottom: var(--space-3); }
.about-content .section-title { margin-bottom: var(--space-4); }
.about-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  max-width: 52ch;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-sm);
  font-weight: 500;
}
.about-feature svg {
  flex-shrink: 0;
  color: var(--color-primary);
}
@media (max-width: 767px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
}

/* ========== WHY US / STATS ========== */
.stats-section {
  background: var(--color-bg);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-2);
}
.stat-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
  .stat-number {
    font-size: var(--text-3xl);
  }
}

/* ========== PROCESS TIMELINE ========== */
.process-section {
  background: var(--color-navy);
  color: #fff;
}
.process-section .section-label { color: var(--color-primary); }
[data-theme="dark"] .process-section .section-label { color: var(--color-primary); }
.process-section .section-title { color: #fff; }
.process-section .section-subtitle { color: rgba(255,255,255,0.6); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  padding-top: var(--space-8);
}
.timeline::before {
  content: '';
  position: absolute;
  top: calc(var(--space-8) + 22px);
  left: calc(12.5% + 10px);
  right: calc(12.5% + 10px);
  height: 3px;
  background: oklch(1 0 0 / 0.15);
  z-index: 0;
}
.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}
.timeline-number {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-base);
  margin-bottom: var(--space-8);
  box-shadow: 0 0 0 4px oklch(from var(--color-primary) l c h / 0.25);
}
.timeline-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: #fff;
}
.timeline-desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.55);
  max-width: 20ch;
}
@media (max-width: 767px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-left: var(--space-10);
  }
  .timeline::before {
    top: calc(var(--space-8) + 10px);
    left: 20px;
    right: auto;
    width: 3px;
    height: calc(100% - var(--space-8) - 10px);
  }
  .timeline-step {
    flex-direction: row;
    text-align: left;
    gap: var(--space-4);
    align-items: flex-start;
  }
  .timeline-number {
    flex-shrink: 0;
    margin-bottom: 0;
    position: absolute;
    left: calc(-1 * var(--space-10) + -2px);
  }
  .timeline-step-content {
    display: flex;
    flex-direction: column;
  }
}

/* ========== CONTACT / ESTIMATE FORM ========== */
.contact-section {
  background: var(--color-surface);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
}
.contact-info h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
  font-size: var(--text-sm);
}
.contact-detail svg {
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}
.contact-detail strong {
  display: block;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}
.contact-detail span, .contact-detail a {
  color: var(--color-text-muted);
  text-decoration: none;
}
.contact-detail a:hover { color: var(--color-primary); }

.estimate-form {
  background: var(--color-bg);
  border: 1px solid oklch(from var(--color-text) l c h / 0.08);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
}
.estimate-form h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-6);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group.full-width {
  grid-column: 1 / -1;
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: var(--text-base);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-highlight);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  grid-column: 1 / -1;
  margin-top: var(--space-2);
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  padding: var(--space-4) var(--space-8);
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-base);
  cursor: pointer;
  transition: background var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.btn-submit:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-submit:active {
  transform: translateY(0);
}

/* Photo upload area (styled, non-functional) */
.photo-upload {
  grid-column: 1 / -1;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  cursor: pointer;
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}
.photo-upload:hover {
  border-color: var(--color-primary);
  background: var(--color-primary-highlight);
}
.photo-upload svg {
  margin: 0 auto var(--space-2);
  color: var(--color-text-faint);
}
.photo-upload p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 auto;
}
.photo-upload span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* Success message — HIDDEN by default */
#form-success {
  display: none;
}
#form-success[hidden] {
  display: none;
}
.form-success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-8);
  gap: var(--space-4);
}
.form-success-content svg {
  color: var(--color-success);
}
.form-success-content h4 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
}
.form-success-content p {
  color: var(--color-text-muted);
  max-width: 40ch;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .estimate-form {
    padding: var(--space-6);
  }
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.5);
  padding: var(--space-8) var(--space-4);
  text-align: center;
}
.footer-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-inner p {
  font-size: var(--text-sm);
  max-width: none;
}
.footer-inner a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer-inner a:hover { color: #fff; }
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ========== SCROLL ANIMATIONS ========== */
.fade-in {
  opacity: 1;
}
@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}
@keyframes reveal-fade {
  to { opacity: 1; }
}

/* ========== IMAGE FALLBACK ========== */
img {
  background: var(--color-surface-offset);
}
