/* ==================== MAIN ====================*/

.content {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
    padding: 0px;
    overflow-x: hidden;
    width: 100%;
}

.content h1 {
    margin-top: 50px;
    text-align: center;
    font-size: clamp(2rem, 3.5vw, 3rem);
    color: #c1c1c1;
    padding: 0 10px;
}

.content p {
    text-align: center;
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: #c1c1c1;
    margin-bottom: 40px;
    padding: 0 10px;
}

/* ==================== SERVICIOS ==================== */

/* Contenedor de servicios */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 35px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Servicio individual */
.service {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    padding: clamp(20px, 3vw, 30px);
    max-width: 320px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Títulos de los servicios */
.service h2 {
    margin-bottom: 15px;
     font-size: clamp(1.8rem, 2.5vw, 2.1rem);
    font-weight: 500;
    text-align: center;
}

.service h3 {
    text-align: center;
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    font-weight: 100;
    color: #c1c1c1;
    margin-bottom: 25px;
}

/* Colores específicos título para cada servicio */
.service.starter h2 {
    color: #3ddc84;
}

.service.growth h2 {
    color: #00bcd4;
}

.service.scale h2 {
    color: #ffe678;
}

.service.equity h2 {
    color: #cfd8dc;
}

/* Lista de servicios */
.service-list {
    margin-bottom: 15px;
}

.service-list ul {
    margin-top: 20px;
    padding-left: 20px;
    color: #c1c1c1;
}

.service-list li {
    margin-bottom: 8px;
}


/* Borde específico para cada servicio */
.service.starter {
    box-shadow: 0 0 10px rgba(61, 220, 132, 0.7);
}

.service.growth {
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.7);
}

.service.scale {
    box-shadow: 0 0 10px rgba(253, 216, 53, 0.7);
}

.service.equity {
    border: #c1c1c1 solid 2px;
    box-shadow: 0 0 15px rgba(207, 216, 220, 0.7);
}


/* Hover general */
.service:hover {
    transform: scale(1.05);
}

/* Hover para cada servicio */
.service.starter:hover {
    border-color: #00e676;
    box-shadow: 0 0 30px rgba(0, 230, 118, 0.6);
}

.service.growth:hover {
    border-color: #00acc1;
    box-shadow: 0 0 30px rgba(0, 172, 193, 0.6);
}

.service.scale:hover {
    border-color: #fff068;
    box-shadow: 0 0 30px rgba(255, 235, 59, 0.6);
}

.service.equity:hover {
    border-color: #eceff1;
    box-shadow: 0 0 40px rgba(236, 239, 241, 0.8);
}

/* ===================== BOTÓN INFO ==================== */

.info-button {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.info-button a {
    text-decoration: none;
    color: inherit;
    padding: 15px 40px;
    font-size: 1.2rem;
    color: #fff;
    background-color: transparent;
    border: 2px solid #007bff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.info-button a:hover {
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
    background-color: rgba(0, 191, 255, 0.1);
    transform: scale(1.04);
}

/* ===================== TABLA RESUMEN PLANES ==================== */

.resume-table {
    margin: 30px 100px 80px 100px;
    overflow-x: auto;
}

.resume-table table {
    width: 100%;
    min-width: 800px; 
    border-collapse: collapse;
    text-align: center;
}

th,
td {
    border-bottom: 1px solid #dddddd29;
    border-left: none;
    border-right: none;
    padding: 0.8rem;
}

/* Estilo para las celdas de la primera columna */
td:first-child {
    text-align: left;
    padding-left: 1.1rem;
    font-weight: 400;
}

/* Encabezados de la tabla */
thead th {
    font-weight: 600;
    font-size: clamp(1.2rem, 1.7vw, 1.7rem);
    padding: 10px 10px 25px 10px;
}

/* Colores específicos para cada título de plan */
th.starter {
    color: #3ddc84;
}

th.growth {
    color: #00bcd4;
}

th.scale {
    color: #ffe678;
}

th.equity {
    color: #cfd8dc;
}

/* ==================== MEDIA QUERIES ====================*/

/* Ajustes para pantallas pequeñas (Móviles) */
@media (max-width: 768px) {
    /* Main */
    .content {
        padding: 0 10px;
    }
    
    /* Headers */
    .content h1 {
        font-size: 2rem;
    }

    .content p {
        font-size: 1rem;
    }
    
    .service {
        padding: 15px;
    }

    /* Botón "Empieza ahora" */
    .info-button {
        padding: 10px 30px;
        font-size: 1rem;
    }
    
    /* Tabla de resumen */
    .resume-table {
        margin: 30px 10px 80px 10px;

        /* Efecto de fade lateral para la tabla */
        mask-image: linear-gradient(to right, black 95%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black 95%, transparent 100%); 
    }

    .resume-table table {
        min-width: 680px;
    }
}