﻿
/* Estilos componentes layout usables desde el editor */
/* Solo a partir de Bootstrap 5.0                     */
/* -------------------------------------------------- */

--bg-soft: #f6f8fc;
--dark-1: #0f172a;
--dark-2: #1e293b;
--muted: #64748b;
--primary-soft: rgba(13, 110, 253, .12);
--success-soft: rgba(25, 135, 84, .12);
--warning-soft: rgba(255, 193, 7, .14);
--danger-soft: rgba(220, 53, 69, .10);
--radius-xl: 1.5rem;
--radius-2xl: 2rem;
--shadow-soft: 0 20px 50px rgba(15, 23, 42, .08);
--shadow-card: 0 10px 30px rgba(15, 23, 42, .08);
--border-soft: 1px solid rgba(15, 23, 42, .08);




.section-space {
    padding: 5rem 0;
}

.section-title {
    max-width: 760px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, .08);
    color: #0d6efd;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.text-muted-custom {
    color: var(--muted);
}

.glass-card,
.soft-card,
.feature-card,
.team-card,
.price-card,
.product-card,
.blog-card,
.testimonial-card,
.contact-card,
.stats-card,
.timeline-card,
.resource-card,
.comparison-card,
.cta-box {
    border: var(--border-soft);
    box-shadow: var(--shadow-card);
    border-radius: var(--radius-xl);
    background: rgba(255,255,255,.88);
    backdrop-filter: blur(10px);
}

.icon-badge {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.25rem;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(13,110,253,.18), rgba(111,66,193,.18));
    color: #0d6efd;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.5);
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: #052c65;
    color: white;
    padding: 6rem 0 5rem;
}

    .hero-section::before,
    .hero-section::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(10px);
        opacity: .35;
    }

    .hero-section::before {
        width: 320px;
        height: 320px;
        background: linear-gradient(135deg, #0d6efd, #6f42c1);
        top: -120px;
        left: -80px;
    }

    .hero-section::after {
        width: 280px;
        height: 280px;
        background: linear-gradient(135deg, #20c997, #0dcaf0);
        bottom: -110px;
        right: -60px;
    }

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    padding: .55rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .9rem;
    backdrop-filter: blur(8px);
}

.hero-card {
    border-radius: var(--radius-2xl);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px rgba(0,0,0,.18);
}

.hero-metric {
    padding: 1rem 1.25rem;
    border-radius: 1.25rem;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    text-align: center;
}

.feature-card,
.service-card,
.resource-card,
.stats-card,
.timeline-card,
.comparison-card,
.contact-card,
.product-card,
.blog-card,
.testimonial-card,
.team-card,
.price-card {
    padding: 1.5rem;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}

    .feature-card:hover,
    .service-card:hover,
    .resource-card:hover,
    .stats-card:hover,
    .timeline-card:hover,
    .comparison-card:hover,
    .contact-card:hover,
    .product-card:hover,
    .blog-card:hover,
    .testimonial-card:hover,
    .team-card:hover,
    .price-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
    }

.service-card {
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    border: var(--border-soft);
    box-shadow: var(--shadow-card);
    padding: 1.5rem;
    height: 100%;
}

.card-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-radius: 999px;
    padding: .45rem .8rem;
    background: rgba(13,110,253,.08);
    color: #0d6efd;
}

.gradient-top {
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0d6efd, #6f42c1, #20c997);
    margin-bottom: 1.25rem;
}

.product-thumb,
.blog-thumb,
.gallery-thumb {
    border-radius: 1.25rem;
    min-height: 210px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

    .product-thumb::after,
    .blog-thumb::after,
    .gallery-thumb::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent, rgba(15,23,42,.30));
    }

.team-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255,255,255,.95);
    box-shadow: 0 8px 25px rgba(15,23,42,.12);
}

.quote-icon {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(13,110,253,.15), rgba(111,66,193,.15));
    color: #0d6efd;
    font-size: 1.25rem;
}

.price-card.featured {
    position: relative;
    background: linear-gradient(180deg, #0d6efd 0%, #3b82f6 100%);
    color: white;
    overflow: hidden;
}

    .price-card.featured::before {
        content: "Más elegido";
        position: absolute;
        top: 18px;
        right: -38px;
        transform: rotate(35deg);
        background: #ffc107;
        color: #212529;
        font-size: .72rem;
        font-weight: 800;
        padding: .45rem 2.8rem;
    }

    .price-card.featured .list-group-item,
    .price-card.featured .text-muted,
    .price-card.featured small {
        color: rgba(255,255,255,.86) !important;
        background: transparent;
        border-color: rgba(255,255,255,.12);
    }

.timeline-wrap {
    position: relative;
}

    .timeline-wrap::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 29px;
        width: 2px;
        background: linear-gradient(180deg, #0d6efd, #20c997);
        opacity: .25;
    }

.timeline-item {
    position: relative;
    padding-left: 4.75rem;
    margin-bottom: 1.5rem;
}

.timeline-dot {
    position: absolute;
    left: 14px;
    top: 1.25rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: white;
    box-shadow: 0 10px 18px rgba(13,110,253,.24);
    z-index: 1;
}

.logo-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    background: white;
    border: var(--border-soft);
    box-shadow: var(--shadow-card);
    min-height: 82px;
    font-weight: 700;
    color: var(--dark-2);
}

.cta-box {
    padding: 2rem;
    background: radial-gradient(circle at top right, rgba(13,110,253,.15), transparent 28%), radial-gradient(circle at bottom left, rgba(32,201,151,.12), transparent 28%), linear-gradient(180deg, #ffffff, #f8fbff);
}

.footer-dark {
    background: linear-gradient(135deg, #0b1220, #0f172a);
    color: rgba(255,255,255,.88);
}

    .footer-dark a {
        color: rgba(255,255,255,.75);
        text-decoration: none;
    }

        .footer-dark a:hover {
            color: #fff;
        }

.bg-grid {
    background-size: 22px 22px;
}

.hero-section .bg-grid,
.hero-section.bg-grid {
    background-size: 22px 22px;
}

.hero-section h1,
.hero-section .display-4,
.hero-section .lead,
.hero-section p,
.hero-section small,
.hero-section .text-white-50 {
    text-shadow: 0 2px 10px rgba(0,0,0,.22);
}

@media (max-width: 991.98px) {
    .hero-section {
        padding: 5rem 0 4rem;
    }
}
