/* ==========================================================================
   Razen Digital LLC — estilos globales
   Sistema: Trust & Authority (UI UX Pro Max) con la paleta del logo
   ========================================================================== */

:root {
  /* Marca (tomada del logo) */
  --navy-950: #060f24;
  --navy-900: #0a1a3a;
  --navy-800: #102654;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --sky-400: #38bdf8;
  --sky-100: #e0f2fe;

  /* Semánticos */
  --color-bg: #f8fafc;
  --color-surface: #ffffff;
  --color-fg: #0f172a;
  --color-muted-fg: #475569;
  --color-subtle-fg: #64748b;
  --color-border: #e2e8f0;
  --color-border-strong: #cbd5e1;
  --color-primary: var(--blue-700);
  --color-primary-hover: #1e40af;
  --color-on-primary: #ffffff;
  --color-ring: #2563eb;
  --color-success: #15803d;

  --gradient-brand: linear-gradient(135deg, #0a1a3a 0%, #1d4ed8 60%, #38bdf8 100%);

  /* Tipografía */
  --font-heading: "Lexend", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;

  /* Espaciado (densidad baja / espaciosa) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 6px 20px -6px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 24px 60px -20px rgba(10, 26, 58, 0.28);

  --container: 1180px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--navy-900);
}

p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 12px;
}

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

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

.section--tight {
  padding-block: var(--space-8);
}

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

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-7);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: var(--space-4);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.section-title {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
  font-weight: 600;
}

.section-lead {
  margin-top: var(--space-4);
  font-size: 1.1875rem;
  color: var(--color-muted-fg);
}

/* ---------- Botones ---------- */
.btn {
  --btn-bg: var(--color-primary);
  --btn-fg: var(--color-on-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out), border-color 0.2s var(--ease-out);
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease-out);
}

.btn:hover {
  background: var(--color-primary-hover);
  box-shadow: 0 10px 24px -10px rgba(29, 78, 216, 0.6);
}

.btn:hover svg {
  transform: translateX(3px);
}

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

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--navy-900);
  border-color: var(--color-border-strong);
}

.btn--ghost:hover {
  background: var(--color-surface);
  border-color: var(--navy-900);
  box-shadow: none;
}

.btn--light {
  --btn-bg: #ffffff;
  --btn-fg: var(--navy-900);
}

.btn--light:hover {
  background: var(--sky-100);
}

.btn--outline-light {
  --btn-bg: transparent;
  --btn-fg: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  box-shadow: none;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, background-color 0.25s, box-shadow 0.25s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy-900);
}

.brand img {
  width: 40px;
  height: auto;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand__name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: 0.14em;
}

.brand__sub {
  margin-top: 4px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-subtle-fg);
  text-transform: uppercase;
}

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

.nav__link {
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
  text-decoration: none;
  border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--navy-900);
  background: rgba(15, 23, 42, 0.05);
}

.nav__cta {
  margin-left: var(--space-2);
  min-height: 44px;
  padding: 10px 20px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-border-strong);
  border-radius: 12px;
  color: var(--navy-900);
  cursor: pointer;
}

.menu-toggle svg {
  width: 22px;
  height: 22px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(64px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 60% at 85% 20%, rgba(56, 189, 248, 0.18), transparent 70%),
    radial-gradient(50% 55% at 10% 90%, rgba(29, 78, 216, 0.12), transparent 70%);
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 30%, transparent 75%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: var(--space-8);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  margin-bottom: var(--space-5);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.hero__badge-dot {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--sky-100);
  color: var(--blue-700);
}

.hero__badge-dot svg {
  width: 15px;
  height: 15px;
}

.hero__title {
  font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero__title .accent {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin-top: var(--space-5);
  max-width: 560px;
  font-size: 1.25rem;
  color: var(--color-muted-fg);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
}

.hero__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--navy-800);
}

.hero__trust svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
  flex: none;
}

/* Visual del hero: mockup de biblioteca */
.hero__visual {
  position: relative;
  perspective: 1200px;
}

.showcase {
  position: relative;
  aspect-ratio: 1 / 0.92;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
}

.showcase__card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.showcase__player {
  inset: 6% 0 22% 14%;
  background: var(--navy-900);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.player__screen {
  position: absolute;
  inset: 0 0 56px 0;
  background:
    radial-gradient(80% 90% at 75% 20%, rgba(56, 189, 248, 0.45), transparent 60%),
    radial-gradient(70% 80% at 10% 100%, rgba(29, 78, 216, 0.6), transparent 60%),
    var(--navy-900);
}

.player__screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
}

.player__play {
  position: absolute;
  left: 50%;
  top: calc(50% - 28px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.12);
  animation: pulse-ring 2.6s var(--ease-out) infinite;
}

.player__play svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.28);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.player__label {
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 1;
  padding: 4px 10px;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

.player__bar {
  position: absolute;
  inset: auto 0 0 0;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-inline: 18px;
  background: rgba(6, 15, 36, 0.9);
}

.player__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sky-400);
  flex: none;
}

.player__track {
  position: relative;
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.player__track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: linear-gradient(90deg, var(--blue-600), var(--sky-400));
  border-radius: inherit;
  animation: progress 9s linear infinite;
}

@keyframes progress {
  from {
    width: 8%;
  }
  to {
    width: 92%;
  }
}

.player__time {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
}

.showcase__book {
  left: 0;
  bottom: 4%;
  width: 40%;
  aspect-ratio: 3 / 4;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: var(--gradient-brand);
  border-radius: 6px 14px 14px 6px;
  transform: translateZ(60px) rotate(-6deg);
  overflow: hidden;
}

.showcase__book::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.showcase__book::after {
  content: "";
  position: absolute;
  right: -30%;
  top: -10%;
  width: 90%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.1);
}

.book__tag {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
}

.book__title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: clamp(0.875rem, 0.6rem + 0.8vw, 1.0625rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}

.book__brand {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 0.625rem;
  letter-spacing: 0.24em;
  opacity: 0.8;
}

.showcase__mail {
  right: -2%;
  bottom: 0;
  width: 58%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transform: translateZ(90px);
}

.mail__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: #dcfce7;
  color: var(--color-success);
}

.mail__icon svg {
  width: 20px;
  height: 20px;
}

.mail__text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
}

.mail__text span {
  font-size: 0.8125rem;
  color: var(--color-subtle-fg);
}

.showcase__chip {
  top: 0;
  left: 4%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy-900);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transform: translateZ(70px);
  animation: float 6s ease-in-out infinite;
}

.showcase__chip svg {
  width: 16px;
  height: 16px;
  color: var(--blue-700);
}

@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -8px;
  }
}

/* ---------- Pilares (Qué hacemos) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-8);
  align-items: start;
}

.about-copy p + p {
  margin-top: var(--space-4);
}

.about-copy p {
  color: var(--color-muted-fg);
  font-size: 1.125rem;
}

.about-copy .legal-line {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  font-size: 0.9875rem;
  color: var(--navy-800);
  background: var(--sky-100);
  border-left: 3px solid var(--blue-700);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  gap: var(--space-4);
}

.pillar {
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    border-color 0.25s;
}

.pillar:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.icon-tile {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-4);
  border-radius: 14px;
  color: var(--blue-700);
  background: var(--sky-100);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

.pillar h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.pillar p {
  margin-top: var(--space-2);
  font-size: 1rem;
  color: var(--color-muted-fg);
}

/* ---------- Productos ---------- */
.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  margin-bottom: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.tab {
  min-height: 44px;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-muted-fg);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.2s, background-color 0.25s var(--ease-out);
}

.tab:hover {
  color: var(--navy-900);
}

.tab[aria-selected="true"] {
  color: #fff;
  background: var(--navy-900);
}

.tab-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-7);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel.is-entering {
  animation: panel-in 0.4s var(--ease-out);
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.tab-panel h3 {
  font-size: 1.625rem;
  font-weight: 600;
}

.tab-panel > div > p {
  margin-top: var(--space-3);
  color: var(--color-muted-fg);
}

.check-list {
  display: grid;
  gap: var(--space-3);
  margin: var(--space-5) 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 12px;
  color: var(--color-fg);
}

.check-list svg {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex: none;
  color: var(--blue-700);
}

.panel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--space-5);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 999px;
}

.pill svg {
  width: 15px;
  height: 15px;
  color: var(--blue-700);
}

/* Ilustraciones de cada formato */
.format-art {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(70% 80% at 80% 10%, rgba(56, 189, 248, 0.35), transparent 60%),
    linear-gradient(160deg, #0a1a3a, #102654);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.format-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
}

.art-books {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}

.art-book {
  width: 96px;
  aspect-ratio: 3 / 4;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  border-radius: 4px 10px 10px 4px;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.6);
  transition: transform 0.35s var(--ease-out);
}

.art-book:nth-child(1) {
  background: linear-gradient(160deg, #1d4ed8, #0a1a3a);
  transform: rotate(-6deg);
}

.art-book:nth-child(2) {
  width: 116px;
  background: linear-gradient(160deg, #38bdf8, #1d4ed8);
}

.art-book:nth-child(3) {
  background: linear-gradient(160deg, #f8fafc, #cbd5e1);
  color: var(--navy-900);
  transform: rotate(6deg);
}

.format-art:hover .art-book:nth-child(1) {
  transform: rotate(-10deg) translateY(-6px);
}

.format-art:hover .art-book:nth-child(2) {
  transform: translateY(-12px);
}

.format-art:hover .art-book:nth-child(3) {
  transform: rotate(10deg) translateY(-6px);
}

.art-lessons {
  position: relative;
  width: 78%;
  display: grid;
  gap: 10px;
}

.art-lesson {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: background-color 0.25s, transform 0.25s var(--ease-out);
}

.art-lesson:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.art-lesson b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 8px;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.25);
}

.art-lesson small {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.75rem;
}

.art-sheet {
  position: relative;
  width: 70%;
  padding: 18px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.5);
}

.art-sheet__title {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.art-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-muted-fg);
}

.art-box {
  width: 16px;
  height: 16px;
  flex: none;
  border: 2px solid var(--color-border-strong);
  border-radius: 4px;
}

.art-row.is-done .art-box {
  background: var(--blue-700);
  border-color: var(--blue-700);
}

.art-row span:last-child {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: var(--color-border);
}

/* Áreas temáticas */
.topics-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
  margin-top: var(--space-9);
  margin-bottom: var(--space-6);
}

.topics-head h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.topics-head p {
  max-width: 640px;
  color: var(--color-muted-fg);
}

.topics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}

.topic {
  position: relative;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out),
    border-color 0.25s;
}

.topic::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.topic:hover {
  transform: translateY(-4px);
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.topic:hover::after {
  transform: scaleX(1);
}

.topic h4 {
  font-size: 1.0625rem;
  font-weight: 600;
}

.topic p {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
}

.topic .icon-tile {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

/* ---------- Cómo funciona ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps__line {
  position: absolute;
  left: 28px;
  right: calc((100% - 3 * var(--space-5)) / 4 - 28px);
  top: 27px;
  height: 2px;
  background: var(--color-border);
  overflow: hidden;
}

.steps__line span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.4s var(--ease-out);
}

.steps.is-visible .steps__line span {
  transform: scaleX(1);
}

.step {
  position: relative;
}

.step__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-5);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy-900);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
  border-radius: 50%;
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}

.steps.is-visible .step__num {
  color: #fff;
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.steps.is-visible .step:nth-child(3) .step__num {
  transition-delay: 0.35s;
}

.steps.is-visible .step:nth-child(4) .step__num {
  transition-delay: 0.7s;
}

.steps.is-visible .step:nth-child(5) .step__num {
  transition-delay: 1.05s;
}

.step h3 {
  font-size: 1.125rem;
  font-weight: 600;
}

.step p {
  margin-top: var(--space-2);
  font-size: 1rem;
  color: var(--color-muted-fg);
}

/* ---------- Equipo ---------- */
.team-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.team-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gradient-brand);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Cartel con el nombre sobre la foto */
.team-badge {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 28px 16px 20px;
  background: rgba(255, 255, 255, 0.96);
  border-top-right-radius: var(--radius-lg);
  box-shadow: 0 -8px 24px -12px rgba(6, 15, 36, 0.4);
}

.team-badge strong {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-900);
}

.team-badge span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-700);
}

.team-name {
  font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2rem);
  font-weight: 600;
}

.team-bio {
  margin-top: var(--space-3);
  display: grid;
  gap: var(--space-4);
  color: var(--color-muted-fg);
  font-size: 1.0625rem;
}

.team-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.fact {
  padding: var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.fact strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 600;
  color: var(--navy-900);
}

.fact span {
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
}

/* ---------- Compromisos ---------- */
.commit {
  position: relative;
  color: #fff;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}

.commit::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(50% 70% at 90% 0%, rgba(56, 189, 248, 0.25), transparent 65%),
    radial-gradient(50% 70% at 0% 100%, rgba(29, 78, 216, 0.35), transparent 65%);
}

.commit .eyebrow {
  color: var(--sky-400);
}

.commit .section-title {
  color: #fff;
}

.commit .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.commit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}

.commit-item {
  padding: var(--space-5);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  transition: background-color 0.25s, border-color 0.25s;
}

.commit-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.commit-item .icon-tile {
  color: var(--sky-400);
  background: rgba(56, 189, 248, 0.12);
}

.commit-item h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  color: #fff;
}

.commit-item p {
  margin-top: var(--space-2);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
}

.commit-item a {
  color: var(--sky-400);
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-8);
  align-items: start;
}

.faq-list {
  display: grid;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item[open] {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-md);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 56px;
  padding: var(--space-4) var(--space-5);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  position: relative;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  background: var(--navy-900);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-out);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--color-muted-fg);
}

.faq-answer p + p {
  margin-top: var(--space-3);
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: stretch;
}

.contact-info {
  display: grid;
  gap: var(--space-3);
  align-content: start;
}

.contact-row {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.contact-row .icon-tile {
  margin: 0;
  flex: none;
}

.contact-row h3 {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-subtle-fg);
}

.contact-row p,
.contact-row a {
  margin-top: 4px;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--navy-900);
  word-break: break-word;
}

.contact-row small {
  display: block;
  margin-top: 2px;
  font-size: 0.9375rem;
  color: var(--color-muted-fg);
}

.contact-form {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.contact-form h3 {
  font-size: 1.375rem;
  font-weight: 600;
}

.contact-form > p {
  margin-top: var(--space-2);
  color: var(--color-muted-fg);
}

.field {
  display: grid;
  gap: 6px;
  margin-top: var(--space-4);
}

.field label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy-900);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font: inherit;
  font-size: 1rem;
  color: var(--color-fg);
  background: var(--color-bg);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.field-error {
  display: none;
  font-size: 0.875rem;
  color: #b91c1c;
}

.field.has-error input,
.field.has-error textarea {
  border-color: #dc2626;
}

.field.has-error .field-error {
  display: block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.form-note {
  margin-top: var(--space-4);
  font-size: 0.875rem;
  color: var(--color-subtle-fg);
}

.contact-form .btn {
  width: 100%;
  margin-top: var(--space-5);
}

/* ---------- Footer ---------- */
.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-950);
  padding-top: var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
}

.site-footer .brand {
  color: #fff;
}

.site-footer .brand__sub {
  color: rgba(255, 255, 255, 0.55);
}

.footer-about {
  margin-top: var(--space-4);
  max-width: 340px;
  font-size: 0.9875rem;
}

.footer-col h3 {
  margin-bottom: var(--space-4);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.footer-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-col address {
  font-style: normal;
  font-size: 0.9875rem;
}

.footer-contact {
  display: grid;
  gap: var(--space-4);
  margin: 0;
}

.footer-contact dt {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
}

.footer-contact dd {
  margin: 2px 0 0;
  font-size: 0.9875rem;
  word-break: break-word;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  gap: var(--space-3);
  padding-block: var(--space-5);
  font-size: 0.9375rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- Volver arriba ---------- */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #fff;
  background: var(--navy-900);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s var(--ease-out), visibility 0.25s,
    background-color 0.2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--blue-700);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 150;
  padding: 12px 18px;
  font-weight: 600;
  color: #fff;
  background: var(--navy-900);
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.25s var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Animación de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Hero: entra al cargar sin depender de JS */
.rise {
  animation: rise 0.7s var(--ease-out) both;
  animation-delay: var(--delay, 0ms);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Páginas legales ---------- */
.legal-hero {
  padding-block: var(--space-8) var(--space-7);
  background:
    radial-gradient(60% 80% at 90% 0%, rgba(56, 189, 248, 0.14), transparent 70%),
    var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 var(--space-4);
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--color-subtle-fg);
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 8px;
  color: var(--color-border-strong);
}

.breadcrumb a {
  color: var(--color-muted-fg);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--navy-900);
  text-decoration: underline;
}

.legal-hero h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  font-weight: 600;
}

.legal-meta {
  margin-top: var(--space-3);
  color: var(--color-muted-fg);
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-8);
  align-items: start;
  padding-block: var(--space-8) var(--space-9);
}

.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.legal-toc h2 {
  margin-bottom: var(--space-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-subtle-fg);
}

.legal-toc ol {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-toc a {
  display: block;
  padding: 6px 10px;
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--color-muted-fg);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s;
}

.legal-toc a:hover,
.legal-toc a.is-active {
  color: var(--navy-900);
  background: var(--sky-100);
}

.legal-content {
  max-width: 760px;
  padding: var(--space-7);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
}

.legal-content h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
  font-size: 1.375rem;
  font-weight: 600;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  margin-top: var(--space-5);
  margin-bottom: var(--space-2);
  font-size: 1.0625rem;
  font-weight: 600;
}

.legal-content p,
.legal-content li {
  color: #334155;
}

.legal-content p + p {
  margin-top: var(--space-3);
}

.legal-content ul,
.legal-content ol {
  display: grid;
  gap: 8px;
  margin: var(--space-3) 0;
  padding-left: 22px;
}

.legal-summary {
  margin-bottom: var(--space-6);
  padding: var(--space-5);
  background: var(--sky-100);
  border: 1px solid #bae6fd;
  border-radius: var(--radius-md);
}

.legal-summary h2 {
  margin: 0 0 var(--space-2) !important;
  font-size: 1.0625rem !important;
}

.legal-summary ul {
  margin-bottom: 0;
}

.legal-contact {
  margin-top: var(--space-7);
  padding: var(--space-5);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.legal-contact p + p {
  margin-top: 4px;
}

.legal-related {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .topics {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .team-card {
    grid-template-columns: 300px 1fr;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

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

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: var(--space-4) 20px var(--space-5);
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.25s var(--ease-out), visibility 0.2s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__link {
    padding: 14px 12px;
    font-size: 1.0625rem;
    border-radius: 10px;
  }

  .nav__cta {
    margin: var(--space-2) 0 0;
  }

  .hero__inner,
  .about-grid,
  .tab-panel,
  .faq-layout,
  .contact-grid,
  .team-card,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .hero__inner {
    gap: var(--space-7);
  }

  .hero__visual {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .about-grid,
  .faq-layout {
    gap: var(--space-6);
  }

  .tab-panel {
    padding: var(--space-5);
    gap: var(--space-5);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-6) var(--space-5);
  }

  .steps__line {
    display: none;
  }

  .commit-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    padding: var(--space-5);
  }

  .team-photo {
    max-width: 360px;
  }

  .legal-toc {
    display: none;
  }

  .legal-layout {
    padding-block: var(--space-6) var(--space-8);
  }

  .legal-content {
    padding: var(--space-5);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  .container {
    padding-inline: 16px;
  }

  .hero__lead {
    font-size: 1.125rem;
  }

  .hero__actions .btn {
    flex: 1 1 100%;
  }

  .pillars,
  .topics,
  .steps,
  .team-facts,
  .form-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .tabs {
    display: flex;
    border-radius: var(--radius-lg);
  }

  .tab {
    flex: 1 1 auto;
    border-radius: 14px;
  }

  .contact-form {
    padding: var(--space-5);
  }

  .showcase__chip {
    font-size: 0.75rem;
  }

  .art-books {
    gap: 10px;
  }

  .art-book {
    width: 74px;
    padding: 8px;
    font-size: 0.625rem;
  }

  .art-book:nth-child(2) {
    width: 88px;
  }

  .mail__text span {
    display: none;
  }

  .legal-content {
    padding: var(--space-5) var(--space-4);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
