/* =========================
   VARIABLES
========================= */
:root {
  --teal: #00c4b0;
  --lima: #c8f535;
  --claro: #e8e8e8;
  --oscuro: #141414;
  --bg: #0b0b0b;
  --texto: #ffffff;
  --gris: #888;
}

/* =========================
   BASE
========================= */
html {
  scroll-behavior: smooth;
}

.landing-page {
  background: var(--bg);
  color: var(--texto);
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  margin: 0;
}

/* =========================
   HEADER
========================= */
.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 48px;
  position: sticky;
  top: 0;
  background: rgba(11, 11, 11, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.header-logo img {
  height: 32px;
  width: auto;
}

.header-logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--texto);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--gris);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--texto);
}

.nav-link.disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.btn-ingresar {
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid var(--teal);
  background: transparent;
  color: var(--texto);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  width: auto;
  margin-top: 0;
}

.btn-ingresar:hover {
  background: var(--teal);
  color: #0b0b0b;
}

/* =========================
   HERO
========================= */
.landing-hero {
  display: flex;
  align-items: stretch;
  padding: 0 0 0 64px;
  min-height: 580px;
  overflow: hidden;
}

.hero-content {
  flex: 0 0 460px;
  padding: 80px 60px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Carousel */
.hero-carousel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px 24px 24px 0;
  overflow: hidden;
}

.car-item {
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  transition: width 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              height 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.65s ease;
}

.car-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-item.pos-side {
  width: 190px;
  height: 330px;
  opacity: 0.55;
}

.car-item.pos-center {
  width: 290px;
  height: 470px;
  opacity: 1;
}

.hero-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.05;
  color: var(--lima);
  margin: 0 0 20px;
  letter-spacing: -1px;
}

.hero-sub {
  font-size: 16px;
  color: var(--gris);
  line-height: 1.6;
  margin: 0 0 36px;
  max-width: 420px;
}

.btn-wsp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid var(--teal);
  background: transparent;
  color: var(--texto);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  width: auto;
  margin-top: 0;
}

.btn-wsp:hover {
  background: var(--teal);
  color: #0b0b0b;
}

.btn-wsp svg {
  flex-shrink: 0;
}

/* =========================
   FRANJA CLIENTES
========================= */
.clientes-strip {
  padding: 40px 48px;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.clientes-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 24px;
  font-weight: 600;
}

.clientes-logos {
  display: flex;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.cliente-logo {
  height: 50px;
  width: auto;
  opacity: 1;
  filter: none;
  transition: opacity 0.2s;
}

.cliente-logo:hover {
  opacity: 0.75;
}

/* Placeholder cuando no hay imagen */
.cliente-placeholder {
  height: 28px;
  padding: 0 16px;
  background: #1e1e1e;
  border-radius: 6px;
  display: flex;
  align-items: center;
  font-size: 12px;
  color: #333;
  font-weight: 600;
  letter-spacing: 1px;
}

/* =========================
   SECCIÓN SERVICIOS
========================= */
.landing-servicios {
  padding: 0 0 80px;
}

.servicios-header {
  background: var(--lima);
  color: #0b0b0b;
  text-align: center;
  padding: 20px 48px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg);
}

/* Cards de servicios */
.service-card {
  padding: 36px 36px 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.card-light  { background: var(--claro); color: #0b0b0b; }
.card-teal   { background: var(--teal); color: #0b0b0b; }
.card-dark   { background: var(--oscuro); color: var(--texto); }
.card-lime   { background: var(--lima); color: #0b0b0b; }

.service-badge {
  display: inline-block;
  background: rgba(0,0,0,0.12);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 12px;
  width: fit-content;
}

.card-dark .service-badge {
  background: rgba(255,255,255,0.1);
}

.service-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 24px;
}

.service-learn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: default;
  text-decoration: none;
  color: inherit;
  opacity: 0.9;
}

.service-learn-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--lima);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-teal .service-learn-icon,
.card-dark .service-learn-icon {
  background: var(--lima);
}

.card-lime .service-learn-icon {
  background: rgba(0,0,0,0.15);
}

.service-icon {
  position: absolute;
  right: 32px;
  bottom: 28px;
  opacity: 0.25;
  width: 90px;
  height: 90px;
}

.card-dark .service-icon {
  opacity: 0.15;
}

/* =========================
   SECCIÓN PRECIOS
========================= */
.landing-precios {
  padding: 70px 48px 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 30px;
  font-weight: 700;
  margin: 0 0 32px;
}

/* Tabs de deporte */
.deportes-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.tab-deporte {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  color: #888;
  padding: 9px 20px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s;
  width: auto;
  margin-top: 0;
}

.tab-deporte:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: #111;
}

.tab-deporte.active {
  background: #0a1a18;
  border-color: var(--teal);
  color: var(--teal);
}

/* Grid de productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.producto-card {
  position: relative;
  background: #111;
  border-radius: 14px;
  padding: 22px;
  overflow: hidden;
}

.producto-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(135deg, var(--teal), #005f57);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.producto-nombre {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.tramos-tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.tramos-tabla tr {
  border-bottom: 1px solid #1e1e1e;
}

.tramos-tabla tr:last-child {
  border-bottom: none;
}

.tramos-tabla td {
  padding: 7px 0;
  color: #aaa;
}

.tramos-tabla td:last-child {
  text-align: right;
  font-weight: 700;
  color: #fff;
}

.producto-plazo {
  margin-top: 12px;
  font-size: 11px;
  color: #444;
  letter-spacing: 0.5px;
}

/* Extras */
.extras-section {
  margin-top: 10px;
}

.extras-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
  margin-bottom: 16px;
}

.extras-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.extra-card {
  position: relative;
  background: #111;
  border-radius: 12px;
  padding: 16px 18px;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #1e1e1e;
}

.extra-nombre {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #888;
}

.extra-precio {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.precios-empty {
  text-align: center;
  padding: 60px 20px;
  color: #444;
  font-size: 14px;
}

/* =========================
   FOOTER
========================= */
.landing-footer {
  border-top: 1px solid #1a1a1a;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #444;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .landing-header {
    padding: 16px 20px;
  }

  .header-nav {
    gap: 16px;
  }

  .nav-link { display: none; }

  .landing-hero {
    padding: 60px 20px 50px;
    flex-direction: column;
    min-height: unset;
  }

  .hero-content {
    flex: none;
    width: 100%;
    padding: 0;
  }

  .hero-carousel {
    display: none;
  }

  .hero-title {
    font-size: 34px;
  }

  .clientes-strip {
    padding: 32px 20px;
  }

  .clientes-logos {
    gap: 24px;
  }

  .servicios-header {
    padding: 16px 20px;
    font-size: 17px;
  }

  .servicios-grid {
    grid-template-columns: 1fr;
    padding: 12px 16px;
    gap: 12px;
  }

  .service-card {
    padding: 28px 24px;
    min-height: 180px;
  }

  .landing-precios {
    padding: 50px 20px 60px;
  }

  .productos-grid {
    grid-template-columns: 1fr;
  }

  .extras-grid {
    grid-template-columns: 1fr;
  }

  .landing-footer {
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 24px 20px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
