/* licensingStyles.css - Versión optimizada y responsive */

/* Licensing Hero */
.licensing-hero-bg {
    background-color: #EAA639;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

section.relative.licensing-hero-bg {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

section.relative.licensing-hero-bg .absolute.inset-0 {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
}

section.relative.licensing-hero-bg .relative.z-10 h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

section.relative.licensing-hero-bg .relative.z-10 p {
    font-size: 1.25rem;
    opacity: 0.9;
    color: white;
}

/* License Cards */
.license-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
    padding: 0;
}

.license-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(57, 125, 234, 0.2);
}

.license-card .bg-primary {
    background-color: #397DEA;
    padding: 2rem;
    color: white;
}

.license-card .bg-primary h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.license-card .bg-primary p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.license-card .p-8 {
    padding: 2rem;
}

.license-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.license-card i {
    color: #397DEA;
}

.license-card p.text-gray-600 {
    color: #1f2937;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.license-card ul li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.license-card ul li i {
    font-size: 0.625rem;
    margin-right: 0.5rem;
}

/* Team Section */
.py-20.bg-gray-50 .max-w-7xl {
    padding: 4rem 1.5rem;
}

.py-20.bg-gray-50 h2 {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1f2937;
}

.py-20.bg-gray-50 p.text-xl,
.faq-subtitle {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 2.5rem;
}

.team-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #397DEA;
}

.team-card .text-secondary {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #EAA639;
}

.team-card .text-gray-600 {
    color: #1f2937;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.team-card .flex.space-x-4 > div {
    display: flex;
    align-items: center;
    color: #1f2937;
    font-size: 0.95rem;
}

.team-card .flex.space-x-4 i {
    color: white;
    margin-right: 0.5rem;
    background-color: #397DEA;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Process Cards */
.process-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
    padding: 2rem;
    text-align: center;
}

.process-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(57, 125, 234, 0.2);
}

.process-card .w-12.h-12 {
    width: 3rem;
    height: 3rem;
    background-color: #397DEA;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #397DEA;
}

.process-card p {
    color: #1f2937;
    font-size: 0.95rem;
}

/* FAQ Cards */
.faq-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.5);
    transition: all 0.3s ease;
    padding: 2rem;
}

.faq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(57, 125, 234, 0.2);
}

.faq-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #397DEA;
}

.faq-card p {
    color: #1f2937;
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    background-color: #397DEA;
    padding: 4rem 1rem;
}

.cta-section .cta-card {
    background-color: #ffffff;
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.cta-section .cta-card:hover {
    transform: scale(1.02);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.cta-section h3 {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1f2937;
}

.cta-section p {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 2rem;
}

.cta-section .btn-cta {
    background-color: #397DEA !important;
    color: white !important;
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.cta-section .btn-cta:hover {
    background-color: #2563eb !important;
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(57, 125, 234, 0.4);
}

/* --- Responsive: Correcciones clave --- */

@media (max-width: 1024px) {
    .lg\:grid-cols-2, .lg\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    /* Hero */
    section.relative.licensing-hero-bg .relative.z-10 h1 {
        font-size: 2rem;
    }
    section.relative.licensing-hero-bg .relative.z-10 p {
        font-size: 1rem;
    }

    /* Cards y paddings */
    .license-card .p-8,
    .process-card,
    .faq-card {
        padding: 1.5rem;
    }

    .license-card h4,
    .process-card h3,
    .faq-card h3 {
        font-size: 1.125rem;
    }

    /* Team */
    .team-card {
        text-align: center;
    }
    .team-card .md\:w-1\/3,
    .team-card .md\:w-2\/3 {
        width: 100% !important;
        padding: 0 !important;
    }
    .team-card .md\:w-1\/3 {
        height: 300px;
    }
    .team-card .md\:flex {
        flex-direction: column !important;
    }

    /* CTA */
    .cta-section .cta-card {
        padding: 2rem 1.5rem;
    }
    .cta-section h3 {
        font-size: 1.5rem;
    }
    .cta-section p {
        font-size: 1rem;
    }
    .cta-section .btn-cta {
        font-size: 1.125rem;
        padding: 0.875rem 2rem;
    }
}

@media (max-width: 480px) {
    .max-w-7xl, .max-w-4xl, .max-w-2xl {
        max-width: 100% !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    /* Hero */
    section.relative.licensing-hero-bg .relative.z-10 h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    section.relative.licensing-hero-bg .relative.z-10 p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* License cards: evitar overflow en grids internos */
    .license-card .grid.grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }

    .license-card ul li {
        font-size: 0.875rem;
    }

    /* Padding reducido */
    .license-card .p-8,
    .process-card,
    .faq-card {
        padding: 1.25rem;
    }

    /* Team */
    .team-card .md\:w-1\/3 {
        height: 250px;
    }

    .team-card h3 {
        font-size: 1.375rem;
    }

    .team-card .text-gray-600 {
        font-size: 0.95rem;
    }

    /* Proceso y FAQ */
    .process-card h3,
    .faq-card h3 {
        font-size: 1rem;
    }

    .process-card p,
    .faq-card p {
        font-size: 0.9rem;
    }

    /* Prevenir textos largos */
    .license-card,
    .team-card,
    .process-card,
    .faq-card {
        overflow-wrap: break-word;
        word-wrap: break-word;
        word-break: break-word;
    }
}