/* ─── CONTAINER ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 120px 0;
}

.section--alt {
  background: var(--lighter);
}

.section--dark {
  background: var(--black);
  color: var(--light);
}

.section--dark h2, .section--dark h3 {
  color: var(--white);
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}

.section__eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--black);
}

.section--dark .section__eyebrow {
  color: rgba(255,255,255,0.55);
}

.section--dark .section__eyebrow::before {
  background: var(--white);
}

.section__title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.section__lead {
  font-size: 17px;
  color: var(--gray);
  max-width: 640px;
  margin-bottom: 48px;
}

.section--dark .section__lead {
  color: rgba(255,255,255,0.65);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

/* ─── HEADER ────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition);
}

.header.is-scrolled {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  transition: padding var(--transition);
}

.header.is-scrolled .header__inner {
  padding: 16px 32px;
}

.header__logo {
  font-family: var(--heading);
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  transition: color var(--transition);
}

.header.is-scrolled .header__logo {
  color: var(--black);
}

.nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav__link {
  position: relative;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  background: transparent;
  transition: color var(--transition), background var(--transition);
}

.header.is-scrolled .nav__link {
  color: var(--black);
}

.nav__link:hover {
  background: rgba(128, 128, 128, 0.25);
}

.btn.header__cta {
  border: 1px solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.header__cta:hover {
  background: var(--white);
  color: var(--black);
}

.header.is-scrolled .header__cta {
  border-color: var(--black);
  background: var(--black);
  color: var(--white);
}

.header.is-scrolled .header__cta:hover {
  background: var(--steel);
  border-color: var(--steel);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: background var(--transition);
}

.header.is-scrolled .nav__toggle span {
  background: var(--black);
}

/* ─── HERO SLIDER ───────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 64px;
  overflow: hidden;
  background: var(--black);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 2.4s ease;
}

.hero__slide.is-active {
  opacity: 1;
  animation: heroKenBurns 8s ease-out forwards;
}

@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active {
    animation: none;
  }
}

.hero__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55), rgba(10,10,10,0.82));
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero__badge {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero__rule {
  width: 80px;
  height: 1px;
  background: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}

.hero__subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 40px;
}

.hero__counter {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  font-family: var(--heading);
}

.hero__counter b {
  color: var(--white);
  font-weight: 700;
}

.hero__scroll {
  position: absolute;
  right: 32px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0; }
  100% { top: 100%; }
}

/* ─── CTA BAND (oscura) ─────────────────────────────────────── */
.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 56px 0;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band__text {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 500;
  max-width: 680px;
  color: rgba(255,255,255,0.92);
}

/* ─── PAGE HEADER (páginas internas) ───────────────────────── */
.page-header {
  background: var(--black);
  padding: 160px 0 72px;
}

.page-header__inner {
  max-width: 900px;
  text-align: left;
}

.page-header__title {
  color: var(--white);
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 700;
}

.page-header__lead {
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  margin-top: 20px;
  font-size: 17px;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--black);
  color: var(--light);
  padding: 88px 0 28px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 48px;
}

.footer__brand {
  font-family: var(--heading);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--white);
}

.footer__hours {
  font-size: 14px;
  color: rgba(242,242,242,0.6);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer__heading {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__text {
  font-size: 14px;
  color: rgba(242,242,242,0.65);
  line-height: 1.9;
}

.footer__links a {
  display: block;
  font-size: 14px;
  color: rgba(242,242,242,0.65);
  padding: 6px 0;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.footer__social a {
  font-size: 14px;
  color: var(--light);
  opacity: 0.75;
}

.footer__social a:hover {
  opacity: 1;
}

.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(242,242,242,0.5);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 150;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

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

  .nav__link {
    color: var(--white);
    font-family: var(--heading);
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 14px 0;
  }

  .nav .header__cta {
    margin-top: 24px;
    border-color: var(--white);
    color: var(--white);
  }

  .nav .header__cta:hover {
    background: var(--white);
    color: var(--black);
  }

  .nav__toggle {
    display: flex;
    position: relative;
    z-index: 160;
  }

  .nav__toggle span {
    transition: transform var(--transition), opacity var(--transition), background var(--transition);
  }

  .nav__toggle.is-active span {
    background: var(--white);
  }

  .header.is-scrolled .nav__toggle.is-active span {
    background: var(--white);
  }

  .nav__toggle.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .nav__toggle.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .section {
    padding: 72px 0;
  }

  .hero__scroll {
    display: none;
  }
}
