/* =========================================
Variables de Color y Tipografía
========================================= */
:root {
    /* Colores Principales */
    --blanco: #FFFFFF;
    --negro: #000000;
    --azul: #5a7e9b;
    --naranja: #c06b29;
    --beige: #cbab72;
    --beige-claro: #fbf2c5;
    --rojo-vino: #2c1919;
    
    /* Colores de Header solicitados */
    --nav-text: #6f677e;
    --nav-hover: #ed3629;
    
    /* Tipografías */
    --font-titulos: 'Space Grotesk', sans-serif;
    --font-parrafos: 'Inter', sans-serif;
}

/* =========================================
Estilos Globales
========================================= */
body {
    font-family: var(--font-parrafos) !important;
    color: var(--negro);
    background-color: var(--blanco);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-title {
    font-family: var(--font-titulos) !important;
    font-weight: 700;
}

p {
    line-height: 1.6;
    color: #444; /* Un gris oscuro para mejor lectura en fondos claros */
}

/* Utilidades de Color de Fondo */
.bg-rojo-vino { background-color: var(--rojo-vino); }
.bg-beige-claro { background-color: var(--beige-claro); }
.bg-azul { background-color: var(--azul); }
.bg-naranja { background-color: var(--naranja); }
.bg-beige { background-color: var(--beige); }

/* Utilidades de Color de Texto */
.text-blanco { color: white; }
.text-naranja { color: var(--naranja); }
.text-rojo-vino { color: var(--rojo-vino); }
.text-azul { color: var(--azul); }
.text-beige { color: var(--beige); }
.text-beige-claro { color: var(--beige-claro); }
.text-rojo-claro { color: var(--nav-hover); }

/* Botones Personalizados */
.btn-custom-naranja {
    background-color: var(--naranja);
    color: var(--blanco);
    font-family: var(--font-titulos);
    font-weight: 600;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-custom-naranja:hover {
    background-color: #a35921;
    color: var(--blanco);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192, 107, 41, 0.4);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--azul);
    font-family: var(--font-titulos);
    font-weight: 600;
    border: 2px solid var(--azul);
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
}
.btn-custom-outline:hover {
    background-color: var(--azul);
    color: var(--blanco) !important;
    transform: translateY(-2px);
}

/* =========================================
Navbar (Header)
========================================= */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    color: var(--beige-claro) !important;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.navbar-brand i {
    color: var(--naranja);
}

.navbar-brand .img-fluid {
    max-width:50px;
}

.nav-link {
    color: var(--nav-text) !important;
    font-family: var(--font-titulos);
    font-weight: 600;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--nav-hover) !important;
}

/* Botón hamburguesa personalizado */
.navbar-toggler {
    border-color: rgba(255,255,255,0.1);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28111, 103, 126, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* =========================================
Hero Section
========================================= */
.hero-section {
    padding: 120px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--negro);
}

.hero-title span {
    color: var(--naranja);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--azul);
    max-width: 90%;
}

/* Elementos Gráficos: Ondas de Papel Recortado */
.wave-bg {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
.wave-tr {
    top: 0;
    right: 0;
    width: 55vw;
    max-width: 700px;
    min-width: 350px;
}
.wave-bl {
    bottom: 0;
    left: 0;
    width: 45vw;
    max-width: 600px;
    min-width: 300px;
}

@media only screen and (min-width:992px) {
    .wave-bl { display: none; }
}

/* Elementos gráficos decorativos */
.shape-1 {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background-color: var(--beige);
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
}
.shape-2 {
    position: absolute;
    bottom: 10%;
    left: -100px;
    width: 200px;
    height: 200px;
    background-color: var(--naranja);
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-image-wrapper {
    position: relative;
    z-index: 1;
}

.floating-card {
    background: rgba(242, 242, 242, 0.65);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    animation: float 6s ease-in-out infinite;
}

.floating-anim {
    animation: float 6s ease-in-out infinite;
}

.floating-card .feature-box {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* =========================================
Gift Cards Hero
========================================= */
.giftcard-hero {
    padding: 100px 0;
    background-color: var(--blanco);
    position: relative;
    overflow: hidden;
}

.giftcard-card {
    background: var(--beige);
    border-radius: 30px;
    padding: 60px;
    color: var(--blanco);
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(44, 25, 25, 0.2);
}

/* Decoración de la tarjeta Gift Card visual */
.physical-card-mockup {
    width: 100%;
    max-width: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    filter: drop-shadow(2px 30px 29px rgba(0, 0, 0, 0.3));
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}

.physical-card-mockup-2 {
    width: 100%;
    max-width: 400px;
    height: 240px;
    background: linear-gradient(135deg, var(--azul) 0%, #364d66 100%);
    border-radius: 20px;
    position: relative;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: rotate(3deg);
    transition: transform 0.5s ease;
}
.physical-card-mockup:hover { transform: rotate(0deg) scale(1.05); }

.card-chip {
    width: 50px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #b8860b);
    border-radius: 8px;
}

/* Info sobre tarjetas */
.category-switcher {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.category-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-item:hover {
    background: rgba(255, 239, 177, 0.3);
    transform: translateY(-5px);
    border-color: var(--naranja);
}

.category-icon {
    font-size: 2rem;
    color: var(--naranja);
    margin-bottom: 15px;
    display: block;
}

.category-info p {
    font-size: 0.9rem;
    opacity: 0;
    max-height: 0;
    transition: all 0.4s ease;
    margin: 0;
    line-height: 1.4;
}

.category-item:hover .category-info p {
    opacity: 1;
    max-height: 100px;
    margin-top: 10px;
}

.nota-edad { font-size: 0.75rem; color: var(--nav-hover); margin-top: 20px !important; display: block; margin-bottom: 0; }


/* =========================================
Bento Grid Benefits Section (FIXED RESPONSIVE)
========================================= */
.benefits-section {
    padding: 120px 0;
    background-color: #f8f9fa;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: minmax(150px, auto);
    gap: 24px;
}

.bento-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 40px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(0,0,0,0.05);
    background: var(--blanco);
    /* Por defecto en móvil: ancho completo */
    grid-column: span 12;
    grid-row: auto;
}

.bento-item:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Media Queries para Responsive Bento */
@media (min-width: 992px) {
    .bento-lg { grid-column: span 8; grid-row: span 3; }
    .bento-md { grid-column: span 4; grid-row: span 3; }
    .bento-sm { grid-column: span 6; grid-row: span 2; }
    
    .sticky-element {
        position: sticky;
        top: 120px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .bento-lg, .bento-md { grid-column: span 6; grid-row: span 2; }
    .bento-sm { grid-column: span 6; grid-row: span 1; }
}

/* En pantallas muy pequeñas, reducimos el padding interno */
@media (max-width: 576px) {
    .bento-item { padding: 30px 20px; }
    .bento-icon-lg { font-size: 3.5rem; }
}

.bento-item h3 {
    font-size: 1.75rem;
    margin-bottom: 15px;
    z-index: 2;
}

.bento-item p {
    font-size: 1rem;
    max-width: 400px;
    z-index: 2;
}

/* Estilos específicos de cada bloque */
.bento-points {
    background: linear-gradient(135deg, var(--rojo-vino) 0%, #3e2626 100%);
    color: var(--blanco);
}

.bento-points p { color: rgba(255,255,255,0.7); }

.bento-exclusive {
    background-color: var(--beige-claro);
    color: var(--rojo-vino);
}

.bento-levels {
    background-color: var(--azul);
    color: var(--blanco);
}
.bento-levels p { color: rgba(255,255,255,0.8); }

.bento-gift {
    background-color: var(--naranja);
    color: var(--blanco);
}

.bento-icon-lg {
    font-size: 5rem;
    position: absolute;
    bottom: -10px;
    right: 20px;
    opacity: 0.15;
    transition: transform 0.5s ease;
}
.bento-item:hover .bento-icon-lg {
    transform: scale(1.2) rotate(-5deg);
}

.progress-circle-mockup {
    width: 150px;
    height: 150px;
    border: 8px solid rgba(255,255,255,0.1);
    border-top: 8px solid var(--naranja);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* =========================================
CTA Section
========================================= */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    background-color: var(--azul);
    border-radius: 30px;
    padding: 70px 40px;
    color: var(--blanco);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content h2 {
    color: var(--beige-claro);
    margin-bottom: 20px;
}

.cta-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* =========================================
Footer
========================================= */
.footer {
    background-color: var(--negro);
    color: #aaa;
    padding: 60px 0 30px;
}

.footer h5 {
    color: var(--blanco);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--naranja);
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.1);
    color: var(--blanco);
    margin-right: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--naranja);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 0.9rem;
}

/* =========================================
Animaciones de Scroll (Custom)
========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Media Queries */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .hero-section { text-align: center; padding-top: 100px; }
    .hero-content { margin-bottom: 50px; }
    .hero-content .d-flex { justify-content: center; flex-direction: column; gap: 15px; }
    .hero-content .btn { width: 100%; margin: 0 !important; }
}

.partner-card {
        border-radius: 2rem;
        overflow: hidden;
        transition: all 0.4s ease;
        min-height: 600px;
    }
    .nav-partner-link {
        border: 2px solid transparent;
        border-radius: 1.2rem;
        transition: all 0.3s ease;
        background: #f8f9fa;
        margin-bottom: 0.5rem;
    }
    .nav-partner-link.active {
        background: white !important;
        border-color: #dee2e6;
        box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
        transform: scale(1.05);
    }
    .partner-name-navtab {
        display: inline-block;
        font-weight: 800;
        font-size: 14px;
        line-height: 15px;
        text-align: left;
    }
    .gallery-thumb {
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 1rem;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    .gallery-thumb:hover {
        transform: scale(1.05);
    }
@media only screen and (max-width:992px) {
    .nav-partner-link { width: 145px; }
    .partner-name-navtab {
        font-size: 10px;
        line-height: 12px;
    }
}