/*
Theme Name: Aljania Webhost
Author: Antigravity
Description: Tema personalizado con el header importado de Los Andes.
Version: 1.0
*/
/*
Theme Name: DesAndes
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;
}

.site-header .container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Bar */
.top-bar {
    display: none;
    background: transparent;
    padding: 15px 0 0 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-weight: 700;
    font-size: 1.1rem;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.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 20px;
    /* 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 {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 12px 25px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.btn-saber-mas:hover {
    background: #002244;
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Header Utilities */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-search {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--color-navy);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-search:hover {
    color: var(--color-light-blue);
}

.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 {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 10px 22px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(0, 52, 98, 0.2);
}

.btn-credito:hover {
    background: #002244;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 52, 98, 0.4);
}

.btn-cuota {
    background: var(--color-magenta);
    color: var(--color-white);
    padding: 10px 22px;
    border-radius: 7px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(255, 40, 122, 0.2);
}

.btn-cuota:hover {
    background: #e01f66;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 40, 122, 0.4);
}

/* 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: auto;
    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: 80px 0;
    background-color: #f7f9fa;
    /* Slight distinct background */
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.custom-premium-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.premium-card {
    background: var(--color-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0, 52, 98, 0.06);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-yellow) 0%, var(--color-magenta) 100%);
    opacity: 0;
    transition: opacity 0.4s;
}

.premium-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(0, 52, 98, 0.12);
}

.premium-card:hover .card-glow {
    opacity: 1;
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(0, 200, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    font-size: 2.2rem;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.premium-card:hover .card-icon-wrapper {
    background: var(--color-yellow);
    color: var(--color-navy);
    transform: scale(1.1);
}

.premium-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 15px;
}

.premium-card p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.card-arrow {
    color: var(--color-magenta);
    font-size: 1.2rem;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s ease;
}

.premium-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

@media (max-width: 1199px) {
    .custom-premium-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 575px) {
    .custom-premium-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   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;
    }
}

/* ==========================================
   STICKY FOOTER STYLES (Fuerza el footer abajo)
   ========================================== */
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.site-header {
    flex-shrink: 0;
}
main, 
#primary, 
.reserva-page-wrapper, 
.carta-page-wrapper, 
.reclamaciones-page-wrapper, 
.site-main {
    flex: 1 0 auto;
}
footer, 
.elementskit-footer, 
#colophon {
    flex-shrink: 0;
    margin-top: auto;
}


/* ==========================================
   TIPOGRAFIA GLOBAL (FUERZA EL USO DE HAPTIC)
   ========================================== */
body, 
h1, h2, h3, h4, h5, h6, 
.elementor-heading-title, 
.elementor-button,
.elementor-widget-heading .elementor-heading-title {
    font-family: var(--font-main) !important;
}


/* =========================================================================
   PREMIUM BLOG LAYOUTS (Listado de Entradas & Entrada Individual)
   ========================================================================= */

/* --- Blog List & Grid Page --- */
.blog-index-wrapper {
    background-color: #f8fafc;
    padding-bottom: 90px;
}

.blog-hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-navy) 0%, #00172d 100%);
    padding: 100px 20px;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    border-bottom: 4px solid var(--color-yellow);
}

.blog-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 40, 122, 0.08) 0%, transparent 80%);
    z-index: 1;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.blog-hero-subtitle {
    display: block;
    color: var(--color-yellow);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    animation: floatUpDown 4s ease-in-out infinite;
}

.blog-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.blog-hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

/* Blog Grid Container */
.blog-grid-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 70px 20px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

/* Responsive Grid */
@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 767px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

/* Post Cards */
.post-card {
    display: flex;
    flex-direction: column;
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 52, 98, 0.05);
    box-shadow: 0 10px 30px rgba(0, 52, 98, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 52, 98, 0.08);
    border-color: rgba(0, 52, 98, 0.1);
}

.post-card-image-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.post-card-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.post-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.post-card:hover .post-card-image {
    transform: scale(1.06);
}

.post-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-magenta);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(255, 40, 122, 0.3);
    transition: all 0.3s ease;
}

.post-card-category:hover {
    background: var(--color-navy);
    transform: scale(1.05);
}

.post-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-card-meta {
    font-size: 0.85rem;
    color: var(--color-gray-600);
    margin-bottom: 12px;
}

.post-card-meta i {
    color: var(--color-yellow);
    margin-right: 5px;
}

.post-card-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-bottom: 15px !important;
    color: var(--color-navy);
}

.post-card-title a {
    color: var(--color-navy);
    transition: color 0.3s;
}

.post-card-title a:hover {
    color: var(--color-magenta);
}

.post-card-excerpt {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.6;
    margin-bottom: 25px;
}

.post-card-footer {
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.post-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-magenta);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.post-card-readmore i {
    font-size: 0.85rem;
    transition: transform 0.3s;
}

.post-card-readmore:hover {
    color: var(--color-navy);
}

.post-card-readmore:hover i {
    transform: translateX(5px);
}

/* Beautiful Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.blog-pagination .navigation.pagination {
    display: block;
}

.blog-pagination .nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border-radius: 50px;
    border: 1px solid var(--color-gray-200);
    background: var(--color-white);
    color: var(--color-navy);
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
    text-decoration: none;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
}

.blog-pagination .page-numbers.current {
    box-shadow: 0 4px 15px rgba(0, 52, 98, 0.2);
}

.blog-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

/* No Posts Found Layout */
.blog-no-posts {
    text-align: center;
    padding: 80px 20px;
    background: var(--color-white);
    border-radius: 20px;
    border: 1px solid rgba(0, 52, 98, 0.05);
    box-shadow: 0 10px 30px rgba(0, 52, 98, 0.02);
    max-width: 600px;
    margin: 0 auto;
}

.blog-no-posts h2 {
    font-size: 1.8rem !important;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.blog-no-posts p {
    color: var(--color-gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}


/* --- Single Post Page Layout --- */
.post-single-wrapper {
    background-color: #f8fafc;
    padding-bottom: 90px;
}

.post-hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, #001c37 100%);
    color: var(--color-white);
    padding: 100px 20px 140px;
    text-align: center;
    border-bottom: 4px solid var(--color-yellow);
}

.post-hero-container {
    max-width: 850px;
    margin: 0 auto;
}

.post-meta-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.post-category-badge {
    background: var(--color-yellow);
    color: #000;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 30px;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(255, 208, 0, 0.2);
}

.post-hero .post-date,
.post-hero .post-author-info {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.post-hero .post-date i,
.post-hero .post-author-info i {
    color: var(--color-yellow);
    margin-right: 6px;
}

.post-title {
    font-size: clamp(2rem, 5vw, 3rem) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    color: var(--color-white);
    margin-bottom: 20px !important;
    text-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.post-author-info {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

/* Featured Image Positioned overlapping the hero */
.post-featured-image-container {
    max-width: 1240px;
    margin: -80px auto 50px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.post-featured-image {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 52, 98, 0.18);
    border: 6px solid var(--color-white);
}

/* Post Content Container */
.post-content-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-content {
    background: var(--color-white);
    padding: 60px;
    border-radius: 24px;
    border: 1px solid rgba(0, 52, 98, 0.04);
    box-shadow: 0 15px 40px rgba(0, 52, 98, 0.02);
}

@media (max-width: 767px) {
    .post-featured-image-container {
        margin-top: -50px;
        margin-bottom: 35px;
    }
    .post-content {
        padding: 35px 25px;
        border-radius: 16px;
    }
}

/* Content Typography Style rules */
.post-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 25px;
}

.post-content h1, 
.post-content h2, 
.post-content h3, 
.post-content h4 {
    color: var(--color-navy);
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin-top: 45px;
    margin-bottom: 20px;
}

.post-content h2 { font-size: 1.8rem !important; }
.post-content h3 { font-size: 1.45rem !important; }

.post-content blockquote {
    background: rgba(255, 40, 122, 0.03);
    border-left: 4px solid var(--color-magenta);
    padding: 25px 35px;
    margin: 35px 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-navy);
    border-radius: 0 16px 16px 0;
    line-height: 1.6;
}

.post-content blockquote p {
    margin-bottom: 0;
    font-size: 1.25rem;
    color: var(--color-navy);
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 25px 0;
}

.post-content ul,
.post-content ol {
    margin-bottom: 25px;
    padding-left: 25px;
}

.post-content li {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #2d3748;
    margin-bottom: 8px;
}

/* Post Navigation Row */
.post-navigation-row {
    max-width: 890px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.nav-links-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: var(--color-white);
    padding: 30px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 52, 98, 0.04);
    box-shadow: 0 10px 35px rgba(0, 52, 98, 0.02);
}

@media (max-width: 767px) {
    .nav-links-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 25px;
    }
}

.nav-previous-post,
.nav-next-post {
    display: flex;
    flex-direction: column;
}

.nav-next-post {
    align-items: flex-end;
    text-align: right;
}

.nav-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-magenta);
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.4;
    transition: color 0.3s;
}

.nav-title:hover {
    color: var(--color-magenta);
}

/* Facebook Comments Custom Container */
.facebook-comments-section {
    max-width: 890px;
    margin: 50px auto 0;
    padding: 0 20px;
}

.comments-inner-container {
    background: var(--color-white);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid rgba(0, 52, 98, 0.04);
    box-shadow: 0 15px 40px rgba(0, 52, 98, 0.02);
}

.comments-section-title {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: var(--color-navy);
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px !important;
}

.comments-section-title i {
    font-size: 1.7rem;
    color: #1877f2; /* Facebook Official Blue */
}

.comments-section-subtitle {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    margin-bottom: 35px;
}

/* FB Plugin Styling adjustments */
.fb-comments,
.fb-comments span,
.fb-comments iframe {
    width: 100% !important;
}

/* 2-Column Sidebar & Bottom Layout */
.post-layout-container {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: flex-start;
    margin-top: 30px;
}

.post-main-content {
    flex: 1;
    width: calc(100% - 340px);
    display: flex;
    flex-direction: column;
}

.post-sidebar {
    width: 300px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
    z-index: 50;
}

@media (max-width: 991px) {
    .post-layout-container {
        flex-direction: column;
        align-items: stretch;
    }
    .post-main-content {
        width: 100%;
    }
    .post-sidebar {
        width: 100%;
        position: static;
        margin-top: 40px;
    }
}

/* Sidebar Widget Styles */
.sidebar-widget {
    background: var(--color-white);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(0, 52, 98, 0.04);
    box-shadow: 0 15px 40px rgba(0, 52, 98, 0.02);
}

.widget-title {
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid var(--color-yellow);
    padding-bottom: 12px;
    margin-bottom: 25px;
    margin-top: 0 !important;
}

.sidebar-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-post-item {
    display: flex;
    gap: 15px;
    align-items: center;
    transition: all 0.3s;
}

.sidebar-post-thumb-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(0, 52, 98, 0.05);
}

.sidebar-post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sidebar-post-item:hover .sidebar-post-thumb {
    transform: scale(1.08);
}

.sidebar-post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-post-date {
    font-size: 0.75rem;
    color: var(--color-magenta);
    font-weight: 700;
}

.sidebar-post-title {
    font-size: 0.95rem !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
    margin: 0 !important;
}

.sidebar-post-title a {
    color: var(--color-navy);
    transition: color 0.2s;
}

.sidebar-post-title a:hover {
    color: var(--color-magenta);
}

/* Bottom Related Posts Section */
.related-posts-section {
    margin-top: 50px;
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0, 52, 98, 0.04);
    box-shadow: 0 15px 40px rgba(0, 52, 98, 0.02);
}

.related-section-title {
    font-size: 1.35rem !important;
    font-weight: 800 !important;
    color: var(--color-navy);
    margin-top: 0 !important;
    margin-bottom: 25px !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-section-title i {
    color: var(--color-magenta);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 767px) {
    .related-posts-section {
        padding: 25px;
    }
    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.related-post-card {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 52, 98, 0.03);
    transition: all 0.3s ease;
}

.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 52, 98, 0.05);
    border-color: rgba(0, 52, 98, 0.06);
}

.related-post-thumb-wrapper {
    height: 130px;
    overflow: hidden;
    position: relative;
}

.related-post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-post-card:hover .related-post-thumb {
    transform: scale(1.06);
}

.related-post-card-body {
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex-grow: 1;
}

.related-post-card-date {
    font-size: 0.75rem;
    color: var(--color-magenta);
    font-weight: 700;
}

.related-post-card-title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
}

.related-post-card-title a {
    color: var(--color-navy);
    transition: color 0.2s;
}

.related-post-card-title a:hover {
    color: var(--color-magenta);
}

/* Nested Post Navigation */
.post-navigation-row-nested {
    margin-top: 30px;
}

.nav-links-wrapper-nested {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: var(--color-white);
    padding: 25px 35px;
    border-radius: 20px;
    border: 1px solid rgba(0, 52, 98, 0.04);
    box-shadow: 0 10px 30px rgba(0, 52, 98, 0.02);
}

@media (max-width: 575px) {
    .nav-links-wrapper-nested {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 25px;
    }
}

/* Nested Comments Container */
.facebook-comments-section-nested {
    margin-top: 40px;
}

.comments-inner-container-nested {
    background: var(--color-white);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(0, 52, 98, 0.04);
    box-shadow: 0 15px 40px rgba(0, 52, 98, 0.02);
}

@media (max-width: 767px) {
    .comments-inner-container-nested {
        padding: 25px;
    }
}


/* =========================================================================
   PREMIUM PHOTO GALLERY LAYOUTS (Pestaña de Galería & Lightbox Modal)
   ========================================================================= */

.gallery-page-wrapper {
    background-color: #f8fafc;
    padding-bottom: 90px;
}

.gallery-hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-navy) 0%, #05101c 100%);
    padding: 100px 20px;
    text-align: center;
    color: var(--color-white);
    overflow: hidden;
    border-bottom: 4px solid var(--color-yellow);
}

.gallery-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 200, 255, 0.07) 0%, transparent 80%);
    z-index: 1;
}

.gallery-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.gallery-hero-subtitle {
    display: block;
    color: var(--color-yellow);
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
    animation: floatUpDown 4s ease-in-out infinite;
}

.gallery-hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.gallery-hero-desc {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    font-weight: 300;
    margin: 0;
}

/* Gallery Main Container */
.gallery-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 65px 20px;
}

/* Category Filter Menu */
.gallery-filters-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    background: var(--color-white);
    color: var(--color-navy);
    border: 1px solid var(--color-gray-200);
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.gallery-filter-btn:hover {
    background: var(--color-navy);
    color: var(--color-white);
    border-color: var(--color-navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 52, 98, 0.1);
}

.gallery-filter-btn.active {
    background: var(--color-magenta);
    color: var(--color-white);
    border-color: var(--color-magenta);
    box-shadow: 0 8px 25px rgba(255, 40, 122, 0.25);
}

.gallery-filter-btn.active:hover {
    background: var(--color-navy);
    border-color: var(--color-navy);
    box-shadow: 0 8px 25px rgba(0, 52, 98, 0.15);
}

/* Gallery Grid & Cards */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 575px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

.gallery-item-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-white);
    border: 1px solid rgba(0, 52, 98, 0.04);
    box-shadow: 0 10px 30px rgba(0, 52, 98, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 1;
    transform: scale(1);
}

.gallery-item-card.hide-item {
    display: none !important;
}

.gallery-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-img-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item-card:hover .gallery-img-thumb {
    transform: scale(1.08);
}

/* Card Hover Overlay details */
.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 52, 98, 0.95) 0%, rgba(0, 52, 98, 0.4) 60%, rgba(0, 52, 98, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 5;
}

.gallery-item-card:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-overlay-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    align-self: flex-end;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: scale(0.8) rotate(-45deg);
}

.gallery-item-card:hover .gallery-overlay-icon {
    transform: scale(1) rotate(0);
    background: var(--color-magenta);
    border-color: var(--color-magenta);
    box-shadow: 0 4px 15px rgba(255, 40, 122, 0.3);
}

.gallery-overlay-details {
    transform: translateY(15px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-item-card:hover .gallery-overlay-details {
    transform: translateY(0);
}

.gallery-overlay-cat {
    display: block;
    color: var(--color-yellow);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.gallery-overlay-title {
    color: var(--color-white);
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin: 0 !important;
    line-height: 1.3;
}

/* Fallback empty view styling */
.gallery-no-items {
    text-align: center;
    padding: 80px 20px;
    background: var(--color-white);
    border-radius: 24px;
    border: 1px solid rgba(0, 52, 98, 0.04);
    box-shadow: 0 10px 30px rgba(0, 52, 98, 0.02);
    max-width: 600px;
    margin: 0 auto;
}

.gallery-no-items i {
    font-size: 3.5rem;
    color: var(--color-gray-600);
    margin-bottom: 20px;
}

.gallery-no-items h3 {
    font-size: 1.8rem !important;
    color: var(--color-navy);
    font-weight: 800 !important;
    margin-bottom: 10px;
}

.gallery-no-items p {
    color: var(--color-gray-600);
    font-size: 1rem;
    line-height: 1.6;
}


/* --- Lightbox Modal Section --- */
.gallery-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(11, 26, 44, 0.96); /* Elegant Dark Navy Transparent */
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease;
}

.gallery-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Lock body scroll when modal open */
body.gallery-modal-open {
    overflow: hidden;
}

/* Close button */
.gallery-modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    z-index: 100005;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.gallery-modal-close:hover {
    color: var(--color-magenta);
    transform: scale(1.15);
    opacity: 1;
}

/* Nav arrows */
.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 100004;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-modal-nav:hover {
    background: var(--color-yellow);
    color: #000;
    border-color: var(--color-yellow);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 208, 0, 0.4);
}

.gallery-modal-nav.prev {
    left: 40px;
}

.gallery-modal-nav.next {
    right: 40px;
}

/* Modal Box Container */
.gallery-modal-content-container {
    max-width: 1060px;
    width: 90%;
    background: var(--color-white);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,0.6);
    z-index: 100003;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-modal-overlay.open .gallery-modal-content-container {
    transform: scale(1);
}

/* Modal Inner Layout Split */
.gallery-modal-split-box {
    display: flex;
    min-height: 480px;
    max-height: 80vh;
    transition: opacity 0.15s ease-in-out;
}

.gallery-modal-split-box.modal-change-fade {
    opacity: 0;
}

.gallery-modal-image-col {
    flex: 1.25;
    background: #000; /* Dark contrast for photos */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.gallery-modal-img {
    width: 100%;
    height: 100%;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.gallery-modal-info-col {
    flex: 0.75;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    border-left: 1px solid rgba(0, 52, 98, 0.05);
}

.gallery-modal-cat-badge {
    background: rgba(255, 40, 122, 0.08);
    color: var(--color-magenta);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 30px;
    letter-spacing: 1px;
    display: inline-block;
}

.gallery-modal-title {
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    color: var(--color-navy);
    margin-top: 15px !important;
    margin-bottom: 20px !important;
    line-height: 1.25 !important;
}

.gallery-modal-desc-body {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray-600);
}

.gallery-modal-desc-body p {
    margin-bottom: 0;
    color: var(--color-gray-600);
}

/* Responsiveness of the Lightbox */
@media (max-width: 991px) {
    .gallery-modal-nav.prev {
        left: 20px;
    }
    .gallery-modal-nav.next {
        right: 20px;
    }
    .gallery-modal-content-container {
        width: 85%;
    }
}

@media (max-width: 850px) {
    .gallery-modal-split-box {
        flex-direction: column;
        max-height: 90vh;
    }
    .gallery-modal-image-col {
        height: 320px;
        flex: none;
    }
    .gallery-modal-img {
        max-height: 320px;
    }
    .gallery-modal-info-col {
        flex: none;
        padding: 30px;
        border-left: none;
        border-top: 1px solid rgba(0, 52, 98, 0.05);
    }
    .gallery-modal-close {
        top: 15px;
        right: 20px;
        font-size: 2.5rem;
    }
    .gallery-modal-nav {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-modal-image-col {
        height: 220px;
    }
    .gallery-modal-img {
        max-height: 220px;
    }
    .gallery-modal-info-col {
        padding: 20px;
    }
    .gallery-modal-title {
        font-size: 1.4rem !important;
        margin-bottom: 12px !important;
    }
    .gallery-modal-desc-body {
        font-size: 0.9rem;
    }
}

