/* ============================================
   SALÓN DE BELLEZA LOLA — Design System
   Palette: Ivory, Champagne, Powdered Rose, Old Gold, Cocoa
   ============================================ */

:root,
[data-theme='light'] {
  /* 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);
  --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;

  /* Surfaces — Ivory & Champagne */
  --color-bg: #faf8f4;
  --color-surface: #fdfbf6;
  --color-surface-2: #f5f0e8;
  --color-surface-offset: #f0ebe2;
  --color-surface-offset-2: #ebe5da;
  --color-surface-dynamic: #e5dfd3;
  --color-divider: #d8d0c4;
  --color-border: #ccc3b4;

  /* Text — Cocoa */
  --color-text: #3a3027;
  --color-text-muted: #7a6f62;
  --color-text-faint: #b0a696;
  --color-text-inverse: #faf8f4;

  /* Primary — Old Gold */
  --color-primary: #b8956a;
  --color-primary-hover: #9a7a52;
  --color-primary-active: #7c6242;
  --color-primary-highlight: #e8dcc6;

  /* Accent — Powdered Rose */
  --color-accent: #c9a0a8;
  --color-accent-hover: #b08a92;
  --color-accent-highlight: #f0e0e3;

  /* Warning */
  --color-warning: #964219;
  --color-warning-hover: #713417;
  --color-warning-highlight: #ddcfc6;

  /* Error */
  --color-error: #a12c7b;
  --color-error-hover: #7d1e5e;
  --color-error-highlight: #e0ced7;

  /* Success */
  --color-success: #437a22;
  --color-success-hover: #2e5c10;
  --color-success-highlight: #d4dfcc;

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

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.3 0.02 60 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.3 0.02 60 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.3 0.02 60 / 0.12);
  --shadow-xl: 0 24px 64px oklch(0.3 0.02 60 / 0.16);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

[data-theme='dark'] {
  --color-bg: #1a1815;
  --color-surface: #211e1a;
  --color-surface-2: #272320;
  --color-surface-offset: #221f1c;
  --color-surface-offset-2: #2a2622;
  --color-surface-dynamic: #34302a;
  --color-divider: #2e2a25;
  --color-border: #3d3832;

  --color-text: #e0dad0;
  --color-text-muted: #a8a094;
  --color-text-faint: #6e675e;
  --color-text-inverse: #1a1815;

  --color-primary: #d4b48a;
  --color-primary-hover: #e0c4a0;
  --color-primary-active: #c0a078;
  --color-primary-highlight: #3a342c;

  --color-accent: #d4a8b0;
  --color-accent-hover: #e0bcc4;
  --color-accent-highlight: #3a2e30;

  --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);
  --shadow-xl: 0 24px 64px oklch(0 0 0 / 0.5);
}

/* System dark mode fallback */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #1a1815;
    --color-surface: #211e1a;
    --color-surface-2: #272320;
    --color-surface-offset: #221f1c;
    --color-surface-offset-2: #2a2622;
    --color-surface-dynamic: #34302a;
    --color-divider: #2e2a25;
    --color-border: #3d3832;
    --color-text: #e0dad0;
    --color-text-muted: #a8a094;
    --color-text-faint: #6e675e;
    --color-text-inverse: #1a1815;
    --color-primary: #d4b48a;
    --color-primary-hover: #e0c4a0;
    --color-primary-active: #c0a078;
    --color-primary-highlight: #3a342c;
    --color-accent: #d4a8b0;
    --color-accent-hover: #e0bcc4;
    --color-accent-highlight: #3a2e30;
    --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);
    --shadow-xl: 0 24px 64px oklch(0 0 0 / 0.5);
  }
}

/* ============================================
   LAYOUT PRIMITIVES
   ============================================ */

.container {
  max-width: var(--content-default);
  margin-inline: auto;
  padding-inline: var(--space-4);
}

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

.section {
  padding-block: clamp(var(--space-12), 8vw, var(--space-32));
}

.section-tight {
  padding-block: clamp(var(--space-8), 5vw, var(--space-20));
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: oklch(from var(--color-bg) l c h / 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

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

/* Header always visible — never hide on scroll */

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

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

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-text span {
  display: block;
  font-size: var(--text-xs);
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  list-style: none;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.03em;
  position: relative;
  padding-block: var(--space-1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-primary);
  transition: width var(--transition-interactive);
}

.nav-link:hover {
  color: var(--color-text);
}

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

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

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
}

.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-primary);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

@media (max-width: 1200px) {
  .logo-text span { display: none; }
  .logo-mark { width: 32px; height: 32px; }
  .header-actions .btn { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); }
  .nav-list { gap: var(--space-3); }
  .nav-link { font-size: var(--text-xs); }
}

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

  .nav-list {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--color-bg);
    padding: var(--space-6);
    border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.08);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition:
      transform var(--transition-smooth),
      opacity var(--transition-smooth),
      visibility var(--transition-smooth);
  }

  .nav-list--open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-link {
    display: block;
    padding: var(--space-3) 0;
    font-size: var(--text-base);
    border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-interactive);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: 1px solid var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}

.btn-primary:active {
  background: var(--color-primary-active);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid oklch(from var(--color-text) l c h / 0.2);
}

.btn-outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: none;
  padding: var(--space-2) var(--space-4);
}

.btn-ghost:hover {
  color: var(--color-text);
}

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

.hero {
  position: relative;
  min-height: 90vh;
  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;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    oklch(from var(--color-bg) l c h / 0.95) 0%,
    oklch(from var(--color-bg) l c h / 0.6) 50%,
    oklch(from var(--color-bg) l c h / 0.2) 100%
  );
}

[data-theme='dark'] .hero-bg::after {
  background: linear-gradient(
    to right,
    oklch(from var(--color-bg) l c h / 0.95) 0%,
    oklch(from var(--color-bg) l c h / 0.5) 50%,
    oklch(from var(--color-bg) l c h / 0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-narrow);
  padding: var(--space-20) var(--space-6);
}

.hero-eyebrow {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 500;
  line-height: 1.05;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  letter-spacing: -0.01em;
}

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

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-10);
  max-width: 50ch;
  line-height: 1.5;
}

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

/* ============================================
   SECTION HEADINGS
   ============================================ */

.section-header {
  text-align: center;
  max-width: var(--content-narrow);
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

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

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

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
}

/* ============================================
   SERVICES — Catalog Cards
   ============================================ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.service-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-card-image img {
  transform: scale(1.05);
}

.service-card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}

.service-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: 1.2;
}

.service-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  flex: 1;
}

.service-card-price {
  font-size: var(--text-sm);
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.service-card-price span {
  font-weight: 400;
  color: var(--color-text-muted);
  font-size: var(--text-xs);
}

.service-card-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.service-card-link:hover {
  color: var(--color-primary-hover);
}

/* ============================================
   COLECCIONES — Rituals
   ============================================ */

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

.colecciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: var(--space-4);
}

.coleccion-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-10) var(--space-8);
  text-align: center;
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  transition:
    transform var(--transition-smooth),
    box-shadow var(--transition-smooth);
}

.coleccion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.coleccion-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--space-6);
  color: var(--color-primary);
}

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

.coleccion-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* ============================================
   SOBRE LOLA — About
   ============================================ */

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

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

.about-image {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

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

.about-content .section-eyebrow {
  text-align: left;
}

.about-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.about-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.7;
}

.about-stats {
  display: flex;
  gap: var(--space-12);
  margin-top: var(--space-10);
  padding-top: var(--space-8);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.1);
}

.about-stat-num {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--color-primary);
  display: block;
}

.about-stat-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-1);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .about-stats {
    gap: var(--space-6);
  }
}

/* ============================================
   GALERÍA
   ============================================ */

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr));
  gap: var(--space-4);
}

.galeria-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.galeria-item:hover img {
  transform: scale(1.08);
}

.galeria-item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}

@media (max-width: 600px) {
  .galeria-item--wide {
    grid-column: span 1;
    aspect-ratio: 1;
  }
}

/* ============================================
   TESTIMONIOS
   ============================================ */

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

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
}

.testimonio-card {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  display: flex;
  flex-direction: column;
}

.testimonio-stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.testimonio-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: 1.5;
  margin-bottom: var(--space-6);
  flex: 1;
}

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

.testimonio-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary-highlight);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonio-name {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}

.testimonio-role {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ============================================
   RESERVA / CTA
   ============================================ */

.reserva {
  background: var(--color-surface);
  text-align: center;
}

.reserva-card {
  background: linear-gradient(
    135deg,
    var(--color-primary-highlight),
    var(--color-accent-highlight)
  );
  border-radius: var(--radius-2xl);
  padding: clamp(var(--space-12), 8vw, var(--space-24));
  max-width: var(--content-narrow);
  margin-inline: auto;
}

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

.reserva-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 50ch;
  margin-inline: auto;
}

.reserva-form {
  display: flex;
  gap: var(--space-3);
  max-width: 500px;
  margin-inline: auto;
  flex-wrap: wrap;
}

.reserva-form input {
  flex: 1;
  min-width: 200px;
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.12);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-text);
}

.reserva-form input::placeholder {
  color: var(--color-text-faint);
}

.reserva-form input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15);
}

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

.footer {
  background: var(--color-surface-offset);
  padding-block: clamp(var(--space-12), 6vw, var(--space-20)) var(--space-8);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-8);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

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

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: var(--space-2);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-8) var(--space-6) 0;
  margin-top: var(--space-12);
  border-top: 1px solid oklch(from var(--color-text) l c h / 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

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

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  border: 1px solid oklch(from var(--color-text) l c h / 0.1);
}

.footer-social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  .footer-brand {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================
   SCROLL REVEAL
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================
   DIVIDER
   ============================================ */

.divider {
  width: 60px;
  height: 1px;
  background: var(--color-primary);
  margin-inline: auto;
  margin-block: var(--space-6);
}

.divider--center {
  margin-inline: auto;
}
