:root {
  /* 🔴 PRIMARY (#d13b18) */
  --primary-50:  hsl(12, 80%, 95%);
  --primary-100: hsl(12, 75%, 88%);
  --primary-200: hsl(12, 70%, 75%);
  --primary-300: hsl(12, 68%, 62%);
  --primary-400: hsl(12, 66%, 52%);
  --primary-500: hsl(12, 70%, 45%);
  --primary-600: hsl(12, 75%, 40%);
  --primary-700: hsl(12, 80%, 34%);
  --primary-800: hsl(12, 85%, 28%);
  --primary-900: hsl(12, 90%, 22%);
  --primary-950: hsl(12, 95%, 15%);

  /* 🔵 ACCENT (#04aeec) */
  --accent-50:  hsl(195, 100%, 95%);
  --accent-100: hsl(195, 95%, 85%);
  --accent-200: hsl(195, 90%, 75%);
  --accent-300: hsl(195, 85%, 65%);
  --accent-400: hsl(195, 80%, 55%);
  --accent-500: hsl(195, 85%, 50%);
  --accent-600: hsl(195, 90%, 45%);
  --accent-700: hsl(195, 95%, 38%);
  --accent-800: hsl(195, 100%, 30%);
  --accent-900: hsl(195, 100%, 22%);
  --accent-950: hsl(195, 100%, 15%);

  /* ⚫ TEXT (#112639) */
  --text-50:  hsl(210, 30%, 95%);
  --text-100: hsl(210, 28%, 85%);
  --text-200: hsl(210, 26%, 70%);
  --text-300: hsl(210, 24%, 55%);
  --text-400: hsl(210, 22%, 45%);
  --text-500: hsl(210, 20%, 35%);
  --text-600: hsl(210, 25%, 28%);
  --text-700: hsl(210, 30%, 22%);
  --text-800: hsl(210, 35%, 18%);
  --text-900: hsl(210, 40%, 12%);
  --text-950: hsl(210, 45%, 8%);

  /* ⚪ BACKGROUND (#f2f2f2) */
  --bg-50:  hsl(0, 0%, 100%);
  --bg-100: hsl(0, 0%, 97%);
  --bg-200: hsl(0, 0%, 94%);
  --bg-300: hsl(0, 0%, 90%);
  --bg-400: hsl(0, 0%, 85%);
  --bg-500: hsl(0, 0%, 75%);
  --bg-600: hsl(0, 0%, 65%);
  --bg-700: hsl(0, 0%, 50%);
  --bg-800: hsl(0, 0%, 35%);
  --bg-900: hsl(0, 0%, 20%);
  --bg-950: hsl(0, 0%, 10%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-100);
  color: var(--text-800);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

/* Tipografía */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--text-900);
}

/* Links */
a {
  text-decoration: none;
  color: var(--accent-600);
}

/* Firefox (usa thin real) */
* {
  scrollbar-width: thin;
  scrollbar-color: #4d4d4d transparent;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 6px; /* equivalente a thin */
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #4d4d4d; /* gris topo */
  border-radius: 10px;
}

/* Hover sutil (no exagerado) */
::-webkit-scrollbar-thumb:hover {
  background: #3a3a3a;
}

body{
    background-color: #3a3a3a;
}


/* NAVBAR----------------NAVBAR----------------NAVBAR----------------NAVBAR----------------NAVBAR----------------NAVBAR----------------NAVBAR---------------- */

.navbar {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 999;
  background: transparent;
  transition: all 0.35s ease;
}

.navbar.scrolled {
  top: 0;
  background: hsla(210, 45%, 8%, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px hsla(210, 45%, 8%, 0.25);
}

.navbar__container {
  width: min(1180px, calc(100% - 40px));
  min-height: 85px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.navbar__brand img {
  height: 64px;
}

/* MENU */
.navbar__menu {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

/* LINKS */
.navbar__link {
  position: relative;
  color: var(--bg-50);
  font-size: 0.95rem;
  padding: 0.4rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.25s ease;
}

/* underline */
.navbar__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 0%;
  height: 2px;
  background: var(--primary-500);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.navbar__link:hover::after {
  width: 100%;
}

/* CTA */
.navbar__cta {
  padding: 0.65rem 1.3rem;
  border: 1px solid hsla(0, 0%, 100%, 0.5);
  border-radius: 10px;
  background: transparent;
}

.navbar__cta::after {
  display: none;
}

.navbar__cta:hover {
  background: var(--bg-50);
  color: var(--text-900);
}

/* Oculta todos por defecto */
.navbar__link svg {
  display: none;
}

/* EXCEPTO el botón contact */
.navbar__cta svg {
  display: block;
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

/* TOGGLE BUTTON */
.navbar__toggle {
  display: none;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1001;
  padding: 0;
}

.navbar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  background: var(--bg-50);
  border-radius: 999px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ANIMACIÓN A X */
.navbar__toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.navbar__toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar__toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE */

.navbar__mobile-logo {
  display: none;
}

@media (max-width: 820px) {

  .navbar__toggle {
    display: block;
  }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(84%, 350px);
    height: 100vh;

    background: hsla(210, 45%, 8%, 0.97);
    backdrop-filter: blur(16px);

    display: flex;
    flex-direction: column;
    align-items: stretch;

    padding: 2rem 1.6rem;

    gap: 0.6rem;

    transform: translateX(100%);
    pointer-events: none;
  }

  .navbar__menu.active {
    pointer-events: auto;
  }

  /* logo dentro del menu */
  .navbar__mobile-logo {
    display: flex;
    margin-bottom: 2rem;
  }

  .navbar__mobile-logo img {
    height: 60px;
  }

  /* links alineados izquierda */
  .navbar__link {
    width: 100%;
    justify-content: flex-start;
    font-size: 1rem;
    padding: 0.9rem 0.3rem;
  }

  /* underline más corto */
  .navbar__link:hover::after {
    width: 40px;
  }

  /* ICONOS ACTIVOS SOLO MOBILE */
  .navbar__link svg {
    display: block;
    width: 20px;
    height: 20px;
    stroke-width: 2;
    color: var(--primary-500);
  }

  .navbar__cta {
    margin-top: 1rem;
    justify-content: center;
  }
}


/*  HERO----------------HERO----------------HERO----------------HERO----------------HERO----------------HERO----------------HERO----------------HERO---------------- */

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: var(--text-950);
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 0.9s ease, transform 1.4s ease;
}

.hero__slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      hsla(210, 45%, 8%, 0.92) 0%,
      hsla(210, 45%, 8%, 0.72) 42%,
      hsla(210, 45%, 8%, 0.28) 100%
    ),
    linear-gradient(
      0deg,
      hsla(210, 45%, 8%, 0.55) 0%,
      transparent 45%
    );
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding-top: 85px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero__eyebrow {
  display: inline-flex;
  margin-bottom: 1.1rem;
  padding: 0.45rem 0.8rem;

  color: var(--bg-50);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  border-left: 3px solid var(--primary-500);
  background: hsla(0, 0%, 100%, 0.08);
  backdrop-filter: blur(10px);
}

.hero__title {
  max-width: 760px;
  color: var(--bg-50);
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 1.3rem;
}

.hero__text {
  max-width: 600px;
  color: hsla(0, 0%, 100%, 0.72);
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  line-height: 1.7;
  margin-bottom: 2.2rem;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;

  font-size: 0.95rem;
  font-weight: 700;

  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.hero__btn:hover {
  transform: translateY(-2px);
}

.hero__btn--primary {
  color: var(--bg-50);
  background: var(--primary-600);
  border: 1px solid var(--primary-600);
}

.hero__btn--primary:hover {
  background: var(--primary-500);
  border-color: var(--primary-500);
}

.hero__btn--secondary {
  color: var(--bg-50);
  background: transparent;
  border: 1px solid hsla(0, 0%, 100%, 0.45);
}

.hero__btn--secondary:hover {
  background: hsla(0, 0%, 100%, 0.1);
}

/* CONTROLS */

.hero__controls {
  position: absolute;
  right: 3rem;
  bottom: 2.8rem;
  z-index: 3;

  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.hero__counter {
  color: var(--bg-50);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero__counter span:nth-child(2),
.hero__counter span:nth-child(3) {
  color: var(--bg-400);
}

.hero__buttons {
  display: flex;
  gap: 0.7rem;
}

.hero__arrow {
  width: 48px;
  height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 1px solid hsla(0, 0%, 100%, 0.45);
  border-radius: 10px;
  background: hsla(0, 0%, 100%, 0.08);
  color: var(--bg-50);
  cursor: pointer;

  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hero__arrow:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
  transform: translateY(-2px);
}

.hero__arrow svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.2;
}

/* MOBILE */

@media (max-width: 820px) {
  .hero__overlay {
    background:
      linear-gradient(
        90deg,
        hsla(210, 45%, 8%, 0.95) 0%,
        hsla(210, 45%, 8%, 0.72) 100%
      );
  }

  .hero__content {
    width: min(100% - 32px, 1180px);
    padding-top: 76px;
  }

  .hero__title {
    max-width: 100%;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__controls {
    right: 1.2rem;
    bottom: 1.4rem;
    gap: 0.8rem;
  }

  .hero__arrow {
    width: 42px;
    height: 42px;
  }

  .hero__counter {
    font-size: 0.85rem;
  }
}

@media (max-width: 820px) {
  .navbar {
    top: 10px;
  }

  .navbar__container {
    width: calc(100% - 48px);
    min-height: 70px;
  }

  .navbar__brand img {
    height: 52px;
  }

  .hero {
    min-height: 100svh;
  }

  .hero__slide img {
    object-position: center;
  }

  .hero__overlay {
    background:
      linear-gradient(
        180deg,
        hsla(210, 45%, 8%, 0.92) 0%,
        hsla(210, 45%, 8%, 0.78) 38%,
        hsla(210, 45%, 8%, 0.9) 100%
      );
  }

  .hero__content {
    width: calc(100% - 48px);
    min-height: 100svh;
    padding-top: 92px;
    padding-bottom: 120px;
    justify-content: center;
  }

  .hero__eyebrow {
    max-width: 280px;
    margin-bottom: 1rem;
    padding: 0.42rem 0.75rem;
    font-size: 0.72rem;
    line-height: 1.35;
    letter-spacing: 0.07em;
  }

  .hero__title {
    max-width: 330px;
    font-size: clamp(2.75rem, 13vw, 4rem);
    line-height: 0.92;
    letter-spacing: -0.055em;
    margin-bottom: 1rem;
  }

  .hero__text {
    max-width: 310px;
    color: hsla(0, 0%, 100%, 0.68);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1.7rem;
  }

  .hero__actions {
    width: 100%;
    max-width: 260px;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero__btn {
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
  }

  .hero__controls {
    right: 24px;
    bottom: 24px;
    gap: 0.75rem;
  }

  .hero__counter {
    font-size: 0.82rem;
  }

  .hero__arrow {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
}

@media (max-width: 420px) {
  .hero__title {
    max-width: 300px;
    font-size: clamp(2.55rem, 12.5vw, 3.45rem);
  }

  .hero__text {
    max-width: 295px;
  }

  .hero__actions {
    max-width: 230px;
  }
}