/*
Theme Name: Inmobiliarie Premium Theme
Theme URI: https://inmobiliarie.com
Description: Frontend Desacoplado 100% Glassmorphism. Bloque 6+7 Polish + IE Admin Panel route /ieadmin.
Version: 0.6.0
*/

:root {
	/* LIGHT MODE (Clear Sky Day) */
	--iex-bg-body: #F4F7F6;
	--iex-bg-image: url('assets/img/day.jpg'); /* Fondo provisto por el usuario */
	--iex-gold-glow: rgba(197, 160, 89, 0.4);
	--iex-gold-primary: #D4AF37;
	
	/* Glassmorphism 30% Opacity + 15px Blur (Aún más transparente) */
	--iex-glass-bg: rgba(255, 255, 255, 0.30);
	--iex-glass-border: rgba(255, 255, 255, 0.4);
	--iex-glass-shadow: 0 10px 30px rgba(0,0,0,0.05);
	
	--iex-text-primary: #1A202C;
	--iex-text-secondary: #4A5568;
	--iex-text-muted: #8C9BB0;
	
	--border-radius-lg: 20px;
	--border-radius-md: 12px;
	--border-radius-sm: 8px;
    --iex-fs-body: 16px;
    
    /* AD SLOTS */
    --ad-bg: rgba(255,255,255,0.2);
}

[data-theme="dark"] {
	/* DARK MODE (Universo Inmensidad Night) */
	--iex-bg-body: #050B14;
	--iex-bg-image: url('assets/img/night.jpg'); /* Fondo espacial provisto por usuario */
	--iex-gold-glow: rgba(197, 160, 89, 0.5);
	--iex-gold-primary: #D4AF37;
	
	/* Glassmorphism 30% Opacity + 15px Blur (Dark) */
	--iex-glass-bg: rgba(0, 0, 0, 0.30);
	--iex-glass-border: rgba(255, 255, 255, 0.15);
	--iex-glass-shadow: 0 10px 40px rgba(0,0,0,0.6);
	
	--iex-text-primary: #FFFFFF;
	--iex-text-secondary: #B0BACC;
	--iex-text-muted: #6B7A8D;
    
    --ad-bg: rgba(0,0,0,0.4);
}

body {
	margin: 0; padding: 0; font-family: 'Inter', sans-serif; font-size: var(--iex-fs-body);
	background-color: var(--iex-bg-body); background-image: var(--iex-bg-image);
	background-size: cover; background-position: center center; background-attachment: fixed;
	color: var(--iex-text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased;
	transition: background-color 0.4s ease, color 0.4s ease;
}

*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; transition: all 0.3s ease; }
a:hover { color: #D4AF37 !important; } /* Links Hover ORO */
img { max-width: 100%; height: auto; display: block; }
.iex-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ==============================================
   HEADER
=============================================== */
.iex-header-wrapper { position: fixed; top: 0; left: 0; width: 100%; z-index: 9999; padding-top: 15px; }
.iex-header-pill {
	display: flex; justify-content: space-between; align-items: center;
	background: var(--iex-glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
	border: 1px solid var(--iex-glass-border); border-radius: 50px; padding: 8px 15px 8px 25px; box-shadow: var(--iex-glass-shadow);
}
.iex-logo { width: 180px; display: flex; align-items: center; }
.iex-logo img { max-height: 40px; }

/* Desktop Navigation */
.iex-nav-desktop { display: flex; flex: 1; justify-content: flex-end; align-items: center; padding-right: 20px; }
.iex-nav-menu { display: flex; gap: 25px; font-size: 0.95rem; font-weight: 500; }

/* Submenu Hover Dropdown */
.iex-nav-menu .menu-item-has-children { position: relative; }
.iex-nav-menu .menu-item-has-children > a::after { content: '\f0d7'; font-family: "Font Awesome 6 Free"; font-weight: 900; margin-left: 5px; font-size: 0.8rem; }
.iex-nav-menu .sub-menu {
    position: absolute; top: 100%; left: 0; padding-top: 15px; display: none; min-width: 200px; z-index: 100;
}
.iex-nav-menu .menu-item-has-children:hover .sub-menu { display: block; }
.iex-nav-menu .sub-menu li {
    background: var(--iex-glass-bg); backdrop-filter: blur(25px); border: 1px solid var(--iex-glass-border);
    list-style: none; padding: 10px 15px; border-bottom: 1px solid rgba(255,255,255,0.05);
}
.iex-nav-menu .sub-menu li:first-child { border-radius: 12px 12px 0 0; }
.iex-nav-menu .sub-menu li:last-child { border-radius: 0 0 12px 12px; border-bottom: none; }

/* Header Action Buttons */
.iex-header-actions { display: flex; align-items: center; gap: 10px; }
.iex-btn { cursor:pointer; font-weight: 600; transition: all 0.3s ease; }
.iex-btn:hover { transform: translateY(-2px); color: #D4AF37 !important; }
.iex-btn-filled { background: var(--iex-glass-bg); border: 1px solid #D4AF37; color: var(--iex-text-primary); padding: 8px 20px; border-radius: 30px; backdrop-filter: blur(15px); font-size: 0.9rem; }
.iex-btn-login { background: transparent; border: none; color: var(--iex-text-primary); font-size: 0.9rem; padding: 8px 12px; }
.iex-btn-publish { font-size: 0.85rem; }

/* Theme Toggle Button */
.iex-theme-toggle-btn {
    background: transparent; border: none; color: var(--iex-text-primary);
    cursor: pointer; padding: 8px; font-size: 1.2rem; line-height: 1;
    transition: transform 0.3s ease;
}
.iex-theme-toggle-btn:hover { transform: rotate(15deg); }
.iex-theme-toggle-btn #icon-sun { display: none; color: #FDB813; }
[data-theme="dark"] .iex-theme-toggle-btn #icon-moon { display: none; }
[data-theme="dark"] .iex-theme-toggle-btn #icon-sun { display: inline-block; }

/* ==============================================
   HAMBURGUESA ANIMADA (3 líneas → X)
=============================================== */
.iex-mobile-toggle {
    display: none; /* Oculto en desktop */
    background: transparent; border: none; cursor: pointer;
    width: 30px; height: 24px; position: relative;
    margin-left: 10px; padding: 0;
    z-index: 10001;
}
.hamburger-line {
    display: block; position: absolute; left: 0;
    width: 100%; height: 2.5px;
    background: var(--iex-text-primary);
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.77, 0.2, 0.05, 1);
    transform-origin: center;
}
.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger-line:nth-child(3) { bottom: 0; }

/* Estado activo: X */
.iex-mobile-toggle.active .hamburger-line:nth-child(1) {
    top: 50%; transform: translateY(-50%) rotate(45deg);
}
.iex-mobile-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0; transform: translateX(-20px);
}
.iex-mobile-toggle.active .hamburger-line:nth-child(3) {
    bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg);
}

/* ==============================================
   MOBILE DROPDOWN MENU — Cae desde arriba
=============================================== */
.iex-mobile-menu {
    position: absolute; top: 100%; left: 0; width: 100%;
    max-height: 0; overflow: hidden;
    background: var(--iex-glass-bg);
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--iex-glass-border);
    border-top: none;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
    opacity: 0;
    z-index: 9998;
}
.iex-mobile-menu.open {
    max-height: 80vh; /* Limitar al 80% de la pantalla */
    opacity: 1;
    overflow-y: auto;
}

/* Overlay detrás del menú */
.iex-mobile-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9990;
    opacity: 0; pointer-events: none;
    transition: opacity 0.35s ease;
}
.iex-mobile-overlay.active {
    opacity: 1; pointer-events: auto;
}

/* Mobile Nav List */
.iex-mobile-nav { padding: 15px 20px 10px; }
.iex-mobile-nav-list { list-style: none; padding: 0; margin: 0; }
.iex-mobile-nav-list > li {
    border-bottom: 1px solid var(--iex-glass-border);
}
.iex-mobile-nav-list > li > a {
    display: block; padding: 14px 0; font-size: 1.05rem; font-weight: 600;
    color: var(--iex-text-primary); transition: color 0.3s;
}
.iex-mobile-nav-list > li > a:hover { color: #D4AF37 !important; }
.iex-mobile-nav-list > li:last-child { border-bottom: none; }

/* Items con submenú — layout flexbox */
.iex-mobile-has-children {
    display: flex; flex-wrap: wrap; align-items: center;
}
.iex-mobile-has-children > a { flex: 1; }
.iex-submenu-toggle {
    background: transparent; border: none; color: var(--iex-text-secondary);
    cursor: pointer; padding: 14px 5px; font-size: 0.9rem;
    transition: transform 0.3s ease;
}
.iex-submenu-toggle.open { transform: rotate(180deg); }
.iex-submenu-toggle:hover { color: #D4AF37; }

/* Submenú Accordion — Colapsa/Expande */
.iex-mobile-submenu {
    list-style: none; padding: 0; margin: 0;
    width: 100%; /* Ocupa toda la fila */
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}
.iex-mobile-submenu.open {
    max-height: 300px;
    padding-bottom: 10px;
}
.iex-mobile-submenu li a {
    display: block; padding: 10px 0 10px 20px;
    font-size: 0.95rem; color: var(--iex-text-secondary);
    border-left: 2px solid rgba(212,175,55,0.3);
    transition: all 0.3s;
}
.iex-mobile-submenu li a:hover {
    color: #D4AF37 !important; border-left-color: #D4AF37;
    padding-left: 25px;
}

/* Mobile Action Buttons */
.iex-mobile-actions {
    display: flex; flex-direction: column; gap: 10px;
    padding: 10px 20px 15px; border-top: 1px solid var(--iex-glass-border);
}
.iex-mobile-action-btn {
    width: 100%; text-align: center; justify-content: center;
    padding: 12px 20px !important; font-size: 0.9rem !important;
}

/* Mobile Footer */
.iex-mobile-footer {
    text-align: center; padding: 10px 20px 15px;
    font-size: 0.75rem; color: var(--iex-text-muted);
}

/* ==============================================
   RESPONSIVE: Show/Hide Mobile vs Desktop
=============================================== */
@media (max-width: 900px) {
    .iex-nav-desktop { display: none; }
    .iex-mobile-toggle { display: block; }
    .iex-btn-login, .iex-btn-publish { display: none; }
}

/* ==============================================
   HERO & SEARCH
=============================================== */
.iex-hero { padding-top: 160px; text-align: center; }
/* Mapear hero portada en front-page via inline-style o clase, agregamos margen */
.iex-hero-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 10px; text-transform: uppercase; color: #FFF; text-shadow: 0 4px 15px rgba(0,0,0,0.8); }
.iex-hero-subtitle { font-size: 1.2rem; background: rgba(0,0,0,0.5); color: #FFF; padding: 5px 20px; border-radius: 20px; display: inline-block; margin-bottom: 40px; backdrop-filter: blur(15px); }

.iex-hero-search {
	display: flex; align-items: center; background: var(--iex-glass-bg); 
	backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border: 1px solid var(--iex-glass-border);
	border-radius: 40px; padding: 10px; max-width: 1000px; margin: 0 auto; box-shadow: var(--iex-glass-shadow); flex-wrap: wrap; gap: 10px;
}
.iex-hero-search input, .iex-hero-search select {
	background: transparent; border: none; color: var(--iex-text-primary); font-size: 1rem; padding: 12px 15px; outline: none; flex: 1; border-right: 1px solid var(--iex-glass-border);
}
.iex-hero-search input { flex: 2; }
.iex-hero-search input::placeholder { color: var(--iex-text-secondary); }
.iex-hero-search select option { background: #050B14; color: #FFF; }
.iex-hero-search button {
	background: #333333; /* Boton Neutro Elegante */ border: 1px solid #D4AF37; color: #D4AF37; padding: 12px 30px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: all 0.3s;
}
.iex-hero-search button:hover { background: #D4AF37; color: #000; }

/* ==============================================
   PROPERTIES GRID
=============================================== */
.iex-grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; padding-bottom: 40px; }
.iex-property-card {
	background: var(--iex-glass-bg); backdrop-filter: blur(15px); border: 1px solid var(--iex-glass-border); border-radius: var(--border-radius-lg); padding: 15px;
	transition: all 0.4s ease; box-shadow: var(--iex-glass-shadow); position: relative; display: flex; flex-direction: column; height: 100%;
}
.iex-property-card:hover { border-color: #D4AF37; transform: translateY(-8px); box-shadow: 0 25px 40px rgba(0,0,0,0.4); }


.iex-card-image { width: 100%; height: 220px; border-radius: var(--border-radius-md); overflow: hidden; position: relative; }
.iex-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.iex-property-card:hover .iex-card-image img { transform: scale(1.05); }

/* Etiquetas top card */
.iex-card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 5px; z-index: 2; flex-wrap: wrap;}
.iex-badge-hot { background: #D4AF37; color: #000; padding: 3px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase;}
.iex-badge-rent { background: #000; border: 1px solid #D4AF37; color: #D4AF37; padding: 3px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase;}
.iex-badge-renta { color: #FFF; border: 1px solid #FF3B30; background: #FF3B30; }
.iex-rent-tag-renta { color: #FF3B30 !important; border-color: #FF3B30; }

/* Card Favorite Heart */
.iex-card-fav {
    position: absolute; top: 15px; right: 15px; z-index: 2;
    background: rgba(0,0,0,0.5); border-radius: 50%;
    width: 35px; height: 35px; display: flex; align-items: center; justify-content: center;
    color: #fff; cursor: pointer; transition: all 0.3s;
}
.iex-card-fav:hover { background: rgba(212,175,55,0.8); transform: scale(1.1); }

/* Hero Home — front-page specific (portada) */
.iex-hero-home {
    background-image: url('assets/img/portada-pais.jpg');
    background-size: cover; background-position: center;
    border-radius: 30px; margin: 20px; box-shadow: var(--iex-glass-shadow);
    padding: 120px 20px; margin-top: 100px;
}

/* Search Icon in bar */
.iex-search-icon { padding-left: 20px; color: #D4AF37; }

.iex-card-content { padding: 15px 5px 5px 5px; text-align: left; flex:1; display:flex; flex-direction: column; }
.iex-card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 5px; line-height: 1.3;}

/* Precio MXN */
.iex-card-price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 10px; color: #D4AF37; }
.iex-card-price { font-size: 1.6rem; font-weight: 800; }
.iex-card-currency { font-size: 0.8rem; font-weight: 500; }

/* Info FA Icons Solid */
.iex-card-info-row { font-size: 0.8rem; color: var(--iex-text-secondary); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.iex-card-info-row i { color: #D4AF37; width: 14px; text-align: center; }

.iex-card-features { display: flex; justify-content: space-between; font-size: 0.8rem; color: var(--iex-text-secondary); font-weight: 600; padding: 12px 0; border-top: 1px solid var(--iex-glass-border); margin-top: auto; }
.iex-card-features > div { display: flex; align-items: center; gap: 5px; }

.iex-fake-btn { width: 100%; text-align: center; background: transparent; color: #D4AF37; border: 1px solid #D4AF37; padding: 10px; border-radius: 30px; font-weight: 600; transition: all 0.3s; margin-top: 10px;}
.iex-property-card:hover .iex-fake-btn { background: #D4AF37; color: #000; }

/* ==============================================
   AD SLOTS RESPONSIVE
=============================================== */
.iex-ad-slot {
    background: var(--ad-bg);
    backdrop-filter: blur(10px);
    border: 1px dashed var(--iex-glass-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--iex-text-secondary); font-size: 0.8rem; text-transform: uppercase;
    margin: 30px auto; border-radius: 12px; overflow: hidden;
}
.iex-ad-billboard { width: 100%; max-width: 970px; height: 250px; }
.iex-ad-leaderboard { width: 100%; max-width: 728px; height: 90px; }
.iex-ad-superleaderboard { width: 100%; max-width: 970px; height: 90px; }
.iex-ad-mid { width: 100%; max-width: 300px; height: 250px; }
/* Ad responsive — moved to consolidated section */

/* ==============================================
   MULTI-COLUMN FOOTER
=============================================== */
.iex-footer { margin-top: 60px; background: rgba(5, 11, 20, 0.9); border-top: 2px solid #D4AF37; padding: 60px 20px 20px; color: #FFF; font-size: 0.9rem; }
.iex-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; margin-bottom: 40px; }
.iex-footer-col h4 { color: #FFF; font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; border-bottom: 1px solid rgba(212,175,55,0.5); padding-bottom: 10px; }
.iex-footer-col ul { list-style: none; padding: 0; margin: 0; }
.iex-footer-col ul li { margin-bottom: 12px; }
.iex-footer-col ul li a { color: #B0BACC; }
.iex-footer-col ul li a:hover { color: #D4AF37 !important; }

/* Footer Logo & Description */
.iex-footer-logo { max-width: 200px; max-height: 80px; margin-bottom: 15px; width: auto; }
.iex-footer-desc { color: #B0BACC; font-size: 0.85rem; line-height: 1.6; }

/* Footer CTA Buttons */
.iex-footer-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.iex-footer-cta-primary { background: #D4AF37; color: #000; border: none; width: fit-content; padding: 10px 20px; cursor: pointer; }
.iex-footer-cta-primary:hover { background: #E8C84A; }
.iex-footer-cta-outline { background: transparent; border: 1px solid #D4AF37; color: #D4AF37; width: fit-content; padding: 10px 20px; cursor: pointer; }
.iex-footer-cta-outline:hover { background: rgba(212,175,55,0.15); }

/* Footer Social Icons */
.iex-footer-social { margin-top: 25px; display: flex; gap: 15px; }
.iex-footer-social a {
    background: rgba(255,255,255,0.08); width: 40px; height: 40px;
    border-radius: 8px; display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
}
.iex-footer-social a:hover { background: rgba(212,175,55,0.3); color: #D4AF37 !important; transform: translateY(-3px); }

/* Footer Flag Icons */
.iex-flag-icon { display: inline; margin-right: 5px; vertical-align: middle; }
.iex-country-disabled { color: #8C9BB0; cursor: not-allowed; }
.iex-country-disabled .iex-flag-icon { opacity: 0.5; }

/* Footer Separator Item */
.iex-footer-separator { margin-top: 30px !important; }

/* Footer Bottom Bar */
.iex-footer-bottom-links { display: flex; gap: 20px; font-weight: 600; }

/* Utility: Gold icon color */
.iex-icon-gold { color: #D4AF37; }

/* Section Title Row (with "Ver todos" link) */
.iex-section-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.iex-section-title { font-size: 2rem; margin: 0; }
.iex-section-link { color: #D4AF37; font-weight: 600; }
.iex-section-link:hover { color: #E8C84A !important; }

/* Desarrollos / Info Section */
.iex-info-section { background: rgba(255,255,255,0.02); padding: 60px 0; }
.iex-info-flex { display: flex; gap: 40px; flex-wrap: wrap; }
.iex-info-main { flex: 1; min-width: 280px; }
.iex-info-sidebar { width: 300px; }
.iex-info-card {
    background: var(--iex-glass-bg); padding: 20px; border-radius: 12px;
    border: 1px solid var(--iex-glass-border); margin-bottom: 15px;
}
.iex-info-card h4 { margin: 0; }
.iex-info-card p { font-size: 0.85rem; color: var(--iex-text-secondary); margin: 5px 0 0; }

.iex-footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; font-size: 0.8rem; color: #8C9BB0; }


/* FLOATING UP BUTTON */
.iex-scroll-up { position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px; background: rgba(0,0,0,0.7); border: 1px solid #D4AF37; border-radius: 5px; display: flex; align-items: center; justify-content: center; color: #D4AF37; font-size: 1.2rem; cursor: pointer; z-index: 1000; transition: all 0.3s; }
.iex-scroll-up:hover { background: #D4AF37; color: #000; transform: translateY(-3px); }
.iex-scroll-up.visible { opacity: 1; pointer-events: auto; }

/* ==============================================
   GLASSMORPHISM UTILITY (Reutilizable)
=============================================== */
.iex-glass {
	background: var(--iex-glass-bg);
	backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
	border: 1px solid var(--iex-glass-border);
	border-radius: var(--border-radius-lg);
	box-shadow: var(--iex-glass-shadow);
}

/* ==============================================
   SECTION SPACING
=============================================== */
.iex-section { padding: 60px 0; }

/* ==============================================
   HEADER SCROLLED STATE
=============================================== */
.iex-header-pill.scrolled {
	background: var(--iex-glass-bg);
	backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
	box-shadow: 0 8px 32px rgba(0,0,0,0.3);
	border-color: rgba(212, 175, 55, 0.3);
	transition: all 0.4s ease;
}

/* ==============================================
   HERO OVERLAY & CONTENT (Archive/Single)
=============================================== */
.iex-hero {
	position: relative;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}
.iex-hero-overlay {
	position: absolute; top: 0; left: 0; width: 100%; height: 100%;
	background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%);
	z-index: 1;
}
.iex-hero-content {
	position: relative; z-index: 2;
	display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
	height: 100%; padding: 40px 20px;
	text-align: center;
}

/* ==============================================
   BUTTONS — Primary, Premium, Filled Variants
=============================================== */
.iex-btn-primary {
	background: #D4AF37; color: #000; border: none;
	padding: 12px 28px; border-radius: 30px;
	font-weight: 700; font-size: 0.95rem; cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex; align-items: center; gap: 8px;
}
.iex-btn-primary:hover { background: #E8C84A; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(212,175,55,0.4); color: #000 !important; }

.iex-btn-premium {
	background: transparent; color: var(--iex-gold-primary); border: 1px solid #D4AF37;
	padding: 12px 28px; border-radius: 30px;
	font-weight: 700; font-size: 0.95rem; cursor: pointer;
	transition: all 0.3s ease;
	display: inline-flex; align-items: center; gap: 8px;
}
.iex-btn-premium:hover { background: rgba(212,175,55,0.15); transform: translateY(-2px); color: #D4AF37 !important; }

/* ==============================================
   CARD BADGES — Rent Tag, Nuevo, Venta
=============================================== */
.iex-card-rent-tag {
	font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
	padding: 3px 10px; border-radius: 12px;
	background: transparent; color: #D4AF37; border: 1px solid #D4AF37;
	margin-left: auto;
}
.iex-badge-nuevo {
	background: #00C853; color: #FFF;
	padding: 3px 10px; border-radius: 12px;
	font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
}

/* ==============================================
   PROPERTY CARD LINK WRAPPER
=============================================== */
.iex-property-card-link {
	text-decoration: none; color: inherit;
	display: flex; flex-direction: column; height: 100%;
}
.iex-property-card-link:hover { color: inherit !important; }

/* ==============================================
   MONETIZACIÓN — BADGES DESTACADOS
   PREMIUM (País) | PLUS (Estado) | ELITE (Ciudad)
=============================================== */

/* PREMIUM — Máxima visibilidad: Todo el país */
.iex-destacado-premium {
	border: 3px solid #D4AF37 !important;
	box-shadow: 0 0 50px rgba(212,175,55,0.5), inset 0 0 20px rgba(212,175,55,0.15) !important;
	position: relative;
}
.iex-destacado-premium::before {
	content: '★ PREMIUM'; position: absolute; top: -1px; right: 20px; z-index: 5;
	background: linear-gradient(135deg, #D4AF37, #F5D76E); color: #000;
	padding: 4px 14px; border-radius: 0 0 10px 10px;
	font-size: 0.65rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
}

/* SELECT — Visibilidad estatal (Regional) */
.iex-destacado-select {
	border: 2px solid #7C4DFF !important;
	box-shadow: 0 0 35px rgba(124,77,255,0.3) !important;
	position: relative;
}
.iex-destacado-select::before {
	content: '⚡ SELECT'; position: absolute; top: -1px; right: 20px; z-index: 5;
	background: linear-gradient(135deg, #7C4DFF, #B388FF); color: #FFF;
	padding: 4px 14px; border-radius: 0 0 10px 10px;
	font-size: 0.65rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
}

/* ACTIVE — Visibilidad municipal/ciudad */
.iex-destacado-active {
	border: 2px solid #00BCD4 !important;
	box-shadow: 0 0 30px rgba(0,188,212,0.25) !important;
	position: relative;
}
.iex-destacado-active::before {
	content: '◆ ACTIVE'; position: absolute; top: -1px; right: 20px; z-index: 5;
	background: linear-gradient(135deg, #00BCD4, #4DD0E1); color: #000;
	padding: 4px 14px; border-radius: 0 0 10px 10px;
	font-size: 0.65rem; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
}

/* Legacy alias — destacado-1 maps to premium */
.iex-destacado-1 {
	border: 5px solid #D4AF37 !important;
	box-shadow: 0 0 60px rgba(212,175,55,0.7), inset 0 0 30px rgba(212,175,55,0.3) !important;
}

/* Responsive mobile font-size fix for SELECT/ACTIVE badges */
@media (max-width: 480px) {
    .iex-destacado-select::before,
    .iex-destacado-active::before { font-size: 0.55rem; padding: 3px 10px; right: 10px; }
}

/* ==============================================
   BREADCRUMBS
=============================================== */
.iex-breadcrumbs { font-size: 0.85rem; color: var(--iex-text-muted); }
.iex-breadcrumbs a { color: var(--iex-text-secondary); }
.iex-breadcrumbs a:hover { color: #D4AF37 !important; }

/* ==============================================
   NAV MENU — list-style reset
=============================================== */
.iex-nav-menu { list-style: none; padding: 0; margin: 0; }
.iex-nav-menu li { list-style: none; }
.iex-nav-menu .sub-menu { list-style: none; padding: 0; margin: 0; }

/* ==============================================
   SCROLL UP — fade-in base state (Bloque 6 fix)
=============================================== */
.iex-scroll-up {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.3s ease, background 0.3s ease;
}
.iex-scroll-up.visible { opacity: 1; pointer-events: auto; }

/* ==============================================
   BLOQUE 6 — POLISH UX
   Animaciones, Focus States, Skeleton, Skip-link
=============================================== */

/* -- Skip to content (Screen readers / WCAG 2.1) -- */
.iex-skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 99999;
    background: #D4AF37;
    color: #000;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 0 0 8px 8px;
    text-decoration: none;
    transition: top 0.2s ease;
}
.iex-skip-link:focus {
    top: 0;
}

/* -- Focus-visible: accesibilidad teclado global -- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #D4AF37;
    outline-offset: 3px;
    border-radius: 4px;
}

/* -- Submenú Desktop: animación fadeIn + slideDown -- */
.iex-nav-menu .menu-item-has-children .sub-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.iex-nav-menu .menu-item-has-children:hover .sub-menu,
.iex-nav-menu .menu-item-has-children:focus-within .sub-menu {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
}

/* -- Hover refinado cards: scale suave en imagen + sombra texto -- */
.iex-property-card {
    transition: transform 0.35s cubic-bezier(0.25,0.46,0.45,0.94),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}
.iex-property-card:hover .iex-card-title {
    color: #D4AF37;
    transition: color 0.3s ease;
}
.iex-property-card:hover .iex-card-image img {
    transform: scale(1.06);
    transition: transform 0.7s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* -- Smooth theme transitions en TODOS los elementos glass -- */
.iex-header-pill,
.iex-property-card,
.iex-glass,
.iex-hero-search,
.iex-ad-slot,
.iex-mobile-menu,
.iex-info-card {
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

/* -- Skeleton Loader — Glassmorphism animated (para cards en carga) -- */
.iex-skeleton {
    background: var(--iex-glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--iex-glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    position: relative;
}
.iex-skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255,255,255,0.08) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: iex-shimmer 1.6s infinite;
}
@keyframes iex-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}
.iex-skeleton-img  { height: 220px; width: 100%; background: rgba(255,255,255,0.05); }
.iex-skeleton-line {
    height: 14px; border-radius: 7px;
    background: rgba(255,255,255,0.07);
    margin: 10px 0;
}
.iex-skeleton-line.short  { width: 60%; }
.iex-skeleton-line.medium { width: 80%; }
.iex-skeleton-line.full   { width: 100%; }

/* -- Select option legible en modo light (Bloque 7) -- */
.iex-hero-search select option {
    background: #1A202C;
    color: #FFFFFF;
}
[data-theme="dark"] .iex-hero-search select option {
    background: #050B14;
    color: #FFFFFF;
}

/* ==============================================
   BLOQUE 7 — PERFORMANCE mark: Font Awesome via functions.php
   (CSS note: Loading lazy is applied in PHP templates)
=============================================== */

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS CONSOLIDADOS — Mobile First
   320px (base) → 480px → 768px → 900px → 1024px → 1440px
══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────
   MAX 480px — Pantallas pequeñas (iPhone SE, etc)
───────────────────────────────────────────────── */
@media (max-width: 480px) {
    /* Header */
    .iex-header-wrapper { padding-top: 8px; }
    .iex-header-pill { padding: 6px 10px 6px 15px; border-radius: 30px; }
    .iex-logo { width: 130px; }
    .iex-logo img { max-height: 30px; }
    .iex-theme-toggle-btn { padding: 5px; font-size: 1rem; }

    /* Hero */
    .iex-hero { padding-top: 120px; }
    .iex-hero-title { font-size: 1.6rem; margin-bottom: 8px; }
    .iex-hero-subtitle { font-size: 0.85rem; padding: 4px 14px; margin-bottom: 20px; }

    /* Search Bar — Full stack vertical */
    .iex-hero-search {
        flex-direction: column; border-radius: 20px; padding: 10px; gap: 0;
    }
    .iex-hero-search input,
    .iex-hero-search select {
        width: 100%; flex: none; border-right: none;
        border-bottom: 1px solid var(--iex-glass-border);
        padding: 12px 15px; font-size: 0.9rem;
    }
    .iex-hero-search input { flex: none; }
    .iex-hero-search button {
        width: 100%; border-radius: 14px; padding: 12px; margin-top: 5px;
    }
    .iex-hero-search > span { display: none; } /* Ocultar icono lupa suelto */

    /* Property Grid — 1 columna */
    .iex-grid-3 {
        grid-template-columns: 1fr; gap: 20px; padding-bottom: 20px;
    }

    /* Cards */
    .iex-property-card { padding: 10px; }
    .iex-card-image { height: 180px; }
    .iex-card-title { font-size: 1rem; }
    .iex-card-price { font-size: 1.3rem; }
    .iex-card-features { font-size: 0.75rem; padding: 10px 0; }

    /* Sections */
    .iex-section { padding: 30px 0; }
    .iex-container { padding: 0 12px; }

    /* Ad Slots */
    .iex-ad-billboard,
    .iex-ad-leaderboard,
    .iex-ad-superleaderboard { height: 80px; }
    .iex-ad-slot { margin: 15px auto; font-size: 0.7rem; }

    /* Footer */
    .iex-footer { padding: 40px 15px 15px; margin-top: 30px; }
    .iex-footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .iex-footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

    /* Scroll Up */
    .iex-scroll-up { width: 38px; height: 38px; bottom: 15px; right: 15px; font-size: 1rem; }

    /* Front-page hero */
    .iex-hero-home {
        margin: 10px 8px; padding: 80px 15px;
        margin-top: 75px; border-radius: 20px;
    }
    .iex-search-icon { display: none; }

    /* Footer CTAs */
    .iex-footer-cta-primary,
    .iex-footer-cta-outline { width: 100%; text-align: center; }

    /* Info section */
    .iex-info-flex { flex-direction: column; }
    .iex-info-sidebar { width: 100%; }
    .iex-info-sidebar .iex-ad-mid { max-width: 100%; }

    /* Monetización badges */
    .iex-destacado-premium::before,
    .iex-destacado-select::before,
    .iex-destacado-active::before { font-size: 0.55rem; padding: 3px 10px; right: 10px; }
}

/* ─────────────────────────────────────────────────
   MAX 768px — Tablets portrait + Móviles grandes
───────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Hero */
    .iex-hero-title { font-size: 2rem; }
    .iex-hero-subtitle { font-size: 0.95rem; }

    /* Search Bar — Stacked */
    .iex-hero-search {
        flex-direction: column; border-radius: 24px; gap: 0;
    }
    .iex-hero-search input,
    .iex-hero-search select {
        width: 100%; flex: none; border-right: none;
        border-bottom: 1px solid var(--iex-glass-border);
    }
    .iex-hero-search input { flex: none; }
    .iex-hero-search button { width: 100%; border-radius: 18px; margin-top: 5px; }
    .iex-hero-search > span { display: none; }

    /* Grid — 1 column */
    .iex-grid-3 { grid-template-columns: 1fr; gap: 25px; }

    /* Cards */
    .iex-card-image { height: 200px; }

    /* Sections */
    .iex-section { padding: 40px 0; }

    /* Front-page hero */
    .iex-hero-home {
        margin: 15px 12px; padding: 90px 20px;
        margin-top: 85px; border-radius: 24px;
    }

    /* Ad Slots */
    .iex-ad-billboard,
    .iex-ad-leaderboard,
    .iex-ad-superleaderboard { height: 100px; }

    /* Footer */
    .iex-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .iex-footer-bottom { flex-direction: column; text-align: center; gap: 10px; }

    /* Front-page Desarrollos section — stack */
    .iex-info-flex { flex-direction: column; }
    .iex-info-sidebar { width: 100%; }
    .iex-info-sidebar .iex-ad-mid { max-width: 100%; }

    /* Single inmueble — Stack layout */
    .iex-property-card[style*="display: flex"] {
        flex-direction: column !important; padding: 20px !important; gap: 20px !important;
    }
    .iex-property-card[style*="display: flex"] > div {
        min-width: 100% !important;
    }

    /* Single hero */
    .iex-hero[style*="height: 65vh"] {
        height: 45vh !important;
    }
    .iex-hero[style*="height: 65vh"] .iex-hero-content {
        padding: 20px 15px !important;
    }
    .iex-hero[style*="height: 65vh"] .iex-hero-title {
        font-size: 1.6rem !important;
    }
}

/* ─────────────────────────────────────────────────
   MIN 481px & MAX 768px — Tablets only (2 cols)
───────────────────────────────────────────────── */
@media (min-width: 481px) and (max-width: 768px) {
    .iex-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .iex-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────────
   MIN 769px & MAX 900px — Tablet landscape
───────────────────────────────────────────────── */
@media (min-width: 769px) and (max-width: 900px) {
    .iex-hero-title { font-size: 2.5rem; }
    .iex-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .iex-footer-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}

/* ─────────────────────────────────────────────────
   MIN 901px & MAX 1024px — Desktop small
───────────────────────────────────────────────── */
@media (min-width: 901px) and (max-width: 1024px) {
    .iex-hero-title { font-size: 2.8rem; }
    .iex-nav-menu { gap: 18px; font-size: 0.88rem; }
    .iex-grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* ─────────────────────────────────────────────────
   MIN 1025px — Desktop full (current base styles apply)
───────────────────────────────────────────────── */
@media (min-width: 1025px) {
    .iex-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .iex-hero-title { font-size: 3.5rem; }
}

/* ─────────────────────────────────────────────────
   MIN 1440px — Pantallas grandes / Ultra-wide
───────────────────────────────────────────────── */
@media (min-width: 1440px) {
    .iex-container { max-width: 1380px; }
    .iex-hero-title { font-size: 4rem; }
    .iex-grid-3 { grid-template-columns: repeat(3, 1fr); gap: 35px; }
    .iex-card-image { height: 260px; }
    .iex-footer-grid { gap: 50px; }
}

/* ══════════════════════════════════════════════════════════════
   BLOQUE 8 — SECCIONES FALTANTES HOME PAGE
   Categorías · Explora por Estado · Broker CTA · Links Populares
══════════════════════════════════════════════════════════════ */

/* ----------------------------------------------------------
   CATEGORÍAS DE INMUEBLES — Grid de íconos
---------------------------------------------------------- */
.iex-categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
    margin-top: 10px;
}
.iex-category-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; padding: 20px 10px;
    background: var(--iex-glass-bg);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--iex-glass-border);
    border-radius: var(--border-radius-md);
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--iex-text-primary);
}
.iex-category-card:hover {
    border-color: #D4AF37;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(212,175,55,0.2);
    color: #D4AF37 !important;
}
.iex-category-card--all {
    border-color: rgba(212,175,55,0.4);
}
.iex-category-icon {
    font-size: 1.8rem;
    color: #D4AF37;
    line-height: 1;
}
.iex-category-label {
    font-size: 0.75rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* ----------------------------------------------------------
   EXPLORA POR ESTADO — List cards
---------------------------------------------------------- */
.iex-section-states { background: rgba(255,255,255,0.02); }
.iex-states-grid {
    display: flex; flex-direction: column; gap: 10px;
}
.iex-state-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px;
    background: var(--iex-glass-bg);
    backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--iex-glass-border);
    border-radius: var(--border-radius-md);
    color: var(--iex-text-primary);
    transition: all 0.3s ease;
}
.iex-state-card:hover {
    border-color: #D4AF37;
    transform: translateX(6px);
    color: var(--iex-text-primary) !important;
}
.iex-state-flag { font-size: 1.8rem; line-height: 1; flex-shrink: 0; }
.iex-state-info { flex: 1; }
.iex-state-info strong { display: block; font-size: 1rem; font-weight: 700; }
.iex-state-info span { font-size: 0.8rem; color: var(--iex-text-secondary); }

/* ----------------------------------------------------------
   BROKER CTA — Banner glassmorphism
---------------------------------------------------------- */
.iex-section-broker-cta { padding: 40px 0; }
.iex-broker-cta-card {
    padding: 40px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 30px; flex-wrap: wrap;
}
.iex-broker-cta-content {
    display: flex; align-items: center; gap: 24px; flex: 1;
}
.iex-broker-cta-icon {
    font-size: 3rem; color: #D4AF37;
    width: 80px; height: 80px;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.iex-broker-cta-text h2 {
    font-size: 1.6rem; font-weight: 800;
    margin: 0 0 8px 0;
}
.iex-broker-cta-text p {
    font-size: 0.95rem; color: var(--iex-text-secondary);
    margin: 0; max-width: 480px;
}
.iex-broker-cta-actions {
    display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}

/* ----------------------------------------------------------
   LINKS POPULARES SEO — 4 columnas
---------------------------------------------------------- */
.iex-section-popular-links { background: rgba(255,255,255,0.02); }
.iex-popular-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}
.iex-popular-links-col h4 {
    font-size: 0.95rem; font-weight: 700;
    color: #D4AF37;
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 14px; padding-bottom: 8px;
    border-bottom: 1px solid rgba(212,175,55,0.3);
}
.iex-popular-links-col ul { list-style: none; padding: 0; margin: 0; }
.iex-popular-links-col ul li { margin-bottom: 10px; }
.iex-popular-links-col ul li a {
    font-size: 0.85rem; color: var(--iex-text-secondary);
    transition: all 0.3s;
}
.iex-popular-links-col ul li a:hover {
    color: #D4AF37 !important;
    padding-left: 4px;
}

/* ----------------------------------------------------------
   BLOQUE 8 — Responsive
---------------------------------------------------------- */
@media (max-width: 1024px) {
    .iex-categories-grid { grid-template-columns: repeat(4, 1fr); }
    .iex-popular-links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .iex-categories-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
    .iex-category-icon { font-size: 1.4rem; }
    .iex-category-label { font-size: 0.7rem; }
    .iex-popular-links-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .iex-broker-cta-card { flex-direction: column; padding: 25px 20px; }
    .iex-broker-cta-content { flex-direction: column; text-align: center; }
    .iex-broker-cta-actions { width: 100%; justify-content: center; }
    .iex-broker-cta-actions .iex-btn { width: 100%; text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
    .iex-categories-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .iex-category-card { padding: 14px 6px; }
    .iex-category-icon { font-size: 1.2rem; }
    .iex-category-label { font-size: 0.6rem; }
    .iex-popular-links-grid { grid-template-columns: 1fr; }
    .iex-states-grid { gap: 8px; }
    .iex-state-card { padding: 12px 15px; }
    .iex-state-flag { font-size: 1.4rem; }
}

/* ========================================= */
/* DESKTOP DROPDOWN MENU UL SUB-MENU         */
/* ========================================= */
@media (min-width: 993px) {
    .iex-nav-desktop .iex-nav-menu .menu-item-has-children { position:relative; }
    .iex-nav-desktop .iex-nav-menu .menu-item-has-children > a::after {
        content: '\f107'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
        margin-left: 6px; font-size: 0.8em; transition: transform 0.3s ease;
    }
    .iex-nav-desktop .iex-nav-menu .menu-item-has-children:hover > a::after { transform: rotate(180deg); }
    
    .iex-nav-desktop .iex-nav-menu .sub-menu {
        position: absolute; top: 100%; left: 0; min-width: 220px;
        background: var(--iex-glass-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
        border: 1px solid var(--iex-glass-border); border-radius: 12px;
        padding: 10px 0; margin: 0; list-style: none;
        opacity: 0; visibility: hidden; transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 1000;
    }
    
    .iex-nav-desktop .iex-nav-menu .menu-item-has-children:hover .sub-menu {
        opacity: 1; visibility: visible; transform: translateY(0);
    }
    
    .iex-nav-desktop .iex-nav-menu .sub-menu li { display: block; margin: 0; }
    .iex-nav-desktop .iex-nav-menu .sub-menu li a {
        display: block; padding: 10px 20px; color: var(--iex-text-secondary);
        font-size: 0.95rem; font-weight: 500; transition: all 0.2s ease;
    }
    .iex-nav-desktop .iex-nav-menu .sub-menu li a:hover {
        background: rgba(255,255,255,0.05); color: #D4AF37; padding-left: 25px;
    }
    
    /* Support for Light Mode Dropdown */
    body.light-mode .iex-nav-desktop .iex-nav-menu .sub-menu {
        background: rgba(255,255,255,0.9); border-color: rgba(0,0,0,0.05);
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
    body.light-mode .iex-nav-desktop .iex-nav-menu .sub-menu li a:hover {
        background: rgba(0,0,0,0.03); color: #D4AF37;
    }
}
