/* =====================
   HEADER
   ===================== */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  backdrop-filter: blur(12px);
  background: rgba(0, 0, 0, 0.55);
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 64px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
}

.logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 1rem;
}

.dropdown {
  position: relative;
}

.dropdown button {
  background: none;
  border: none;
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
}

.menu {
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 160px;
  background: rgba(20, 20, 20, 0.95);
  border-radius: 8px;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
}

.menu a {
  padding: 0.5rem;
  font-size: 0.85rem;
  text-decoration: none;
  color: white;
}

.menu a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-soon {
  display: block;
  padding: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
  cursor: default;
}

.dropdown:hover .menu {
  display: flex;
}

.right img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.right-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 0;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(11, 11, 13, 0.98);
  backdrop-filter: blur(12px);
  padding: 0.5rem 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu-section {
  padding: 0.875rem 0 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu-section:last-child {
  border-bottom: none;
}

.mobile-menu-section h5 {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b70;
  font-family: "IBM-Plex-Mono", monospace;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.mobile-menu-section a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.12s;
}

.mobile-menu-section a:hover {
  color: var(--color-accent);
}

.mobile-menu-section .nav-soon {
  padding: 0.4rem 0;
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .auth-btn-outline {
    display: none;
  }
}

/* =====================
   CARRUSEL
   ===================== */
.carousel {
  padding-top: 64px;
  height: 70vh;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  inset: 0;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0)
  );
  color: white;
  max-width: 50%;
}

.badge {
  background: var(--color-accent);
  color: var(--color-bg-alt);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  width: fit-content;
  margin-bottom: 1rem;
}

.cta {
  margin-top: 1rem;
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: var(--color-accent);
  font-size: 2rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
}

.carousel-nav.prev { left: 1rem; }
.carousel-nav.next { right: 1rem; }

.dots {
  position: absolute;
  bottom: 13rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg);
  cursor: pointer;
}

.dots button.active {
  background: var(--color-text);
}

@media (max-width: 768px) {
  .overlay {
    max-width: 100%;
    padding: 2rem;
  }
}

/* =====================
   SECCIONES FEATURE
   ===================== */
.feature {
  position: relative;
  padding: 6rem 0;
}

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.content.reverse {
  direction: rtl;
}

.content.reverse > * {
  direction: ltr;
}

.image img {
  width: 100%;
  border-radius: 16px;
}

.feature-a {
  background: linear-gradient(
    to bottom,
    #F6F4EF 0%,
    #F6F4EF 70%,
    #0B0B0D 100%
  );
  color: var(--color-text-alt);
}

.feature-b {
  background: linear-gradient(
    to bottom,
    #0B0B0D 0%,
    #0B0B0D 70%,
    #F3F0EA 100%
  );
  color: var(--color-text);
}

.feature-c {
  background: var(--color-bg-alt);
  color: var(--color-text-alt);
}

.feature::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: inherit;
  filter: blur(40px);
  transform: translateY(50%);
  z-index: -1;
}

@media (max-width: 768px) {
  .content {
    grid-template-columns: 1fr;
  }
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--color-bg);
  color: var(--color-text);
  padding: 3rem 2rem;
  font-size: 0.9rem;
}

.footer a {
  color: var(--color-text);
  text-decoration: none;
}

.footer a:hover {
  color: var(--color-accent);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-weight: 800;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
}

.footer-logo-img {
  height: 26px;
  width: auto;
  display: block;
}

.socials {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.socials a {
  display: flex;
  align-items: center;
  opacity: 0.55;
  transition: opacity 0.15s;
}

.socials a:hover { opacity: 1; }

.social-soon {
  display: flex;
  align-items: center;
  opacity: 0.25;
  cursor: default;
}

.socials svg { width: 18px; height: 18px; }

hr {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2rem 0;
}

.footer-links {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.col h4 {
  color: white;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.col a {
  display: block;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #9ca3af;
}

.legal {
  display: flex;
  gap: 1rem;
}

@media (max-width: 768px) {
  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}