:root {
    --primary-color: #29ffc9; 
    --grase:#b2ff01;
    --accent-color: #ff6600;   
    --text-color: #333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --border-radius: 8px;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* HEADER */

.main-header {
    background: #030f09;
    padding: 40px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    right: 0;
    z-index: 1000;
  }

  .header-content {
    display: flex;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    position: relative;
  }

.phone-cta {
    width: 17rem;
    background: var(--primary-color);
    color: #010c08;
    padding: 14px 0;
    text-align: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    align-items: center;
    position: absolute;
    left: 79%;                 
    transform: translateX(-50%);
}

.btn-ver-ofertas{
  display: block;
  width: 13rem;
  cursor: pointer;
  background: var(--grase);
  color: #010c08;
  padding: 14px 0;
  text-align: center;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  align-items: center;
}

/* HERO SECTION */
.hero {
    background: #030f09;
    padding: 20px 0;
}

.hero-grid {
    width: 95%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    margin: auto;
    gap: 40px;
}

.hero-text{
    max-width: 50%;
    margin: auto;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero-text h1 span {
    color:var(--primary-color);
}

.white {
    color:white;
}

.price-highlight {
    margin: 20px 0;
    font-size: 1.2rem;
}

.big-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    display: block;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
}

.hero-image{
    max-width: 40%;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (min-width:991.99px) {
    .hero-image img{
        max-width: 600px;
        max-height: 600px;
    }
}

@media (min-width:1600px) {
    .phone-cta{
      left: 81%;
    }
}

/* CARDS GRID */
.offers-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* AJUSTES DE LA TARJETA COMPLETA */
.cards-grid {
    display: flex;
    flex-direction: column; 
    gap: 30px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
    height: auto; /* Cambiado de 400px a auto */
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

/* Permitimos que el cuerpo se adapte */
.card-body {
    padding: 25px 30px;
    display: flex;
    flex-direction: row; 
    flex-wrap: nowrap;
    align-items: center;
    gap: 20px;
}

/* Ajustamos anchos fijos a porcentajes o max-width */
.card-header {
    padding: 15px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25%; 
    min-width: 150px;
}

.card-header img {
    max-width: 100%; 
    height: auto;
    max-height: 60px; 
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.reseller-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    opacity: 0.9;
}


.offer-title {
    margin-bottom: 25px;
    margin-top: 25px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
    text-align: center;
}

.offer-title h3 {
    font-size: 1.4rem;
}

.offer-title p {
    font-size: 0.9rem;
}

/* GRID DE 3 COLUMNAS INTERNAS (Descomplicate | Navega | Disfruta) */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    width: 60%; 
    text-align: center;
}

.feature-col{
    width: 100%;
    margin: 0 auto;
    text-align: center;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    
}

.feature-col h3 {
    margin: 30px 0 30px 0;
    font-size: 1.2rem;
    font-weight: 1800;
}

.feature-col p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 30%;
}


/* FOOTER DE LA TARJETA (Precio y Botones) */
.card-footer {
    width: 20%; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing-container {
    display: flex;
    flex-direction: column;
}

.pricing-container .amount {
    font-size: 3.5rem;
    font-weight: 900;
    color: #222;
    line-height: 1;
}

.periodBegin{
    font-size: 1.1rem;
    font-weight: bolder;
    margin-left: 15px;
}

.pricing-container .period {
    font-size: 1.7rem;
}

/* Los decimales (.99) */
.pricing-container .decimal {
    font-size: 1.7rem; /* Casi la mitad que el entero */
    font-weight: 700;
    vertical-align:bottom;
    margin-left: 2px;
}

.buttons-container {
    display: flex;
    width: 100%;
}

.btn-call {
    width: 100%;
    text-align: center;
    background-color: #b2ff01; 
    color: black;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    margin-top: 20px;
}

.btn-info {
    width: 18%;
    margin: auto;
    margin-bottom: 20px;
    text-align: center;
    background-color: black;
    padding: 18px 0px;
    border: none;
    border-radius: 25px;
    word-spacing: 3px;
    font-size: 1.1rem;
    color: white;
    cursor: pointer;
}

.btn-info:hover{
    background-color: var(--primary-color);

}

/* RESPONSIVE (MÓVIL) */
@media (max-width: 768px) {
    /* En móvil, las 3 columnas de características se apilan */
    .features-grid {
        grid-template-columns: 1fr; 
        gap: 20px;
        text-align: center;
    }
    
    .card-footer {
        gap: 20px;
        text-align: center;
    }

    .buttons-container {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-call, .btn-info {
        width: 100%;
        text-align: center;
    }

    .card-body{
        flex-direction: column;
    }

    .hero-image img{
        border-radius: 20px;
    }

}

@media (max-width: 768.99px) {
    .desktop-only {
      display: none;
    }
  }


/* Detalles ocultos */
.details-hidden {
    display: none;
    margin-top: 15px;
    margin-bottom: 35px;
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
}

.details-hidden.active {
    display: block;
}

/* ADVICE BANNER */
.advice-banner {
    background: #031a10; /* Verde oscuro basado en Pág 14 */
    padding: 40px 0;
    color: white;
    text-align: center;
    border-left: 2.5px solid #009e6f;
}

.btn-advice {
    background: var(--primary-color);
    color: #004d40;
    padding: 10px 80px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    margin-top: 20px;
    display: inline-block;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px 0;
    font-size: 0.9rem;
    color: white;
    background-color: #070809;
    border-top: 20px solid #1f2428;
}

footer .links a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
}

.advice-text h1{
    color: var(--primary-color);
}

/* MOBILE RESPONSIVE */
@media (max-width: 991.99px) {
    .hero{
        padding: 0 0 15px 0;
    }

    .hero-grid {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .hero-grid h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-image{
        max-width: 95%;
        max-width: 400px;
        max-height: 400px;
    }

    .hero-text{
        max-width: 95%;
        margin: 20px;
    }

    .price-highlight{
        margin: 5px 0;
    }

    body{
        padding-bottom: 35px;
    }

    .header-content {
        justify-content: center;
        margin: 0;    
        height: 35px;
        align-items: center;
    }

    .main-header {
        position: fixed;
        bottom: 0;
        top: auto;        
        left: 0;
        width: 100%;
        padding: 15px 0;
        z-index: 9999;
      }
    
      .phone-cta {
        position: static;     
        transform: none;      
        left: auto;           
        padding: 14px 22px;
        white-space: nowrap;
      }

      .btn-ver-ofertas{
        margin: auto;
      }
}


/* --- RESPONSIVE --- */

@media (max-width: 1024px) {
    .feature-col h3 { font-size: 1rem; }
    .pricing-container .amount { font-size: 2.5rem; }
}

@media (max-width: 768px) {
    .card-body {
        flex-direction: column; 
        padding: 20px;
    }

    /* El header (logo) ahora ocupa todo el ancho arriba */
    .card-header {
        width: 100%;
        margin-bottom: 10px;
    }

    /* El grid de 3 columnas (Descomplicate/Navega/Disfruta) pasa a 1 columna */
    .features-grid {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 15px;
    }

    .feature-col {
        width: 100%;
        padding: 15px;
    }

    .feature-col p {
        margin-bottom: 5px;
    }

    /* El footer (Precio y Botón) ahora va al final y ancho completo */
    .card-footer {
        width: 100%;
        border-top: 1px solid #eee;
        padding-top: 20px;
    }

    .pricing-container {
        text-align: center;
        margin-bottom: 10px;
    }

    .btn-call {
        max-width: 300px;
        margin: 10px auto;
    }
}

/* Ajustes para pantallas muy pequeñas */
@media (max-width: 480px) {
    .offer-title h3 { font-size: 1.1rem; }
    .pricing-container .amount { font-size: 2.2rem; }
    .periodBegin { margin-left: 0; text-align: center; }
}






/*************************************     ESTILOS PARA LA CAJA MAS INFORMACION       *************************************/

/* Container de las tarjetas extra */
.container_hidden {
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 20px;
    padding: 20px;
    justify-content: center;
  }
  
  /* Tarjeta individual de plan */
  .plan-card {
    background: #212121;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 400px;
  }
  
  .plan-title {
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  
  .plan-speed {
    font-size: 1.2rem;
    color: #2cffc8;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .plan-price {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .price-period {
    font-size: 1.2rem;
    font-weight: normal;
  }
  
  .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
  }
  
  .plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.90rem;
    line-height: 1.4;
  }
  
  .feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
  }
  
  .feature-text {
    flex: 1;
  }
  
  .btn-llamanos {
    background: #2cffc8;
    color: #1a1a1a;
    border: none;
    padding: 18px 15px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.1rem;
    width: 55%;
    transition: all 0.3s ease;
    margin: auto;
  }
  
  .btn-llamanos:hover {
    background: #00c4a0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 217, 180, 0.3);
  }
  
  /* RESPONSIVE */
  
  /* Tablets grandes (hasta 1200px) */
  @media (max-width: 1200px) {
    .container_hidden {
        grid-template-columns: repeat(auto-fit, 280px);
        gap: 15px;
        padding: 15px;
    }
    
    .plan-speed {
      font-size: 1.2rem;
    }
    
    .plan-price {
      font-size: 2.5rem;
    }
  }
  
  /* Tablets (hasta 900px) */
  @media (max-width: 900px) {
    .container_hidden {
        grid-template-columns: repeat(auto-fit, 280px);
        gap: 15px;
    }
    
    .plan-card {
      padding: 25px 15px;
      min-height: 380px;
    }
    
    .plan-title {
      font-size: 1rem;
    }
    
    .plan-speed {
      font-size: 1rem;
      margin-bottom: 15px;
    }
    
    .plan-price {
      font-size: 2.2rem;
      margin-bottom: 25px;
    }
    
    .price-period {
      font-size: 1rem;
    }
  }
  
  /* Móviles grandes (hasta 640px) */
  @media (max-width: 640px) {
    .container_hidden {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 15px;
        padding: 10px;
    }
    
    .plan-card {
      padding: 25px 20px;
      min-height: auto;
    }
    
    .plan-title {
      font-size: 1.1rem;
      margin-bottom: 12px;
    }
    
    .plan-speed {
      font-size: 1.5rem;
      margin-bottom: 15px;
    }
    
    .plan-price {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }
    
    .plan-features {
      margin-bottom: 25px;
    }
    
    .plan-features li {
      font-size: 0.9rem;
      margin-bottom: 10px;
    }
    
    .btn-llamanos {
      padding: 14px 30px;
      font-size: 1.05rem;
    }
  }
  
  /* Móviles pequeños (hasta 400px) */
  @media (max-width: 400px) {
    .plan-card {
      padding: 20px 15px;
    }
    
    .plan-title {
      font-size: 0.95rem;
    }
    
    .plan-speed {
      font-size: 1.6rem;
    }
    
    .plan-price {
      font-size: 2rem;
    }
    
    .feature-icon {
      font-size: 1rem;
    }
    
    .plan-features li {
      font-size: 0.85rem;
    }

    .container_hidden {
        grid-template-columns: 1fr;
        padding: 10px;
      }
  }





  /*************************************  FIN   ESTILOS PARA LA CAJA MAS INFORMACION       *************************************/
