:root {
    --primary-color: #03080b !important;
    --accent-color: #7CFF2B !important;
    --accent-glow: rgba(124, 255, 43, 0.55);
    --text-light: #ffffff !important;
    --text-dark: #b7c7bd !important;
    --card-background: rgba(7, 18, 18, 0.88) !important;
    --border-soft: rgba(124, 255, 43, 0.18);
}

body {
    font-family: 'Poppins', sans-serif !important;
    background:
        radial-gradient(circle at top left, rgba(124,255,43,.13), transparent 34%),
        radial-gradient(circle at bottom right, rgba(0,255,170,.08), transparent 34%),
        #03080b !important;
    color: var(--text-light) !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    overflow-x: hidden;
}

main {
    flex: 1;
}

.navbar {
    background: rgba(3, 8, 11, 0.86) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(124,255,43,.18) !important;
}

.nav-logo img,
.footer-logo img {
    filter: drop-shadow(0 0 14px rgba(124,255,43,.45));
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color) !important;
    text-shadow: 0 0 16px var(--accent-glow);
}

.btn-primary {
    background: linear-gradient(135deg, #7CFF2B, #18d66f) !important;
    color: #061006 !important;
    border: none !important;
    box-shadow: 0 0 24px rgba(124,255,43,.28) !important;
    transition: .25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(124,255,43,.5) !important;
}

.aurora-blob.one {
    background: #7CFF2B !important;
    opacity: .35 !important;
}

.aurora-blob.two {
    background: #00ffaa !important;
    opacity: .35 !important;
}

.page-header {
    position: relative !important;
    text-align: center !important;
    padding: 5rem 1rem 4.5rem !important;
    border-bottom: 2px solid var(--accent-color) !important;
    margin-bottom: 3rem !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
}

.page-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(3,8,11,.55), rgba(3,8,11,.96)),
        radial-gradient(circle at center, rgba(124,255,43,.22), transparent 45%);
    z-index: 0;
}

.page-header .page-title,
.page-header .page-subtitle {
    position: relative;
    z-index: 1;
}

.page-header .page-title {
    font-size: clamp(2.6rem, 5vw, 4.3rem) !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    text-shadow:
        0 0 14px rgba(124,255,43,.55),
        0 0 38px rgba(124,255,43,.35) !important;
    margin: 0 !important;
}

.page-header .page-subtitle {
    max-width: 760px;
    margin: .7rem auto 0 !important;
    font-size: 1.05rem !important;
    color: var(--text-dark) !important;
    line-height: 1.6;
}

.gallery-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
    gap: 1.5rem !important;
    padding-bottom: 4rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, rgba(10,24,22,.92), rgba(4,10,13,.96)) !important;
    border: 1px solid var(--border-soft) !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    color: inherit !important;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease,
        opacity .6s ease-out !important;
    opacity: 0;
    transform: translateY(30px);
    display: flex !important;
    flex-direction: column;
    text-align: left;
    box-shadow:
        0 18px 42px rgba(0,0,0,.42),
        0 0 28px rgba(124,255,43,.06);
}

.gallery-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124,255,43,.13), transparent);
    transform: skewX(-20deg);
    transition: .5s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover::before {
    left: 120%;
}

.gallery-item.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.gallery-item:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(124,255,43,.42) !important;
    box-shadow:
        0 24px 56px rgba(0,0,0,.55),
        0 0 34px rgba(124,255,43,.16) !important;
}

.gallery-item img {
    width: 100% !important;
    height: 195px !important;
    object-fit: cover !important;
    display: block !important;
    border-bottom: 1px solid rgba(124,255,43,.14) !important;
    transition: transform .4s ease, filter .4s ease !important;
}

.gallery-item:hover img {
    transform: scale(1.045);
    filter: brightness(1.08) contrast(1.06);
}

.gallery-item-info {
    padding: 1.15rem 1.25rem 1.25rem !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.gallery-item h3 {
    margin: 0 0 .5rem 0 !important;
    font-size: 1.12rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(124,255,43,.2);
}

.gallery-item p {
    margin: 0 !important;
    font-size: .9rem !important;
    color: var(--text-dark) !important;
    line-height: 1.6 !important;
    flex-grow: 1;
}

.gallery-item-info::after {
    content: "Ver interior →";
    margin-top: 1rem;
    color: var(--accent-color);
    font-size: .85rem;
    font-weight: 700;
    text-shadow: 0 0 12px rgba(124,255,43,.25);
}

.footer {
    background:
        linear-gradient(to bottom, #071212, #03080b) !important;
    border-top: 1px solid rgba(124,255,43,.14) !important;
}

.footer-column h4::after {
    background:
        linear-gradient(90deg, #7CFF2B, #18d66f) !important;
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .page-header {
        padding: 4rem 1rem 3.3rem !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .gallery-item img {
        height: 210px !important;
    }
}