/* inicio/static/inicio/css/inicio.css - Page-Specific Styles */

/* === TESTIMONIALS SECTION === */
.testimonial-card {
    min-height: 260px;
    padding-bottom: 3rem;
    position: relative;
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    position: absolute;
    bottom: 12px;
    right: 12px;
    border: 3px solid white;
    object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* === FEATURE CARDS === */
.feature-card {
    text-align: center;
    padding: 2rem;
    height: 100%;
    border-radius: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--secondary-color);
    background: white;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-card .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* === STEP CARDS (Expectativa Section) === */
.step-card {
    padding: 2rem;
    border-radius: 1.5rem;
    height: 100%;
    border: none;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.step-card.step-highlight {
    background: var(--primary-color);
    color: white;
}

.step-card.step-highlight h4,
.step-card.step-highlight .text-white {
    color: white !important;
}

.step-icon-circle {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
}

.step-card.step-highlight .step-icon-circle {
    background: rgba(255, 255, 255, 0.2);
}

.step-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* === DECORATIVE FRAMES & IMAGES === */
.frame-left {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    opacity: 0.25;
    border-radius: 1.5rem;
    top: 20px;
    left: -20px;
    z-index: -1;
}

.frame-right {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid var(--primary-color);
    opacity: 0.25;
    border-radius: 1.5rem;
    top: 15px;
    left: 15px;
    z-index: -1;
}

.image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    border-radius: 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    object-fit: cover;
}

/* === CONTENT SECTIONS === */
.section-badge {
    border-radius: 9999px;
    background-color: rgba(32, 96, 223, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.info-item-icon {
    flex-shrink: 0;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.info-item-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* === INFO BOX / HIGHLIGHT BOX === */
.info-box {
    padding: 1rem;
    border-radius: 1rem;
    background: var(--bg-light);
    margin-top: 1.5rem;
}

.info-box p {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.info-box i {
    margin-right: 0.5rem;
}

/* === FLOATING BADGE (for images) === */
.badge-float {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-left: 4px solid var(--accent-gold);
    max-width: 280px;
}

.badge-float p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.badge-float p:last-child {
    margin-bottom: 0;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* === RESPONSIVE ADJUSTMENTS FOR INICIO APP === */
@media (max-width: 767px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .info-item {
        gap: 1rem;
    }
    
    .info-item-icon {
        font-size: 2rem;
    }
    
    .step-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .frame-left,
    .frame-right {
        display: none;
    }
    
    .badge-float {
        margin: 1rem;
        max-width: 240px;
    }

    .hero-bg {
        background-position: 90% center; 
    }
}
