/* ===================================================================
   Eastern Maine Mechanical — Design Tokens & Styles
   Deep navy/slate + warm amber accent — trades/industrial feel
   =================================================================== */

:root {
  /* Typography */
  --font-display: 'Satoshi', 'Inter', sans-serif;
  --font-body: 'General Sans', 'Inter', sans-serif;

  /* Type Scale */
  --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.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);

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

  /* Brand Colors — Deep Navy + Warm Amber */
  --color-navy: #1b2d45;
  --color-navy-deep: #0f1b2d;
  --color-navy-light: #243b55;
  --color-slate: #334e68;
  --color-accent: #e8792b;
  --color-accent-hover: #d4661e;
  --color-accent-light: #f29b56;
  --color-accent-glow: rgba(232, 121, 43, 0.15);

  /* Surfaces & Text */
  --color-bg: #f5f3ef;
  --color-surface: #ffffff;
  --color-surface-offset: #eae7e1;
  --color-text: #1b2d45;
  --color-text-muted: #627d98;
  --color-text-faint: #9fb3c8;
  --color-text-on-dark: #d9e2ec;
  --color-text-on-accent: #ffffff;
  --color-border: #d9e2ec;
  --color-divider: #e4e7eb;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(27, 45, 69, 0.06);
  --shadow-md: 0 4px 12px rgba(27, 45, 69, 0.08);
  --shadow-lg: 0 12px 32px rgba(27, 45, 69, 0.12);
  --shadow-accent: 0 4px 20px rgba(232, 121, 43, 0.25);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 180ms var(--ease-out);
  --transition-med: 300ms var(--ease-out);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}


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


/* ===================================================================
   Header
   =================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(27, 45, 69, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-3) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
}

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

.logo-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.01em;
}

.logo-sub {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-xs);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-desktop {
  display: flex;
  gap: var(--space-6);
}

.nav-desktop a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: var(--space-1) 0;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-med);
}

.nav-desktop a:hover {
  color: #fff;
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Header CTA */
.header-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}

/* Hamburger */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform var(--transition-med), opacity var(--transition-med);
}

.hamburger {
  position: relative;
}

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

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

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-4) var(--space-6) var(--space-6);
  gap: var(--space-1);
  background: var(--color-navy-deep);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: 500;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-mobile a:hover {
  color: var(--color-accent);
}

.mobile-cta {
  margin-top: var(--space-4);
  text-align: center;
  border-bottom: none !important;
}

@media (max-width: 768px) {
  .nav-desktop, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}


/* ===================================================================
   Buttons
   =================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-6);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-accent {
  background: var(--color-accent);
  color: var(--color-text-on-accent);
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  background: var(--color-accent-hover);
  box-shadow: var(--shadow-accent);
  transform: translateY(-1px);
}

.btn-accent:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

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

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

.btn-full {
  width: 100%;
}


/* ===================================================================
   Hero Section — Photo Background
   =================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(15, 27, 45, 0.92) 0%, rgba(15, 27, 45, 0.78) 40%, rgba(15, 27, 45, 0.45) 100%),
    linear-gradient(to bottom, rgba(15, 27, 45, 0.3) 0%, rgba(15, 27, 45, 0.6) 100%);
  z-index: 1;
}

/* Subtle grid overlay on the dark side */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-32) var(--space-6) var(--space-16);
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: rgba(232, 121, 43, 0.12);
  border: 1px solid rgba(232, 121, 43, 0.25);
  border-radius: var(--radius-full);
  width: fit-content;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-3xl);
  color: #fff;
  margin-bottom: var(--space-6);
  max-width: 14ch;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-on-dark);
  max-width: 52ch;
  margin-bottom: var(--space-8);
  line-height: 1.7;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-12);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.trust-badge svg {
  color: var(--color-accent);
  opacity: 0.9;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding-top: var(--space-4);
  }
  .hero-content {
    padding: var(--space-20) var(--space-4) var(--space-12);
  }
  .hero-title {
    font-size: var(--text-2xl);
  }
  .hero-overlay {
    background:
      linear-gradient(to right, rgba(15, 27, 45, 0.93) 0%, rgba(15, 27, 45, 0.85) 100%),
      linear-gradient(to bottom, rgba(15, 27, 45, 0.4) 0%, rgba(15, 27, 45, 0.7) 100%);
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-badges {
    flex-direction: column;
    gap: var(--space-3);
  }
}


/* ===================================================================
   Sections (shared)
   =================================================================== */
.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) 0;
}

.container {
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

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

.section-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-2xl);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}


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

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

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: box-shadow var(--transition-med), transform var(--transition-med);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-glow);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-5);
  color: var(--color-accent);
}

.service-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.service-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Brands Bar */
.brands-bar {
  text-align: center;
  padding: var(--space-6) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.brands-label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}

.brands-list {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 500;
}

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

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: var(--space-6);
  }
}


/* ===================================================================
   Image Divider — Full-bleed photo sections
   =================================================================== */
.image-divider {
  position: relative;
  height: 340px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-divider--tall {
  height: 480px;
}

.divider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.divider-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 27, 45, 0.55), rgba(15, 27, 45, 0.75));
  z-index: 1;
}

.divider-overlay--warm {
  background: linear-gradient(to bottom, rgba(15, 27, 45, 0.35), rgba(15, 27, 45, 0.65));
}

.divider-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 680px;
  padding: var(--space-6);
}

.divider-content--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.divider-tagline {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
}

.divider-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  line-height: 1.4;
}

.divider-text--large {
  font-size: var(--text-xl);
}

@media (max-width: 768px) {
  .image-divider {
    height: 260px;
  }
  .image-divider--tall {
    height: 340px;
  }
  .divider-text--large {
    font-size: var(--text-lg);
  }
}


/* ===================================================================
   Why Choose Us
   =================================================================== */
.why-us {
  background: var(--color-navy-deep);
  color: #fff;
}

.why-us .section-label {
  color: var(--color-accent);
}

.why-us .section-title {
  color: #fff;
}

.why-us .section-desc {
  color: var(--color-text-on-dark);
  opacity: 0.8;
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: start;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-top: var(--space-8);
}

.value-item {
  padding: var(--space-5);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
}

.value-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xs);
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.value-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
  margin-bottom: var(--space-2);
}

.value-desc {
  font-size: var(--text-xs);
  color: var(--color-text-on-dark);
  opacity: 0.75;
  line-height: 1.6;
}

/* Stats Card */
.stat-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  margin-bottom: var(--space-6);
}

.stat-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.stat-content {
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

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

.stat-number {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: var(--text-xl);
  color: #fff;
  display: inline;
}

.stat-unit {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-accent);
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-on-dark);
  opacity: 0.65;
  margin-top: var(--space-1);
}

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

/* Testimonial */
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-accent);
  opacity: 0.3;
  position: absolute;
  top: var(--space-4);
  left: var(--space-6);
  line-height: 1;
}

.testimonial-card p {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark);
  opacity: 0.85;
  line-height: 1.7;
  font-style: italic;
  margin-bottom: var(--space-4);
  padding-top: var(--space-4);
}

.testimonial-card cite {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-style: normal;
  font-weight: 600;
}

@media (max-width: 900px) {
  .why-us-layout {
    grid-template-columns: 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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


/* ===================================================================
   Service Area
   =================================================================== */
.service-area {
  background: var(--color-bg);
}

.area-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-10);
  align-items: center;
}

.map-graphic {
  background: var(--color-navy);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  overflow: hidden;
}

.map-svg {
  width: 100%;
  height: auto;
}

.map-svg text {
  font-family: 'General Sans', sans-serif;
}

.towns-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.towns-list {
  columns: 2;
  column-gap: var(--space-6);
  margin-bottom: var(--space-5);
}

.towns-list li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--color-divider);
  break-inside: avoid;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.towns-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--color-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.area-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
}

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


/* ===================================================================
   Contact
   =================================================================== */
.contact {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-top: var(--space-8);
}

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

.contact-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item div {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.contact-item strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.contact-item span,
.contact-item a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--color-accent);
}

.emergency-note {
  color: var(--color-accent) !important;
  font-weight: 500;
  font-size: var(--text-xs) !important;
}

/* CTA Card */
.contact-cta-card {
  position: sticky;
  top: 6rem;
}

.cta-card-inner {
  background: var(--color-navy);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  color: #fff;
}

.cta-icon {
  margin: 0 auto var(--space-5);
  color: var(--color-accent);
}

.cta-card-inner h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  margin-bottom: var(--space-3);
}

.cta-card-inner p {
  font-size: var(--text-sm);
  color: var(--color-text-on-dark);
  opacity: 0.8;
  margin-bottom: var(--space-6);
}

.cta-sub {
  font-size: var(--text-xs) !important;
  margin-top: var(--space-4) !important;
  margin-bottom: 0 !important;
  opacity: 0.6 !important;
}

@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-cta-card {
    position: static;
  }
}


/* ===================================================================
   Footer
   =================================================================== */
.footer {
  background: var(--color-navy-deep);
  color: var(--color-text-on-dark);
  padding: var(--space-10) 0 var(--space-6);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: var(--space-6);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.footer-brand strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: #fff;
  display: block;
}

.footer-brand span {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-nav {
  display: flex;
  gap: var(--space-5);
}

.footer-nav a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-xs);
}

.footer-credits a {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-credits a:hover {
  color: var(--color-accent);
}

.footer-sep {
  color: rgba(255,255,255,0.2);
}

@media (max-width: 600px) {
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===================================================================
   Animations (Scroll Reveal)
   =================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

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

/* Stagger children */
.stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.stagger > .reveal:nth-child(6) { transition-delay: 400ms; }
