:root {
    /* Colores de marca originales */
    --primary: #ea723d;
    --primary-dark: #d15a25;
    --secondary: #1e73be;
    --secondary-dark: #155a9b;

    /* Neutros originales */
    --dark: #2c3e50;
    --text: #555555;
    --light-bg: #D8E3DF;
    --white: #ffffff;
    --gray-border: #e1e1e1;

    /* Efectos */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    /* Texto más nítido */
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

.section {
    padding: 40px 0;
}

/* Títulos Centrados */
.section-title-center {
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.section-title-center h2 {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title-center h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* Botones Estilizados */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: none;
    border-radius: 50px;
    /* Botones píldora */
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(234, 114, 61, 0.2);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(234, 114, 61, 0.3);
}

.btn-google-maps {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #fff;
    color: #DB4437;
    border: 1px solid var(--gray-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-google-maps:hover {
    background-color: #DB4437;
    color: #fff;
    transform: translateY(-3px);
    border-color: #DB4437;
}

.btn-whatsapp {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    border: none;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.3);
}

.btn-share-wa {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-decoration: none;
    border: 2px solid white;
}

.btn-share-wa:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128C7E;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.btn-share-detail {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    margin-left: 15px;
    font-size: 1.2rem;
    vertical-align: middle;
    transition: var(--transition);
    text-decoration: none;
}

.btn-share-detail:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

header {
    background: #fff;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    padding: 2px 0;
    backdrop-filter: blur(10px);
}

.header-main {
    padding: 20px 0;
    transition: padding 0.3s;
}

header.scrolled .header-main {
    padding: 10px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    transition: all 0.3s;
}

header.scrolled .logo img {
    height: 50px;
    filter: none;
}

/* Navegación */
/* Old Navigation (Replaced by RH Menu) */
/*
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 5px;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
    border-radius: 30px;
}

header.scrolled .main-nav a {
    color: var(--dark);
}

.main-nav a:hover,
.main-nav li:hover>a {
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.1);
}

header.scrolled .main-nav a:hover {
    background: rgba(0, 0, 0, 0.05);
}

.main-nav .sub-menu {
    position: static;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-md);
    display: none;
    border-radius: 8px;
    overflow: hidden;
    padding: 10px 0;
    margin-top: 5px;
}

.main-nav .sub-menu a {
    color: var(--text) !important;
    padding: 10px 20px;
    border-radius: 0;
    display: block;
}

.main-nav .sub-menu a:hover {
    color: var(--primary) !important;
    background-color: var(--light-bg);
}

.main-nav .sub-menu li {
    position: relative;
    width: 100%;
}

.main-nav .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.02);
}

.main-nav .sub-menu li:hover>.sub-menu {
    max-height: 500px;
}

.main-nav .sub-menu .sub-menu a {
    padding-left: 35px;
    font-size: 0.85rem;
    opacity: 0.8;
}

.main-nav>ul>li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    top: 100%;
}
*/

/* ================= NEW MENU STYLES (RH) ================= */
.rh_menu {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: flex-end;
}

.mobile-toggle {
    display: none;
    /* Hidden by default on desktop */
    font-size: 1.6rem;
    cursor: pointer;
    color: var(--dark);
    margin-left: 20px;
}

header.scrolled .mobile-toggle {
    color: var(--dark);
}

.rh_menu__main {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.rh_menu__main>li>a {
    color: var(--dark);
    /* Dark by default on solid header */
    font-weight: 600;
    text-decoration: none;
    font-size: 0.85rem;
    /* Reduced font size */
    padding: 10px 15px;
    display: block;
    font-family: 'Montserrat', sans-serif;
    transition: color 0.3s ease;
}

header.scrolled .rh_menu__main>li>a,
body:not(.home) .rh_menu__main>li>a {
    color: var(--dark);
    /* Dark on scrolled or other pages */
}

.rh_menu__main>li>a:hover {
    color: var(--primary);
}

/* Hover effect when header is transparent (Top 0) */
header:not(.scrolled) .rh_menu__main>li>a:hover {
    background-color: var(--primary);
    color: var(--white);
    border-radius: 4px;
}

/* Submenu Container */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 240px;
    z-index: 1000;
    padding: 10px 0;
    border-radius: 4px;
    list-style: none;
    border-top: 3px solid var(--primary);
}

.rh_menu__main li {
    position: relative;
}

/* Show Submenu on Hover */
.rh_menu__main li:hover>.sub-menu,
.sub-menu li:hover>.sub-menu {
    display: block;
}

/* Vertical Items */
.sub-menu li {
    display: block;
    width: 100%;
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s;
}

.sub-menu li:last-child a {
    border-bottom: none;
}

.sub-menu li a:hover {
    background-color: #f9f9f9;
    color: var(--primary);
    padding-left: 25px;
    /* Subtle movement */
}

/* 3rd Level Submenu */
.sub-menu .sub-menu {
    left: 100%;
    top: 0;
    margin-top: -10px;
}

/* WhatsApp / User Section */
.rh_menu__user {
    display: flex;
    align-items: center;
    margin-left: 25px;
    padding-left: 25px;
}

header.scrolled .rh_menu__user,
body:not(.home) .rh_menu__user {
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

/* WhatsApp / User Section stays visible */

.rh_menu__user_phone {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rh_menu__user_phone a {
    color: var(--dark);
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
}

header.scrolled .rh_menu__user_phone a,
body:not(.home) .rh_menu__user_phone a {
    color: var(--dark);
}

.icon-whatsapp {
    fill: var(--primary);
    width: 24px;
    height: 24px;
    transition: fill 0.3s;
}

header.scrolled .icon-whatsapp,
body:not(.home) .icon-whatsapp {
    fill: var(--primary);
    /* Green or Primary */
}

.rh_menu__user_phone:hover .icon-whatsapp {
    fill: #25D366;
    /* WhatsApp Green on hover */
}


/* ================= CARRUSEL HERO ================= */
.hero-slider {
    height: 515px;
    position: relative;
    overflow: hidden;
    background: #fff;
    margin-top: 100px;
    /* Alineación perfecta con el header */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 8s linear;
    transform: scale(1);
}

.slide.active {
    opacity: 1;
    transform: scale(1.05);
    z-index: 1;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: left;
    color: white;
    width: 100%;
    max-width: 1240px;
    padding: 0 24px;
}

.slide-content h2 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    line-height: 1.1;
    letter-spacing: -1.5px;
    animation: fadeInUp 1s ease;
    max-width: 650px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Controles Slider */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.slider-nav-btn:hover {
    background: var(--white);
    color: var(--primary);
}

.slider-nav-btn.prev {
    left: 30px;
}

.slider-nav-btn.next {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    background: transparent;
}

.dot.active {
    background: var(--white);
    border-color: var(--white);
    transform: scale(1.2);
}

/* ================= STATS COUNTER ================= */
.stats-counter {
    background-color: #1a1a1a;
    padding: 30px 0;
    /* Reduced padding */
    margin-top: 15px;
    /* Small margin with carousel */
    margin-bottom: 30px;
    /* Double the top margin, as requested */
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-num-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 3rem;
    /* Reduced from 4.5rem */
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
}

.stat-plus {
    font-size: 2.2rem;
    /* Reduced from 3rem */
    font-weight: 800;
    color: var(--primary);
    margin-left: 5px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

@media (max-width: 768px) {
    .stats-counter {
        padding: 50px 0;
    }

    .stat-number {
        font-size: 3.5rem;
    }

    .stat-plus {
        font-size: 2.5rem;
    }
}

/* ================= SECCIONES GENERALES ================= */
.propiedades-section {
    padding: 40px 0;
    background-color: var(--white);
}

.bg-light {
    background-color: var(--light-bg);
}

.propiedades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

/* TARJETAS DE PROPIEDAD */
.property-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.property-image {
    height: 260px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.property-card:hover .property-image img {
    transform: scale(1.08);
}

.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary);
    /* Default color */
    color: var(--white) !important;
    padding: 6px 16px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.5px;
    display: inline-block;
}

.property-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-content h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.5;
    font-weight: 600;
}

.property-content h3 a {
    color: var(--dark);
    text-decoration: none;
    transition: 0.2s;
}

.property-content h3 a:hover {
    color: var(--primary);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--gray-border);
}

.property-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.25rem;
}

.property-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.ver-todas-btn {
    text-align: center;
    margin-top: 20px;
}

/* ================= DESTACADAS ================= */
.destacadas-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.destacadas-slider {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
    height: 500px;
}

.destacada-slide {
    display: none;
    width: 100%;
    height: 100%;
}

.destacada-slide.active {
    display: flex;
    animation: slideIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.destacada-imagen {
    flex: 0 0 55%;
    position: relative;
    overflow: hidden;
}

.destacada-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destacada-contenido {
    flex: 1;
    padding: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.destacada-tipo {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.detalles-tabla {
    margin: 25px 0;
    width: 100%;
    font-size: 0.95rem;
}

.detalles-tabla td {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.detalles-tabla td:first-child {
    font-weight: 600;
    color: var(--dark);
    width: 35%;
}

/* Botones Navegación Destacadas (Laterales) */
.destacadas-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid #eee;
}

.destacadas-nav-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 10px 25px rgba(234, 114, 61, 0.4);
}

.destacadas-nav-btn.prev {
    left: -30px;
}

.destacadas-nav-btn.next {
    right: -30px;
}

/* ================= SOBRE NOSOTROS ================= */
.sobre-content {
    background: var(--white);
    border-radius: 20px;
    padding: 60px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.sobre-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary);
}

.sobre-highlight {
    background: #fff5f0;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
    font-style: italic;
    color: var(--dark);
}

.contacto-item h4 {
    color: var(--primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* ================= VENDER / COMPRAR ================= */
.vender-comprar-hero {
    position: relative;
    background-image: url('../img/slider/2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 100px 0;
    color: white;
    text-align: center;
}

.vender-comprar-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--vender-overlay, linear-gradient(135deg, rgba(234, 114, 61, 0.8) 0%, rgba(30, 115, 190, 0.8) 100%));
}

.vender-comprar-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.vender-comprar-content h2 {
    color: white;
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 800;
}

.vender-comprar-content p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    font-weight: 300;
    opacity: 0.9;
}

.vender-comprar-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* ================= EXTERIOR ================= */
.exterior-hero {
    position: relative;
    background-image: url('https://danielbrarda.com.ar/wp-content/uploads/2020/10/IMG_3686-01-scaled.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 60px 0;
    color: white;
    text-align: center;
}

.exterior-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--exterior-overlay, rgba(10, 25, 40, 0.7));
}

.exterior-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.exterior-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.exterior-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

/* ================= NOTICIAS ================= */
.noticia-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.noticia-date {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    font-weight: 600;
}

.noticia-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* ================= FOOTER ================= */
footer {
    background: var(--dark);
    color: #ccc;
    padding: 40px 0 20px;
    font-size: 0.9rem;
    border-top: 5px solid var(--primary);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* ================= MEDIA QUERIES ================= */
@media (max-width: 1200px) {
    .destacadas-nav-btn.prev {
        left: -10px;
    }

    .destacadas-nav-btn.next {
        right: -10px;
    }
}

@media (max-width: 992px) {
    .main-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        display: none;
        padding: 20px;
    }

    .main-menu.active {
        display: block;
        animation: fadeIn 0.3s;
    }

    .rh_menu__main {
        /* Was .main-nav ul */
        flex-direction: column;
        gap: 0;
    }

    .rh_menu__main>li>a {
        /* Was .main-nav a */
        color: var(--dark);
        padding: 15px;
    }

    .rh_menu__main>li>a:hover {
        color: var(--primary);
        background: #f5f5f5;
    }

    /* Submenus on mobile */
    .sub-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        display: none;
        border-top: none;
    }

    /* Show submenu on click/hover logic needs JS or CSS */
    .rh_menu__main li:hover>.sub-menu {
        display: block;
    }

    .mobile-toggle {
        display: block;
    }

    .slide-content h2 {
        font-size: 2.2rem;
    }

    .destacada-slider {
        height: auto;
    }

    .destacada-slide {
        flex-direction: column;
        height: auto;
    }

    .destacada-imagen {
        height: 300px;
        flex: none;
        width: 100%;
    }

    .destacada-contenido {
        padding: 30px;
    }

    .destacadas-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        top: auto;
        bottom: 50%;
    }

    .destacadas-container {
        padding-bottom: 60px;
    }

    .destacadas-nav-btn.prev {
        left: 10px;
        bottom: 10px;
        top: auto;
        transform: none;
    }

    .destacadas-nav-btn.next {
        right: 10px;
        bottom: 10px;
        top: auto;
        transform: none;
    }
}

/* MODAL */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #fff;
    width: 95%;
    max-width: 900px;
    height: 80vh;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.modal-header {
    padding: 15px 25px;
    background: var(--dark);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.modal-tab {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: 600;
    color: #888;
    transition: 0.3s;
}

.modal-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background: #fff;
}

.modal-body {
    flex: 1;
    position: relative;
}

.modal-tab-content {
    display: none;
    height: 100%;
}

.modal-tab-content.active {
    display: block;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ================= CONTACT PAGE STYLES (RH) ================= */
.rh_page__contact {
    padding: 80px 0;
}

.rh_contact {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 40px;
}

.rh_contact__wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.rh_contact__form {
    flex: 1 1 600px;
    padding: 50px;
}

.rh_contact__details {
    flex: 0 0 400px;
    background: var(--light-bg);
    padding: 50px;
    border-left: 1px solid var(--gray-border);
}

.rh_contact__map {
    width: 100%;
    height: 400px;
    background: #eee;
}

.rh_contact__item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.rh_contact__item .icon {
    flex: 0 0 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.rh_contact__item .icon svg {
    fill: currentColor;
    width: 20px;
    height: 20px;
}

.rh_contact__item .content .label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 5px;
}

.rh_contact__item .content {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.5;
}

.rh_contact__item .content a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.rh_contact__item .content a:hover {
    color: var(--primary);
}

/* Form Styling */
.contact-form {
    display: grid;
    gap: 20px;
}

.rh_contact__input {
    margin: 0;
}

.rh_contact__input label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.rh_contact__input input[type="text"],
.rh_contact__input textarea {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid var(--gray-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.rh_contact__input input:focus,
.rh_contact__input textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(234, 114, 61, 0.1);
}

.rh_contact__submit {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.rh_btn--primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rh_btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(234, 114, 61, 0.3);
}

#ajax-loader {
    display: none;
}

@media (max-width: 992px) {
    .rh_contact__details {
        flex: 1 1 100%;
        border-left: none;
        border-top: 1px solid var(--gray-border);
    }
}

@media (max-width: 768px) {
    .rh_contact__form {
        padding: 30px;
    }
}