﻿:root {
    --blue: #1254a4;
    --blue-dark: #0a3d7a;
    --blue-mid: #1976d2;
    --blue-light: #e8f1fc;
    --green: #1a7f3c;
    --green-mid: #28a855;
    --gold: #d4a017;
    --wa: #25d366;
    --wa-dark: #128c7e;
    --white: #ffffff;
    --off: #f4f7fb;
    --text: #1c2b40;
    --muted: #5a6e84;
    --radius: 14px;
    --shadow: 0 4px 24px rgba(18,84,164,.10);
    --shadow-lg: 0 12px 48px rgba(18,84,164,.18);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, .brand-name {
    font-family: 'Playfair Display', serif;
}

/* ============================
       TOP BAR
    ============================ */
.topbar {
    background: var(--blue-dark);
    font-size: 12px;
    padding: 6px 0;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.topbar a {
    color: #b8d4f5;
    text-decoration: none;
    transition: color .2s;
}

    .topbar a:hover {
        color: #fff;
    }

.topbar .social-icons a {
    font-size: 14px;
    margin-left: 10px;
}

/* ============================
       NAVBAR
    ============================ */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 2px solid var(--blue-light);
    box-shadow: 0 2px 16px rgba(18,84,164,.08);
    transition: box-shadow .3s;
}

    .main-nav.scrolled {
        box-shadow: 0 4px 28px rgba(18,84,164,.15);
    }

.navbar-brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .brand-logo i {
        color: #fff;
        font-size: 1.4rem;
    }

.brand-name {
    font-size: 1.25rem;
    line-height: 1.1;
    color: var(--blue);
}

.brand-sub {
    font-size: 10px;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
}

.nav-link-custom {
    font-weight: 500;
    font-size: 14px;
    color: var(--text) !important;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
    transition: color .2s, background .2s;
}

    .nav-link-custom:hover, .nav-link-custom.active {
        color: var(--blue) !important;
        background: var(--blue-light);
    }

.btn-login {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .2s, transform .1s;
    white-space: nowrap;
}

/*.btn-calc {
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 22px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: background .2s, transform .1s;
    white-space: nowrap;
}

    .btn-calc:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(0,0,0,.22);
        color: #fff;
    }*/

.btn-calc {
    background: #fff;
    color: var(--blue);
    border: 2px solid var(--blue);
    border-radius: 8px;
    padding: 7px 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s, transform .1s;
    white-space: nowrap;
}

    .btn-calc:hover {
        background: var(--blue-light);
        color: var(--blue-dark);
        transform: translateY(-1px);
    }

    .btn-calc i {
        font-size: 15px;
    }

.btn-login:hover {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-1px);
}


/* ============================
       HERO SLIDER
    ============================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 520px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 480px;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 520px;
    }
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

    .slide.active {
        opacity: 1;
        z-index: 1;
    }

    .slide.prev {
        opacity: 0;
        z-index: 0;
    }

.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease;
}

.slide.active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    inset: 0;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: #fff;
    width: 100%;
    padding: 0 20px;
}

.slide-tag {
    display: inline-block;
    background: var(--gold);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.slide-title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.slide-desc {
    font-size: clamp(14px, 2vw, 16px);
    opacity: .9;
    max-width: 520px;
    margin-bottom: 28px;
    line-height: 1.6;
}

.slide-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: var(--white);
    color: var(--blue);
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: transform .2s, box-shadow .2s;
}

    .btn-hero-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,.2);
        color: var(--blue-dark);
    }

.btn-hero-outline {
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 2px solid rgba(255,255,255,.7);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    backdrop-filter: blur(4px);
    transition: background .2s;
}

    .btn-hero-outline:hover {
        background: rgba(255,255,255,.25);
        color: #fff;
    }

/* Slider controls */
.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    align-items: center;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background .3s, transform .3s;
    border: none;
    padding: 0;
}

    .slider-dot.active {
        background: #fff;
        transform: scale(1.3);
    }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(6px);
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s;
}

    .slider-arrow:hover {
        background: rgba(255,255,255,.35);
    }

    .slider-arrow.prev {
        left: 16px;
    }

    .slider-arrow.next {
        right: 16px;
    }

@media (max-width: 576px) {
    .slider-arrow {
        display: none;
    }
}

/* Slide progress bar */
.slide-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gold);
    z-index: 20;
    width: 0%;
    transition: width 0s linear;
}

    .slide-progress.animating {
        transition: width 9s linear; /**/
        width: 100%;
    }

/* ============================
       STATS STRIP
    ============================ */
.stats-strip {
    background: linear-gradient(90deg, var(--blue-dark) 0%, var(--blue) 100%);
    padding: 28px 0;
}

.stat-item {
    text-align: center;
    padding: 8px;
}

.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

    .stat-num span {
        color: var(--gold);
    }

.stat-label {
    font-size: 12px;
    color: rgba(255,255,255,.7);
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    background: rgba(255,255,255,.2);
    align-self: stretch;
}

/* ============================
       SECTION HEADINGS
    ============================ */
.section-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.section-line {
    width: 48px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
    margin-bottom: 20px;
}

/* ============================
       SERVICES CARDS
    ============================ */
.services-section {
    background: var(--off);
    padding: 72px 0;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    border: 1px solid rgba(18,84,164,.08);
    text-align: center;
    transition: transform .25s, box-shadow .25s;
    height: 100%;
}

    .service-card:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-lg);
    }

.service-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 1.7rem;
}

.service-card h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================
       PRODUCTS SECTION
    ============================ */
.products-section {
    padding: 72px 0;
    background: var(--white);
}

.product-tab {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.ptab-btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    border: 2px solid var(--blue-light);
    background: var(--white);
    color: var(--muted);
    cursor: pointer;
    transition: all .2s;
}

    .ptab-btn.active, .ptab-btn:hover {
        background: var(--blue);
        border-color: var(--blue);
        color: #fff;
    }

.product-card {
    background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
    border-radius: var(--radius);
    padding: 28px;
    color: #fff;
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .product-card::after {
        content: '';
        position: absolute;
        bottom: -30px;
        right: -30px;
        width: 120px;
        height: 120px;
        background: rgba(255,255,255,.07);
        border-radius: 50%;
    }

    .product-card.green {
        background: linear-gradient(135deg, #0d5c25, #1a7f3c);
    }

    .product-card h5 {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .product-card .rate {
        font-size: 2rem;
        font-weight: 800;
        font-family: 'Playfair Display', serif;
        color: var(--gold);
        line-height: 1;
    }

    .product-card .rate-label {
        font-size: 11px;
        opacity: .7;
        margin-bottom: 14px;
    }

    .product-card p {
        font-size: 13px;
        opacity: .85;
        line-height: 1.6;
    }

    .product-card .badge-tag {
        display: inline-block;
        background: rgba(255,255,255,.15);
        border: 1px solid rgba(255,255,255,.3);
        border-radius: 20px;
        font-size: 11px;
        padding: 4px 12px;
        margin-top: 14px;
    }

.btn-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.5);
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

    .btn-card-cta:hover {
        background: rgba(255,255,255,.35);
        color: #fff;
    }

/* ============================
       ABOUT SECTION
    ============================ */
.about-section {
    padding: 72px 0;
    background: var(--off);
}

.about-visual {
    background: linear-gradient(145deg, var(--blue-dark), var(--blue));
    border-radius: 20px;
    padding: 40px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .about-visual::before {
        content: '';
        position: absolute;
        top: -40px;
        right: -40px;
        width: 200px;
        height: 200px;
        background: rgba(255,255,255,.05);
        border-radius: 50%;
    }

    .about-visual i {
        font-size: 5rem;
        opacity: .9;
    }

    .about-visual h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 16px 0 8px;
    }

.credencial {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(18,84,164,.07);
}

    .credencial i {
        font-size: 1.3rem;
        color: var(--blue);
        flex-shrink: 0;
    }

    .credencial strong {
        font-size: 14px;
        display: block;
    }

    .credencial span {
        font-size: 12px;
        color: var(--muted);
    }

/* ============================
       TESTIMONIALS
    ============================ */
.testimonials-section {
    padding: 72px 0;
    background: var(--white);
}

.testimonial-card {
    background: var(--off);
    border-radius: var(--radius);
    padding: 28px;
    border-left: 4px solid var(--blue);
    height: 100%;
}

.testi-quote {
    font-size: 2.5rem;
    color: var(--blue);
    line-height: .8;
    font-family: Georgia, serif;
}

.testi-text {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    margin: 10px 0 18px;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testi-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--blue), var(--blue-mid));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}

.testi-name {
    font-size: 14px;
    font-weight: 700;
}

.testi-role {
    font-size: 11px;
    color: var(--muted);
}

.star-row {
    color: var(--gold);
    font-size: 12px;
    margin-bottom: 6px;
}

/* ============================
       CTA BANNER
    ============================ */
.cta-banner {
    background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 60%, var(--blue-mid) 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

    .cta-banner::before {
        content: '';
        position: absolute;
        top: -80px;
        right: -80px;
        width: 300px;
        height: 300px;
        background: rgba(255,255,255,.04);
        border-radius: 50%;
    }

    .cta-banner .container {
        position: relative;
        z-index: 2;
    }

.btn-cta-white {
    background: #fff;
    color: var(--blue);
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    font-size: 15px;
    transition: transform .2s, box-shadow .2s;
}

    .btn-cta-white:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(0,0,0,.2);
        color: var(--blue-dark);
    }

.btn-cta-outline {
    border: 2px solid rgba(255,255,255,.6);
    color: #fff;
    background: transparent;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 15px;
    transition: background .2s;
}

    .btn-cta-outline:hover {
        background: rgba(255,255,255,.15);
        color: #fff;
    }

/* ============================
       CONTACT
    ============================ */
.contact-section {
    padding: 72px 0;
    background: var(--off);
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 22px;
}

.contact-icon {
    width: 42px;
    height: 42px;
    background: var(--blue-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .contact-icon i {
        color: var(--blue);
        font-size: 1.1rem;
    }

.form-control-custom, .form-select-custom {
    border: 1.5px solid #dce4ef;
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 14px;
    color: var(--text);
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
    background: var(--white);
    outline: none;
    font-family: 'DM Sans', sans-serif;
}

    .form-control-custom:focus, .form-select-custom:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(18,84,164,.1);
    }

.form-label-custom {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
    display: block;
}

.btn-submit {
    background: var(--blue);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s, transform .1s;
}

    .btn-submit:hover {
        background: var(--blue-dark);
        transform: translateY(-1px);
    }

/* ============================
       FOOTER
    ============================ */
.site-footer {
    background: #07234a;
    padding: 56px 0 0;
    color: #b8d4f5;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-about {
    font-size: 13px;
    line-height: 1.7;
    color: #8fb3dc;
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

    .footer-social a {
        width: 34px;
        height: 34px;
        background: rgba(255,255,255,.08);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #b8d4f5;
        font-size: 14px;
        transition: background .2s, color .2s;
        text-decoration: none;
    }

        .footer-social a:hover {
            background: var(--blue);
            color: #fff;
        }

.footer-col h6 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

    .footer-col ul li {
        margin-bottom: 9px;
    }

        .footer-col ul li a {
            color: #8fb3dc;
            text-decoration: none;
            font-size: 13px;
            transition: color .2s;
        }

            .footer-col ul li a:hover {
                color: #fff;
                padding-left: 4px;
            }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px 0;
    margin-top: 40px;
}

    .footer-bottom p {
        font-size: 12px;
        color: #5a7fa8;
        margin: 0;
    }

/* ============================
       WHATSAPP FLOATING BUTTON
    ============================ */
.wa-fab {
    position: fixed;
    bottom: 24px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.wa-bubble {
    background: var(--white);
    border-radius: 12px;
    padding: 12px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.18);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    max-width: 200px;
    line-height: 1.4;
    display: none;
    animation: fadeInUp .3s ease;
    position: relative;
}

    .wa-bubble::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 18px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-top: 8px solid var(--white);
    }

    .wa-bubble .wa-bubble-name {
        font-size: 11px;
        color: var(--muted);
        margin-top: 2px;
    }

.wa-btn {
    width: 58px;
    height: 58px;
    background: var(--wa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,211,102,.4);
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    animation: waPulse 2.5s ease infinite;
    position: relative;
}

    .wa-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 32px rgba(37,211,102,.5);
        animation: none;
    }

    .wa-btn i {
        color: #fff;
        font-size: 1.7rem;
    }

.wa-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: #ff3b30;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
    font-weight: 700;
    border: 2px solid #fff;
}

@keyframes waPulse {
    0%, 100% {
        box-shadow: 0 6px 24px rgba(37,211,102,.4);
    }

    50% {
        box-shadow: 0 6px 36px rgba(37,211,102,.65), 0 0 0 10px rgba(37,211,102,.08);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* WA tooltip on hover */
.wa-fab:hover .wa-bubble {
    display: block;
}

/* ============================
       MISC / UTILITIES
    ============================ */
.divider-wave {
    height: 40px;
    background: var(--off);
    clip-path: ellipse(55% 100% at 50% 0%);
}

section {
    scroll-margin-top: 72px;
}

@media (max-width: 767px) {
    .stats-strip .stat-divider {
        display: none;
    }
}

/* Offcanvas mobile menu */
.offcanvas-header {
    background: var(--blue-dark);
}

.offcanvas-body {
    background: var(--white);
}

/* ============================
     DOCUMENTS DROPDOWN
  ============================ */
.nav-item-dropdown {
    position: relative;
}

.nav-link-custom.has-dropdown {
    display: flex;
    align-items: center;
    gap: 4px;
}

    .nav-link-custom.has-dropdown .dropdown-arrow {
        font-size: 11px;
        transition: transform .25s;
    }

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.docs-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 260px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(18,84,164,.18), 0 2px 8px rgba(18,84,164,.08);
    border: 1px solid rgba(18,84,164,.08);
    padding: 10px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
    z-index: 2000;
}

    .docs-dropdown::before {
        content: '';
        position: absolute;
        top: -7px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 7px solid #fff;
        filter: drop-shadow(0 -2px 2px rgba(18,84,164,.08));
    }

.nav-item-dropdown:hover .docs-dropdown,
.nav-item-dropdown:focus-within .docs-dropdown {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.docs-dropdown-header {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    padding: 6px 10px 8px;
    border-bottom: 1px solid var(--blue-light);
    margin-bottom: 6px;
}

.docs-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    transition: background .18s, color .18s;
}

    .docs-dropdown-item:hover {
        background: var(--blue-light);
        color: var(--blue);
    }

    .docs-dropdown-item .doc-icon {
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .docs-dropdown-item .doc-info small {
        display: block;
        font-size: 11px;
        color: var(--muted);
        font-weight: 400;
        margin-top: 1px;
    }

/* Mobile docs accordion */
.mobile-docs-accordion .mobile-docs-items {
    display: none;
    padding-left: 16px;
}

.mobile-docs-accordion.open .mobile-docs-items {
    display: block;
}

.mobile-docs-accordion .mobile-docs-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

    .mobile-docs-accordion .mobile-docs-toggle .arrow-icon {
        transition: transform .25s;
        font-size: 12px;
        color: var(--muted);
    }

.mobile-docs-accordion.open .mobile-docs-toggle .arrow-icon {
    transform: rotate(180deg);
}

.mobile-doc-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 4px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 1px solid #f0f4f9;
    transition: color .2s;
}

    .mobile-doc-link:hover {
        color: var(--blue);
    }

    .mobile-doc-link i {
        color: var(--blue);
        font-size: 14px;
    }

/* ============================
   HISTORIA SECTION
============================ */
/* ============================
   HISTORIA SECTION
============================ */
.historia-section {
    padding: 72px 0;
    background: var(--white);
}

.historia-timeline {
    position: relative;
    padding-left: 28px;
}

    .historia-timeline::before {
        content: '';
        position: absolute;
        left: 7px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--blue-light), var(--blue), var(--blue-light));
    }

.historia-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 20px;
}

    .historia-item.last {
        margin-bottom: 0;
    }

.historia-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--blue);
}

    .historia-dot.gold {
        background: var(--gold);
        box-shadow: 0 0 0 2px var(--gold);
    }

    .historia-dot.green {
        background: var(--green);
        box-shadow: 0 0 0 2px var(--green);
    }

.historia-year {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 4px;
}

.historia-body h6 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.historia-body p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}


/* ============================
   HISTORIA SECTION
============================ */
.historia-section {
    padding: 72px 0;
    background: var(--white);
}

.historia-timeline {
    position: relative;
    padding-left: 28px;
}

    .historia-timeline::before {
        content: '';
        position: absolute;
        left: 7px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: linear-gradient(to bottom, var(--blue-light), var(--blue), var(--blue-light));
    }

.historia-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 20px;
}

    .historia-item.last {
        margin-bottom: 0;
    }

.historia-dot {
    position: absolute;
    left: -24px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--blue);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--blue);
}

    .historia-dot.gold {
        background: var(--gold);
        box-shadow: 0 0 0 2px var(--gold);
    }

    .historia-dot.green {
        background: var(--green);
        box-shadow: 0 0 0 2px var(--green);
    }

.historia-year {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 4px;
}

.historia-body h6 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.historia-body p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.75;
    margin: 0;
}

/* Historia visual card */
.historia-visual {
    padding: 4px 0 4px 24px;
}

@media (max-width: 991px) {
    .historia-visual {
        padding: 0;
    }
}

.historia-visual-inner {
    background: linear-gradient(145deg, var(--blue-dark), var(--blue));
    border-radius: 20px;
    padding: 40px 32px;
    color: #fff;
    text-align: center;
}

.historia-icon {
    font-size: 3rem;
    opacity: .85;
    margin-bottom: 16px;
    display: block;
}

.historia-visual-inner h4 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 14px;
}

.historia-visual-inner p {
    font-size: 13.5px;
    opacity: .82;
    line-height: 1.7;
    margin-bottom: 24px;
}

.historia-pills {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

    .historia-pills span {
        background: rgba(255,255,255,.12);
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 20px;
        font-size: 12px;
        font-weight: 600;
        padding: 6px 14px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

/*Estilo Anuncio Asamblea Bar*/
/*.asamblea-bar {
    background: linear-gradient(90deg, var(--blue-dark), var(--blue));
    color: #fff;
    overflow: hidden;
    max-height: 46px;
    transition: max-height .35s ease, padding .35s ease, opacity .3s ease;
}

    .asamblea-bar.is-hidden {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }

.asamblea-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 11px 16px;
    font-size: 13.5px;
    flex-wrap: wrap;
    text-align: center;
}

.asamblea-bar-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(212,160,23,.6);
    animation: asambleaPulse 1.8s infinite;
}

@keyframes asambleaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212,160,23,.55);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(212,160,23,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212,160,23,0);
    }
}

.asamblea-bar strong {
    color: var(--gold);
    font-weight: 700;
}

.asamblea-bar-link {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    cursor: pointer;
}

    .asamblea-bar-link:hover {
        color: var(--gold);
    }

.asamblea-bar-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.65);
    font-size: 16px;
    line-height: 1;
    padding: 0;
    margin-left: 4px;
    transition: color .2s;
}

    .asamblea-bar-close:hover {
        color: #fff;
    }*/

.asamblea-bar {
    background: linear-gradient(90deg, var(--blue-dark), var(--blue));
    color: #fff;
    overflow: hidden;
    max-height: 46px;
    transition: max-height .35s ease, padding .35s ease, opacity .3s ease;
}

    .asamblea-bar.is-hidden {
        max-height: 0;
        opacity: 0;
        pointer-events: none;
    }

.asamblea-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 11px 16px;
    font-size: 13.5px;
    flex-wrap: wrap;
    text-align: center;
    position: relative;
}

.asamblea-bar-dot {
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 0 rgba(212,160,23,.6);
    animation: asambleaPulse 1.8s infinite;
}

@keyframes asambleaPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212,160,23,.55);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(212,160,23,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212,160,23,0);
    }
}

.asamblea-bar strong {
    color: var(--gold);
    font-weight: 700;
}

.asamblea-bar-link {
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    white-space: nowrap;
    cursor: pointer;
}

    .asamblea-bar-link:hover {
        color: var(--gold);
    }

.asamblea-bar-close {
    background: none;
    border: none;
    color: rgba(255,255,255,.65);
    font-size: 16px;
    line-height: 1;
    padding: 0;
    margin-left: 4px;
    transition: color .2s;
}

    .asamblea-bar-close:hover {
        color: #fff;
    }

/* ============================================================
   RESPONSIVE: TABLETS Y MÓVILES
============================================================ */
@media (max-width: 768px) {
    .asamblea-bar {
        max-height: 130px; /* suficiente para texto envuelto en 2-3 líneas */
    }

    .asamblea-bar-inner {
        gap: 6px;
        padding: 10px 40px 10px 14px; /* espacio a la derecha para el botón cerrar */
        font-size: 12.5px;
        line-height: 1.4;
    }

    .asamblea-bar-dot {
        display: none; /* ahorra espacio en móvil */
    }

    .asamblea-bar-close {
        position: absolute;
        top: 8px;
        right: 10px;
    }
}

@media (max-width: 400px) {
    .asamblea-bar {
        max-height: 150px;
    }

    .asamblea-bar-inner {
        font-size: 11.5px;
    }
}


/* ============================
   ASAMBLEA MODAL
============================ */
#asambleaModal .modal-dialog {
    max-width: 620px;
}

#asambleaModal .modal-content {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 70px rgba(10,61,122,.35);
}

.asamblea-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(10,20,35,.45);
    color: #fff;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

    .asamblea-modal-close:hover {
        background: rgba(10,20,35,.7);
    }

.asamblea-modal-img-wrap {
    position: relative;
    line-height: 0;
}

    .asamblea-modal-img-wrap img {
        width: 100%;
        display: block;
    }

.asamblea-modal-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gold);
    color: var(--blue-dark);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .asamblea-modal-tag .dot {
        width: 6px;
        height: 6px;
        background: var(--blue-dark);
        border-radius: 50%;
        animation: asambleaPulse 1.8s infinite;
    }

.asamblea-modal-body {
    background: var(--white);
    padding: 0px 26px 26px;
    border-top: 3px solid var(--gold);
}

.asamblea-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    flex-wrap: wrap;
}

    .asamblea-modal-actions .btn {
        flex: 1 1 220px;
    }

.btn-asamblea-gold {
    background: linear-gradient(135deg, var(--gold), #b8860b);
    color: var(--blue-dark);
    font-weight: 700;
    border: none;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .2s, box-shadow .2s;
}

    .btn-asamblea-gold:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 22px rgba(212,160,23,.4);
        color: var(--blue-dark);
    }

.btn-asamblea-outline {
    background: transparent;
    color: var(--blue);
    font-weight: 700;
    border: 2px solid var(--blue-light);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s, border-color .2s;
}

    .btn-asamblea-outline:hover {
        background: var(--blue-light);
        border-color: var(--blue);
        color: var(--blue-dark);
    }

.asamblea-modal-note {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    background: var(--blue-light);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 14px;
}

    .asamblea-modal-note i {
        color: var(--blue);
        margin-top: 1px;
    }
/*Fin estilo anuncio*/