:root {
  --red: #e10613;
  --red-dark: #b80510;
  --ink: #14181f;
  --muted: #5d6672;
  --line: #e6e8ec;
  --soft: #f4f6f8;
  --white: #fff;
  --navy: #101826;
  --header: 76px;
  --wrap: 1120px;
  --shadow: 0 16px 40px rgba(16, 24, 38, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 20;
}

.skip:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header__bar {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand img {
  width: 148px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav > a:not(.btn):hover,
.nav > a:not(.btn):focus-visible {
  color: var(--red);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
}

.nav-toggle__lines,
.nav-toggle__lines::before,
.nav-toggle__lines::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
}

.nav-toggle__lines::before,
.nav-toggle__lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__lines::before {
  top: -6px;
}

.nav-toggle__lines::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  border: 2px solid transparent;
}

.btn--red {
  background: var(--red);
  color: var(--white);
}

.btn--red:hover,
.btn--red:focus-visible {
  background: var(--red-dark);
}

.btn--ghost {
  border-color: #cfd3da;
  background: var(--white);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--ink);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: #f3f4f6;
}

.btn--line {
  border-color: var(--red);
  color: var(--red);
  background: transparent;
}

.btn--line:hover,
.btn--line:focus-visible {
  background: var(--red);
  color: var(--white);
}

.btn--lg {
  min-height: 50px;
  padding-inline: 1.3rem;
  font-size: 0.95rem;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  overflow: hidden;
  background: #0c1424;
}

.slider__slides,
.slider__slide,
.hero__shade {
  position: absolute;
  inset: 0;
}

.slider__slide {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.slider__slide.is-active {
  opacity: 1;
}

.slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__shade {
  background: linear-gradient(90deg, rgba(8, 12, 22, 0.86) 0%, rgba(8, 12, 22, 0.62) 46%, rgba(8, 12, 22, 0.28) 100%);
  z-index: 1;
}

.hero__inner,
.slider__ui {
  position: relative;
  z-index: 2;
}

.hero__inner {
  width: min(var(--wrap), calc(100% - 2rem));
  margin-inline: auto;
  padding: 4.5rem 0 6rem;
  max-width: 760px;
  margin-left: max(1rem, calc((100% - var(--wrap)) / 2));
}

.slider__ui {
  position: absolute;
  left: max(1rem, calc((100% - var(--wrap)) / 2));
  bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.slider__arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(8, 12, 22, 0.35);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.slider__arrow:hover,
.slider__arrow:focus-visible {
  background: rgba(8, 12, 22, 0.6);
}

.slider__dots {
  display: flex;
  gap: 0.4rem;
}

.slider__dots button {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slider__dots button[aria-selected="true"] {
  background: var(--white);
}

.slider__caption {
  margin: 0 0 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: #ffb3b8;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow--dark {
  color: var(--red);
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  max-width: 12ch;
}

.hero__lead {
  max-width: 38rem;
  color: #d7deea;
  font-size: 1.15rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: 88px;
}

.section--soft {
  background: var(--soft);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__head--spaced {
  margin-top: 3.2rem;
}

.gear {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.gear li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.gear img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.gear div {
  padding: 1.15rem 1.2rem 1.35rem;
}

.gear h3 {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.gear p {
  margin: 0;
  color: var(--muted);
}

.section__head h2,
.about h2,
.payments h3,
.cta h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.section__head p,
.payments p,
.about p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.values,
.plans,
.places,
.contact,
.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.values li,
.plan,
.contact li,
.payments,
.about__aside {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.values li {
  padding: 1.2rem;
}

.values h3,
.contact h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.values p,
.contact p {
  margin: 0;
  color: var(--muted);
}

.plans__label {
  margin: 2rem 0 0.9rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.plan {
  position: relative;
  padding: 1.6rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 180px;
}

.plan::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  top: 0;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--red);
}

.plan__speed {
  margin: 0.6rem 0 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.plan .btn {
  margin-top: auto;
}

.badge {
  align-self: flex-start;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}

.plan--featured {
  border-color: #f3b8bd;
}

.payments {
  margin-top: 2.5rem;
  padding: 1.6rem;
}

.payments ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--ink);
}

.payments li + li {
  margin-top: 0.35rem;
}

.places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.places li {
  background: #fff1f2;
  color: var(--red-dark);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.map {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  background: var(--soft);
}

.map iframe {
  width: 100%;
  height: 480px;
  border: 0;
}

.about {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.about__aside {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 320px;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.about__aside img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__aside p {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 4.2rem 1.2rem 1.2rem;
  background: linear-gradient(transparent, rgba(8, 12, 22, 0.88));
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
}

.cta {
  background:
    linear-gradient(180deg, rgba(8, 12, 22, 0.62), rgba(8, 12, 22, 0.72)),
    url("../assets/cta-fondo.jpg") center / cover no-repeat;
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}

.cta h2 {
  max-width: 16ch;
  margin-inline: auto;
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact li {
  padding: 1.3rem;
}

.contact a {
  color: var(--red-dark);
  font-weight: 700;
  text-decoration: none;
}

.contact a:hover,
.contact a:focus-visible {
  text-decoration: underline;
}

.footer {
  background: var(--red);
  color: var(--white);
  padding-top: 2.5rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
}

.footer a:hover,
.footer a:focus-visible {
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

.footer h2 {
  margin: 0 0 0.7rem;
  font-size: 1rem;
}

.footer li + li,
.footer p {
  margin-top: 0.35rem;
}

.footer__legal {
  margin: 0;
  background: #1b1e23;
  color: #c5c8ce;
  text-align: center;
  padding: 0.9rem 1rem;
  font-size: 0.85rem;
}

.whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 9;
}

.whatsapp:hover,
.whatsapp:focus-visible {
  background: #1ebe5b;
}

:focus-visible {
  outline: 3px solid #7aa2ff;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .values,
  .plans,
  .contact,
  .footer__grid,
  .about,
  .gear {
    grid-template-columns: 1fr 1fr;
  }

  .values li:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1rem 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.is-open {
    display: flex;
  }

  .nav .btn {
    width: 100%;
  }

  .values,
  .plans,
  .contact,
  .footer__grid,
  .about,
  .gear {
    grid-template-columns: 1fr;
  }

  .gear img {
    height: 220px;
  }

  .slider__caption {
    display: none;
  }

  .values li:last-child {
    grid-column: auto;
  }

  .hero__inner {
    margin-left: auto;
    padding: 3.2rem 0;
  }

  .section {
    padding: 3.4rem 0;
  }

  .map iframe {
    height: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .slider__slide {
    transition: none;
  }
}
