/* ===== tarjeta1.css ===== */

/* ===== ESTRUCTURA DE PÁGINA PARA ANCLAR FOOTER ===== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f0f2f7;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
main.container-fluid {
    flex: 1 0 auto;
    padding: 20px 20px 40px; /* Aumenta el padding inferior */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    max-width: 100%;
    min-height: calc(100vh - 200px); /* Asegura espacio suficiente */
}

/* ===== TARJETA DE SERVICIO ===== */
.card-body {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    box-shadow:
        0 20px 60px rgba(30, 3, 145, 0.15),
        0 4px 16px rgba(30, 3, 145, 0.08);
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    margin: 0 auto;
    margin-top: 20px; /* Espacio extra arriba */
}



.card-body:hover {
    transform: translateY(-8px);
    box-shadow:
        0 32px 80px rgba(30, 3, 145, 0.20),
        0 8px 24px rgba(30, 3, 145, 0.12);
}

/* ===== NUEVO: HEADER DE LA TARJETA (TÍTULO + LOGO) ===== */
.card-header-custom {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f2ff;
}

/* Icono/Logo */
.logo-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #1E0391, #2a0ba8);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 24px rgba(30, 3, 145, 0.25);
    transition: all 0.3s ease;
}

.logo-icon-wrapper i {
    font-size: 32px;
    color: #ffffff;
}

.logo-icon-wrapper:hover {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 12px 32px rgba(30, 3, 145, 0.35);
}

/* Título */
.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #1E0391;
    letter-spacing: 2px;
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

/* Subtítulo */
.card-subtitle {
    font-size: 14px;
    color: #8a8a9a;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0;
}

/* ===== DESCRIPCIÓN ===== */
.description {
    color: #4a4a5a;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}

.description strong {
    color: #1E0391;
    font-weight: 600;
}

.description .highlight-blue {
    color: #1E0391;
    font-weight: 600;
}

/* ===== TÉCNICAS DESTACADAS ===== */
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.tech-tag {
    background: #f0f2ff;
    color: #1E0391;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    border: 1px solid rgba(30, 3, 145, 0.08);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    background: #1E0391;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 3, 145, 0.20);
}

.tech-tag i {
    margin-right: 6px;
    font-size: 11px;
}

/* ===== LISTA DE BENEFICIOS ===== */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f5;
    font-size: 14px;
    color: #4a4a5a;
    line-height: 1.5;
    font-weight: 400;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li i {
    color: #1E0391;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.benefits-list li .highlight {
    color: #1E0391;
    font-weight: 600;
}

/* ===== BOTÓN / CTA ===== */
.btn-primary-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #1E0391;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    width: 100%;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent);
    transition: all 0.6s ease;
}

.btn-primary-custom:hover {
    background: #160275;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(30, 3, 145, 0.30);
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-primary-custom:hover i {
    transform: translateX(4px);
}

/* ===== INFORMACIÓN DE CONTACTO ===== */
.contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #f0f0f5;
    font-size: 13px;
    color: #8a8a9a;
    font-weight: 400;
}

.contact-info i {
    color: #1E0391;
    font-size: 14px;
}

.contact-info .phone {
    color: #1E0391;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .card-body {
        padding: 24px 20px 28px;
        margin-top: 10px;
    }

    .description {
        font-size: 14px;
    }

    .benefits-list li {
        font-size: 13px;
        padding: 8px 0;
    }

    .btn-primary-custom {
        font-size: 14px;
        padding: 12px 24px;
    }

    .tech-tag {
        font-size: 11px;
        padding: 5px 12px;
    }
}

/* ===== ESTILOS PARA TARJETAS EN HORIZONTAL ===== */

/* Contenedor de tarjetas */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 50px;
    padding: 0;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Cada tarjeta ocupa el espacio necesario */
.card-wrapper {
    flex: 1 1 450px;
    max-width: 410px;
    min-width: 280px;
    display: flex;
}

/* Ajuste para la tarjeta individual en horizontal */
.card-wrapper .card-body {
    max-width: 100%;
    margin-top: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* El contenido de la tarjeta se expande */
.card-wrapper .card-body .description {
    flex: 1;
}

/* Título más pequeño para las tarjetas horizontales */
.card-wrapper .card-title {
    font-size: 22px;
}

.card-wrapper .logo-icon-wrapper {
    width: 60px;
    height: 60px;
}

.card-wrapper .logo-icon-wrapper img {
    width: 30px;
    height: 30px;
}


/* ===== RESPONSIVE ===== */

/* Tablets y pantallas medianas */
@media (max-width: 992px) {
  .cards-container {
         flex-direction: column;
         align-items: center;
         gap: 30px; /* Espacio entre tarjetas */
         padding: 10px 0;
     }

     .card-wrapper {
     flex: 0 0 auto;
     width: 100%;
     max-width: 480px; /* Ancho máximo para que no sea demasiado grande */
     min-width: unset;
     }


    .card-wrapper .card-title {
        font-size: 20px;
        letter-spacing: 1px;
    }
}

/* Móviles - una tarjeta debajo de otra */
@media (max-width: 768px) {
    .cards-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .card-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 420px;
    }

    main.container-fluid {
        padding: 20px 15px 30px;
    }

    .card-wrapper .card-title {
        font-size: 20px;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    text-align: center;
    padding: 220px 20px 10px;
    max-width: 900px;
    margin: 0 auto 20px;
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #1E0391;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-title .highlight {
    color: #1E0391;
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1E0391, #6C63FF);
    border-radius: 4px;
    opacity: 0.3;
}

.hero-description {
    font-size: 17px;
    line-height: 1.8;
    color: #4a4a5a;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.hero-description strong {
    color: #1E0391;
    font-weight: 600;
}

.hero-description .highlight-blue {
    color: #1E0391;
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        padding: 200px 16px 10px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }
}

/* Móviles muy pequeños */
@media (max-width: 480px) {
    .card-wrapper {
        max-width: 100%;
    }

    .card-wrapper .card-body {
        padding: 100px 16px 24px;
    }

    .card-wrapper .logo-icon-wrapper {
        width: 50px;
        height: 50px;
    }

    .card-wrapper .logo-icon-wrapper img {
        width: 40px;
        height: 40px;
    }

    .card-wrapper .card-title {
        font-size: 18px;
    }

    .hero-title {
            font-size: 24px;
        }

    .hero-description {
          font-size: 14px;
         }
}

