/*
Theme Name: Aljania-educacion
Theme URI: https://losandes.pe
Author: AI Developer
Author URI: https://losandes.pe
Description: Custom Animated Headless/Frontend Theme for Los Andes, featuring Mega Menus and modern color palette.
Version: 1.0.0
Text Domain: desandes
*/

/* Variables */
@font-face {
    font-family: 'Haptic';
    src: url('assets/css/Haptic-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Haptic';
    src: url('assets/css/Haptic-Black.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --color-light-blue: #00C8FF;
    --color-navy: #003462;
    --color-magenta: #FF287A;
    --color-yellow: #FFD000;
    --color-green: #009C00;

    --color-white: #ffffff;
    --color-gray-100: #f5f5f5;
    --color-gray-200: #e0e0e0;
    --color-gray-600: #666666;

    --font-main: 'Haptic', sans-serif;
    --shadow-menu: 0 10px 30px rgba(0, 52, 98, 0.1);
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-navy);
    background: var(--color-gray-100);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    display: none;
    background: transparent;
    padding: 0;
}

@media(min-width:992px) {
    .top-bar {
        display: block;
    }
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-gray-200);
    padding-bottom: 10px;
}

.top-links {
    display: flex;
    gap: 30px;
}

.top-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-gray-600);
    position: relative;
    padding-bottom: 10px;
    transition: var(--transition-smooth);
}

.top-link:hover,
.top-link.active {
    color: var(--color-navy);
}

.top-link.active::after {
    content: '';
    position: absolute;
    bottom: -11px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-yellow);
    border-radius: 3px 3px 0 0;
}

.top-util {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-util span {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.top-util span:hover {
    color: var(--color-magenta);
    transform: translateY(-2px);
}

.top-util span i {
    color: var(--color-navy);
    margin-right: 5px;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.top-util span:hover i {
    color: var(--color-magenta);
}

.top-util a i {
    font-size: 1.3rem;
    margin-left: 5px;
    transition: var(--transition-smooth);
}

.top-util a:hover i {
    color: var(--color-magenta);
    transform: scale(1.1);
}

/* Main Header */
.site-header {
    background: var(--color-white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    /* Enhanced shadow for depth */
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Vibrant brand color bridge between header and slider */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-light-blue) 0%, var(--color-magenta) 50%, var(--color-yellow) 100%);
    z-index: 1000;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo-img {
    height: 40px;
    transition: var(--transition-smooth);
}

@media(min-width: 992px) {
    .logo-img {
        height: 50px;
    }
}

/* Desktop Menu */
.desktop-menu {
    display: none;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
}

@media(min-width: 992px) {
    .desktop-menu {
        display: flex;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    margin-right: 30px;
    height: 100%;
}

.nav-menu>li {
    padding: 0 20px;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.nav-menu>li>a {
    font-family: 'Haptic', sans-serif;
    font-weight: 700;
    font-size: 1.15rem; /* Increased size per user request */
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    transition: var(--transition-smooth);
}

/* Modern Hover Animation (Underline) */
.nav-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--color-cyan, #00C8FF);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu>li:hover>a::after {
    width: 80%;
}

.nav-menu>li>a i {
    font-size: 0.7rem;
    color: var(--color-gray-600);
    transition: transform 0.3s;
}

.nav-menu>li:hover>a {
    color: var(--color-magenta);
}

.nav-menu>li:hover>a i {
    transform: rotate(180deg);
    color: var(--color-magenta);
}

/* BCP-Inspired Submenu Styles */
.has-bcp-menu {
    position: relative;
}

.bcp-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-white);
    min-width: 280px;
    border-radius: 16px;
    box-shadow: 0 15px 45px rgba(0, 52, 98, 0.15);
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
    border: 1px solid rgba(0, 52, 98, 0.05);
}

.bcp-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--color-white);
}

.has-bcp-menu:hover .bcp-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.bcp-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bcp-links li {
    margin: 0;
    padding: 0;
}

.bcp-links li a {
    display: flex;
    align-items: center;
    padding: 14px 25px;
    color: var(--color-navy);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
}

.bcp-links li a i:first-child {
    font-size: 1.2rem;
    margin-right: 18px;
    width: 24px;
    text-align: center;
    color: var(--color-navy);
    transition: color 0.2s ease;
}

.bcp-links li a span {
    flex: 1;
}

.bcp-links li a:hover {
    background-color: rgba(225, 0, 115, 0.04);
    color: var(--color-magenta);
}

.bcp-links li a:hover i:first-child {
    color: var(--color-magenta);
}

/* Mega Menu Dropdown */
.mega-menu-wrapper {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--color-white);
    box-shadow: var(--shadow-menu);
    border-radius: 12px;
    padding: 30px;
    width: 900px;
    max-width: 90vw;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-bounce);
    z-index: 1001;
    /* Fixes overlap over header gradient */
}

/* Seamless Header Integration */
.nav-menu>li {
    padding: 25px 14px;
    /* Expands hover area */
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.mega-menu-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--color-white);
}

.nav-menu>li:hover .mega-menu-wrapper {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* New Mega Menu Layout */
.mega-productos {
    padding: 0;
    /* Remove default padding to allow edge-to-edge tabs */
    flex-direction: column;
    overflow: hidden;
    /* For border radius */
}

/* Tabs Top Row */
.mega-tabs {
    display: flex;
    background: var(--color-light-blue);
    width: 100%;
}

.mega-tab {
    flex: 1;
    text-align: center;
    padding: 20px 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.mega-tab:last-child {
    border-right: none;
}

.mega-tab i {
    font-size: 2.2rem;
    color: var(--color-white);
    display: block;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.mega-tab span {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    line-height: 1.2;
}

.mega-tab:hover,
.mega-tab.active {
    background: rgba(0, 0, 0, 0.08);
}

.mega-tab:hover i {
    transform: translateY(-5px);
}

/* Bottom Content Area */
.mega-content {
    background: var(--color-white);
    padding: 30px;
}

.mega-content-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.mega-content-header i {
    font-size: 1.8rem;
    color: var(--color-navy);
}

.mega-content-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}

/* Links Grid */
.mega-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 20px;
    margin-bottom: 25px;
}

.mega-links-grid a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--color-navy);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.mega-links-grid a i {
    font-size: 0.8rem;
    color: var(--color-yellow);
}

.mega-links-grid a:hover {
    color: var(--color-magenta);
    transform: translateX(3px);
}

.mega-link-icon {
    width: 16px;
    height: auto;
    object-fit: contain;
}

/* Saber Mas Button */
.mega-action-right {
    display: flex;
    justify-content: flex-end;
}

.btn-saber-mas {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-magenta);
    color: var(--color-white);
    padding: 12px 28px;
    font-family: 'Haptic', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 40, 122, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-saber-mas i {
    font-size: 1.1rem;
}

.btn-saber-mas:hover {
    background: #e61a68; /* slightly darker magenta */
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 40, 122, 0.5);
}

/* Header Utilities */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-search {
    background: none;
    border: none;
    font-family: 'Haptic', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-navy);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.btn-search i {
    font-size: 1.3rem;
}

.btn-search:hover {
    color: var(--color-magenta);
    transform: translateY(-2px);
}

.btn-banca {
    background: var(--color-magenta);
    color: var(--color-white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 40, 122, 0.3);
}

.btn-banca:hover {
    background: #e01f66;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 40, 122, 0.4);
}

.btn-credito {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-navy);
    color: var(--color-white);
    padding: 12px 28px;
    font-family: 'Haptic', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 52, 98, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-credito i { font-size: 1.1rem; }

.btn-credito:hover {
    background: #002244;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 52, 98, 0.5);
}

.btn-cuota {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-magenta);
    color: var(--color-white);
    padding: 12px 28px;
    font-family: 'Haptic', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 40, 122, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-cuota i { font-size: 1.1rem; }

.btn-cuota:hover {
    background: #e61a68;
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 40, 122, 0.5);
}

/* Products Dynamic Slider */
.productos-grid.has-slider {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 30px;
    padding: 20px 10px 40px;
    scrollbar-width: none;
    /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;
    /* Hide scrollbar for IE/Edge */
}

.productos-grid.has-slider::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar for Chrome/Safari */
}

.productos-grid.has-slider .premium-card {
    flex: 0 0 calc(25% - 22.5px);
    max-width: none;
}

.productos-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.productos-nav button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--color-navy);
    background: transparent;
    color: var(--color-navy);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.productos-nav button:hover {
    background: var(--color-navy);
    color: var(--color-white);
}

@media (max-width: 1200px) {
    .productos-grid.has-slider .premium-card {
        flex: 0 0 calc(33.333% - 20px);
    }
}

@media (max-width: 768px) {
    .productos-grid.has-slider .premium-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 480px) {
    .productos-grid.has-slider .premium-card {
        flex: 0 0 100%;
    }
}

/* Mobile Menu Placeholder styles */
.mobile-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-navy);
}

@media(min-width:992px) {
    .mobile-toggle {
        display: none;
    }
}

/* Fix WP Admin Bar overlap */
.admin-bar .site-header {
    top: 32px;
}

/* Basic visual structure for main content area to demonstrate */
.demo-content {
    padding: 100px 0;
    text-align: center;
}

.demo-content h1 {
    color: var(--color-navy);
    margin-bottom: 20px;
    font-size: 3rem;
}

/* Force FontAwesome 5 overriding other plugins */
i.fas,
i.fa-solid {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
}

i.far,
i.fa-regular {
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 400 !important;
}

i.fab,
i.fa-brands {
    font-family: "Font Awesome 5 Brands" !important;
    font-weight: 400 !important;
}

/* Responsive Mobile Menu Trigger */
@media(max-width: 991px) {
    .desktop-menu.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        align-items: flex-start;
        z-index: 1000;
        margin: 0;
    }

    .desktop-menu.is-open .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        margin-right: 0;
    }

    .desktop-menu.is-open .nav-menu>li {
        width: 100%;
        padding: 15px 0;
        border-bottom: 1px solid var(--color-gray-100);
    }

    .desktop-menu.is-open .header-actions {
        margin-top: 20px;
        width: 100%;
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .desktop-menu.is-open .header-actions a {
        justify-content: center;
    }

    .mega-menu-wrapper {
        position: static;
        width: 100%;
        max-width: 100%;
        transform: none;
        box-shadow: none;
        padding: 10px;
        opacity: 1;
        visibility: visible;
        display: none;
        flex-direction: column;
    }

    .nav-menu>li:hover .mega-menu-wrapper,
    .nav-menu>li.active .mega-menu-wrapper {
        display: flex;
        transform: none;
    }
}

/* =========================================================================
   Hero Slider Section
   ========================================================================= */

.hero-slider-section {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slide:first-child {
    position: relative;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 10;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Slider Controls: Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 52, 98, 0.7);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
}

.slider-nav:hover {
    background: var(--color-magenta);
    transform: translateY(-50%) scale(1.1);
}

.prev-slide {
    left: 20px;
}

.next-slide {
    right: 20px;
}

/* Slider Controls: Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.slider-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 219, 0, 0.5);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dots .dot:hover {
    background: rgba(255, 219, 0, 0.9);
}

.slider-dots .dot.active {
    background: var(--color-yellow);
    border-color: var(--color-magenta);
    transform: scale(1.2);
}

/* Responsive Slider */
@media (max-width: 991px) {
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* =========================================================================
   Homepage Welcome Section
   ========================================================================= */

.home-welcome {
    padding: 80px 0;
    background-color: var(--color-white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.welcome-subtitle {
    display: inline-block;
    color: var(--color-magenta);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.welcome-title-col h2 {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--color-navy);
    line-height: 1.1;
    margin: 0;
}

.welcome-line {
    width: 60px;
    height: 4px;
    background-color: var(--color-yellow);
    margin-top: 30px;
}

.welcome-text-col .welcome-lead {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.5;
    margin-bottom: 20px;
}

.welcome-text-col .welcome-desc {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 35px;
}

.welcome-btn {
    display: inline-block;
}

.welcome-btn i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.welcome-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 991px) {
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .welcome-title-col h2 {
        font-size: 2.2rem;
    }

    .welcome-line {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .home-welcome {
        padding: 50px 0;
    }

    .welcome-title-col h2 {
        font-size: 1.8rem;
    }

    .welcome-text-col .welcome-lead {
        font-size: 1.1rem;
    }
}

/* =========================================================================
   Homepage Products Section (Premium Cards)
   ========================================================================= */

.home-productos {
    padding: 60px 0;
    background-color: #f7f9fa;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 0;
}

.bento-card {
    border-radius: 20px;
    padding: 25px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Animations */
.bento-card.anim-zoom-up:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}
.bento-card.anim-zoom-up:hover .bento-bg-icon {
    transform: scale(1.1) rotate(-5deg);
}
.bento-card.anim-zoom-up:hover .bento-card-arrow {
    opacity: 1;
    transform: translate(0, 0);
    background: #ffffff;
    color: var(--color-navy) !important;
}

.bento-card.anim-glow:hover {
    box-shadow: -15px 0 35px rgba(255,40,122,0.2), 15px 0 35px rgba(0,200,255,0.2);
}
.bento-card.anim-glow:hover .bento-card-arrow {
    opacity: 1;
    transform: translate(0, 0);
    background: #ffffff;
    color: var(--color-navy) !important;
}

.bento-card.anim-none:hover {
    transform: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.bento-bg-icon {
    position: absolute;
    right: -10px;
    bottom: -15px;
    font-size: 8rem;
    opacity: 0.12;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    pointer-events: none;
    z-index: 1;
}

.bento-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bento-icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: auto;
}

.bento-card-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 20px 0 8px 0;
    font-family: 'Haptic', sans-serif;
    line-height: 1.2;
}

.bento-card-desc, .bento-card-desc p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    opacity: 0.9;
}

.bento-card-arrow {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    transform: translate(-5px, 5px);
    transition: all 0.4s ease;
    z-index: 3;
}

/* Base text colors */
.bento-text-light { color: #ffffff; }
.bento-text-light .bento-card-content h3 { color: #ffffff; }
.bento-text-light .bento-card-desc { color: rgba(255,255,255,0.9); }
.bento-text-light .bento-bg-icon { color: #ffffff; }
.bento-text-light .bento-card-arrow { color: #ffffff; }

.bento-text-dark { color: var(--color-navy); }
.bento-text-dark .bento-card-content h3 { color: var(--color-navy); }
.bento-text-dark .bento-card-desc { color: var(--color-gray-600); }
.bento-text-dark .bento-icon-wrapper { background: rgba(0,52,98,0.1); color: var(--color-navy); }
.bento-text-dark .bento-bg-icon { color: var(--color-navy); opacity: 0.05; }
.bento-text-dark .bento-card-arrow { background: var(--color-navy); color: #ffffff; }

/* Preset Styles */
.bento-style-navy { background: linear-gradient(135deg, var(--color-navy), #001a33); }
.bento-style-magenta { background: linear-gradient(135deg, var(--color-magenta), #cc0052); }
.bento-style-cyan { background: linear-gradient(135deg, var(--color-light-blue), #008fcc); }
.bento-style-white { background: linear-gradient(135deg, #ffffff, #f0f4f8); }
.bento-style-custom { /* applied via inline style */ }

@media (max-width: 1199px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}
.bento-color-3:hover .bento-card-arrow { background: var(--color-magenta); }

@media (max-width: 1199px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}
.bento-color-3 .bento-icon-wrapper { background: rgba(0,52,98,0.1); color: var(--color-navy); }
.bento-color-3 .bento-card-arrow { background: var(--color-navy); color: #ffffff; }
.bento-color-3:hover .bento-card-arrow { background: var(--color-magenta); }

@media (max-width: 991px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-featured, .bento-card:not(.bento-featured), .bento-card:nth-child(3), .bento-card:nth-child(4) {
        grid-column: span 1;
    }
}

@media (max-width: 575px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
}
.neo-card-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f4f8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
}

.neo-bank-card:hover .neo-card-arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--color-navy);
    color: #ffffff;
}

.neo-card-content h3 {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
    margin: 0 0 12px 0;
    font-family: 'Haptic', sans-serif;
    line-height: 1.2;
}

.neo-card-desc, .neo-card-desc p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

@media (max-width: 1199px) {
    .neo-bank-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .neo-bank-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* =========================================================================
   Home Growth Banner (Premium Version)
   ========================================================================= */

.home-growth-banner-premium {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 600px;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://losandes.pe/wp-content/uploads/ahora.png');
    background-size: cover;
    background-position: center right;
    background-attachment: fixed;
    z-index: 1;
}

.banner-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 52, 98, 0.95) 0%, rgba(0, 52, 98, 0.7) 45%, rgba(0, 52, 98, 0.1) 100%);
    z-index: 2;
}

.home-growth-banner-premium .relative-container {
    z-index: 5;
    position: relative;
}

.banner-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* Typography & Content */
.banner-eyebrow {
    display: inline-block;
    background: var(--color-yellow);
    color: var(--color-navy);
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding: 8px 20px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(255, 208, 0, 0.3);
    border: none;
}

.banner-headline {
    color: var(--color-white);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 25px;
    letter-spacing: -1.5px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.highlight-word {
    color: var(--color-navy);
    background-color: var(--color-yellow);
    padding: 0 15px;
    display: inline-block;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 10px 20px rgba(255, 208, 0, 0.3);
    transform: rotate(-2deg);
}

.text-yellow {
    color: var(--color-yellow);
}

.banner-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 90%;
}

/* Premium Gradient Button */
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--color-magenta) 0%, #d10065 100%);
    color: var(--color-white);
    padding: 16px 45px;
    font-size: 1.15rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    border-radius: 40px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(226, 0, 116, 0.4);
}

.btn-primary-gradient:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(226, 0, 116, 0.6);
    color: var(--color-white);
}

.btn-primary-gradient i {
    transition: transform 0.3s;
}

.btn-primary-gradient:hover i {
    transform: translateX(5px);
}

/* Floating Feature Badge */
.banner-floating-features {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.feature-badge {
    background: rgba(0, 34, 68, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 30px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.fb-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-magenta), #d10065);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 20px rgba(226, 0, 116, 0.4);
}

.fb-text strong {
    display: block;
    color: var(--color-white);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.fb-text span {
    color: #00e5ff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 991px) {
    .banner-content-grid {
        grid-template-columns: 1fr;
    }

    .banner-gradient-overlay {
        background: linear-gradient(90deg, rgba(0, 52, 98, 0.95) 0%, rgba(0, 52, 98, 0.85) 100%);
    }

    .banner-headline {
        font-size: 3.5rem;
    }

    .banner-floating-features {
        justify-content: flex-start;
        margin-top: 30px;
    }
}

/* =========================================================================
   Home EncuÃ©ntranos Section (Corporate Banking Layout)
   ========================================================================= */

.home-encuentranos-corporate {
    background-color: #ffffff;
    padding: 100px 0 80px 0;
}

.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: flex-start;
}

/* --- Left Column: Narrative --- */
.contact-narrative {
    padding-right: 20px;
}

.contact-narrative .section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-top: 10px;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.title-line {
    width: 60px;
    height: 4px;
    background-color: var(--color-cyan);
    margin-bottom: 25px;
}

.narrative-desc {
    color: var(--color-gray-600);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* Hero Contact Card (Offices) */
.hero-contact-card {
    background: linear-gradient(135deg, var(--color-navy) 0%, #004b8b 100%);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    color: var(--color-white);
    box-shadow: 0 15px 35px rgba(0, 52, 98, 0.15);
}

.hcc-bg-pattern {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background-color: rgba(255, 208, 0, 0.1);
    border-radius: 50%;
    z-index: 1;
}

.hcc-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.hcc-icon {
    background-color: var(--color-yellow);
    color: var(--color-navy);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.hcc-text h3 {
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.hcc-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* --- Right Column: Digital Grid --- */
.contact-digital-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.digital-card {
    background-color: #f8fafc;
    border-radius: 16px;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 25px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.digital-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
    background-color: #ffffff;
    border-color: #cbd5e1;
}

.digital-card.payment-theme {
    background: linear-gradient(135deg, var(--color-magenta) 0%, #d10065 100%);
    border: none;
    color: var(--color-white);
}

.digital-card.payment-theme:hover {
    box-shadow: 0 15px 30px rgba(226, 0, 116, 0.25);
    border-color: transparent;
}

.dc-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.whatsapp-theme .dc-icon {
    background-color: rgba(37, 211, 102, 0.1);
    color: #25D366;
}

.whatsapp-theme:hover .dc-icon {
    background-color: #25D366;
    color: white;
}

.phone-theme .dc-icon {
    background-color: rgba(0, 200, 255, 0.1);
    color: var(--color-navy);
}

.phone-theme:hover .dc-icon {
    background-color: var(--color-cyan);
}

.payment-theme .dc-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.dc-info {
    flex: 1;
}

.dc-info h4 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.whatsapp-theme .dc-info h4,
.phone-theme .dc-info h4 {
    color: var(--color-navy);
}

.dc-info p {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 12px;
}

.whatsapp-theme .dc-info p,
.phone-theme .dc-info p {
    color: var(--color-gray-600);
}

.payment-theme .dc-info p {
    color: rgba(255, 255, 255, 0.9);
}

.dc-link {
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.whatsapp-theme .dc-link {
    color: #25D366;
}

.phone-theme .dc-link {
    color: var(--color-navy);
}

.dc-link:hover {
    gap: 12px;
}

.btn-white-outline {
    border: 2px solid var(--color-white);
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-white-outline:hover {
    background-color: var(--color-white);
    color: var(--color-magenta);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .contact-split-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-narrative {
        padding-right: 0;
    }
}

/* =========================================================================
   Site Footer (Premium Restructure)
   ========================================================================= */

/* Pre-Footer Banner */
.pre-footer-banner {
    background: linear-gradient(135deg, var(--color-navy) 0%, #004b8b 100%);
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.pre-footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pre-footer-text h2 {
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.pre-footer-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

.pre-footer-action .btn-cyan {
    background-color: var(--color-yellow);
    color: var(--color-navy);
    padding: 12px 35px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.pre-footer-action .btn-cyan:hover {
    background-color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Main Footer */
.premium-footer {
    width: 100%;
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Outfit', sans-serif;
    position: relative;
}

.premium-footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition-smooth);
    text-decoration: none;
}

.premium-footer a:hover {
    color: var(--color-yellow);
    opacity: 1;
    transform: translateX(4px);
    display: inline-block;
}

.footer-main {
    background-color: var(--color-navy);
    padding: 80px 0 40px;
    background-image: radial-gradient(circle at 100% 0%, rgba(0, 200, 255, 0.05) 0%, transparent 60%);
}

.footer-grid-premium {
    display: grid;
    grid-template-columns: 2.5fr 1.5fr 1.5fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

/* Column 1 Specifics */
.brand-col .footer-logo-main {
    height: 45px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.brand-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
    padding-right: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-info p {
    font-size: 1.05rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-info i {
    color: var(--color-cyan);
    font-size: 1.2rem;
    width: 25px;
    margin-right: 12px;
}

/* Link Columns */
.links-col h4 {
    color: var(--color-white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    background-color: var(--color-cyan);
    border-radius: 2px;
}

.links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-col ul li {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.icon-link {
    display: flex;
    align-items: center;
}

.icon-link i {
    color: var(--color-magenta);
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.icon-link:hover i {
    color: var(--color-yellow);
}

/* Dedicated Endorsements Bar */
.footer-endorsements-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.endorsement-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.endorsement-logos-premium {
    display: flex;
    gap: 30px;
    align-items: center;
}

.endorsement-logos-premium img {
    height: 45px;
    width: auto;
    object-fit: contain;
    background: var(--color-white);
    padding: 8px 15px;
    border-radius: 6px;
    transition: transform 0.3s;
}

.endorsement-logos-premium img:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Bottom Copyright & Social Bar */
.footer-bottom-bar {
    background-color: #002244;
    padding: 25px 0;
    border-top: 3px solid var(--color-yellow);
}

.bottom-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-text p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.social-links-premium {
    display: flex;
    gap: 15px;
}

.social-links-premium a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-links-premium a:hover {
    background-color: var(--color-cyan);
    color: var(--color-navy);
    transform: translateY(-3px) scale(1.1);
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .pre-footer-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-grid-premium {
        grid-template-columns: 1fr 1fr;
    }

    .footer-endorsements-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .bottom-bar-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .footer-grid-premium {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .brand-desc {
        padding-right: 0;
    }
}
/* Premium Top Bar Redesign (Navy Corporate) */
.top-bar-inner { border-bottom: none; padding-bottom: 0; align-items: stretch; }
.top-links { gap: 0; display: flex; }
.top-link { font-family: 'Haptic', sans-serif; font-weight: 700; font-size: 13px; letter-spacing: 0.5px; padding: 14px 20px; margin: 0; position: relative; text-decoration: none; transition: all 0.3s ease; display: flex; align-items: center; }
.top-link::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background-color: transparent; transition: background-color 0.3s ease; }
.top-link.active { background-color: rgba(255,255,255,0.05); }
.top-util { gap: 20px; }
.top-ubi { font-family: 'Haptic', sans-serif; font-weight: 400; font-size: 13px; display: flex; align-items: center; gap: 6px; transition: all 0.3s ease; text-decoration: none; padding: 10px 0; color: inherit; }
.top-ubi i { font-size: 14px; }
.top-ubi:hover { opacity: 0.8; transform: translateY(-1px); }
.top-social { display: flex; align-items: center; gap: 15px; padding-left: 20px; border-left: 1px solid rgba(255,255,255,0.2); height: 100%; }
.top-social a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; opacity: 0.8; transition: all 0.3s ease; color: inherit; }
.top-social a:hover { opacity: 1; transform: translateY(-2px); }

/* =========================================
   Live Search Modal
   ========================================= */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 52, 98, 0.9); /* Navy with opacity */
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10vh;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.search-modal-content {
    width: 90%;
    max-width: 800px;
    background: transparent;
    position: relative;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

.search-modal.is-open .search-modal-content {
    transform: translateY(0);
}

.search-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-modal-close:hover {
    transform: rotate(90deg);
    color: var(--color-magenta);
}

.search-modal-header h2 {
    color: white;
    font-family: 'Haptic', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
    text-align: center;
}

.search-modal-input-wrapper {
    position: relative;
    width: 100%;
}

.search-modal-input-wrapper .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-navy);
}

.search-modal-input-wrapper .loading-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-magenta);
}

#desandes-search-input {
    width: 100%;
    padding: 20px 60px;
    font-size: 1.5rem;
    font-family: 'Haptic', sans-serif;
    border: none;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    outline: none;
    color: var(--color-navy);
}

.search-modal-results {
    margin-top: 30px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    max-height: 50vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(0, 200, 255, 0.05); /* Cyan tint */
}

.search-result-title {
    font-family: 'Haptic', sans-serif;
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.1rem;
}

.search-result-type {
    background: var(--color-magenta);
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.search-no-results {
    padding: 30px;
    text-align: center;
    color: #666;
    font-family: 'Haptic', sans-serif;
    font-size: 1.1rem;
}

/* ==========================================================================
   COOKIE CONSENT BANNER (GLASSMORPHISM)
   ========================================================================== */
.cookie-banner-glass {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 420px;
    max-width: calc(100vw - 60px);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 52, 98, 0.15);
    border-radius: 20px;
    z-index: 999999;
    font-family: 'Haptic', sans-serif;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner-glass.show {
    transform: translateY(0);
}

.cookie-banner-content {
    padding: 25px;
}

.cookie-banner-header h4 {
    margin: 0 0 10px 0;
    color: var(--color-navy);
    font-size: 1.25rem;
    font-weight: 700;
}

.cookie-banner-header p {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-banner-header p a {
    color: var(--color-magenta);
    text-decoration: none;
    font-weight: 700;
}

.cookie-options {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Switches */
.cookie-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.cookie-switch-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-right: 10px;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: relative;
    display: inline-block;
    width: 36px;
    height: 20px;
    background-color: #cbd5e1;
    border-radius: 20px;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked + .slider {
    background-color: var(--color-magenta);
}

input:checked + .slider:before {
    transform: translateX(16px);
}

.slider.disabled {
    background-color: var(--color-navy);
    opacity: 0.7;
    cursor: not-allowed;
}

.cookie-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-cookie {
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Haptic', sans-serif;
    text-align: center;
}

.btn-cookie-primary {
    background: var(--color-magenta);
    color: white;
}
.btn-cookie-primary:hover {
    background: #e61a68;
    transform: translateY(-2px);
}

.btn-cookie-outline {
    background: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}
.btn-cookie-outline:hover {
    background: var(--color-navy);
    color: white;
}

.btn-cookie-dark {
    background: transparent;
    color: #64748b;
    font-size: 0.85rem;
    padding: 5px;
}
.btn-cookie-dark:hover {
    color: var(--color-navy);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner-glass {
        bottom: 10px;
        left: 10px;
        width: calc(100vw - 20px);
    }
    .cookie-options {
        flex-direction: column;
    }
}

/* ==========================================================================
   ADVANCED SLIDER & PARALLAX FLOATING ICON
   ========================================================================== */

/* Ken Burns Effect & Overlay */
.hero-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, transparent 40%, rgba(0,21,41,0.4) 100%);
    z-index: 5;
    pointer-events: none;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 12s ease-out;
}
.hero-slide.active .hero-bg-img {
    transform: scale(1.06); /* Slow zoom-in */
}

/* Floating Icon Base */
.slider-floating-icon {
    position: absolute;
    z-index: 20;
    pointer-events: none;
    transform-origin: center center;
    /* initial state for entry animations */
    opacity: 0;
}

.slider-floating-icon img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
}

/* Delay activation so it appears AFTER slide bg is visible */
.hero-slide.active .slider-floating-icon {
    /* opcity is handled by animations */
}

/* 1. Float Animation */
.anim-float {
    animation: none;
}
.hero-slide.active .anim-float {
    animation: animFloat 6s ease-in-out infinite, animFadeIn 1.5s ease-out forwards;
}
@keyframes animFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* 2. Pulse Animation */
.anim-pulse {
    animation: none;
}
.hero-slide.active .anim-pulse {
    animation: animPulse 3s infinite, animFadeIn 1s ease-out forwards;
}
@keyframes animPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.08); filter: brightness(1.2); }
    100% { transform: scale(1); }
}

/* 3. Bounce Animation */
.anim-bounce {
    animation: none;
}
.hero-slide.active .anim-bounce {
    animation: animBounce 2s cubic-bezier(0.28, 0.84, 0.42, 1) infinite, animFadeIn 1s ease-out forwards;
}
@keyframes animBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-30px); }
    60% { transform: translateY(-15px); }
}

/* 4. Slide Up Animation */
.anim-slide-up {
    animation: none;
    opacity: 0 !important;
}
.hero-slide.active .anim-slide-up {
    animation: animSlideUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s; /* appear after bg */
}
@keyframes animSlideUp {
    0% { transform: translateY(100px); opacity: 0; }
    100% { transform: translateY(0); opacity: var(--op, 1); } /* Uses inline opacity, falls back to 1 */
}

/* 5. Spin 3D Animation */
.anim-spin {
    animation: none;
}
.hero-slide.active .anim-spin {
    animation: animSpin 10s linear infinite, animFadeIn 1.5s ease-out forwards;
}
@keyframes animSpin {
    0% { transform: rotateY(0deg) rotateZ(0deg); }
    100% { transform: rotateY(360deg) rotateZ(5deg); }
}

/* Base Fade In */
@keyframes animFadeIn {
    0% { opacity: 0; }
    100% { opacity: var(--op, 1); }
}


.btn-header {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: none;
    transition: all 0.3s ease;
    text-decoration: none;
}
.btn-header i { font-size: 1.1rem; }
