﻿:root {
    --p-navy: #1b2f4a;
    --p-navy-mid: #243d61;
    --p-navy-light: #2f527f;
    --p-gold: #e8a020;
    --p-gold-dark: #c2841a;
    --p-surface: #f4f6f9;
    --p-white: #ffffff;
    --p-text: #000000;
    --p-text-muted: #5c6470;
    --p-border: #dde2ea;
    --p-radius: 4px;
    --p-radius-md: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    color: var(--p-text);
    margin: 0;
    background: radial-gradient(circle at top left, rgba(47,82,127,.35) 0%, transparent 25%), radial-gradient(circle at bottom right, rgba(27,47,74,.45) 0%, transparent 25%), linear-gradient(135deg, #0b111b 0%, #101927 30%, #16263d 65%, #1b2f4a 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

#body {
    background: #ffffff;
}

main.container-fluid {
    background: #ffffff;
    padding: 0;
}

.topbar {
    background: var(--p-navy);
    color: rgba(255,255,255,.65);
    font-size: 12px;
    padding: 6px 0;
    letter-spacing: .2px;
}

    .topbar a {
        color: rgba(255,255,255,.65);
        text-decoration: none;
        margin-left: 16px;
        transition: color .2s;
    }

        .topbar a:hover {
            color: var(--p-gold);
        }

    .topbar i {
        margin-right: 4px;
    }

.site-nav {
    background: var(--p-white);
    border-bottom: 2px solid var(--p-gold);
    position: sticky;
    top: 0;
    z-index: 1030;
}

    .site-nav .container-fluid {
        padding: 0 24px;
    }

.navbar-brand {
    padding: 10px 24px 10px 0;
    border-right: 1px solid var(--p-border);
    margin-right: 16px;
}

    .navbar-brand img {
        height: 36px;
        width: auto;
    }

.site-nav .nav-link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--p-navy) !important;
    padding: 20px 14px !important;
    letter-spacing: .15px;
    position: relative;
    white-space: nowrap;
    transition: color .2s;
}

    .site-nav .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 14px;
        right: 14px;
        height: 2px;
        background: var(--p-gold);
        transform: scaleX(0);
        transition: transform .25s;
    }

    .site-nav .nav-link:hover,
    .site-nav .nav-link.show {
        color: var(--p-gold) !important;
    }

        .site-nav .nav-link:hover::after,
        .site-nav .nav-link.show::after {
            transform: scaleX(1);
        }

.site-nav .dropdown-divider {
    border-color: var(--p-border);
    margin: 4px 0;
}

.nav-search .form-control {
    font-size: 13px;
    border-radius: var(--p-radius) 0 0 var(--p-radius);
    border: 1px solid var(--p-border);
    background: var(--p-surface);
    color: var(--p-text);
    padding: 6px 12px;
    height: 36px;
    width: 200px;
    transition: border-color .2s, background .2s;
}

    .nav-search .form-control:focus {
        border-color: var(--p-navy);
        background: var(--p-white);
        box-shadow: none;
        outline: none;
    }

.nav-search .btn-search {
    background: var(--p-navy);
    color: var(--p-white);
    border: none;
    border-radius: 0 var(--p-radius) var(--p-radius) 0;
    padding: 0 14px;
    height: 36px;
    font-size: 13px;
    cursor: pointer;
    transition: background .2s;
}

    .nav-search .btn-search:hover {
        background: var(--p-gold);
    }

.btn-nav-cta {
    background: var(--p-gold);
    color: var(--p-white) !important;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: var(--p-radius);
    border: none;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
    margin-left: 12px;
}

    .btn-nav-cta:hover {
        background: var(--p-gold-dark);
        color: var(--p-white) !important;
    }

.navbar-toggler {
    border: 1px solid var(--p-border);
    border-radius: var(--p-radius);
    padding: 6px 10px;
}

    .navbar-toggler:focus {
        box-shadow: none;
    }

.card {
    background: #ffffff;
    border: 1px solid var(--p-border);
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(27,47,74,0.08);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 24px rgba(27,47,74,0.14);
    }

.prosea-dark-card {
    background: linear-gradient(145deg, var(--p-navy) 0%, var(--p-navy-light) 45%, var(--p-gold) 130%) !important;
    border: none !important;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(27,47,74,0.18);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .prosea-dark-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 36px rgba(27,47,74,0.28);
    }

    .prosea-dark-card .card-body,
    .prosea-dark-card .prosea-card-body {
        background: transparent !important;
        color: #ffffff !important;
    }

    .prosea-dark-card .prosea-card-title a {
        color: #ffffff !important;
        font-weight: 700;
    }

        .prosea-dark-card .prosea-card-title a:hover {
            color: var(--p-gold) !important;
        }

    .prosea-dark-card .prosea-card-desc {
        color: rgba(255,255,255,0.85) !important;
    }

    .prosea-dark-card .prosea-card-img {
        background: rgba(255,255,255,0.08) !important;
    }

.testimonials-section {
    padding: 80px 24px;
    background: radial-gradient(circle at top left, rgba(47,82,127,.35) 0%, transparent 25%), radial-gradient(circle at bottom right, rgba(27,47,74,.45) 0%, transparent 25%), linear-gradient(135deg, #0b111b 0%, #101927 30%, #16263d 65%, #1b2f4a 100%);
}

.section-eyebrow {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--p-gold);
    display: block;
    margin-bottom: 10px;
    text-align: center;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: -.5px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1180px;
    margin: 0 auto 40px;
}

.testimonial-card {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 28px;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    position: relative;
    overflow: hidden;
}

    .testimonial-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,.06), transparent);
        transition: .8s;
    }

    .testimonial-card:hover::before {
        left: 100%;
    }

    .testimonial-card:hover {
        transform: translateY(-10px);
        border-color: rgba(232,160,32,.4);
        box-shadow: 0 20px 40px rgba(0,0,0,.35), 0 0 20px rgba(232,160,32,.15);
    }

    .testimonial-card .stars {
        color: var(--p-gold);
        font-size: 13px;
        margin-bottom: 4px;
    }

    .testimonial-card .t-date {
        font-size: 18px;
        color: #aeb9c6;
    }

    .testimonial-card blockquote {
        font-size: 18px;
        color: #f4f6f9;
        line-height: 1.8;
        margin: 16px 0 14px;
        font-style: italic;
    }

    .testimonial-card cite {
        font-size: 18px;
        font-weight: 600;
        color: var(--p-gold);
        font-style: normal;
    }

.testimonials-actions {
    text-align: center;
}

    .testimonials-actions a {
        font-size: 18px;
        font-weight: 600;
        color: #fff;
        text-decoration: none;
        border: 1px solid rgba(255,255,255,.08);
        padding: 10px 24px;
        border-radius: 50px;
        margin: 0 6px;
        background: rgba(255,255,255,.05);
        transition: all .35s ease;
        display: inline-block;
    }

        .testimonials-actions a:hover {
            border-color: var(--p-gold);
            background: var(--p-gold);
            color: #111;
            transform: translateY(-2px);
        }

.modal-content {
    border: none;
    border-radius: var(--p-radius-md);
    overflow: hidden;
}

.modal-cta-body {
    padding: 40px 32px;
    text-align: center;
    position: relative;
}

    .modal-cta-body h5 {
        font-size: 18px;
        font-weight: 600;
        color: var(--p-navy);
        margin-bottom: 8px;
    }

    .modal-cta-body p {
        font-size: 13px;
        color: var(--p-text-muted);
        margin-bottom: 24px;
    }

.btn-primary-prosea {
    background: var(--p-navy);
    color: var(--p-white);
    font-size: 13px;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: var(--p-radius);
    text-decoration: none;
    border: none;
    transition: background .2s;
    display: inline-block;
}

    .btn-primary-prosea:hover {
        background: var(--p-gold);
        color: var(--p-navy);
    }

.site-footer {
    background: var(--p-navy);
    color: #8fa8c4;
}

.footer-top {
    padding: 56px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo img {
    height: 32px;
    filter: brightness(0) invert(1);
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 13px;
    line-height: 1.7;
    color: #8fa8c4;
    max-width: 280px;
}

.footer-social {
    margin-top: 20px;
    display: flex;
    gap: 8px;
}

    .footer-social a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 1px solid rgba(255,255,255,.15);
        border-radius: 50%;
        color: #8fa8c4;
        font-size: 13px;
        text-decoration: none;
        transition: border-color .2s, color .2s, background .2s;
    }

        .footer-social a:hover {
            border-color: var(--p-gold);
            color: var(--p-gold);
            background: rgba(232,160,32,.08);
        }

.footer-col-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--p-white);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 13px;
        color: #8fa8c4;
        text-decoration: none;
        transition: color .2s;
    }

        .footer-links a:hover {
            color: var(--p-gold);
        }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #8fa8c4;
}

    .footer-contact-item i {
        color: var(--p-gold);
        font-size: 14px;
        margin-top: 2px;
        flex-shrink: 0;
    }

.footer-cta-btn {
    display: inline-block;
    margin-top: 16px;
    background: var(--p-gold);
    color: var(--p-navy);
    font-size: 13px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: var(--p-radius);
    text-decoration: none;
    transition: background .2s;
}

    .footer-cta-btn:hover {
        background: var(--p-gold-dark);
        color: var(--p-white);
    }

.footer-bottom {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

    .footer-bottom span {
        font-size: 12px;
        color: #567090;
    }

    .footer-bottom strong {
        color: var(--p-gold);
    }

@media (max-width: 991px) {
    .site-nav .nav-link {
        padding: 12px 16px !important;
    }

        .site-nav .nav-link::after {
            display: none;
        }

    .topbar {
        display: none;
    }

    .nav-search {
        margin-top: 12px;
    }

    .btn-nav-cta {
        margin: 12px 0 0;
    }

    .footer-tagline {
        max-width: 100%;
    }
}

.sidebar-carrito {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    height: 100vh;
    background: #fff;
    box-shadow: -5px 0 20px rgba(0,0,0,0.25);
    transition: right 0.4s ease;
    z-index: 1060;
    overflow-y: auto;
}

    .sidebar-carrito.open {
        right: 0;
    }

.overlay-carrito {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 1050;
    display: none;
}


.dropdown-submenu {
    position: relative;
}

.site-nav .dropdown-menu {
    min-width: 280px;
    max-width: 350px;
    max-height: 75vh;
    overflow-y: auto;
    padding: 10px;
    border: none;
    border-radius: 14px;
    background: #fff;
    border-top: 4px solid var(--p-gold);
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
    margin-top: 0;
    animation: dropdownFade .25s ease;
}

    .site-nav .dropdown-menu::-webkit-scrollbar {
        width: 6px;
    }

    .site-nav .dropdown-menu::-webkit-scrollbar-thumb {
        background: var(--p-gold);
        border-radius: 10px;
    }

.mega-productos {
    width: 300px !important;
    max-width: 300px !important;
}

.site-nav .dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--p-navy);
    transition: all .22s ease;
}

    .site-nav .dropdown-item i.item-icon {
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        background: rgba(232,160,32,.1);
        color: var(--p-gold-dark);
        font-size: 13px;
        transition: all .22s ease;
    }

    .site-nav .dropdown-item:hover {
        background: rgba(232,160,32,.08);
        color: var(--p-navy);
        transform: translateX(4px);
    }

        .site-nav .dropdown-item:hover i.item-icon {
            background: var(--p-gold);
            color: #fff;
            transform: scale(1.08);
        }

    .site-nav .dropdown-item::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: var(--p-gold);
        border-radius: 10px 0 0 10px;
        transition: .22s ease;
    }

    .site-nav .dropdown-item:hover::before {
        width: 4px;
    }

.dropdown-submenu > .dropdown-toggle::after {
    content: "›";
    border: none;
    font-size: 18px;
    font-weight: 700;
    color: var(--p-gold);
    margin-left: auto;
    transition: .25s ease;
}

.dropdown-submenu:hover > .dropdown-toggle::after {
    transform: translateX(4px);
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
    min-width: 320px;
    border-radius: 16px;
    border: none;
    border-top: 4px solid var(--p-gold);
    background: #ffffff;
    box-shadow: 0 25px 60px rgba(27,47,74,.22), 0 0 0 1px rgba(27,47,74,.04);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: scale(.97);
    transform-origin: left top;
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

    .dropdown-submenu > .dropdown-menu::before {
        content: '';
        position: absolute;
        top: 18px;
        left: -8px;
        width: 16px;
        height: 16px;
        background: #ffffff;
        transform: rotate(45deg);
        box-shadow: -3px 3px 6px rgba(27,47,74,.06);
    }

@media (min-width:992px) {

    .dropdown-submenu > .dropdown-menu {
        display: block;
        pointer-events: none;
    }

    .dropdown-submenu.submenu-open > .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        pointer-events: auto;
    }

    .dropdown-submenu.dropend-left > .dropdown-menu {
        right: 100%;
        left: auto;
        transform-origin: right top;
    }

        .dropdown-submenu.dropend-left > .dropdown-menu::before {
            left: auto;
            right: -8px;
            box-shadow: 3px -3px 6px rgba(27,47,74,.06);
        }
}

@media (max-width:991px) {

    .mega-productos {
        width: 100% !important;
        max-width: 100% !important;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        margin-left: 12px;
        margin-top: 6px;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid var(--p-gold);
        background: #f8fafc;
        border-radius: 0 10px 10px 0;
    }

    .dropdown-submenu.show > .dropdown-menu {
        display: block;
        animation: expandDown .3s ease;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        content: "+";
        font-size: 16px;
        font-weight: bold;
    }

    .dropdown-submenu.show > .dropdown-toggle::after {
        content: "−";
    }
}

@keyframes dropdownFade {

    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandDown {

    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 600px;
    }
}
