/*
  Pawscription Web - Design System & Base
*/

:root {
  /* =========================================================================
     COLOR SYSTEM - LIGHT MODE (Default)
     ========================================================================= */
  --color-primary: #f97068;
  --color-primary-hover: #e8605a;
  --color-primary-pressed: #d94f47;
  --color-primary-tint: #fff0f0;

  --color-secondary: #849b87;
  --color-secondary-hover: #738a76;
  --color-secondary-tint: #e8ede8;

  --color-success: #10b981;
  --color-success-tint: #e8f5e9;

  --color-warning: #f59e0b;
  --color-warning-tint: #fff8e1;

  --color-danger: #dc2626;
  --color-danger-tint: #fee2e2;

  --color-accent: #f43f5e;
  --color-accent-tint: #ffe5e5;

  --color-info: #3b82f6;
  --color-info-tint: #eff6ff;

  --color-background: #fff5f4;
  --color-surface: #f5f1eb;
  --color-card: #ffffff;

  --color-text-primary: #261e17;
  --color-text-secondary: #73665a;
  --color-text-muted: #9c9b99;
  --color-text-disabled: #d1c7b8;
  --color-text-inverse: #ffffff;
  --color-text-link: #f97068;

  --color-border: #e8e2d8;
  --color-border-strong: #d1c7b8;
  --color-border-focus: #f97068;
  --color-border-divider: #f2ede7;

  /* Pet Color Palette */
  --color-pet-coral: #f97068;
  --color-pet-sage: #849b87;
  --color-pet-ocean: #4a90d9;
  --color-pet-amber: #d4930d;
  --color-pet-lavender: #8b6db5;
  --color-pet-teal: #2ba8a0;
  --color-pet-terracotta: #c27553;
  --color-pet-plum: #a85670;

  /* =========================================================================
     TYPOGRAPHY SYSTEM
     ========================================================================= */
  --font-family: "Inter", sans-serif;

  --text-display-size: 28px;
  --text-display-lh: 1.28;
  --text-display-weight: 800;
  --text-display-ls: -0.5px;

  --text-heading1-size: 24px;
  --text-heading1-lh: 1.33;
  --text-heading1-weight: 700;
  --text-heading1-ls: -0.3px;

  --text-heading2-size: 20px;
  --text-heading2-lh: 1.4;
  --text-heading2-weight: 700;
  --text-heading2-ls: -0.2px;

  --text-heading3-size: 18px;
  --text-heading3-lh: 1.33;
  --text-heading3-weight: 600;
  --text-heading3-ls: 0px;

  --text-subtitle-size: 16px;
  --text-subtitle-lh: 1.375;
  --text-subtitle-weight: 600;
  --text-subtitle-ls: 0px;

  --text-bodyLarge-size: 16px;
  --text-bodyLarge-lh: 1.5;
  --text-bodyLarge-weight: 400;
  --text-bodyLarge-ls: 0px;

  --text-body-size: 14px;
  --text-body-lh: 1.43;
  --text-body-weight: 400;
  --text-body-ls: 0px;

  --text-bodySmall-size: 13px;
  --text-bodySmall-lh: 1.38;
  --text-bodySmall-weight: 400;
  --text-bodySmall-ls: 0px;

  --text-caption-size: 12px;
  --text-caption-lh: 1.33;
  --text-caption-weight: 500;
  --text-caption-ls: 0px;

  --text-overline-size: 11px;
  --text-overline-lh: 1.45;
  --text-overline-weight: 700;
  --text-overline-ls: 1.5px;

  /* =========================================================================
     SPACING SYSTEM (base 4px)
     ========================================================================= */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-sectionGap: 60px; /* Scaled down slightly for mobile */

  --screen-horizontal-margin: 24px; /* default mobile */

  /* =========================================================================
     BORDER RADIUS SYSTEM
     ========================================================================= */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-xxl: 24px;
  --radius-full: 9999px;

  /* =========================================================================
     ELEVATION / SHADOW SYSTEM
     ========================================================================= */
  --shadow-color: rgba(38, 30, 23, 0.08); /* low base */
  --shadow-low: 0 2px 8px rgba(38, 30, 23, 0.08);
  --shadow-medium: 0 4px 16px rgba(38, 30, 23, 0.12);
  --shadow-high: 0 8px 24px rgba(38, 30, 23, 0.16);
  --shadow-highest: 0 16px 48px rgba(38, 30, 23, 0.2);

  --animation-transition: 200ms ease-out;
}

@media (min-width: 768px) {
  :root {
    --space-sectionGap: 60px;
    --screen-horizontal-margin: 40px;
  }
}

@media (min-width: 1200px) {
  :root {
    --text-display-size: 48px;
    --text-heading1-size: 40px;
    --text-heading2-size: 32px;
    --text-heading3-size: 24px;
    --space-sectionGap: 80px;
    --screen-horizontal-margin: 80px;
  }
}

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

html {
  font-family: var(--font-family);
  background-color: var(--color-background);
  color: var(--color-text-primary);
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  overflow-x: hidden;
  line-height: var(--text-body-lh);
}

a {
  color: var(--color-text-link);
  text-decoration: none;
  transition: color var(--animation-transition);
}

a:hover {
  text-decoration: underline;
}

ul,
ol {
  list-style: none;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  transition: all var(--animation-transition);
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* =========================================================================
   TYPOGRAPHY CLASSES
   ========================================================================= */
.display {
  font-size: var(--text-display-size);
  line-height: var(--text-display-lh);
  font-weight: var(--text-display-weight);
  letter-spacing: var(--text-display-ls);
}

.heading1 {
  font-size: var(--text-heading1-size);
  line-height: var(--text-heading1-lh);
  font-weight: var(--text-heading1-weight);
  letter-spacing: var(--text-heading1-ls);
}

.heading2 {
  font-size: var(--text-heading2-size);
  line-height: var(--text-heading2-lh);
  font-weight: var(--text-heading2-weight);
  letter-spacing: var(--text-heading2-ls);
}

.heading3 {
  font-size: var(--text-heading3-size);
  line-height: var(--text-heading3-lh);
  font-weight: var(--text-heading3-weight);
  letter-spacing: var(--text-heading3-ls);
}

.subtitle {
  font-size: var(--text-subtitle-size);
  line-height: var(--text-subtitle-lh);
  font-weight: var(--text-subtitle-weight);
  color: var(--color-text-primary);
}

.bodyLarge {
  font-size: var(--text-bodyLarge-size);
  line-height: var(--text-bodyLarge-lh);
  font-weight: var(--text-bodyLarge-weight);
}

.body {
  font-size: var(--text-body-size);
  line-height: var(--text-body-lh);
  font-weight: var(--text-body-weight);
}

.bodySmall {
  font-size: var(--text-bodySmall-size);
  line-height: var(--text-bodySmall-lh);
  font-weight: var(--text-bodySmall-weight);
  color: var(--color-text-secondary);
}

.caption {
  font-size: var(--text-caption-size);
  line-height: var(--text-caption-lh);
  font-weight: var(--text-caption-weight);
  color: var(--color-text-muted);
}

.overline {
  font-size: var(--text-overline-size);
  line-height: var(--text-overline-lh);
  font-weight: var(--text-overline-weight);
  letter-spacing: var(--text-overline-ls);
  text-transform: uppercase;
}

.text-primary {
  color: var(--color-primary);
}
.text-success {
  color: var(--color-success);
}
.text-warning {
  color: var(--color-warning);
}
.text-danger {
  color: var(--color-danger);
}
.text-secondary {
  color: var(--color-text-secondary);
}

/* =========================================================================
   COMPONENT: BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: var(--text-subtitle-weight);
  white-space: nowrap;
}

.btn:hover {
  text-decoration: none;
}

/* Button Variants */
.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
}
.btn-primary:active {
  background-color: var(--color-primary-pressed);
}

.btn-outlined {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background-color: transparent;
}
.btn-outlined:hover {
  background-color: var(--color-primary-tint);
}

.btn-ghost {
  color: var(--color-primary);
  background-color: transparent;
}
.btn-ghost:hover {
  background-color: var(--color-primary-tint);
}

.btn-danger {
  background-color: var(--color-danger);
  color: #ffffff;
}
.btn-danger:hover {
  background-color: #c52020;
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: #ffffff;
}
.btn-secondary:hover {
  background-color: var(--color-secondary-hover);
}

/* Button Sizes */
.btn-xs {
  height: 28px;
  font-size: 12px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
}
.btn-s {
  height: 36px;
  font-size: 13px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
}
.btn-m {
  height: 44px;
  font-size: 14px;
  padding: 0 20px;
  border-radius: var(--radius-md);
}
.btn-l {
  height: 52px;
  font-size: 16px;
  padding: 0 24px;
  border-radius: var(--radius-md);
}
.btn-xl {
  height: 60px;
  font-size: 16px;
  padding: 0 28px;
  border-radius: var(--radius-md);
}

/* =========================================================================
   COMPONENT: FEATURE ICON CONTAINERS
   ========================================================================= */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(
    --radius-md
  ); /* updated to standard md from lg to match exact 12px requirement */
  background-color: var(--color-primary-tint);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-low);
  flex-shrink: 0;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
}

/* =========================================================================
   COMPONENT: CARDS
   ========================================================================= */
.card {
  border-radius: var(--radius-lg);
  padding: var(--space-lg); /* Using L 24px default */
  background-color: var(--color-card);
}

.card-surface {
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-low);
}

.card-primary {
  background-color: var(--color-primary-tint);
  border: 1px solid rgba(249, 112, 104, 0.3); /* #F97068 at 30% */
  box-shadow: none;
}

/* =========================================================================
   COMPONENT: STATUS BADGES
   ========================================================================= */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--text-caption-size);
  font-weight: var(--text-caption-weight);
  white-space: nowrap;
}

.status-badge svg {
  width: 14px;
  height: 14px;
}

.status-taken {
  background-color: var(--color-success-tint);
  color: #0d9163; /* From spec */
}

.status-overdue {
  background-color: var(--color-danger-tint);
  color: #ae1b1b; /* From spec */
}

.status-upcoming {
  background-color: var(--color-warning-tint);
  color: #cc7f09; /* From spec */
}

.status-skipped {
  background-color: var(
    --color-surface
  ); /* --color-surface translates to F5F1EB light mode */
  color: var(--color-text-muted);
}

/* =========================================================================
   LAYOUT UTILITIES
   ========================================================================= */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--screen-horizontal-margin);
}

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

/* =========================================================================
   ANIMATIONS & REDUCED MOTION
   ========================================================================= */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float-subtle {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.floating {
  animation: float-subtle 4s ease-in-out infinite;
}

.floating-delayed {
  animation: float-subtle 4s ease-in-out infinite 2s;
}

/* =========================================================================
   COMPONENT: NAVBAR & MOBILE MENU
   ========================================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-divider);
  z-index: 100;
  display: flex;
  align-items: center;
}

[data-theme="dark"] .navbar {
  background-color: rgba(26, 19, 13, 0.95);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .navbar {
    background-color: rgba(26, 19, 13, 0.95);
  }
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo i {
  font-size: 28px;
}

.nav-links {
  display: none;
  gap: var(--space-lg);
}

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

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-text-primary);
  background-color: transparent;
}

.btn-icon:hover {
  background-color: var(--color-surface);
}

.nav-cta {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .mobile-only {
    display: none;
  }
  .nav-cta {
    display: inline-flex;
  }
}

/* Mobile Nav Sheet */
.mobile-nav-sheet {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100dvh;
  background-color: var(--color-background);
  z-index: 200;
  transition: right 0.3s ease-in-out;
  box-shadow: var(--shadow-highest);
  display: flex;
  flex-direction: column;
}

.mobile-nav-sheet.active {
  right: 0;
}

.mobile-nav-header {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--screen-horizontal-margin);
  border-bottom: 1px solid var(--color-border-divider);
}

.mobile-nav-links {
  padding: var(--space-xl) var(--screen-horizontal-margin);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  flex-grow: 1;
}

.mobile-nav-links a {
  color: var(--color-text-primary);
  padding: var(--space-sm) 0;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-bottom: var(--space-xl);
}

/* Used by JS to prevent body scrolling when menu is open */
body.no-scroll {
  overflow: hidden;
}

/* =========================================================================
   SECTION 1: HERO
   ========================================================================= */
.hero {
  min-height: 100vh;
  padding-top: 100px; /* offset for navbar */
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 80vw;
  max-width: 800px;
  height: auto;
  z-index: -1;
  opacity: 0.08; /* Coral 8-12% opacity */
  color: var(--color-primary);
  pointer-events: none;
}

.hero-content {
  display: grid;
  gap: var(--space-xxl);
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  justify-content: center;
  z-index: 2;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.mockup-frame {
  width: 100%;
  max-width: 300px;
  border-radius: 40px;
  border: 8px solid var(--color-text-primary);
  background-color: var(--color-background);
  overflow: hidden;
  box-shadow: var(--shadow-highest);
  aspect-ratio: 9/19.5;
  position: relative;
}

.mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: var(--color-surface); /* placeholder color */
}

/* Floating status pills in hero */
.hero-pill-1,
.hero-pill-2 {
  position: absolute;
  box-shadow: var(--shadow-high);
  z-index: 3;
}

.hero-pill-1 {
  top: 15%;
  right: -10%;
}

.hero-pill-2 {
  bottom: 25%;
  left: -5%;
}

@media (min-width: 768px) {
  .hero-actions {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }

  .hero-blob {
    top: -5%;
    right: 0%;
  }

  .mockup-frame {
    max-width: 320px;
  }

  .hero-pill-1 {
    right: 5%;
    top: 20%;
  }

  .hero-pill-2 {
    left: 5%;
    bottom: 20%;
  }
}

/* =========================================================================
   SECTION 2: SOCIAL PROOF BAR
   ========================================================================= */
.social-proof {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border-divider);
  border-bottom: 1px solid var(--color-border-divider);
  padding: var(--space-md) 0;
}

.social-proof-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg) var(--space-xl);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.proof-item i {
  font-size: 20px;
}

@media (min-width: 768px) {
  .social-proof-container {
    justify-content: space-between;
  }
}

/* =========================================================================
   SECTION 3: PROBLEM / SOLUTION
   ========================================================================= */
.problem-grid {
  display: grid;
  gap: var(--space-xxl);
}

.problem-text {
  max-width: 600px;
}

.solution-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.feature-bullet {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

@media (min-width: 1024px) {
  .problem-grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
  }
}

/* =========================================================================
   SECTION 4: FEATURE SHOWCASE
   ========================================================================= */
.showcase-row {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

.showcase-visual {
  display: flex;
  justify-content: center;
}

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

.showcase-text .overline {
  margin-bottom: var(--space-xs);
}

@media (min-width: 768px) {
  .showcase-row {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xxl);
  }

  .showcase-row.reverse .showcase-text {
    order: -1;
  }
}

/* =========================================================================
   SECTION 5: FEATURE GRID
   ========================================================================= */
.feature-card-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

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

@media (min-width: 1024px) {
  .feature-card-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
  }
}

/* =========================================================================
   SECTION 6: HOW IT WORKS (TIMELINE)
   ========================================================================= */
.timeline {
  display: flex;
  flex-direction: column;
  gap: var(--space-xxl);
  position: relative;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  position: relative;
  text-align: left;
}

.timeline-num {
  width: 48px;
  height: 48px;
  background-color: var(--color-primary-tint);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}

@media (min-width: 768px) {
  .timeline {
    flex-direction: row;
  }

  .timeline::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 48px;
    right: 48px;
    height: 2px;
    background-color: var(--color-primary-tint);
    z-index: 0;
  }

  .timeline-step {
    flex: 1;
  }

  .timeline-num {
    z-index: 1;
  }
}

/* =========================================================================
   SECTION 7: MEDICATION STATUS VISUAL
   ========================================================================= */
.status-visual-container {
  display: grid;
  gap: var(--space-xxl);
  align-items: center;
}

.status-visual-text {
  max-width: 500px;
}

.status-visual-cards {
  position: relative;
  height: 300px;
  width: 100%;
}

.card-float {
  position: absolute;
  box-shadow: var(--shadow-medium);
  background-color: var(--color-card);
  animation: float-subtle 4s ease-in-out infinite;
}

.card-float.delayed-1 {
  animation-delay: 1s;
}
.card-float.delayed-2 {
  animation-delay: 2s;
}
.card-float.delayed-3 {
  animation-delay: 3s;
}

@media (min-width: 768px) {
  .status-visual-container {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }

  .status-visual-cards {
    height: 400px;
  }
}

/* =========================================================================
   SECTION 8: PRIVACY COMMITMENT
   ========================================================================= */
.privacy-card {
  background-color: #3d3229; /* Dark mode card color */
  border-radius: var(--radius-xl);
  padding: var(--space-xxl) var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-high);
}

/* Subtle decorative circle */
.privacy-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  opacity: 0.05;
  z-index: 0;
}

.privacy-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .privacy-card {
    padding: 80px var(--space-xxl);
  }
}

/* =========================================================================
   SECTION 9: DOWNLOAD CTA
   ========================================================================= */
.cta-section {
  background-color: var(--color-primary);
  color: #ffffff;
  padding-bottom: 0 !important; /* Visual continues to bottom */
  overflow: hidden;
}

.cta-container {
  display: grid;
  gap: var(--space-xxl);
}

.cta-text {
  padding-bottom: var(--space-xl);
}

.half-mockup {
  border-color: rgba(255, 255, 255, 0.2);
  margin-bottom: -40px; /* Hide bottom radius */
  transform: translateY(10%);
}

@media (min-width: 1024px) {
  .cta-container {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
  }

  .cta-text {
    padding-bottom: var(--space-sectionGap);
  }

  .half-mockup {
    margin-bottom: -100px;
    transform: translateY(15%);
  }
}

/* =========================================================================
   SECTION 10: FOOTER
   ========================================================================= */
.footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border-divider);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-container {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
}

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

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

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

.footer-bottom {
  border-top: 1px solid var(--color-border-divider);
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 2fr;
  }

  .footer-links {
    justify-content: end;
  }
}

@media (min-width: 1024px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* =========================================================================
   COMPONENT: COOKIE BANNER
   ========================================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 600px;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-highest);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  z-index: 9999;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .cookie-banner {
    bottom: var(--space-lg);
    border-radius: var(--radius-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
