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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h-lg) + 0.75rem);
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin: 0;
  text-wrap: balance;
}

p,
li,
dd,
figcaption,
.notice,
.faq__question {
  text-wrap: balance;
}

.faq__panel p,
.btn,
button {
  text-wrap: pretty;
}

p,
ul,
dl {
  margin: 0;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: inherit;
}

:focus {
  outline: none;
}

:focus-visible {
  box-shadow: var(--focus);
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: var(--space-md);
  top: -4rem;
  z-index: 80;
  background: var(--color-brand-black);
  color: var(--color-brand-white);
  padding: 0.6rem 0.9rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: var(--space-md);
}

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

.wrap {
  width: min(calc(100% - 2.5rem), var(--wrap));
  margin-inline: auto;
}

.wrap--narrow {
  width: min(calc(100% - 2.5rem), var(--wrap-narrow));
}

@media (max-width: 430px) {
  .wrap,
  .wrap--narrow {
    width: min(calc(100% - 1.5rem), var(--wrap));
  }

  .wrap--narrow {
    width: min(calc(100% - 1.5rem), var(--wrap-narrow));
  }
}

.icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
}

.icon--sm {
  width: 1.1rem;
  height: 1.1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-pixel);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-section-label);
  margin-bottom: 0.65rem;
}

.eyebrow--on-dark {
  color: var(--color-neutral-accent-on-dark);
}

.eyebrow--on-lime {
  color: var(--color-section-label);
}

.section {
  padding: var(--space-section) 0;
  scroll-margin-top: calc(var(--header-h-lg) + 1rem);
}

.section-heading {
  max-width: 40rem;
  margin-bottom: var(--space-lg);
}

.section-heading h1,
.section-heading h2 {
  font-size: var(--fs-2xl);
}

.section-heading__intro {
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  font-size: var(--fs-lg);
}

.notice {
  margin-bottom: var(--space-xl);
  padding: 0.9rem 1rem;
  border: 2px solid var(--color-brand-black);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  box-shadow: 4px 4px 0 var(--color-brand-primary);
  max-width: 52rem;
}

.notice--after {
  margin-top: var(--space-xl);
  margin-bottom: 0;
  max-width: 46rem;
  background: var(--color-bg-muted);
  box-shadow: 2px 2px 0 var(--color-brand-primary);
  color: var(--color-text);
  font-size: var(--fs-md);
}

.is-soon {
  color: var(--color-text-muted);
}

.page {
  padding-bottom: 5rem;
}

.page--contratar,
.page--ayuda,
.page--aviso-legal,
.page--privacidad,
.page--cookies,
.page--condiciones {
  padding-bottom: 2.5rem;
}

@media (max-width: 700px) {
  .section {
    padding: var(--space-2xl) 0;
  }

  .section-heading {
    margin-bottom: var(--space-md);
  }
}

@media (min-width: 960px) {
  .page {
    padding-bottom: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
