/* =========================================================
   HOME (Light / Minimal / Premium) - 2026 clean
   Reemplaza el look dark/neon por tarjetas claras, bordes suaves,
   sombras sutiles y tipografía editorial.
   ========================================================= */

/* Helpers (solo Home) */
:root{
  --hm-gap: 18px;
  --hm-gap-lg: 26px;
}

/* -----------------------------
   HERO (nx-hero)
   ----------------------------- */
.nx-hero{
  position: relative;
  padding: clamp(46px, 6vw, 78px) 0 clamp(34px, 5vw, 60px);
  overflow: hidden;
}

.nx-hero__bg{
  position:absolute;
  inset:0;
  z-index:0;
}

.nx-hero__bgimg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;

  /* convertimos “fondo oscuro” a “ambient” */
  opacity: 1;
  filter: none;
  transform: none;
  object-position: 75% 50%; 
  
}

/* adiós velo oscuro, hola luz suave */
.nx-hero__veil{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(246,247,251,.96) 0%,
      rgba(246,247,251,.86) 34%,
      rgba(246,247,251,.52) 52%,
      rgba(246,247,251,.18) 64%,
      rgba(246,247,251,0) 76%
    ),
    radial-gradient(700px 420px at 18% 18%, rgba(37,99,235,.12), transparent 60%);
}

/* svg neon existente: lo apagamos para que no grite */
.nx-hero__neon{ display:none; }

.nx-hero__inner{ position:relative; z-index:1; }

.nx-hero__content{
  max-width: 720px;
}

/* Kicker tipo “badge” */
.nx-hero__kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--nx-r999);
  border: 1px solid var(--nx-line);
  background: rgba(255,255,255,.92);
  color: var(--nx-muted);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  box-shadow: var(--nx-shadow-soft);
}

.nx-hero__title{
  margin: 14px 0 10px;
  font-family: var(--nx-font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
  font-size: clamp(34px, 4.4vw, 54px);
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
}

.nx-hero__subtitle{
  margin: 0;
  max-width: 64ch;
  color: var(--nx-muted);
  font-size: 15px;
  line-height: 1.75;
}

.nx-hero__actions{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nx-hero__chips{
  margin-top: 18px;
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Chips reutilizables (Home) */
.nx-chip{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: var(--nx-r999);
  background: rgba(255,255,255,.92);
  border: 1px solid var(--nx-line);
  color: var(--nx-muted);
  font-weight: 600;
  font-size: 13px;
  box-shadow: var(--nx-shadow-soft);
}


/* -----------------------------
   TOP EQUIPOS (pro-top)
   ----------------------------- */
.pro-top{
  padding: 54px 0;
}

.pro-container{
  width: min(var(--nx-max), calc(100% - 32px));
  margin: 0 auto;
}

.pro-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.pro-head__content{
  max-width: 72ch;
}

.pro-kicker{
  display:inline-flex;
  align-items:center;
  padding: 7px 11px;
  border-radius: var(--nx-r999);
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.16);
  color: var(--nx-text);
  font-weight: 700;
  font-size: 12px;
}

.pro-title{
  margin: 12px 0 6px;
  font-family: var(--nx-font-display);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
  font-size: clamp(20px, 3vw, 28px);
}

.pro-subtitle{
  margin: 0;
  color: var(--nx-muted2);
  line-height: 1.7;
  font-size: 14px;
}

.pro-cta{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--nx-r999);
  border: 1px solid var(--nx-line2);
  background: rgba(255,255,255,.92);
  text-decoration:none;
  color: var(--nx-text);
  font-weight: 700;
  box-shadow: var(--nx-shadow-soft);
  transition: transform .12s ease, background .15s ease;
}
.pro-cta:hover{
  transform: translateY(-1px);
  background: var(--nx-surface-2);
}

.pro-empty{
  padding: 18px 16px;
  border-radius: var(--nx-r16);
  border: 1px solid var(--nx-line);
  background: rgba(255,255,255,.92);
  color: var(--nx-muted2);
}

/* Grid estilo “tarjetas angostas” */
.pro-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1100px){
  .pro-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px){
  .pro-head{ align-items:flex-start; flex-direction: column; }
  .pro-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .pro-grid{ grid-template-columns: 1fr; }
}

.pro-card{
  position: relative;
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  border: 1px solid var(--nx-line);
  box-shadow: var(--nx-shadow-soft);
  overflow:hidden;
  transition: transform .12s ease, box-shadow .16s ease, border-color .16s ease;
}
.pro-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--nx-shadow);
  border-color: rgba(37,99,235,.18);
}

.pro-card__media{
  display:block;
  background: linear-gradient(180deg, rgba(241,245,249,.9), rgba(255,255,255,.9));
  border-bottom: 1px solid var(--nx-line);
  padding: 14px;
}

.pro-card__media img{
  width: 100%;
  height: 210px;
  object-fit: contain;
  filter: saturate(1.02) contrast(1.02);
}

.pro-card__ph{
  height: 210px;
  border-radius: 14px;
  border: 1px dashed var(--nx-line2);
  background: rgba(241,245,249,.9);
}

.pro-card__body{
  padding: 14px 14px 16px;
}

.pro-card__name{
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -.01em;
  font-family: var(--nx-font-display);
  line-height: 1.25;
}

.pro-card__link{
  text-decoration:none;
  color: var(--nx-text);
}
.pro-card__link:hover{ text-decoration: underline; }

.pro-card__desc{
  margin: 0 0 12px;
  color: var(--nx-muted2);
  font-size: 13px;
  line-height: 1.6;

  /* clamp limpio */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;
}

.pro-card__actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}

.pro-btn-specs{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--nx-r999);
  border: 1px solid var(--nx-line2);
  background: rgba(255,255,255,.92);
  color: var(--nx-text);
  font-weight: 700;
  font-size: 12.5px;
  cursor:pointer;
  transition: background .15s ease, transform .12s ease;
}
.pro-btn-specs:hover{
  background: var(--nx-surface-2);
  transform: translateY(-1px);
}

/* Overlay de specs (modal dentro de la tarjeta) */
.pro-specs-overlay{
  position:absolute;
  inset: 10px;
  background: rgba(255,255,255,.98);
  border: 1px solid var(--nx-line);
  border-radius: 18px;
  box-shadow: var(--nx-shadow);
  padding: 14px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .16s ease, transform .16s ease;
  overflow:auto;
}

.pro-card.show-specs .pro-specs-overlay{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.pro-specs__head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.pro-specs__mini{
  display:inline-flex;
  padding: 7px 10px;
  border-radius: var(--nx-r999);
  background: rgba(2,6,23,.06);
  border: 1px solid var(--nx-line);
  font-weight: 800;
  font-size: 12px;
  color: var(--nx-text);
}

.pro-specs__close{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--nx-line2);
  background: rgba(255,255,255,.94);
  cursor:pointer;
  font-weight: 800;
}

.pro-specs__title{
  font-family: var(--nx-font-display);
  font-weight: 900;
  letter-spacing: -.01em;
  margin: 6px 0 8px;
}

.pro-specs__desc{
  margin: 0 0 12px;
  color: var(--nx-muted2);
  line-height: 1.65;
  font-size: 13px;
}

.pro-specs__dl{
  margin: 0;
  display:flex;
  flex-direction: column;
  gap: 8px;
}

.pro-specs__row{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 10px 10px;
  border-radius: 14px;
  background: rgba(241,245,249,.75);
  border: 1px solid var(--nx-line);
}

.pro-specs__row dt{
  width: 42%;
  color: var(--nx-muted);
  font-weight: 800;
  font-size: 12.5px;
}
.pro-specs__row dd{
  width: 58%;
  margin: 0;
  color: var(--nx-text);
  font-weight: 600;
  font-size: 12.5px;
  line-height: 1.45;
}

.pro-specs__link{
  display:inline-flex;
  justify-content:center;
  margin-top: 12px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--nx-r999);
  text-decoration:none;
  font-weight: 800;
  border: 1px solid var(--nx-line2);
  color: var(--nx-text);
  background: rgba(255,255,255,.94);
}
.pro-specs__link:hover{ background: var(--nx-surface-2); }

.pro-specs__link--wa{
  background: #111827;
  border-color: transparent;
  color:#fff;
}
.pro-specs__link--wa:hover{ filter: brightness(1.06); }


/* =========================
   Servicios Altice (FULL BLEED + responsive real)
   ========================= */
.sv-services{
  padding: 64px 0;
  width: 100vw;                 /* <- full viewport */
  margin-left: 0;/* <- rompe cualquier contenedor padre */
  margin-right: 0;
}

/* padding lateral elegante */
.sv-wrap{
  width: 100%;
  padding: 0 ;
}

/* Shell ocupa todo el ancho disponible */
.sv-shell{
  width: 100%;
  
  padding: 30px clamp(16px, 3vw, 38px) 26px;
  border: 1px solid rgba(15,23,42,.10);
  background:
    radial-gradient(900px 360px at 10% 0%, rgba(37,99,235,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.72), rgba(255,255,255,.56));
  box-shadow: 0 24px 70px rgba(2,6,23,.10);
}
@supports (backdrop-filter: blur(10px)){
  .sv-shell{ backdrop-filter: blur(18px) saturate(135%); }
}

.sv-head{ text-align:center; margin-bottom: 18px; }
.sv-title{
  margin: 0;
  font-family: var(--nx-font-display);
  font-weight: 950;
  letter-spacing: -.02em;
  font-size: clamp(18px, 2.1vw, 26px);
  color: var(--nx-text);
}
.sv-sub{
  margin: 8px auto 0;
  max-width: 70ch;
  color: var(--nx-muted2);
  font-size: 14px;
  line-height: 1.7;
}

/* Desktop grid */
.sv-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

/* Cards: NO se distorsionan */
.sv-card{
  text-decoration:none;
  color: var(--nx-text);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 20px;
  padding: 18px 16px;
  min-height: 86px;

  display:flex;
  align-items:center;
  gap: 14px;

  box-shadow: 0 14px 34px rgba(2,6,23,.08);
  transition: transform .14s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;

  /* clave para móvil */
  min-width: 0;
}
.sv-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(2,6,23,.12);
  border-color: rgba(37,99,235,.18);
  background: #fff;
}

.sv-ico{
  width: 46px; height: 46px;
  border-radius: 16px;
  display:grid;
  place-items:center;
  background:
    radial-gradient(26px 26px at 30% 30%, rgba(37,99,235,.18), transparent 60%),
    linear-gradient(180deg, rgba(241,245,249,.95), rgba(255,255,255,.92));
  border: 1px solid rgba(15,23,42,.10);
  color: #0f172a;
  flex: 0 0 auto;
}

/* texto no se rompe feo */
.sv-label{
  font-family: var(--nx-font-display);
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -.01em;
  line-height: 1.15;
  color: var(--nx-text);
  margin-right: 10px;
}

/* “Ver detalles” como pill */
.sv-hint{
  margin-left:auto;
  font-size: 12px;
  font-weight: 800;
  color: var(--nx-muted2);
  border: 1px solid rgba(15,23,42,.10);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(241,245,249,.75);
  white-space: nowrap;     /* <- no “distorciona” */
  flex: 0 0 auto;
}
.sv-card:hover .sv-hint{
  background: rgba(37,99,235,.10);
  border-color: rgba(37,99,235,.18);
  color: var(--nx-text);
}

/* =========================
   MOBILE: layout que NO se rompe
   ========================= */
@media (max-width: 980px){
  .sv-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px){
  .sv-services{ padding: 42px 0; }
  .sv-shell{
    border-radius: 24px;
    padding: 18px 14px 16px;
  }

  .sv-sub{ font-size: 13px; margin-top: 6px; }

  /* En móvil: cards en columna, y el pill baja */
  .sv-grid{ grid-template-columns: 1fr; gap: 12px; }

  .sv-card{
    padding: 14px 14px;
    min-height: auto;
    align-items:flex-start;
  }

  .sv-ico{ width: 44px; height: 44px; border-radius: 14px; }

  .sv-label{ font-size: 14px; }

  .sv-hint{
    margin-left: 0;
    margin-top: 10px;
    align-self: flex-start;
  }
}
.sv-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
@media (max-width: 640px){
  .sv-meta{ flex-direction: column; align-items:flex-start; gap: 8px; }
}

/**nuevo carusel */

/* Configuración General */
.offer-carousel {
    padding: 20px 20px 60px;
    
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Encabezado de Sección */
.carousel-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Wrapper y Pista */
.carousel-wrapper {
    position: relative;
    overflow: hidden; /* Oculta lo que se sale del área visible */
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* El ancho se calculará dinámicamente, pero empezamos asumiendo flex */
}

/* Slides Individuales */
.carousel-slide {
    min-width: 33.333%; /* 3 items por vista en escritorio */
    padding: 0 12px; /* Espacio entre slides */
    box-sizing: border-box;
}

.slide-content {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px; /* Altura fija para uniformidad */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.slide-content:hover {
    transform: translateY(-5px);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradiente para que el texto se lea siempre */
.carousel-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
}

.carousel-text {
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    z-index: 2;
    color: white;
}

.carousel-title {
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.cta-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.3s;
}

.cta-btn:hover {
    background-color: #1d4ed8;
}

/* Botones de Navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 10;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s;
}

.carousel-btn:hover {
    background: #2563eb;
    color: white;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Puntos de Paginación */
.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background-color: #2563eb;
    width: 24px;
    border-radius: 12px;
}

/* Responsivo */
@media (max-width: 768px) {
    .carousel-slide {
        min-width: 100%; /* 1 item en móvil */
    }
    .section-title { font-size: 1.8rem; }
}