/* ============================================================
   Padasjoen LVI-Asennus Oy — Design System
   Theme: Finnish Forest Craftsmanship
   Fonts: Fraunces (display) + Figtree (body)
   ============================================================ */

/* DESIGN TOKENS */
:root {
  /* Colors — HSL (with OKLCH modern override below) */
  --surface-1:       hsl(155, 15%, 97%);       /* near-white sage tint */
  --surface-2:       hsl(155, 20%, 92%);       /* light sage */
  --surface-3:       hsl(215, 18%, 14%);       /* dark slate-blue */
  --text-primary:    hsl(150, 15%, 12%);       /* near-black green tint */
  --text-secondary:  hsl(150, 12%, 40%);       /* mid sage */
  --text-inverse:    hsl(150, 10%, 96%);       /* off-white */

  --brand:           hsl(145, 55%, 29%);       /* forest green */
  --brand-light:     hsl(145, 40%, 88%);       /* very light green */
  --brand-dark:      hsl(145, 60%, 17%);       /* deep forest */

  --accent:          hsl(32, 65%, 50%);        /* warm copper */
  --accent-light:    hsl(32, 65%, 90%);        /* very light amber */
  --accent-dark:     hsl(32, 60%, 30%);        /* dark copper */

  --border:          hsl(150, 15%, 85%);       /* light sage border */
  --border-strong:   hsl(150, 12%, 70%);       /* medium border */

  /* Typography */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Figtree', system-ui, sans-serif;

  --text-xs:   clamp(0.75rem, 0.7rem + 0.25vw, 0.813rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.27vw, 0.938rem);
  --text-base: clamp(1rem, 0.94rem + 0.30vw, 1.063rem);
  --text-md:   clamp(1.125rem, 1.05rem + 0.40vw, 1.25rem);
  --text-lg:   clamp(1.333rem, 1.2rem + 0.65vw, 1.563rem);
  --text-xl:   clamp(1.777rem, 1.55rem + 1.15vw, 2.188rem);
  --text-2xl:  clamp(2.369rem, 1.98rem + 1.95vw, 3.052rem);
  --text-3xl:  clamp(3.157rem, 2.5rem + 3.29vw, 4.236rem);

  --lh: 1.6;

  /* Spacing (4pt base) */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Misc */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --transition: 150ms ease-out;
  --transition-md: 300ms ease-out;
}

/* 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: var(--text-base);
  line-height: var(--lh);
  color: var(--text-primary);
  background-color: var(--surface-1);
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

::selection {
  background: hsl(32, 65%, 82%);
}

/* FOCUS VISIBLE */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

@media (max-width: 768px) {
  .container {
    padding-inline: var(--space-md);
  }
}

.section {
  padding-block: var(--space-4xl);
}

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

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

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

.section-header h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  font-variation-settings: "opsz" 72;
}

/* ============================================================
   SCROLL ANIMATIONS — 2026 CSS
   ============================================================ */

@keyframes reveal-up {
  from { opacity: 0; translate: 0 32px; }
  to   { opacity: 1; translate: 0 0; }
}

@keyframes reveal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  animation: reveal-up 0.5s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 70%;
}

.reveal-fade {
  animation: reveal-fade 0.6s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% entry 80%;
}

/* Stagger for grid children */
.pain-card:nth-child(1),
.service-card:nth-child(1),
.testimonial-card:nth-child(1) { animation-delay: 0ms; }

.pain-card:nth-child(2),
.service-card:nth-child(2),
.testimonial-card:nth-child(2) { animation-delay: 80ms; }

.pain-card:nth-child(3),
.service-card:nth-child(3),
.testimonial-card:nth-child(3) { animation-delay: 160ms; }

.service-card:nth-child(4) { animation-delay: 240ms; }

/* Stats counter */
.stat:nth-child(1) { animation-delay: 0ms; }
.stat:nth-child(3) { animation-delay: 100ms; }
.stat:nth-child(5) { animation-delay: 200ms; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: hsl(215, 18%, 14%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1120px;
  margin-inline: auto;
  padding: var(--space-md) var(--space-xl);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-inverse);
  font-weight: 600;
  font-size: var(--text-md);
  transition: opacity var(--transition);
}

.nav-logo:hover { opacity: 0.8; }

.logo-icon {
  display: flex;
  align-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-variation-settings: "opsz" 18;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

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

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: hsla(150, 10%, 96%, 0.75);
  transition: color var(--transition);
  padding: var(--space-xs) 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 1px;
}

.nav-link:hover { color: var(--text-inverse); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link--cta {
  background: var(--accent);
  color: hsl(32, 60%, 18%);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.nav-link--cta::after { display: none; }

.nav-link--cta:hover {
  background: hsl(32, 65%, 60%);
  color: hsl(32, 60%, 14%);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

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

.hamburger-line {
  width: 22px;
  height: 2px;
  background: var(--text-inverse);
  border-radius: 2px;
  transition: transform var(--transition-md), opacity var(--transition);
}

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

.mobile-menu {
  background: hsl(215, 18%, 14%);
  border-top: 1px solid hsla(0, 0%, 100%, 0.08);
  padding: var(--space-md) var(--space-xl);
}

.mobile-menu[hidden] { display: none; }

.mobile-link {
  display: block;
  color: var(--text-inverse);
  font-size: var(--text-md);
  font-weight: 500;
  padding: var(--space-md) 0;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);
  transition: color var(--transition);
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

/* ============================================================
   HERO
   ============================================================ */

@property --glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 220deg;
}

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--surface-3);
  position: relative;
  overflow: hidden;
  padding: calc(var(--space-4xl) + 64px) var(--space-xl) var(--space-4xl);
}

/* Noise texture */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

/* Glow accent bottom-left */
.hero-bg-glow {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, hsla(145, 55%, 29%, 0.35) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: glow-pulse 6s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1; transform: scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.hero-eyebrow {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-inverse);
  margin-bottom: var(--space-xl);
  font-variation-settings: "opsz" 144;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

.hero-title-line {
  display: block;
  clip-path: inset(0 100% 0 0);
  animation: text-wipe 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 100ms; }
.hero-title-line:nth-child(2) { animation-delay: 250ms; }
.hero-title-line:nth-child(3) { animation-delay: 400ms; }

.hero-title-accent {
  color: var(--accent);
  font-style: italic;
}

@keyframes text-wipe {
  to { clip-path: inset(0 0% 0 0); }
}

.hero-subtitle {
  font-size: var(--text-md);
  color: hsla(150, 10%, 96%, 0.75);
  line-height: 1.65;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-2xl);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--accent);
  font-size: var(--text-md);
  font-weight: 600;
  transition: opacity var(--transition);
  min-height: 44px;
}

.hero-phone:hover { opacity: 0.8; }

.hero-phone-icon {
  display: flex;
  align-items: center;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-indicator span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--accent));
  margin-inline: auto;
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 1; transform: scaleY(1); transform-origin: top; }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background-color var(--transition),
    color var(--transition),
    border-color var(--transition),
    transform 100ms ease-out,
    box-shadow 100ms ease-out;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--accent);
  color: hsl(32, 60%, 18%);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: hsl(32, 65%, 60%);
  box-shadow: 0 4px 12px hsla(32, 65%, 50%, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text-inverse);
  border-color: hsla(150, 10%, 96%, 0.30);
}

.btn-outline:hover {
  border-color: var(--text-inverse);
  background: hsla(0, 0%, 100%, 0.08);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: var(--text-md);
}

/* ============================================================
   PAIN POINTS
   ============================================================ */

.pain-points {
  background: var(--surface-1);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.pain-card {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  transition: transform var(--transition-md), box-shadow var(--transition-md), border-color var(--transition-md);
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px hsla(145, 55%, 29%, 0.12);
  border-color: var(--brand-light);
}

.pain-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  color: var(--brand);
  margin-bottom: var(--space-lg);
}

.pain-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
  font-variation-settings: "opsz" 24;
  line-height: 1.25;
}

.pain-card p {
  color: var(--text-secondary);
  line-height: var(--lh);
}

.pain-card strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services {
  background: var(--surface-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  display: flex;
  gap: var(--space-lg);
  transition: transform var(--transition-md), box-shadow var(--transition-md);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px hsla(150, 15%, 12%, 0.08);
}

.service-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--brand-light);
  min-width: 2.5rem;
  line-height: 1;
  font-variation-settings: "opsz" 36;
  padding-top: 4px;
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.25;
  font-variation-settings: "opsz" 24;
}

.service-content p {
  color: var(--text-secondary);
  line-height: var(--lh);
  margin-bottom: var(--space-md);
}

.service-price {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--accent-dark);
  background: var(--accent-light);
  display: inline-block;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar {
  background: var(--brand-dark);
  padding-block: var(--space-3xl);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 150px;
  max-width: 220px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-sm);
  font-variation-settings: "opsz" 72;
}

.stat-label {
  font-size: var(--text-sm);
  color: hsla(150, 10%, 96%, 0.75);
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: hsla(0, 0%, 100%, 0.12);
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .stat-divider { display: none; }
  .stats-grid { gap: var(--space-2xl); }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  background: var(--surface-1);
}

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

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

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

.about-image-placeholder {
  aspect-ratio: 4/5;
  background: var(--surface-2);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  overflow: hidden;
  position: relative;
}

.about-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsla(145, 55%, 29%, 0.08) 0%,
    transparent 60%
  );
}

.about-image-icon {
  color: var(--brand);
}

.about-image-caption {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--text-base);
  font-weight: 500;
}

.about-image-caption span {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-secondary);
}

.about-badge {
  position: absolute;
  bottom: var(--space-lg);
  right: var(--space-lg);
  background: var(--accent);
  color: hsl(32, 60%, 18%);
  font-size: var(--text-xs);
  font-weight: 700;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.about-trust {
  margin-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
}

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

/* ============================================================
   TESTIMONIALS
   ============================================================ */

.testimonials {
  background: var(--surface-2);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  transition: transform var(--transition-md), box-shadow var(--transition-md);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px hsla(150, 15%, 12%, 0.08);
}

.testimonial-stars {
  color: var(--accent);
  font-size: var(--text-md);
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--text-secondary);
  line-height: var(--lh);
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.testimonial-author strong {
  color: var(--text-primary);
  font-weight: 600;
}

.testimonial-author span {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.cta-section {
  background: var(--brand);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, hsla(0, 0%, 100%, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.cta-eyebrow {
  color: hsl(32, 65%, 65%);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--text-inverse);
  margin-bottom: var(--space-lg);
  font-variation-settings: "opsz" 72;
  line-height: 1.15;
}

.cta-section p {
  color: hsla(150, 10%, 96%, 0.80);
  font-size: var(--text-md);
  margin-bottom: var(--space-2xl);
}

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

.cta-section .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: hsl(32, 60%, 18%);
  box-shadow: 0 4px 16px hsla(0, 0%, 0%, 0.25);
}

.cta-section .btn-primary:hover {
  background: hsl(32, 65%, 60%);
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.30);
}

.cta-section .btn-outline {
  border-color: hsla(0, 0%, 100%, 0.40);
  color: var(--text-inverse);
}

.cta-section .btn-outline:hover {
  border-color: var(--text-inverse);
  background: hsla(0, 0%, 100%, 0.12);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--surface-3);
  padding-block: var(--space-3xl) var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.08);
  margin-bottom: var(--space-xl);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-tagline {
  color: hsla(150, 10%, 96%, 0.50);
  font-size: var(--text-sm);
}

.footer-heading {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: hsla(150, 10%, 96%, 0.50);
  margin-bottom: var(--space-md);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: hsla(150, 10%, 96%, 0.70);
  font-size: var(--text-sm);
}

.footer-contact-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.footer-contact-list a {
  color: inherit;
  transition: color var(--transition);
}

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

.footer-area-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-area-list li {
  color: hsla(150, 10%, 96%, 0.65);
  font-size: var(--text-sm);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  color: hsla(150, 10%, 96%, 0.35);
  font-size: var(--text-xs);
}
