
    /* Estilos generales */
    body {
        background-color: #000000;
        color: white;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        line-height: 1.6;
        scroll-behavior: smooth;
    }

    /* Navbar */
    .navbar {
        background-color: #000000 !important;
        border-bottom: 1px solid #333;
        padding: 15px 0;
        transition: all 0.3s ease;
    }

        .navbar.scrolled {
            padding: 10px 0;
            box-shadow: 0 4px 12px rgba(0, 123, 255, 0.1);
        }

    .navbar-brand {
        font-weight: 700;
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .nav-link {
        position: relative;
        margin: 0 10px;
        font-weight: 500;
    }

        .nav-link::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 0;
            left: 0;
            background-color: #007bff;
            transition: width 0.3s ease;
        }

        .nav-link:hover::after {
            width: 100%;
        }

    /* Hero section */
    .main-title {
        font-weight: 800;
        letter-spacing: 1px;
        margin-bottom: 2rem;
        position: relative;
        display: inline-block;
    }

        .main-title::after {
            content: '';
            position: absolute;
            width: 60%;
            height: 4px;
            bottom: -10px;
            left: 20%;
            background: linear-gradient(90deg, #007bff, transparent);
            border-radius: 2px;
        }

    /* Secciones */
    .section-title {
        margin-bottom: 1.5rem;
        font-size: 2.5rem;
        font-weight: 700;
        position: relative;
        display: inline-block;
    }

        .section-title::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 4px;
            bottom: -8px;
            left: 25%;
            background: linear-gradient(90deg, #007bff, transparent);
            border-radius: 2px;
        }

    .section-description {
        margin-bottom: 2.5rem;
        font-size: 1.3rem;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Pasos ¿Cómo funciona Herenza?" */
.step-card {
    background-color: #000000;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    width: 250px;
    min-height: 150px;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
    border-color: #007bff;
}

.step-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #007bff;
    transition: all 0.3s ease;
}

.step-card:hover::before {
    background-color: #0056b3; 
}

.step-card h3 {
    color: #007bff;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.step-card:hover h3 {
    color: #0056b3; 
}

.step-card p {
    color: white;
    margin-bottom: 0;
    flex-grow: 1;
    font-size: 1.1rem;
}

    /* Escalera horizontal */
    .staircase {
        display: flex;
        align-items: flex-start;
        margin-bottom: 6rem;
        justify-content: center;
    }

        .staircase .step-card:nth-child(1) {
            margin-top: 150px;
        }

        .staircase .step-card:nth-child(2) {
            margin-top: 100px;
        }

        .staircase .step-card:nth-child(3) {
            margin-top: 50px;
        }

        .staircase .step-card:nth-child(4) {
            margin-top: 0;
        }

    /* Sección Experiencia */
    .experience-section {
        margin-bottom: 4rem;
        position: relative;
    }

    .content-block {
        margin-bottom: 3rem;
    }

        .content-block p {
            font-size: 1.3rem;
            color: #e0e0e0;
        }

    /* Contenedor horizontal  */
    .horizontal-container {
        background-color: rgba(0, 123, 255, 0.1);
        border: none;
        border-left: 4px solid #007bff;
        padding: 2.5rem;
        margin-bottom: 2rem;
        text-align: left;
        border-radius: 0 8px 8px 0;
        position: relative;
        overflow: hidden;
    }

        .horizontal-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, rgba(0,123,255,0.05), transparent);
            z-index: 0;
        }

        .horizontal-container p {
            margin-bottom: 0;
            font-size: 1.6rem;
            padding-left: 1rem;
            position: relative;
            z-index: 1;
            font-weight: 500;
        }

    /* Contenedores cuadrados mejorados */
    .square-container {
        background-color: #000000;
        border: 1px solid #333;
        border-radius: 8px;
        padding: 2rem;
        height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

        .square-container:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
            border-color: #007bff;
        }

        .square-container .content-bold {
            font-weight: 800;
            font-size: 2.5rem;
            margin-bottom: 0.5rem;
            line-height: 1.2;
            color: #007bff;
        }

        .square-container p {
            flex-grow: 1;
            font-size: 1.2rem;
            color: #e0e0e0;
        }

    /* Estilos de tarjetas de regulación mejoradas */
    .card {
        background-color: #000000;
        border: 1px solid #333;
        border-radius: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
            border-color: #007bff;
        }

    .card-body {
        padding: 1.8rem;
    }

    .card-title,
    .card-text {
        color: white;
    }

    .card-title {
        font-size: 1.4rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .card-text {
        font-size: 1.1rem;
        color: #e0e0e0;
    }

    /* ICONOS */
    .fa-section, .fa-book-atlas, .fa-shield, .fa-lock {
        color: #007bff;
        margin-right: 1.2rem;
        min-width: 40px;
        font-size: 1.5rem;
    }

    /* Footer mejorado */
    footer {
        background-color: #000000 !important;
        border-top: 1px solid #333;
        padding: 2rem 0;
        margin-top: 4rem;
    }

        footer a {
            color: white !important;
            font-size: 1.1rem;
            margin: 0 10px;
            position: relative;
            text-decoration: none;
        }

            footer a::after {
                content: '';
                position: absolute;
                width: 0;
                height: 1px;
                bottom: -2px;
                left: 0;
                background-color: #007bff;
                transition: width 0.3s ease;
            }

            footer a:hover {
                color: #007bff !important;
            }

                footer a:hover::after {
                    width: 100%;
                }

    /* Efectos de scroll */
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

    /* Sección Nuestras Oficinas */
    #nuestras-oficinas {
        padding: 40px 20px;
        background-color: transparent;
    }

    .oficinas-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
        gap: 20px;
    }

    .oficina-box {
        width: 23%;
        min-width: 250px;
        background-color: #000;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        color: white;
        position: relative;
        border: 1px solid transparent;
        background-clip: padding-box;
    }

        .oficina-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 8px;
            padding: 1px;
            background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(255,255,255,0.2));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        .oficina-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(255,255,255,0.1);
        }

    .oficina-img {
        width: 100%;
        height: 160px;
        object-fit: cover;
        display: block;
        border-bottom: 2px solid #444;
    }

    .oficina-content {
        padding: 15px;
    }

    .oficina-title {
        font-weight: bold;
        color: white;
        margin-bottom: 10px;
        font-size: 18px;
        text-align: center;
    }

    .oficina-text {
        font-size: 14px;
        color: #ccc;
        margin-bottom: 8px;
        text-align: center;
    }

    /* Sección de Preguntas Frecuentes */
    .preguntas-frecuentes {
        padding: 60px 0;
        background-color: #000000;
        color: #ffffff;
    }

    .faq-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
        gap: 20px;
    }

    .faq-column {
        width: 48%;
        display: flex;
        flex-direction: column;
    }

    .faq-item {
        background: rgba(30, 30, 30, 0.8);
        border-radius: 8px;
        padding: 20px;
        margin-bottom: 20px;
        transition: all 0.3s ease;
        border-left: 4px solid #007bff;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        flex: 1;
        display: flex;
        flex-direction: column;
        min-height: 180px;
    }

        .faq-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
        }

    .faq-question {
        color: #ffffff;
        font-size: 18px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .faq-answer {
        color: #e8f0fe;
        line-height: 1.6;
        flex-grow: 1;
    }

    /* Estilos para las tarjetas unificadas */
    .unified-card {
        background-color: #000000;
        border: 1px solid #333;
        border-radius: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

        .unified-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
            border-color: #007bff;
        }

    .service-icon-box {
        background-color: #007bff;
        color: white;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.5rem;
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.4rem;
        color: #ffffff;
        font-weight: 600;
    }

    .service-list {
        padding-left: 1rem;
        list-style-type: none;
    }

        .service-list li {
            position: relative;
            padding-left: 1.5rem;
            margin-bottom: 0.8rem;
            font-size: 1.1rem;
            line-height: 1.6;
        }

            .service-list li::before {
                content: "•";
                color: #007bff;
                font-size: 1.5rem;
                position: absolute;
                left: 0;
                top: -0.2rem;
            }

    /* Estilos para las tarjetas de beneficios */
    .benefit-card {
        background-color: #000000;
        border: 1px solid #333;
        border-radius: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        height: 100%;
    }

        .benefit-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
            border-color: #007bff;
        }

    .benefit-icon {
        color: #007bff;
        font-size: 1.8rem;
        margin-right: 1.2rem;
        min-width: 40px;
    }

    /* Estilos para las tarjetas de público objetivo */
    .target-card {
        background-color: #000000;
        border: 1px solid #333;
        border-radius: 8px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        height: 100%;
        padding: 1.5rem;
    }

        .target-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 16px rgba(0, 123, 255, 0.2);
            border-color: #007bff;
        }

    .target-icon {
        color: #007bff;
        font-size: 1.8rem;
        margin-right: 1.2rem;
        min-width: 40px;
    }

    /* Media queries */
    @media (max-width: 992px) {
        .unified-card .col-lg-6 img {
            border-radius: 8px 8px 0 0 !important;
        }

        .unified-card .col-lg-6:last-child {
            border-radius: 0 0 8px 8px !important;
        }
    }

    @media (max-width: 768px) {
        .unified-card,
        .benefit-card,
        .target-card {
            margin-bottom: 1.5rem;
        }

        .card-title {
            font-size: 1.2rem;
        }

        .card-text {
            font-size: 1rem;
        }

        .faq-column {
            width: 100%;
        }
    }
    /* Estilos para títulos de sección (sin cambios) */
.section-title {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    bottom: -8px;
    left: 25%;
    background: linear-gradient(90deg, #007bff, transparent);
    border-radius: 2px;
}

/* Espaciado entre secciones ajustado */
section {
    padding: 50px 0; /* Reducido de 80px a 50px */
    margin: 30px 0;  /* Reducido de 40px a 30px */
}

/* Secciones principales con espaciado ligeramente mayor */
#quienes-somos, 
#propuesta-valor, 
#servicios, 
#beneficios, 
#quien-es-herena,
#experiencia,
#regulacion,
#nuestras-oficinas,
#preguntas-frecuentes {
    padding: 50px 0; /* Reducido de 100px a 60px */
}

/* Ajuste específico para "¿Cómo funciona Herenza?" */
.mt-5.fade-in {
    padding: 50px 0;
    margin: 30px 0;
}
/*sauviza el scroll*/
html {
scroll-behavior: smooth;
}

/* ============================================================
   COMING SOON / PRÓXIMAMENTE PAGE
   ============================================================ */

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.coming-soon-wrapper {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: transparent;
}

.coming-soon-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 680px;
    width: 100%;
}

/* Logo */
.cs-logo {
    margin-bottom: 2.5rem;
}

.cs-logo img {
    max-width: 360px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 24px rgba(0, 123, 255, 0.25));
}

/* Divider */
.cs-divider {
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #007bff, transparent);
    border-radius: 2px;
    margin-bottom: 2.5rem;
}

/* Main title */
.cs-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    letter-spacing: 0.35em;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
}

.cs-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007bff, transparent);
    border-radius: 2px;
}

/* Subtitle */
.cs-subtitle {
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: #cccccc;
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-weight: 400;
}

/* Tagline */
.cs-tagline {
    font-size: clamp(0.875rem, 1.8vw, 1.05rem);
    color: #007bff;
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Fade-in animation on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

/* Responsive */
@media (max-width: 480px) {
    .cs-logo img {
        max-width: 240px;
    }

    .cs-title {
        letter-spacing: 0.2em;
    }
}