/* RESET & VARIABLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --color-dorado-brillante: #e5c158;
    --color-dorado-base: #c89d36;
    --color-dorado-oscuro: #987320;
    --color-fondo-oscuro: #0f0f10;
    --color-fondo-tarjeta: #18181a;
    --color-texto: #e3e3e3;
    --color-whatsapp: #25d366;
    --fuente-titulo: 'Cinzel', serif;
    --fuente-cuerpo: 'Montserrat', sans-serif;
    --fuente-cursiva: 'Alex Brush', cursive;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--fuente-cuerpo);
    background-color: var(--color-fondo-oscuro);
    color: var(--color-texto);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* EFECTO RIPPLE (ONDA DE TACTO EN BOTONES) */
.btn-interactive {
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-interactive:active {
    transform: scale(0.96);
}

.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    background-color: rgba(255, 255, 255, 0.4);
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* NAVBAR Y LOGO REAL EN LA ESQUINA */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    background-color: rgba(15, 15, 16, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(200, 157, 54, 0.25);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    cursor: pointer;
    user-select: none;
    padding: 4px 0;
}

.nav-logo-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1.5px solid var(--color-dorado-brillante);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(229, 193, 88, 0.35);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background-color: #000;
}

.nav-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-container:hover .nav-logo-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 22px rgba(229, 193, 88, 0.7);
    border-color: #fff;
}

.brand-name {
    font-family: var(--fuente-titulo);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.brand-name span {
    color: var(--color-dorado-brillante);
}

/* BADGE EMERGENTE DEL LOGO */
.logo-badge {
    position: absolute;
    top: 55px;
    left: 0;
    background: rgba(20, 20, 22, 0.96);
    border: 1px solid var(--color-dorado-brillante);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(229, 193, 88, 0.2);
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 1001;
    white-space: nowrap;
    pointer-events: none;
}

.logo-badge::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 10px;
    height: 10px;
    background-color: rgba(20, 20, 22, 0.96);
    border-left: 1px solid var(--color-dorado-brillante);
    border-top: 1px solid var(--color-dorado-brillante);
    transform: rotate(45deg);
}

.logo-badge i {
    font-size: 1.2rem;
    color: var(--color-dorado-brillante);
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text strong {
    font-size: 0.8rem;
    color: #fff;
}

.badge-text span {
    font-size: 0.7rem;
    color: var(--color-dorado-brillante);
}

.logo-container:hover .logo-badge,
.logo-badge.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-dorado-brillante);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--color-texto);
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s;
    padding: 6px 12px;
    border-radius: 20px;
}

.nav-links a:hover {
    color: var(--color-dorado-brillante);
    background: rgba(229, 193, 88, 0.1);
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    background: url('https://images.unsplash.com/photo-1515562141207-7a88fb7ce338?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(15, 15, 16, 0.7) 0%, rgba(15, 15, 16, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding: 20px;
}

.hero-emblem {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 2px solid var(--color-dorado-brillante);
    box-shadow: 0 0 25px rgba(229, 193, 88, 0.4);
    overflow: hidden;
    position: relative;
    transition: transform 0.4s ease;
}

.hero-emblem:hover {
    transform: scale(1.05);
}

.hero-emblem-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sub-slogan {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: var(--color-dorado-brillante);
    margin-bottom: 10px;
}

.hero-content h1 {
    font-family: var(--fuente-titulo);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* BOTONES CON ALTA INTERACTIVIDAD */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border: 1px solid var(--color-dorado-brillante);
    color: var(--color-dorado-brillante);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    min-height: 48px;
}

.btn-primary:hover {
    background-color: var(--color-dorado-brillante);
    color: #000;
    box-shadow: 0 0 20px rgba(229, 193, 88, 0.4);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--color-whatsapp);
    color: #fff;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    min-height: 48px;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-whatsapp.lg {
    padding: 15px 35px;
    font-size: 1rem;
}

/* NOSOTROS */
.nosotros {
    padding: 80px 0;
    background-color: #121214;
}

.nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.tagline {
    color: var(--color-dorado-brillante);
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 600;
}

.nosotros-text h2 {
    font-family: var(--fuente-titulo);
    font-size: 2rem;
    margin: 10px 0 20px;
    color: #fff;
}

.nosotros-text p {
    color: #aaa;
    margin-bottom: 15px;
}

.signature {
    font-family: var(--fuente-cursiva);
    font-size: 2rem;
    color: var(--color-dorado-brillante);
    margin-top: 15px;
}

.nosotros-img-card {
    position: relative;
    padding: 8px;
    background: linear-gradient(135deg, rgba(229, 193, 88, 0.4), rgba(20, 20, 20, 0.8));
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    max-width: 420px;
    margin: 0 auto;
    transition: transform 0.3s;
}

.nosotros-img-card:hover {
    transform: translateY(-5px);
}

.nosotros-img-card img {
    width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

/* COLECCIÓN */
.coleccion {
    padding: 80px 0;
    text-align: center;
}

.coleccion h2 {
    font-family: var(--fuente-titulo);
    font-size: 2rem;
    color: #fff;
}

.linea-decorativa {
    width: 50px;
    height: 2px;
    background-color: var(--color-dorado-brillante);
    margin: 12px auto 25px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(200, 157, 54, 0.3);
    color: #ccc;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-family: var(--fuente-cuerpo);
    font-size: 0.85rem;
    min-height: 42px;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--color-dorado-brillante);
    color: #000;
    border-color: var(--color-dorado-brillante);
    font-weight: 600;
}

.grid-productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card-producto {
    background-color: var(--color-fondo-tarjeta);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(200, 157, 54, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.card-producto:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(229, 193, 88, 0.15);
    border-color: rgba(229, 193, 88, 0.4);
}

.img-box {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-producto:hover .img-box img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dorado-brillante);
    font-weight: 600;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-producto:hover .card-overlay {
    opacity: 1;
}

.card-info {
    padding: 18px;
    text-align: left;
}

.categoria {
    font-size: 0.75rem;
    color: var(--color-dorado-brillante);
    text-transform: uppercase;
}

.card-info h3 {
    font-family: var(--fuente-titulo);
    font-size: 1.1rem;
    margin: 5px 0;
    color: #fff;
}

.card-info p {
    font-size: 0.85rem;
    color: #999;
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.88);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 15px;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--color-fondo-tarjeta);
    border: 1px solid var(--color-dorado-brillante);
    border-radius: 12px;
    max-width: 650px;
    width: 100%;
    position: relative;
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-body img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 220px;
}

.modal-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-details h3 {
    font-family: var(--fuente-titulo);
    font-size: 1.4rem;
    color: var(--color-dorado-brillante);
    margin-bottom: 10px;
}

.modal-details p {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* CONTACTO */
.contacto {
    padding: 70px 0;
    text-align: center;
    background: linear-gradient(180deg, #0f0f10 0%, #17171a 100%);
    border-top: 1px solid rgba(200, 157, 54, 0.15);
}

.contacto h2 {
    font-family: var(--fuente-titulo);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 12px;
}

.contacto p {
    max-width: 550px;
    margin: 0 auto 25px;
    color: #aaa;
    font-size: 0.95rem;
}

/* BOTÓN FLOTANTE */
.whatsapp-float {
    position: fixed;
    width: 58px;
    height: 58px;
    bottom: 25px;
    right: 25px;
    background-color: var(--color-whatsapp);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 999;
    text-decoration: none;
}

.pulse {
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* FOOTER & CONTADOR DE VISITAS */
footer {
    background-color: #080809;
    padding: 40px 20px 20px;
    text-align: center;
    border-top: 1px solid rgba(200, 157, 54, 0.2);
}

.footer-logo-box {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    border-radius: 50%;
    border: 1px solid var(--color-dorado-brillante);
    overflow: hidden;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-title {
    font-family: var(--fuente-titulo);
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-dorado-brillante);
}

.footer-sub {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 18px;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-socials a {
    color: #aaa;
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.footer-socials a:hover {
    color: var(--color-dorado-brillante);
    background: rgba(229, 193, 88, 0.15);
}

/* DISEÑO DEL CONTADOR DE VISITAS */
.visit-counter-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(229, 193, 88, 0.25);
    padding: 10px 22px;
    border-radius: 30px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 0 10px #25d366;
    animation: blink-live 1.5s infinite;
}

@keyframes blink-live {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.counter-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.counter-number {
    font-family: var(--fuente-cuerpo);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-dorado-brillante);
    line-height: 1;
}

.counter-label {
    font-size: 0.72rem;
    color: #aaa;
    letter-spacing: 0.5px;
}

.copy {
    font-size: 0.75rem;
    color: #555;
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.7s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ADAPTACIÓN CELULARES / ANDROID */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 65px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 65px);
        background-color: rgba(15, 15, 16, 0.98);
        backdrop-filter: blur(15px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: left 0.4s ease;
        border-top: 1px solid rgba(200, 157, 54, 0.15);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .nosotros-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-body img {
        max-height: 200px;
    }

    .grid-productos {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}