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

:root {
  --bg: #050508;
  --bg-elevated: #0c0c12;
  --bg-soft: #15151f;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --accent: #ffffff;
  --accent-soft: rgba(255, 255, 255, 0.12);
  --accent-strong: #f5f5f5;
  --text: #f5f5f5;
  --muted: #a3a3b5;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-soft: 0 26px 80px rgba(0, 0, 0, 0.85);
  --transition-fast: 0.2s ease-out;
  --transition-med: 0.35s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #11111a 0, #050508 46%, #020207 100%);
  color: var(--text);
  min-height: 100vh;
}

/* Layout b谩sicos */

.site-header {
  position: relative;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: visible;
  border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.16) 0, transparent 52%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.02) 0, transparent 58%);
}


.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
}

.logo-text {
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 13px;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.nav__links a {
  text-decoration: none;
  color: var(--muted);
  padding: 6px 0;
  position: relative;
  transition: color var(--transition-fast);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition-fast);
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__links a:hover::after {
  width: 100%;
}

.nav__cta {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 8, 10, 0.7);
  color: var(--text);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast);
}

.nav__cta:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

/* Hero & Slider */

.hero {
  max-width: 1180px;
  margin: 60px auto 40px;
  padding: 0 20px 40px;
}

.hero-slider {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  height: 66vh;
  height: 66svh;
  position: relative;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.06) 0, #050509 58%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 600px) {
  .hero-slider {
    height: 70vh;
    height: 70svh;
  }
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* 🔥 FIX SAFARI */
  transform: translateZ(0) scale(1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  z-index: 0;
}


.hero-slide {
  position: absolute;
  inset: 0;
  padding: 60px 42px 44px;
  opacity: 0;
  transition: opacity 0.7s ease-out;
  display: flex;
  align-items: flex-end;

  /* IMPORTANTE: ya NO se anima el slide completo */
  background-image: none !important;
}

.hero-slide.active {
  opacity: 1;
}

/* ✅ NUEVO: capa de imagen (solo esto hace zoom) */
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1);
  will-change: transform;
  z-index: 0;
}

/* overlay y texto deben estar por encima de la imagen */
.hero-slide__overlay { z-index: 1; }
.hero-slide__content { z-index: 2; }


.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.18) 0, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0, transparent 40%),
    linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(5, 5, 10, 0.95));
  pointer-events: none;
}

.hero-slide__content {
  position: relative;
  max-width: 540px;
  z-index: 2;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.hero-slide__content h1 {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.06;
  margin-bottom: 30px;
}

.hero-slide__content h1 span {
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 255, 255, 0.65);
  text-underline-offset: 6px;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 460px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

/* Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-pill);
  padding: 11px 20px;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    background var(--transition-fast),
    color var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn--primary {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.8);
}

.btn--ghost {
  background: rgba(6, 6, 10, 0.8);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn--full {
  width: 100%;
}

/* Slider controls */

.hero-slider__control {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(5, 5, 10, 0.7);
  color: #ffffff;
  font-size: 17px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast), transform var(--transition-fast), border-color var(--transition-fast), opacity var(--transition-fast);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-slider__control--prev {
  right: 54px;
}

.hero-slider__control:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
  transform: translateY(-1px);
}

.hero-slider__dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: width var(--transition-fast), background var(--transition-fast), opacity var(--transition-fast);
  opacity: 0.7;
}

.dot.active {
  width: 18px;
  background: #ffffff;
  opacity: 1;
}

/* Secciones generales */

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 20px;
}

.section-header {
  margin-bottom: 26px;
}

.section-header h2 {
  font-size: 24px;
  margin-bottom: 6px;
}

.section-header p {
  font-size: 14px;
  color: var(--muted);
}

/* Grid */

.grid--3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* Cards */

.card {
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.03) 0, rgba(7, 7, 12, 0.96) 40%);
  border-radius: 20px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.85);
  transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med), background var(--transition-med);
}

.card__tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.95);
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.09) 0, rgba(7, 7, 12, 0.98) 44%);
}

/* Brands slider */

.section--brands {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0, transparent 60%);
}

.brands-slider {
  position: relative;
  overflow: hidden;
  margin-top: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03) 0, rgba(5, 5, 10, 0.96) 60%);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9);
}

.brands-slider::before,
.brands-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.brands-slider::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0, transparent 100%);
}

.brands-slider::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0, transparent 100%);
}

.brands-track {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 26px;
  animation: scrollBrands 28s linear infinite;
}

.brand-pill {
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 13px;
  white-space: nowrap;
  color: var(--accent-strong);
  background: rgba(5, 5, 10, 0.92);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.75);
}

@keyframes scrollBrands {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Highlight */

.section--highlight {
  padding-top: 44px;
}

.highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 18px;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.06) 0, rgba(9, 9, 15, 0.98) 52%);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 75px rgba(0, 0, 0, 0.95);
  padding: 22px 22px 24px;
}

.highlight__copy h2 {
  font-size: 22px;
  margin-bottom: 10px;
}

.highlight__copy p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 6px;
}

.highlight__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: center;
}

.stat {
  padding: 10px 12px;
  border-radius: 18px;
  background: rgba(5, 5, 10, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stat__number {
  display: block;
  font-size: 22px;
  font-weight: 500;
}

.stat__label {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

/* Contacto */

.section--contact {
  padding-bottom: 56px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 22px;
  margin-top: 10px;
}

.contact-form {
  background: rgba(7, 7, 12, 0.98);
  border-radius: 24px;
  padding: 18px 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 70pxrgba(0, 0, 0, 0.96);
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input,
.field textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(1, 1, 4, 0.9);
  color: var(--text);
  padding: 10px 11px;
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(163, 163, 181, 0.7);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  background: rgba(4, 4, 10, 0.98);
}

.form-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--muted);
}

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.contact-card {
  background: rgba(6, 6, 11, 0.98);
  border-radius: 24px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.9);
}

.contact-card h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.contact-card ul {
  list-style: none;
}

.contact-card li {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 4px;
}

.contact-card--compact {
  padding-top: 12px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 16px 20px 22px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.site-footer__small {
  margin-top: 4px;
  font-size: 11px;
}

/* Responsivo */

@media (max-width: 960px) {
  .nav {
    gap: 12px;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    padding-inline: 14px;
  }

  .hero {
    margin: 40px auto 30px;
    padding: 0 16px 32px;
  }

  .hero-slider {
    min-height: 72vh;
  }

  .hero-slide {
    align-items: flex-end;
    padding: 30px 22px 26px;
  }

  .hero-slide__content {
    max-width: 100%;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .highlight {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-slider {
    min-height: 70vh;
  }

  .hero-slide {
    padding: 22px 18px 26px;
    align-items: flex-end;
    background-position: center center;
  }

  .hero-slide__content h1 {
    font-size: 30px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section {
    padding-inline: 16px;
  }

  .brands-track {
    animation-duration: 32s;
  }
}
.nav__logo-img {
  height: 34px; /* igual que tu logo original */
  width: auto;
  display: block;
}
/* Contenedor del grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Tarjeta */
.brand-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* Da dimensi贸n moderna tipo Apple TV */
  background: #111; 
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
  transition: transform .35s ease, box-shadow .35s ease;
}

/* Imagen */
.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Mantiene proporci贸n sin deformar */
  display: block;
}

/* Hover */
.brand-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
}

