/**
 * AWTU - Términos y Condiciones CSS
 * Estilos para la página de términos y condiciones
 */

/* Prevenir scroll horizontal */
body {
    overflow-x: hidden;
}

/* Hero Section */
.awtu-hero-terminos {
    background: #ffffff;
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: 300px;
    position: relative;
}

/* Breadcrumbs */
.awtu-hero-terminos .breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.awtu-hero-terminos .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #6b7280;
    font-size: 1.1rem;
}

.awtu-hero-terminos .breadcrumb-item a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.awtu-hero-terminos .breadcrumb-item a:hover {
    color: #14b08e;
    text-decoration: underline;
}

.awtu-hero-terminos .breadcrumb-item.active {
    color: #6b7280;
}

/* Header de Página */
.awtu-hero-terminos h1 {
    color: #111827;
    font-size: 40px;
    font-weight: 500 !important;
    margin-bottom: 1rem;
}

.awtu-hero-terminos .text-muted {
    color: #6b7280 !important;
    font-size: 15px;
}

.awtu-hero-terminos .lead {
    color: #6b7280;
    font-size: 15px;
    text-align: left;
}

/* Línea divisoria */
.awtu-terminos-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0;
    border: none;
    border-top: 1px solid #e5e7eb;
    opacity: 1;
}

/* Contenido de Términos */
.terms-content {
    font-size: 16px;
    line-height: 1.8;
    color: #0f1a1a;
    background: #ffffff;
}

.terms-content h2 {
    color: #2d3a3a;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 500 !important;
    font-size: 25px;
    border-top: 1px solid #e5e7eb;
    padding-top: 3rem;
}

.terms-content section:first-of-type h2 {
    margin-top: 0;
    border-top: none !important;
    padding-top: 0;
}

.terms-content p {
    text-align: left;
    margin-bottom: 1rem;
}

.terms-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.terms-content ul li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
}

.terms-content strong {
    color: #111827;
    font-weight: 600;
}

.terms-content em {
    font-style: italic;
    color: #6b7280;
}

.terms-content a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-content a:hover {
    color: #14b08e;
    text-decoration: underline;
}

/* Alert Box */
.terms-content .alert {
    border-left: 4px solid #f59e0b;
    background-color: #fffbeb;
    border-radius: 8px;
    padding: 1rem 1.25rem;
}

.terms-content .alert-warning {
    color: #92400e;
    border-left-color: #f59e0b;
}

/* List Group */
.terms-content .list-group-item {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    background: transparent;
}

.terms-content .list-group-item:last-child {
    border-bottom: none;
}

.terms-content .list-group-item strong {
    color: #1f2937;
    font-weight: 600;
}

/* Card de Contacto */
.terms-content .card {
    border: none;
    background-color: #f9fafb;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.terms-content .card-body {
    padding: 1.5rem;
}

.terms-content .card .text-primary {
    color: #3b82f6 !important;
}

.terms-content .card .text-muted {
    color: #6b7280 !important;
}

/* Footer de Aceptación */
.terms-content .border-top {
    border-top: 1px solid #e5e7eb !important;
}

/* Responsive */
@media (max-width: 768px) {
    .awtu-hero-terminos {
        padding-top: 120px;
        padding-bottom: 40px;
    }
    
    .awtu-hero-terminos h1 {
        font-size: 2rem;
    }
    
    .awtu-hero-terminos .lead {
        font-size: 1.1rem;
    }
    
    .terms-content {
        font-size: 15px;
    }
    
    .terms-content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 576px) {
    .awtu-hero-terminos {
        padding-top: 100px;
        padding-bottom: 30px;
    }
    
    .awtu-hero-terminos h1 {
        font-size: 1.75rem;
    }
    
    .terms-content {
        font-size: 14px;
    }
    
    .terms-content h2 {
        font-size: 1.35rem;
    }
}

/* Animaciones */
.awtu-hero-terminos,
.terms-content section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mejoras de legibilidad */
.terms-content section {
    scroll-margin-top: 100px;
}

.terms-content .list-group {
    margin-bottom: 1.5rem;
}

/* Iconos en alertas */
.terms-content .alert i {
    font-size: 1.1rem;
}

/* Separador visual */
.terms-content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

/* Sección de Contacto CTA - Ancho completo */
.awtu-contact-cta {
    background: rgb(233, 242, 240);
    padding: 60px 0;
    margin-top: 60px;
    width: 100%;
}

.awtu-contact-cta .contact-icon {
    font-size: 48px;
    color: #14b08e;
    margin-bottom: 20px;
    width: 100%;
    text-align: center;
}

.awtu-contact-cta .contact-icon i {
    display: inline-block;
}

.awtu-contact-cta .contact-title {
    color: #1f2937;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
}

.awtu-contact-cta .contact-description {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.awtu-contact-cta .btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 24px;
    background: #ffffff;
    color: #14b08e;
    border: 1px solid #14b08e;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.awtu-contact-cta .btn-contact:hover {
    background: #14b08e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(20, 176, 142, 0.2);
}

.awtu-contact-cta .btn-contact i {
    font-size: 15px;
}

@media (max-width: 768px) {
    .awtu-contact-cta {
        padding: 40px 20px;
    }
    
    .awtu-contact-cta .contact-icon {
        font-size: 40px;
    }
    
    .awtu-contact-cta .contact-title {
        font-size: 22px;
    }
    
    .awtu-contact-cta .contact-description {
        font-size: 14px;
    }
}

