:root {
    --primary: #0d9488;
    --primary-dark: #0f766e;
    --primary-light: #e0f7f4;
    --accent: #d97706;
    --dark: #0f172a;
    --light: #ffffff;
    --alt: #f0fdfa;
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    --section-title-color: var(--dark);
    /* Una sola fuente global: body, títulos, botones y todo el texto del index */
    --btn-font: var(--font-family);
    --hero-title-font: var(--font-family);
    --elegant-title-font: var(--font-family);

    /* Breakpoints */
    --bp-xl: 1200px;
    --bp-lg: 992px;
    --bp-md: 768px;
    --bp-sm: 576px;
    --bp-xs: 420px;
}

/* ================= RESET ================= */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    margin: 0;
    width: 100%;
    font-family: var(--font-family);
    color: var(--dark);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdfa 50%, #e0f2f1 100%);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.6;
}

#app {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

/* ================= CONTAINER ================= */
.container {
    width: 92%;
    max-width: min(1400px, 95vw);
    margin: auto;
    padding-left: clamp(0.75rem, 2vw, 2rem);
    padding-right: clamp(0.75rem, 2vw, 2rem);
    box-sizing: border-box;
    position: relative;
    overflow: visible;
}

/* Asegurar que las secciones con carrusel tengan suficiente espacio */
.section .container {
    position: relative;
    overflow: visible;
}


/* Contenedor especial para secciones con carrusel - definido más abajo */


.text-center { text-align: center; }
.mb-4 { margin-bottom: clamp(30px, 5vh, 50px); }
.mb-5 { margin-bottom: clamp(50px, 8vh, 80px); }

h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 30px;
}

h3 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
}

h4 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
    line-height: 1.4;
}

/* ================= APPBAR ================= */
.appbar {
    position: fixed;
    width: 100%;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
    transform: scale(1);
    transform-origin: top center;
    will-change: transform;
}

.appbar__container {
    height: clamp(55px, 7vh, 70px);
    min-height: 55px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: clamp(0.75rem, 1.5vw, 2rem);
    padding: 0 clamp(0.75rem, 1.8vw, 2rem);
    position: relative;
    max-width: min(1400px, 100%);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: visible;
    flex-wrap: nowrap;
    isolation: isolate;
}

.appbar__logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    max-height: clamp(45px, 7vh, 65px);
    margin-left: 0;
    z-index: 1001;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: clamp(90px, 12vw, 160px);
    max-width: clamp(110px, 14vw, 180px);
    overflow: hidden;
}
.appbar__logo-link {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.appbar__logo img {
    height: clamp(40px, 5.5vh, 55px);
    width: auto;
    max-width: 100%;
    min-width: 90px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.appbar__logo-icon {
    font-size: clamp(28px, 4.5vw, 42px);
    color: var(--primary);
    display: block;
}

.appbar__logo2 img {
    height: 100px;
    width: 100px;
    display: block;
    margin-left: 50px;
    margin-top: -50;
}


.appbar__nav {
    display: flex;
    align-items: center;
    gap: clamp(0.2rem, 0.4vw, 0.5rem);
    position: relative;
    flex-wrap: nowrap;
    overflow: visible;
    flex: 1 1 auto;
    justify-content: flex-end;
    max-width: calc(100% - clamp(110px, 15vw, 200px));
    min-width: 0;
}

.appbar__nav > a {
    margin-left: clamp(4px, 0.8vw, 20px);
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    position: relative;
    padding: clamp(4px, 0.7vh, 8px) clamp(5px, 0.9vw, 12px);
    font-size: clamp(0.7rem, 1vw + 0.3rem, 0.95rem);
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
    max-width: fit-content;
}

.appbar__nav > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .3s;
}

.appbar__nav > a:hover {
    color: var(--primary);
}

.appbar__nav > a:hover::after {
    width: 100%;
}

.appbar__nav > a.appbar__login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    min-width: 38px;
    padding: 0;
    background: linear-gradient(135deg, #b8860b, #c9a227);
    color: #fff;
    border-radius: 10px;
    margin-left: clamp(12px, 2vw, 24px);
    border: 1px solid rgba(255,255,255,0.3);
    text-decoration: none;
    transition: all 0.2s ease;
}
.appbar__nav > a.appbar__login::after {
    display: none;
}
.appbar__nav > a.appbar__login:hover {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: #fff;
    transform: translateY(-1px);
}
.appbar__nav > a.appbar__login i {
    font-size: 1rem;
}

/* Appbar sobre hero Coming Soon: transparente arriba, sólido al hacer scroll */
body.hero-coming-soon-active .appbar {
    background: transparent !important;
    border-bottom: none !important;
    box-shadow: none !important;
}
body.hero-coming-soon-active .appbar .appbar__logo {
    margin-left: var(--hero-logo-offset-x, 0);
    margin-top: var(--hero-logo-offset-y, 0);
}
body.hero-coming-soon-active .appbar .appbar__nav > a,
body.hero-coming-soon-active .appbar .appbar__nav .dropdown-toggle,
body.hero-coming-soon-active .appbar .appbar__logo-icon,
body.hero-coming-soon-active .appbar .appbar__logo-link {
    color: var(--appbar-over-hero-link, #ffffff) !important;
}
body.hero-coming-soon-active .appbar .appbar__nav > a::after,
body.hero-coming-soon-active .appbar .appbar__nav .dropdown-toggle::after {
    background: var(--appbar-over-hero-hover, #ffffff) !important;
}
body.hero-coming-soon-active .appbar .appbar__nav > a:hover,
body.hero-coming-soon-active .appbar .appbar__nav .dropdown-toggle:hover,
body.hero-coming-soon-active .appbar .appbar__nav .dropdown:hover .dropdown-toggle {
    color: var(--appbar-over-hero-hover, #ffffff) !important;
}
body.hero-coming-soon-active .appbar.appbar--scrolled {
    background: var(--appbar-scrolled-bg, #e8e6b8) !important;
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
}
body.hero-coming-soon-active .appbar.appbar--scrolled .appbar__nav > a,
body.hero-coming-soon-active .appbar.appbar--scrolled .appbar__nav .dropdown-toggle,
body.hero-coming-soon-active .appbar.appbar--scrolled .appbar__logo-icon,
body.hero-coming-soon-active .appbar.appbar--scrolled .appbar__logo-link {
    color: var(--appbar-scrolled-link, var(--dark, #2d2b28)) !important;
}
body.hero-coming-soon-active .appbar.appbar--scrolled .appbar__nav > a::after,
body.hero-coming-soon-active .appbar.appbar--scrolled .appbar__nav .dropdown-toggle::after {
    background: var(--appbar-scrolled-link-hover, var(--primary, #0d9488)) !important;
}
body.hero-coming-soon-active .appbar.appbar--scrolled .appbar__nav > a:hover,
body.hero-coming-soon-active .appbar.appbar--scrolled .appbar__nav .dropdown-toggle:hover,
body.hero-coming-soon-active .appbar.appbar--scrolled .appbar__nav .dropdown:hover .dropdown-toggle {
    color: var(--appbar-scrolled-link-hover, var(--primary, #0d9488)) !important;
}

/* ================= DROPDOWN MENU ================= */
.dropdown {
    position: relative;
    margin-left: clamp(4px, 0.8vw, 20px);
    flex-shrink: 0;
    min-width: fit-content;
    max-width: fit-content;
}

/* Crear un área invisible entre el botón y el menú para mantener el hover activo */
.dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -10px;
    width: calc(100% + 20px);
    height: clamp(12px, 1.5vh, 15px);
    background: transparent;
    z-index: 1000;
    pointer-events: all;
}

/* Mismo color que el resto del menú; evita que el <a> use el azul por defecto del navegador */
.appbar__nav .dropdown-toggle {
    color: var(--dark);
}
.dropdown-toggle {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    padding: clamp(4px, 0.7vh, 8px) clamp(5px, 0.9vw, 12px);
    font-size: clamp(0.7rem, 1vw + 0.3rem, 0.95rem);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: clamp(2px, 0.4vw, 4px);
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: fit-content;
    max-width: fit-content;
}

.dropdown-toggle i {
    font-size: clamp(0.6rem, 0.9vw + 0.1rem, 0.7rem);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

/* No mostrar raya/subrayado en el ítem desplegable */
.dropdown-toggle::after {
    display: none !important;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: clamp(12px, 1.5vw, 16px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    min-width: clamp(200px, 18vw, 240px);
    max-width: clamp(200px, 18vw, 280px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 1001;
    padding: clamp(10px, 1.2vh, 12px) 0;
    border: 1px solid rgba(34, 60, 168, 0.1);
    display: block;
    pointer-events: none;
    margin-top: clamp(8px, 1vh, 10px);
}

/* Crear un área de padding invisible en la parte superior del menú */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -10px;
    width: calc(100% + 20px);
    height: 15px;
    background: transparent;
    pointer-events: all;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
    pointer-events: all;
}

/* Mantener el menú visible cuando el cursor está sobre él */
.dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
}

.dropdown.active {
    z-index: 1002;
    position: relative;
}

/* Asegurar que cuando el cursor está sobre el menú, el dropdown sigue activo */
.dropdown:hover::after,
.dropdown.active::after,
.dropdown-menu:hover ~ .dropdown::after,
.dropdown.active::after {
    pointer-events: all;
}

/* Cuando el cursor está sobre el área de transición, mantener el dropdown activo */
.dropdown::after:hover {
    pointer-events: all;
}

/* Mejorar la conexión visual entre el botón y el menú */
.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu,
.dropdown::after:hover ~ .dropdown-menu,
.dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: all !important;
    display: block !important;
}

.dropdown:hover .dropdown-toggle,
.dropdown.active .dropdown-toggle {
    color: var(--primary);
}

/* ================= LANGUAGE SELECTOR (icono bandera + inicial, estilo pro) ================= */
.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: clamp(10px, 1.5vw, 24px);
    padding-left: clamp(10px, 1.5vw, 24px);
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    flex-shrink: 0;
}

.language-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px 10px 5px 6px;
    border-radius: 20px;
    color: var(--dark, #2d2b28);
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 0;
}

.language-btn__flag {
    width: 22px;
    height: 16px;
    border-radius: 3px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.04);
}

.language-btn__flag--svg {
    padding: 0;
    background: transparent;
}

.language-btn__flag--svg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.language-btn__label {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    pointer-events: none;
}

.language-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.14);
}

.language-btn.active {
    background: rgba(34, 60, 168, 0.08);
    border-color: var(--primary, #223ca8);
    color: var(--primary, #223ca8);
}

.language-btn.active .language-btn__flag {
    background: transparent;
}

.language-btn span {
    pointer-events: none;
}

/* Mobile styles para language selector */
@media (max-width: 992px) {
    .language-selector {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: clamp(14px, 2vh, 16px);
        margin-top: clamp(14px, 2vh, 16px);
        width: 100%;
        justify-content: center;
        gap: clamp(8px, 1.2vw, 12px);
    }
    
    .language-btn {
        flex: 1;
        max-width: clamp(120px, 18vw, 150px);
        font-size: clamp(0.8rem, 1.15vw + 0.2rem, 0.9rem);
        padding: clamp(8px, 1vh, 10px) clamp(12px, 2vw, 16px);
    }
}
}

.dropdown:hover .dropdown-toggle i,
.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: clamp(10px, 1.2vh, 12px) clamp(16px, 2vw, 24px);
    color: var(--dark);
    text-decoration: none;
    font-size: clamp(0.8rem, 1vw + 0.2rem, 0.9rem);
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.dropdown-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform 0.2s ease;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(34, 60, 168, 0.1), transparent);
    padding-left: 28px;
    color: var(--primary);
}

.dropdown-menu a:hover::before {
    transform: scaleY(1);
}

/* ================= HERO ================= */
.hero {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: clamp(70px, 11vh, 95px); /* espacio para appbar + separación del logo */
    padding-bottom: clamp(24px, 4vh, 40px); /* espacio para que los botones no queden pegados abajo */
    box-sizing: border-box;
}

.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Fondo del hero (soporta color, imagen, video dinámicos) */
.hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, #0d0f2e 100%);
}
.hero__bg .section-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__bg .section-bg--image {
    background-size: cover;
    background-position: center;
}
.hero__bg .section-bg--video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Carrusel de fondo del hero / sección (varias URLs): botones solo si hay más de una */
.section-bg--carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.section-bg--carousel .hero-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
}
.section-bg--carousel .hero-bg-slide.active {
    opacity: 1;
    z-index: 2;
}
.section-bg--carousel .hero-bg-slide--image {
    background-size: cover;
    background-position: center;
}
.section-bg--carousel .hero-bg-slide--video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-bg-carousel-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 clamp(12px, 2vw, 24px);
}
.hero-bg-carousel-btn {
    pointer-events: auto;
    width: clamp(44px, 5vw, 56px);
    height: clamp(44px, 5vw, 56px);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.25);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(16px, 2vw, 22px);
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.hero-bg-carousel-btn:hover {
    background: rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}
.hero-bg-carousel-btn:active {
    transform: scale(0.98);
}

/* Hero Coming Soon (overlay + tarjeta flotante): altura fija sin scroll; overflow visible para que la tarjeta no se corte y se vea entre las dos secciones */
.hero--coming-soon-overlay {
    min-height: 0;
    max-height: 600px;
    padding-top: clamp(88px, 12vh, 120px);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow: visible;
}
.hero--coming-soon-overlay__bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero--coming-soon-overlay__bg .section-bg--image {
    background-size: cover;
    background-position: center;
    filter: grayscale(1);
}
.hero--coming-soon-overlay__gradient {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 55%;
    min-height: 280px;
    z-index: 2;
    pointer-events: none;
}
.hero--coming-soon-overlay__coming-wrap {
    position: absolute;
    right: calc(clamp(1.5rem, 5vw, 3rem) - var(--hero-csc-block-offset-x, 0px));
    top: calc(50% + var(--hero-csc-block-offset-y, 0px));
    transform: translateY(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.hero--coming-soon-overlay__coming-inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(0.75rem, 2vw, 1.5rem);
}
.hero--coming-soon-overlay__coming-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--hero-csc-text, #3d3a35);
    transform: translate(var(--hero-csc-logo-only-offset-x, 0), var(--hero-csc-logo-only-offset-y, 0));
}
.hero--coming-soon-overlay__coming-icon img {
    height: var(--hero-csc-left-size, clamp(2rem, 5vw, 3.5rem));
    width: auto;
    max-width: var(--hero-csc-left-size, clamp(2rem, 5vw, 3.5rem));
    object-fit: contain;
    display: block;
}
.hero--coming-soon-overlay__coming-icon-i {
    font-size: var(--hero-csc-left-size, clamp(2rem, 5vw, 3.5rem));
    display: block;
}
.hero--coming-soon-overlay__coming-text {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.02em;
    text-align: right;
    text-shadow: 0 1px 2px rgba(255,255,255,0.4);
    white-space: pre-line;
}
.hero--coming-soon-overlay__card {
    position: relative;
    z-index: 4;
    width: 100%;
    max-width: min(900px, 92vw);
    margin: 0 auto;
    margin-top: auto;
    margin-bottom: -40px;
    padding: clamp(1.25rem, 2.5vw, 2rem) clamp(1.5rem, 3vw, 2.5rem);
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.08);
    box-sizing: border-box;
}
.hero--coming-soon-overlay__card--sticky {
    position: fixed;
    top: var(--hero-csc-card-sticky-top, 90px);
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    z-index: 1100;
}
.hero--coming-soon-overlay__card-title {
    margin: 0 0 0.35em;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--hero-csc-accent, #6b7c3d);
}
.hero--coming-soon-overlay__card-desc {
    margin: 0 0 1.25rem;
    font-size: clamp(0.9rem, 1.1vw, 1rem);
    color: #4a4844;
    line-height: 1.45;
}
.hero--coming-soon-overlay__card-fields {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0;
}
.hero--coming-soon-overlay__field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    flex: 1 1 140px;
    min-width: 0;
}
.hero--coming-soon-overlay__field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #4a4844;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
.hero--coming-soon-overlay__field-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    min-width: 0;
}
.hero--coming-soon-overlay__field i {
    color: #8a8782;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.hero--coming-soon-overlay__input {
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: #2d2b28;
    min-width: 0;
}
.hero--coming-soon-overlay__input::placeholder {
    color: #9a9792;
}

/* Campos date: diseño "en filita" (etiqueta + día grande + mes/año, mismo tamaño que el resto) */
.hero--coming-soon-overlay__field--date {
    align-items: center;
}
.hero--coming-soon-overlay__field--date .hero--coming-soon-overlay__field-inner {
    justify-content: center;
}
.hero--coming-soon-overlay__date-block {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    flex: 1;
    min-width: 0;
    min-height: 2.5rem;
    cursor: pointer;
}
.hero--coming-soon-overlay__date-day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: #2d2b28;
}
.hero--coming-soon-overlay__date-month {
    font-size: 0.75rem;
    font-weight: 400;
    color: #4a4844;
    line-height: 1.2;
}
.hero--coming-soon-overlay__input--date {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    margin: 0;
    padding: 0;
    pointer-events: none;
    z-index: 1;
}

.hero--coming-soon-overlay__sep {
    width: 1px;
    align-self: stretch;
    min-height: 24px;
    background: #ddd;
    flex-shrink: 0;
    margin: 0 0.25rem;
}
.hero--coming-soon-overlay__sep--chevron {
    width: auto;
    min-height: 0;
    background: none;
    margin: 0 0.35rem;
    font-size: 1rem;
    font-weight: 400;
    color: #b0ada8;
    align-self: center;
    line-height: 1;
}
.hero--coming-soon-overlay__search {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--hero-csc-accent, #6b7c3d);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero--coming-soon-overlay__search:hover {
    filter: brightness(1.08);
}
.hero--coming-soon-overlay__search i {
    font-size: 1.1rem;
}

/* Espacio para que el contenido de la sección no quede tapado por la tarjeta flotante (sobrescribe section--elegant-structure que pone padding-top: 0) */
.hero--coming-soon-overlay + section,
.hero--coming-soon-overlay + section.section--elegant,
.hero--coming-soon-overlay + section.section--elegant-structure {
    padding-top: calc(10px + 1rem) !important;
}
.hero--coming-soon-overlay + section .container {
    margin-top: 2rem;
}

/* Responsive: en móviles el bloque logo + COMMING SOON arriba, tamaños reducidos para que no quede detrás de la tarjeta */
@media (max-width: 768px) {
    .hero.hero--coming-soon-overlay {
        min-height: 100vh;
        padding-bottom: 1rem;
    }
    .hero--coming-soon-overlay__coming-wrap {
        right: clamp(0.75rem, 3vw, 1.5rem);
        left: clamp(0.75rem, 3vw, 1.5rem);
        top: 20%;
        transform: translateY(0);
        justify-content: center;
        align-items: center;
    }
    .hero--coming-soon-overlay__coming-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.35rem;
    }
    .hero--coming-soon-overlay__coming-icon {
        transform: none;
    }
    .hero--coming-soon-overlay__coming-icon img,
    .hero--coming-soon-overlay__coming-icon-i {
        max-height: clamp(2rem, 12vw, 3rem);
        font-size: clamp(2rem, 12vw, 3rem) !important;
    }
    .hero--coming-soon-overlay__coming-icon img {
        height: auto;
        max-width: clamp(2rem, 12vw, 3rem);
    }
    .hero--coming-soon-overlay__coming-text {
        text-align: center;
        width: 100%;
        font-size: clamp(1.15rem, 5.5vw, 1.85rem);
        line-height: 1.2;
    }
    .hero--coming-soon-overlay__card {
        margin-top: auto;
        padding: clamp(1rem, 3vw, 1.5rem);
    }
    .hero--coming-soon-overlay__card-title {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
    }
    /* Tarjeta en 2 columnas alineadas en móvil */
    .hero--coming-soon-overlay__card-fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem 1rem;
        align-items: start;
    }
    .hero--coming-soon-overlay__card-fields .hero--coming-soon-overlay__field {
        flex: none !important;
        min-width: 0 !important;
        max-width: none !important;
        width: 100% !important;
    }
    .hero--coming-soon-overlay__card-fields .hero--coming-soon-overlay__sep {
        display: none;
    }
    .hero--coming-soon-overlay__card-fields .hero--coming-soon-overlay__search {
        grid-column: 1 / -1;
        justify-self: start;
        margin-top: 0.25rem;
    }
}
@media (min-width: 769px) and (max-width: 992px) {
    .hero--coming-soon-overlay__coming-wrap {
        right: max(clamp(1rem, 4vw, 2rem) - var(--hero-csc-block-offset-x, 0px), 0.5rem);
        top: calc(50% + var(--hero-csc-block-offset-y, 0px));
    }
    .hero--coming-soon-overlay__coming-icon {
        transform: translate(
            clamp(-80px, var(--hero-csc-logo-only-offset-x, 0), 80px),
            clamp(-60px, var(--hero-csc-logo-only-offset-y, 0), 60px)
        );
    }
}

/* Fondos dinámicos para secciones (habitaciones, precios, etc.) */
.section-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.section .section-bg-wrap .section-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.section .section-bg-wrap .section-bg--image {
    background-size: cover;
    background-position: center;
}
.section .section-bg-wrap .section-bg--video video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section .section-bg-wrap .section-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}
.section {
    position: relative;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
}
.section .container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(19, 20, 69, 0.92) 0%,
        rgba(19, 20, 69, 0.82) 30%,
        rgba(19, 20, 69, 0.65) 55%,
        rgba(19, 20, 69, 0.35) 80%,
        rgba(19, 20, 69, 0.1) 100%
    );
    z-index: 2;
}

.hero__container {
    position: relative;
    z-index: 3;
    max-width: min(1400px, 95vw);
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 2rem);
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    height: 100%;
    box-sizing: border-box;
}
.hero__container[data-hero-align-x="center"] { justify-content: center; }
.hero__container[data-hero-align-x="end"] { justify-content: flex-end; }
.hero__container[data-hero-align-y="center"] { align-items: center; }
.hero__container[data-hero-align-y="end"] { align-items: flex-end; }

.hero__left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    padding: 12px 0;
    max-width: 560px;
    min-height: 0;
    gap: 0;
}
.hero__left[data-hero-direction="row"] {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    gap: clamp(16px, 2.5vw, 24px);
}
.hero__left[data-hero-content-align="center"] { align-items: center; text-align: center; }
.hero__left[data-hero-content-align="end"] { align-items: flex-end; text-align: right; }

.hero__right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero__logo {
    margin-top: 8px; /* separación extra respecto al header */
    margin-bottom: 10px;
    flex-shrink: 0;
}

.hero__logo img {
    max-width: 140px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6));
    animation: float 6s ease-in-out infinite;
}

.hero__logo-icon {
    font-size: clamp(2rem, 5vw, 3.25rem);
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero__title {
    font-size: clamp(1.1rem, 2.6vw, 1.6rem);
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    /*text-shadow: 0 4px 25px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 0, 0, 0.6);*/
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.15;
    max-width: 480px;
    word-wrap: break-word;
}

.hero__subtitle {
    font-size: clamp(0.8rem, 1.4vw, 0.95rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 0, 0, 0.5);
    max-width: 450px;
    line-height: 1.35;
}

.hero__buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-top: 8px;
    margin-bottom: 8px; /* separación para que no queden pegados al borde inferior */
}

.hero__buttons .btn {
    padding: 12px 28px;
    font-size: clamp(0.8rem, 1.4vw, 0.95rem);
}

/* ================= HERO ESTILO MARCAS (minimal / Cartagena Legendaria) ================= */
.hero--brands {
    background: #fafafa !important;
    min-height: 80vh;
    padding-top: clamp(80px, 12vh, 120px);
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
}
.hero--brands[data-hero-brands-align-x="center"] { align-items: center; }
.hero--brands[data-hero-brands-align-x="end"] { align-items: flex-end; }
.hero--brands[data-hero-brands-align-y="center"] .hero--brands__container { margin-top: auto; margin-bottom: auto; }
.hero--brands[data-hero-brands-align-y="end"] .hero--brands__container { margin-top: auto; margin-bottom: 0; }
.hero--brands__bg {
    background: #ffffff !important;
}
.hero--brands .hero__bg .section-bg--color {
    background: #ffffff !important;
}
.hero--brands__container {
    position: relative;
    z-index: 3;
    max-width: min(1200px, 92vw);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 3vw, 2.5rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
    min-height: 50vh;
    width: 100%;
    box-sizing: border-box;
}
.hero--brands__container[data-hero-brands-direction="column"] {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
}
.hero--brands__container[data-hero-brands-order="right"] .hero--brands__left { order: 2; }
.hero--brands__container[data-hero-brands-order="right"] .hero--brands__right { order: 1; }
.hero--brands__container[data-hero-brands-content-align="center"] .hero--brands__left { text-align: center; }
.hero--brands__container[data-hero-brands-content-align="end"] .hero--brands__left { text-align: right; }
.hero--brands__container[data-hero-brands-content-align="start"] .hero-brands-row { justify-content: flex-start; }
.hero--brands__container[data-hero-brands-content-align="center"] .hero-brands-row { justify-content: center; }
.hero--brands__container[data-hero-brands-content-align="end"] .hero-brands-row { justify-content: flex-end; }
.hero--brands__left {
    text-align: left;
}
.hero--brands__title {
    font-family: var(--hero-title-font, 'Playfair Display', serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--hero-title-color, #3d3a35);
    line-height: 1.15;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.02em;
}
.hero--brands__subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    color: var(--hero-subtitle-color, #5c5852);
    margin: 0;
    line-height: 1.4;
    max-width: 420px;
}
.hero--brands__right {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-brands-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}
.hero-brand {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 0 clamp(1rem, 2vw, 1.5rem);
}
.hero-brand__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    transition: opacity 0.25s ease;
}
.hero-brand__link:hover {
    opacity: 0.85;
}
.hero-brand__media {
    flex-shrink: 0;
    margin-bottom: 0;
}
.hero-brand__text {
    text-align: left;
}
/* El tamaño lo define el contenedor .hero-brand__media (inline) o por defecto aquí */
.hero-brand__media:not([style*="width"]) {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-brand__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hero-brand__icon {
    font-size: 2rem;
    color: var(--hero-icon-color, #3d3a35);
}
.hero-brand__title {
    display: block;
    font-size: clamp(0.75rem, 1vw, 0.9rem);
    font-weight: 700;
    color: var(--hero-icon-color, #3d3a35);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hero-brand__subtitle {
    display: block;
    font-size: clamp(0.65rem, 0.85vw, 0.8rem);
    color: var(--hero-icon-color, #5c5852);
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 0.15rem;
}
.hero-brand-divider {
    width: 1px;
    height: 48px;
    background: var(--hero-icon-color, #c9c5be);
    opacity: 0.5;
    flex-shrink: 0;
}
.hero--brands__bottom {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 8px;
    margin-top: auto;
    min-height: 8px;
}
@media (max-width: 768px) {
    .hero--brands__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    .hero--brands__left {
        text-align: center;
    }
    .hero--brands__right {
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    .hero--brands__subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    .hero-brand-divider {
        display: none;
    }
    .hero-brands-row {
        flex-direction: column;
        gap: 1.25rem;
        width: auto;
        max-width: 100%;
        align-items: center;
        justify-content: center;
    }
    .hero-brand {
        padding: 0.75rem 1rem;
        width: auto;
        max-width: 100%;
        justify-content: center;
    }
    .hero-brand__link {
        gap: 0.75rem;
    }
}

.btn {
    font-family: var(--btn-font);
    padding: clamp(12px, 2vh, 18px) clamp(28px, 4vw, 44px);
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1vw, 10px);
    font-size: clamp(0.85rem, 1.3vw, 0.95rem);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.btn-primary {
    font-family: var(--btn-font);
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary::before {
    display: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.45);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-primary:hover::before {
    display: none;
}

.btn-primary::after {
    display: none;
}

.btn-primary:hover::after {
    display: none;
}

.btn-secondary {
    font-family: var(--btn-font);
    letter-spacing: 0.12em;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-secondary::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 400px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 24px 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 6px;
    background: linear-gradient(135deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.3;
}

.floating-elements {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.floating-element {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 60, 168, 0.1), rgba(63, 94, 251, 0.1));
    filter: blur(60px);
    animation: floatElement 20s ease-in-out infinite;
    opacity: 0.5;
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 60%;
    animation-delay: 2s;
}

@keyframes floatElement {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(50px, -50px) scale(1.2);
    }
    66% {
        transform: translate(-50px, 50px) scale(0.8);
    }
}

.container_hero {
    position: absolute;
    bottom: -20px;
    right: -7%;
    padding: 40px 10px;
    width: 300px;
    z-index: 2;
    text-align: right;
}

/* ================= SECTIONS ================= */
.section {
    padding: clamp(60px, 10vh, 120px) 0;
    position: relative;
    overflow: visible;
}


/* ================= COLORS DE FONDO ALTERNADOS ================= */
/* Color 1: Blanco/claro (gradiente suave) */
.section--bg1 {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
    position: relative;
    color: var(--dark);
}

/* Color 2: Azul oscuro (como diferenciadores) */
.section--bg2 {
    background: radial-gradient(circle at top, #1c1d50, #0f102f);
    color: var(--light);
    position: relative;
}

.section--bg2 h2,
.section--bg2 h3,
.section--bg2 h4,
.section--bg2 h5,
.section--bg2 h6,
.section--bg2 p,
.section--bg2 .section-title,
.section--bg2 .section-text {
    color: var(--light);
}

.section--bg2 .section-tag {
    color: rgba(255, 255, 255, 0.8);
}

.section--bg2 .section-tag--light {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Color 3: Gris azulado medio (color intermedio) */
.section--bg3 {
    background: linear-gradient(180deg, #e8ecf5 0%, #d4dae8 100%);
    position: relative;
    color: var(--dark);
}

.section--alt {
    background: linear-gradient(180deg, #f4f6fb 0%, #ffffff 100%);
    position: relative;
}

.section--alt::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(34, 60, 168, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(63, 94, 251, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.section--dark {
    background: radial-gradient(circle at top, #1c1d50, #0f102f);
    color: var(--light);
    position: relative;
}

.section--dark::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(63, 94, 251, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(34, 60, 168, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* ================= GRIDS ================= */
.grid-3, .grid-producto {
    display: grid;
    gap: clamp(20px, 3vw, 40px);
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-producto { grid-template-columns: repeat(2, 1fr); }

/* ================= CARD 3D ================= */
.card {
    background: var(--light);
    padding: clamp(25px, 4vw, 50px) clamp(20px, 3.5vw, 45px);
    border-radius: clamp(16px, 2.5vw, 28px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1), 0 5px 15px rgba(0,0,0,0.08);
    transform-style: preserve-3d;
    transition: all .6s cubic-bezier(.16,1,.3,1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: visible;
    margin: clamp(20px, 3vw, 50px);
    
}

.card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(34, 60, 168, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-15px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15), 0 10px 25px rgba(34, 60, 168, 0.2);
}


.card.dark {
    background: linear-gradient(180deg, var(--primary-dark), var(--dark));
    color: white;
}

.card.centered { text-align: center; }

.card img {
    width: 100%;
    height: clamp(180px, 25vh, 280px);
    object-fit: cover;
    border-radius: clamp(12px, 2vw, 20px);
    margin-bottom: clamp(20px, 3vh, 30px);
    transform: translateZ(30px);
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: translateZ(30px) scale(1.05);
}

.circle-img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* ================= STEPS ================= */
.step {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 500;
    transition: transform .3s;
    margin-bottom: 10px;
}

.step:hover { transform: translateX(10px); }

.step span {
    min-width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================= REVEAL ================= */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all .9s cubic-bezier(.16,1,.3,1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================= CONTACTO & FOOTER ================= */
/* Todos los botones de la sección contacto usan colores del tema (configurables en Admin → Fondos → Colores del sitio) */
#contacto button {
    font-family: var(--btn-font) !important;
    letter-spacing: 0.1em !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    transition: transform .3s ease, box-shadow .3s ease;
}

#contacto button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.35);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
    color: #fff !important;
}

/* ================= FOOTER ================= */
.footer {
    border-top: 2px solid rgba(0,0,0,0.08);
    background: linear-gradient(180deg, #fffdfd, #ffffff);
    padding: clamp(40px, 5vw, 64px) 0 0;
    font-size: 14px;
    color: #333;
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
/* Ajuste por número de columnas visibles: reparten el espacio por igual */
.footer__grid[data-columns="1"] { grid-template-columns: 1fr; }
.footer__grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.footer__grid[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
.footer__grid[data-columns="4"] { grid-template-columns: repeat(4, 1fr); }
.footer__grid[data-columns="5"] { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 768px) {
    .footer__grid[data-columns="2"],
    .footer__grid[data-columns="3"],
    .footer__grid[data-columns="4"],
    .footer__grid[data-columns="5"] { grid-template-columns: 1fr; }
}

.footer__logo {
    width: 140px;
    margin-bottom: 16px;
}

.footer__logo-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 16px;
    display: block;
}

.footer__desc {
    line-height: 1.6;
    color: #555;
}

.footer__col h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e1f4b;
}

.footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__col ul li {
    margin-bottom: 8px;
    color: #555;
}

.footer__col ul li a {
    color: #2c2d8a;
    text-decoration: none;
    transition: color .2s ease;
}

.footer__col ul li a:hover {
    color: #000;
}

/* BARRA INFERIOR */
.footer__bottom {
    margin-top: 40px;
    padding: 16px 0;
    text-align: center;
    border-top: 0px solid rgba(0,0,0,0.08);
    background-color: transparent;
    font-size: 13px;
    color: #666;
}

/* Redes sociales - footer y tarjetas */
.footer__social .social-icons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.footer__social h5 { margin-bottom: 12px; }
.social-icons { display: inline-flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.06); color: #555; transition: all 0.2s ease; text-decoration: none; }
.social-link:hover { background: #94a3b8; color: #fff; }
.card-social-wrap { margin: 12px 0 10px; }
.card-social-wrap .social-icons { gap: 6px; }
.card-social-wrap .social-link { width: 32px; height: 32px; font-size: 0.9rem; }

/* ================= MENU MOBILE & MEDIA QUERIES ================= */
.appbar__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: clamp(8px, 1vh, 12px);
    flex-shrink: 0;
    z-index: 1002;
    position: relative;
}

.appbar__toggle span {
    width: clamp(22px, 3vw, 26px);
    height: clamp(2.5px, 0.4vh, 3px);
    margin: clamp(4px, 0.6vh, 5px) 0;
    background: var(--dark);
    display: block;
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .section { padding: 70px 0; }
    .grid-3, .grid-producto { grid-template-columns: repeat(2, 1fr); }
    .appbar__toggle { 
        display: block;
        z-index: 1001;
        position: relative;
    }
    
    .appbar__toggle span {
        transition: all 0.3s ease;
    }
    
    .appbar__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(clamp(6px, 1vw, 8px), clamp(6px, 1vw, 8px));
    }
    
    .appbar__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .appbar__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(clamp(5px, 0.9vw, 7px), clamp(-5px, -0.9vw, -7px));
    }
    
    .appbar__nav {
        position: fixed;
        top: clamp(55px, 7vh, 70px);
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        display: none;
        flex-direction: column;
        padding: clamp(16px, 2.5vh, 20px) 0;
        max-height: calc(100vh - clamp(55px, 7vh, 70px));
        overflow-y: auto;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .appbar__nav.active { 
        display: flex;
    }
    
    .appbar__nav > a {
        padding: clamp(14px, 2vh, 16px) clamp(20px, 3vw, 24px);
        margin-left: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: clamp(0.85rem, 1.2vw + 0.2rem, 0.95rem);
    }
    
    .dropdown {
        margin-left: 0;
        width: 100%;
    }
    
    .dropdown-toggle {
        padding: clamp(14px, 2vh, 16px) clamp(20px, 3vw, 24px);
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: clamp(0.85rem, 1.2vw + 0.2rem, 0.95rem);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        box-shadow: none;
        background: rgba(244, 246, 251, 0.5);
        border-radius: 0;
        padding: 0;
        margin-top: 0;
        display: none;
        border: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        min-width: 100%;
        max-width: 100%;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu a {
        padding: clamp(10px, 1.5vh, 12px) clamp(36px, 6vw, 48px);
        font-size: clamp(0.8rem, 1.1vw + 0.2rem, 0.9rem);
    }
}

@media (max-width: 576px) {
    .hero { min-height: auto; padding: 120px 0 60px; }
    .grid-3, .grid-producto { grid-template-columns: 1fr; }
    .card { padding: 25px; }
}

/* ===============================
   CARRUSEL CON BOTONES
================================ */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    gap: 40px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;

}

.carousel-slide .card {
    flex: 0 0 calc((100% - 80px) / 3);
    min-width: calc((100% - 80px) / 3);
    max-width: calc((100% - 80px) / 3);
}

.carousel-btn {
    margin: clamp(10px, 1.5vw, 20px);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(45px, 5vw, 60px);
    height: clamp(45px, 5vw, 60px);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    color: white;
    border: none;
    cursor: pointer;
    z-index: 100;
    font-size: clamp(18px, 2.5vw, 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(34, 60, 168, 0.3);
}

.carousel-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(34, 60, 168, 0.5);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.carousel-btn:disabled:hover {
    transform: translateY(-50%);
    box-shadow: 0 10px 30px rgba(34, 60, 168, 0.3);
}

/* Estilos para carrusel en sección oscura */
.section--dark .carousel-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.section--dark .carousel-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.section--dark .carousel-btn:disabled {
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 1200px) {
    .carousel-slide .card {
        flex: 0 0 calc((100% - 40px) / 2);
        min-width: calc((100% - 40px) / 2);
        max-width: calc((100% - 40px) / 2);
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .carousel-slide .card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }
    
    .carousel-slide {
        gap: clamp(15px, 3vw, 20px);
    }
    
    .carousel-btn {
        width: clamp(40px, 6vw, 45px);
        height: clamp(40px, 6vw, 45px);
        font-size: clamp(16px, 2.5vw, 18px);
    }
}

/* ===============================
   PÓLIZAS – VISUAL PREMIUM
================================ */

.polizas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(20px, 3vw, 40px);
    text-align: center;
}

.poliza-item {
    padding: clamp(25px, 4vw, 50px) clamp(20px, 3vw, 35px);
    border-radius: clamp(18px, 2.5vw, 28px);
    background: linear-gradient(180deg, #ffffff, #f4f6fb);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all .4s cubic-bezier(.16,1,.3,1);
    border: 1px solid rgba(34, 60, 168, 0.1);
}

.poliza-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    border-color: var(--primary);
}

.poliza-item i {
    font-size: var(--block-icon-size, clamp(36px, 5vw, 56px));
    margin-bottom: clamp(16px, 2.5vh, 24px);
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    transition: transform 0.3s ease;
}

.poliza-item:hover i {
    transform: scale(1.1) rotate(5deg);
}

.poliza-item p {
    font-weight: 600;
    font-size: clamp(0.9rem, 1.3vw, 1.05rem);
    line-height: 1.6;
    color: var(--dark);
}


@media (max-width: 992px) {
    .polizas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .polizas-grid {
        grid-template-columns: 1fr;
    }
}



/* ===============================
   ADICIONES PARA HACER TODO 100% RESPONSIVE
   (NO BORRAR NADA, solo reglas adicionales y mejoras)
================================ */

/* Fluid typography - adapta mejor al zoom */
html { 
    font-size: clamp(13px, 1.5vw, 16px);
}
@media (max-width: 1200px) { 
    html { font-size: clamp(13px, 1.4vw, 15px); } 
}
@media (max-width: 992px) { 
    html { font-size: clamp(12px, 1.5vw, 14px); } 
}
@media (max-width: 576px) { 
    html { font-size: clamp(11px, 2vw, 13px); } 
}

/* Make container fully fluid on all screens - mejor adaptación al zoom */
@media (max-width: 1200px) {
    .container { 
        width: 92%; 
        max-width: min(1100px, 95vw); 
        padding-left: clamp(0.75rem, 2vw, 1.5rem);
        padding-right: clamp(0.75rem, 2vw, 1.5rem);
    }
}
@media (max-width: 992px) {
    .container { 
        width: 94%; 
        max-width: min(960px, 96vw); 
        padding-left: clamp(0.75rem, 2vw, 1.5rem);
        padding-right: clamp(0.75rem, 2vw, 1.5rem);
    }
}
@media (max-width: 768px) {
    .container { 
        width: 96%; 
        max-width: min(720px, 98vw); 
        padding-left: clamp(0.75rem, 2vw, 1rem);
        padding-right: clamp(0.75rem, 2vw, 1rem);
    }
}
@media (max-width: 576px) {
    .container { 
        width: 98%; 
        max-width: 100%;
        padding-left: clamp(0.75rem, 3vw, 1rem);
        padding-right: clamp(0.75rem, 3vw, 1rem);
    }
}

/* Responsive appbar: logo and nav adjustments - Optimizado para zoom */
/* Breakpoints intermedios para mejor adaptación */
@media (max-width: 1400px) and (min-width: 1201px) {
    .appbar__nav {
        max-width: calc(100% - clamp(120px, 16vw, 200px));
    }
    .appbar__nav > a {
        font-size: clamp(0.72rem, 0.98vw + 0.28rem, 0.93rem);
        margin-left: clamp(4px, 0.75vw, 18px);
        padding: clamp(4px, 0.7vh, 8px) clamp(5px, 0.85vw, 11px);
    }
    .dropdown-toggle {
        font-size: clamp(0.72rem, 0.98vw + 0.28rem, 0.93rem);
        padding: clamp(4px, 0.7vh, 8px) clamp(5px, 0.85vw, 11px);
    }
}

@media (max-width: 1200px) {
    .appbar__logo { 
        margin-left: 0; 
        min-width: clamp(85px, 11vw, 140px);
        max-width: clamp(105px, 13.5vw, 160px);
    }
    .appbar__logo img { 
        height: clamp(38px, 5.3vh, 55px);
        max-width: 100%;
    }
    .appbar__container { 
        padding: 0 clamp(0.7rem, 1.4vw, 1.5rem);
        height: clamp(54px, 6.9vh, 68px);
        gap: clamp(0.7rem, 1.4vw, 1.8rem);
    }
    .appbar__nav {
        max-width: calc(100% - clamp(100px, 13vw, 180px));
    }
    .appbar__nav > a {
        font-size: clamp(0.7rem, 0.95vw + 0.25rem, 0.9rem);
        margin-left: clamp(3px, 0.7vw, 12px);
        padding: clamp(4px, 0.65vh, 7px) clamp(4px, 0.85vw, 10px);
    }
    .dropdown {
        margin-left: clamp(3px, 0.7vw, 12px);
    }
    .dropdown-toggle {
        font-size: clamp(0.7rem, 0.95vw + 0.25rem, 0.9rem);
        padding: clamp(4px, 0.65vh, 7px) clamp(4px, 0.85vw, 10px);
    }
    .language-selector {
        margin-left: clamp(6px, 1vw, 18px);
        padding-left: clamp(6px, 1vw, 18px);
    }
}
@media (max-width: 1100px) and (min-width: 993px) {
    .appbar__nav {
        max-width: calc(100% - clamp(95px, 12.5vw, 170px));
    }
    .appbar__nav > a {
        font-size: clamp(0.68rem, 0.9vw + 0.23rem, 0.88rem);
        margin-left: clamp(3px, 0.65vw, 10px);
    }
    .dropdown-toggle {
        font-size: clamp(0.68rem, 0.9vw + 0.23rem, 0.88rem);
    }
}

@media (max-width: 992px) {
    .appbar__container { 
        padding: 0 clamp(0.7rem, 1.1vw, 1rem);
        gap: clamp(0.7rem, 0.95vw, 1rem);
        height: clamp(54px, 6.9vh, 65px);
    }
    .appbar__logo { 
        margin-left: 0; 
        z-index: 1002;
        min-width: clamp(80px, 10.5vw, 130px);
        max-width: clamp(95px, 12vw, 145px);
    }
    .appbar__logo img {
        height: clamp(36px, 4.9vh, 50px);
        max-width: 100%;
        min-width: 80px;
    }
    .appbar__nav { 
        gap: clamp(0.2rem, 0.45vw, 0.5rem); 
        max-width: calc(100% - clamp(90px, 11.5vw, 160px));
    }
    .appbar__nav > a { 
        margin-left: clamp(3px, 0.65vw, 12px); 
        padding: clamp(6px, 0.9vh, 10px) clamp(5px, 0.9vw, 8px); 
        font-size: clamp(0.7rem, 0.95vw + 0.18rem, 0.9rem); 
    }
    .dropdown {
        margin-left: clamp(3px, 0.65vw, 12px);
    }
    .dropdown-toggle {
        font-size: clamp(0.7rem, 0.95vw + 0.18rem, 0.9rem);
        padding: clamp(6px, 0.9vh, 10px) clamp(5px, 0.9vw, 10px);
    }
    .language-selector {
        margin-left: clamp(5px, 0.9vw, 16px);
        padding-left: clamp(5px, 0.9vw, 16px);
        gap: clamp(4px, 0.65vw, 7px);
    }
    .language-btn {
        font-size: clamp(0.68rem, 0.9vw + 0.2rem, 0.87rem);
        padding: clamp(4px, 0.55vh, 6px) clamp(7px, 1vw, 13px);
    }
}
/* Mobile nav slide-in with transform for smoother UX */
.appbar__nav {
    transition: transform .35s cubic-bezier(.16,1,.3,1), opacity .35s;
}
.appbar__nav.hidden {
    transform: translateY(-10px);
    opacity: 0;
}
.appbar__nav.active {
    transform: translateY(0);
    opacity: 1;
}

/* Hero responsiveness */
@media (max-width: 1200px) {
    .hero__left[data-hero-direction="row"] {
        flex-direction: column;
    }
    .hero__left {
        text-align: center;
    }
    .hero__buttons {
        justify-content: center;
    }
    .hero__right {
        justify-content: center;
    }
    .hero__stats {
        max-width: 600px;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        height: 100vh;
        padding-top: clamp(70px, 11vh, 95px);
        padding-bottom: clamp(24px, 4vh, 40px);
    }
    .hero__container {
        padding: 20px;
        gap: 30px;
        align-items: center;
        justify-content: center;
    }
    .hero__left[data-hero-direction="row"] {
        flex-direction: column;
    }
    .hero__left {
        text-align: center;
        max-width: 100%;
        align-items: center;
    }
    .hero__logo img {
        max-width: 140px;
        max-height: 90px;
    }
    .hero__title {
        font-size: clamp(1.1rem, 2.6vw, 1.55rem);
        max-width: 100%;
        text-align: center;
    }
    .hero__subtitle {
        font-size: clamp(0.85rem, 1.6vw, 0.95rem);
        max-width: 100%;
        text-align: center;
    }
    .hero__buttons {
        justify-content: center;
        width: 100%;
    }
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 500px;
    }
    .hero__overlay {
        background: linear-gradient(
            180deg,
            rgba(19, 20, 69, 0.88) 0%,
            rgba(19, 20, 69, 0.75) 40%,
            rgba(19, 20, 69, 0.5) 100%
        );
    }
}

@media (max-width: 576px) {
    .hero {
        height: 100vh;
        width: 100%;
    }
    .hero__container {
        max-width: 100%;
        width: 100%;
        padding: 15px clamp(1rem, 4vw, 1.25rem);
        gap: 20px;
        box-sizing: border-box;
    }
    .hero__left {
        padding: 20px 0;
    }
    .hero__logo {
        margin-bottom: 16px;
    }
    .hero__logo img {
        max-width: 120px;
        max-height: 80px;
    }
    .hero__title {
        font-size: clamp(1rem, 2.5vw, 1.4rem);
        margin-bottom: 8px;
    }
    .hero__subtitle {
        font-size: clamp(0.78rem, 1.4vw, 0.88rem);
        margin-bottom: 12px;
    }
    .hero__buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    .btn {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }
    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        max-width: 100%;
    }
    .stat-item {
        padding: 16px 10px;
    }
    .stat-number {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    }
    .stat-label {
        font-size: 0.75rem;
    }
}

/* Grid improvements: use auto-fit for better responsiveness while preserving original classes */
.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}
.grid-producto {
    grid-template-columns: repeat(2, 1fr);
}

/* Make grids fluid with minmax fallback */
@media (max-width: 1400px) {
    .grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
    .grid-producto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 992px) {
    .grid-3, .grid-producto { gap: 24px; }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-producto { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .grid-3, .grid-producto { grid-template-columns: 1fr; gap: 18px; }
}

/* Card scaling and image responsiveness - ya está optimizado arriba */
/* Asegurar que los márgenes también sean fluidos */
.card {
    padding: clamp(18px, 2.5vw, 40px);
    border-radius: clamp(12px, 2vw, 24px);
    margin: clamp(20px, 3vw, 50px);
}
.card img {
    height: clamp(140px, 22vw, 220px);
    border-radius: clamp(10px, 1.5vw, 18px);
    margin-bottom: clamp(20px, 3vh, 30px);
}

/* Circle image responsive */
.circle-img {
    width: clamp(72px, 12vw, 120px);
    height: clamp(72px, 12vw, 120px);
}

/* Steps: make spacing responsive */
.step { gap: clamp(10px, 2vw, 20px); }
.step span { min-width: clamp(32px, 6vw, 40px); height: clamp(32px, 6vw, 40px); }

/* Reveal: keep transitions but reduce translate on small screens */
.reveal { transform: translateY(60px); }
@media (max-width: 576px) { .reveal { transform: translateY(30px); } }

/* Contact button responsive */
#contacto button { padding: clamp(12px, 2vw, 16px) clamp(18px, 3vw, 24px); border-radius: 8px; }

/* Footer padding adjustments */
.footer { 
    padding: clamp(24px, 4vw, 40px) 0; 
}

/* Mejoras adicionales para adaptación al zoom */
@media (min-resolution: 150dpi) or (-webkit-min-device-pixel-ratio: 1.5) {
    /* Para pantallas de alta resolución */
    html {
        font-size: clamp(14px, 1.6vw, 17px);
    }
}

/* Optimización específica para diferentes niveles de zoom del navegador */
/* Zoom 125% - 1280px efectivo en pantalla 1024px */
@media screen and (min-width: 1024px) and (max-width: 1400px) {
    .appbar__container {
        height: clamp(57px, 7.3vh, 72px);
        padding: 0 clamp(0.72rem, 1.65vw, 1.9rem);
    }
    .appbar__logo {
        min-width: clamp(95px, 12.5vw, 155px);
        max-width: clamp(115px, 14.5vw, 175px);
    }
    .appbar__logo img {
        height: clamp(41px, 5.7vh, 56px);
    }
    .appbar__nav {
        max-width: calc(100% - clamp(115px, 15vw, 200px));
    }
    .appbar__nav > a {
        font-size: clamp(0.75rem, 1.08vw + 0.27rem, 0.93rem);
        margin-left: clamp(4px, 0.78vw, 19px);
        padding: clamp(4px, 0.72vh, 8px) clamp(5px, 0.88vw, 11px);
    }
    .dropdown-toggle {
        font-size: clamp(0.75rem, 1.08vw + 0.27rem, 0.93rem);
        padding: clamp(4px, 0.72vh, 8px) clamp(5px, 0.88vw, 11px);
    }
    .language-btn {
        font-size: clamp(0.73rem, 0.98vw + 0.22rem, 0.89rem);
    }
}

/* Zoom 150% - 853px efectivo en pantalla 1280px */
@media screen and (min-width: 800px) and (max-width: 1000px) {
    .appbar__container {
        height: clamp(55px, 7.1vh, 70px);
        padding: 0 clamp(0.68rem, 1.55vw, 1.75rem);
        gap: clamp(0.68rem, 1.35vw, 1.75rem);
    }
    .appbar__logo {
        min-width: clamp(88px, 11.8vw, 145px);
        max-width: clamp(108px, 13.8vw, 165px);
    }
    .appbar__logo img {
        height: clamp(39px, 5.5vh, 54px);
    }
    .appbar__nav {
        max-width: calc(100% - clamp(105px, 13.8vw, 185px));
    }
    .appbar__nav > a {
        font-size: clamp(0.73rem, 1.05vw + 0.26rem, 0.92rem);
        margin-left: clamp(4px, 0.85vw, 18px);
        padding: clamp(4px, 0.68vh, 7px) clamp(4px, 0.88vw, 11px);
    }
    .dropdown {
        margin-left: clamp(4px, 0.85vw, 18px);
    }
    .dropdown-toggle {
        font-size: clamp(0.73rem, 1.05vw + 0.26rem, 0.92rem);
        padding: clamp(4px, 0.68vh, 7px) clamp(4px, 0.88vw, 11px);
    }
    .language-selector {
        margin-left: clamp(7px, 1.15vw, 18px);
        padding-left: clamp(7px, 1.15vw, 18px);
    }
    .language-btn {
        font-size: clamp(0.71rem, 0.95vw + 0.21rem, 0.88rem);
        padding: clamp(4px, 0.62vh, 6px) clamp(8px, 1.2vw, 13px);
    }
}

/* Zoom 175% - 731px efectivo en pantalla 1280px */
@media screen and (min-width: 700px) and (max-width: 850px) {
    .appbar__container {
        height: clamp(53px, 6.95vh, 68px);
        padding: 0 clamp(0.65rem, 1.45vw, 1.55rem);
        gap: clamp(0.65rem, 1.3vw, 1.7rem);
    }
    .appbar__logo {
        min-width: clamp(83px, 11.2vw, 138px);
        max-width: clamp(103px, 13.2vw, 158px);
    }
    .appbar__logo img {
        height: clamp(37px, 5.3vh, 52px);
    }
    .appbar__nav {
        max-width: calc(100% - clamp(100px, 13.2vw, 178px));
        gap: clamp(0.18rem, 0.38vw, 0.45rem);
    }
    .appbar__nav > a {
        font-size: clamp(0.71rem, 1.02vw + 0.25rem, 0.9rem);
        margin-left: clamp(3px, 0.78vw, 16px);
        padding: clamp(4px, 0.72vh, 7px) clamp(4px, 0.92vw, 11px);
    }
    .dropdown {
        margin-left: clamp(3px, 0.78vw, 17px);
    }
    .dropdown-toggle {
        font-size: clamp(0.71rem, 1.02vw + 0.25rem, 0.9rem);
        padding: clamp(4px, 0.72vh, 7px) clamp(4px, 0.92vw, 11px);
    }
    .language-selector {
        margin-left: clamp(6px, 1.25vw, 17px);
        padding-left: clamp(6px, 1.25vw, 17px);
        gap: clamp(5px, 0.62vw, 7px);
    }
    .language-btn {
        font-size: clamp(0.69rem, 0.92vw + 0.2rem, 0.86rem);
        padding: clamp(4px, 0.6vh, 6px) clamp(7px, 1.15vw, 12px);
    }
}

/* Zoom 200% - 640px efectivo en pantalla 1280px */
@media screen and (min-width: 600px) and (max-width: 750px) {
    .appbar__container {
        height: clamp(51px, 6.75vh, 66px);
        padding: 0 clamp(0.6rem, 1.35vw, 1.35rem);
        gap: clamp(0.6rem, 1.25vw, 1.55rem);
    }
    .appbar__logo {
        min-width: clamp(80px, 10.8vw, 128px);
        max-width: clamp(98px, 12.8vw, 148px);
    }
    .appbar__logo img {
        height: clamp(35px, 5.1vh, 50px);
    }
    .appbar__nav {
        max-width: calc(100% - clamp(95px, 12.8vw, 168px));
        gap: clamp(0.15rem, 0.35vw, 0.42rem);
    }
    .appbar__nav > a {
        font-size: clamp(0.69rem, 0.98vw + 0.24rem, 0.88rem);
        margin-left: clamp(3px, 0.68vw, 14px);
        padding: clamp(4px, 0.68vh, 6px) clamp(4px, 0.88vw, 10px);
    }
    .dropdown {
        margin-left: clamp(3px, 0.68vw, 15px);
    }
    .dropdown-toggle {
        font-size: clamp(0.69rem, 0.98vw + 0.24rem, 0.88rem);
        padding: clamp(4px, 0.68vh, 6px) clamp(4px, 0.88vw, 10px);
    }
    .dropdown-menu {
        min-width: clamp(175px, 15.5vw, 228px);
    }
    .dropdown-menu a {
        font-size: clamp(0.7rem, 0.92vw + 0.19rem, 0.87rem);
        padding: clamp(8px, 1.05vh, 11px) clamp(13px, 1.75vw, 22px);
    }
    .language-selector {
        margin-left: clamp(5px, 1.05vw, 15px);
        padding-left: clamp(5px, 1.05vw, 15px);
        gap: clamp(4px, 0.68vw, 7px);
    }
    .language-btn {
        font-size: clamp(0.67rem, 0.88vw + 0.19rem, 0.84rem);
        padding: clamp(4px, 0.58vh, 6px) clamp(7px, 1.15vw, 12px);
    }
}

/* Asegurar que todos los elementos con posición fija se adapten al zoom */
.appbar {
    transform: scale(1);
    transform-origin: top center;
}

/* Prevención de overflow horizontal - reglas adicionales */
.appbar__container {
    overflow-x: clip;
}

/* Ajuste fino del espacio disponible para navegación */
@media (min-width: 993px) {
    .appbar__nav {
        overflow: visible;
    }
    
    /* Si los elementos no caben, reducir gaps progresivamente */
    @media (max-width: 1400px) {
        .appbar__nav {
            gap: clamp(0.15rem, 0.35vw, 0.5rem);
        }
        .appbar__nav > a {
            margin-left: clamp(3px, 0.7vw, 18px);
        }
        .dropdown {
            margin-left: clamp(3px, 0.7vw, 18px);
        }
    }
    
    @media (max-width: 1200px) {
        .appbar__nav {
            gap: clamp(0.12rem, 0.3vw, 0.45rem);
        }
        .appbar__nav > a {
            margin-left: clamp(2px, 0.65vw, 15px);
            padding: clamp(4px, 0.65vh, 7px) clamp(4px, 0.8vw, 10px);
        }
        .dropdown {
            margin-left: clamp(2px, 0.65vw, 15px);
        }
        .dropdown-toggle {
            padding: clamp(4px, 0.65vh, 7px) clamp(4px, 0.8vw, 10px);
        }
    }
}

/* Mejoras para transición suave entre breakpoints */
@media (max-width: 1400px) and (min-width: 1201px) {
    .appbar__nav {
        gap: clamp(0.18rem, 0.38vw, 0.48rem);
    }
}

@media (max-width: 1100px) and (min-width: 993px) {
    .appbar__nav {
        gap: clamp(0.15rem, 0.32vw, 0.42rem);
    }
}

/* Mejorar el scroll para diferentes niveles de zoom */
@media (min-width: 1920px) {
    .container {
        max-width: min(1600px, 85vw);
    }
}

/* Ajustes para zoom del navegador (125%, 150%, 175%, 200%) */
@media screen and (min-width: 800px) and (max-width: 1200px) {
    /* Para cuando el zoom hace que la pantalla se vea como 800-1200px */
    .container {
        padding-left: clamp(1rem, 3vw, 2rem);
        padding-right: clamp(1rem, 3vw, 2rem);
    }
}

/* Appbar toggle visible on small screens */
@media (max-width: 992px) {
    .appbar__toggle { display: block; }
    .appbar__nav { display: none; }
    .appbar__nav.active { display: flex; }
}


/* Grids: 4 columnas máx, 2 cols tablet, 1 col móvil/tablet portrait (apilado bonito) */
@media (max-width: 1200px) {
    .rooms-grid, .prices-grid, .gallery-grid, .news-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .rooms-grid, .prices-grid, .gallery-grid, .news-grid, .tech-grid, .polizas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .section .container {
        width: 100%;
        max-width: 100%;
        padding-left: clamp(1rem, 4vw, 1.25rem);
        padding-right: clamp(1rem, 4vw, 1.25rem);
    }
    .tech-grid {
        width: 100%;
        max-width: 100%;
    }
    .rooms-grid > *, .prices-grid > *, .gallery-grid > *, .news-grid > *, .tech-grid > *, .polizas-grid > * {
        min-width: 0;
        width: 100%;
    }
    .room-card, .price-card, .news-card, .tech-card, .gallery-item, .gallery-item__link, .gallery-item__media, .poliza-item {
        min-width: 0;
        width: 100%;
    }
    .grid-3, .grid-producto {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
@media (max-width: 576px) {
    .rooms-grid, .prices-grid, .gallery-grid, .news-grid, .tech-grid, .polizas-grid {
        gap: 1.25rem;
    }
}

/* Accessibility: focus states */
a:focus, button:focus, .appbar__toggle:focus {
    outline: 3px solid rgba(34,60,168,0.18);
    outline-offset: 2px;
}

/* Utility: hide visually but keep accessible */
.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* Preserve original classes and behavior: additional small tweaks for very small screens */
@media (max-width: 480px) and (min-width: 421px) {
    .appbar__container {
        gap: clamp(0.55rem, 0.9vw, 0.7rem);
    }
    .appbar__logo {
        min-width: clamp(75px, 9.5vw, 115px);
        max-width: clamp(88px, 11.5vw, 135px);
    }
    .appbar__logo img {
        height: clamp(33px, 4.8vh, 43px);
    }
    .appbar__nav {
        max-width: calc(100% - clamp(85px, 10.5vw, 150px));
    }
}

@media (max-width: 420px) {
    .appbar__container { 
        height: clamp(49px, 6.8vh, 60px); 
        padding: 0 clamp(0.48rem, 1.95vw, 0.72rem);
        gap: clamp(0.48rem, 0.95vw, 0.72rem);
    }
    .appbar__logo { 
        margin-left: 0;
        min-width: clamp(70px, 9vw, 115px);
        max-width: clamp(82px, 11vw, 130px);
    }
    .appbar__logo img { 
        height: clamp(32px, 4.7vh, 43px);
        max-width: 100%;
        min-width: 70px;
    }
    .appbar__nav {
        max-width: calc(100% - clamp(80px, 10vw, 140px));
    }
    .appbar__nav a { 
        font-size: clamp(0.68rem, 1.45vw + 0.12rem, 0.85rem); 
        padding: clamp(5px, 0.95vh, 8px) clamp(4px, 0.78vw, 8px); 
        margin-left: clamp(3px, 0.78vw, 8px); 
    }
    .dropdown {
        margin-left: clamp(3px, 0.78vw, 8px);
    }
    .dropdown-toggle {
        font-size: clamp(0.68rem, 1.45vw + 0.12rem, 0.85rem);
        padding: clamp(5px, 0.95vh, 8px) clamp(4px, 0.78vw, 10px);
    }
    .language-selector {
        margin-left: clamp(4px, 0.78vw, 8px);
        padding-left: clamp(4px, 0.78vw, 8px);
        gap: clamp(4px, 0.62vw, 6px);
    }
    .language-btn {
        font-size: clamp(0.65rem, 1.25vw + 0.12rem, 0.8rem);
        padding: clamp(4px, 0.58vh, 6px) clamp(6px, 1.15vw, 12px);
    }
    .card { 
        padding: clamp(14px, 2vw, 16px); 
        border-radius: clamp(12px, 2vw, 14px); 
    }
    .container_hero { 
        padding: clamp(12px, 2vw, 14px); 
        width: calc(100% - clamp(1rem, 3vw, 2rem)); 
    }
    .poliza-item { 
        padding: clamp(20px, 3vw, 24px) clamp(14px, 2vw, 16px); 
    }
}

/* Keep original rules intact (no deletion). The above rules only add responsive behavior and do not remove or replace original declarations, they extend them for fluid layouts and smaller screens. */

/* ================= CHATBOT HOTELERO ================= */
.chatbot-container {
    position: fixed !important;
    bottom: 30px;
    right: 30px;
    z-index: 99999 !important;
    font-family: inherit;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.chatbot-floating-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* Botón flotante WhatsApp */
.whatsapp-float-btn {
    width: clamp(46px, 5vw, 54px);
    height: clamp(46px, 5vw, 54px);
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    font-size: clamp(22px, 2.5vw, 26px);
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    cursor: pointer;
}
.whatsapp-float-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
    color: white !important;
}

/* Botón flotante del chatbot (estilo hotelero: dorado/navy) */
.chatbot-toggle {
    width: clamp(50px, 5.5vw, 60px);
    height: clamp(50px, 5.5vw, 60px);
    border-radius: 50%;
    background: linear-gradient(135deg, #b8860b, #c9a227, #daa520);
    background-size: 200% 200%;
    animation: pulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 28px rgba(184, 134, 11, 0.45);
    color: white;
    font-size: clamp(20px, 2.5vw, 24px);
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: visible !important;
    opacity: 1 !important;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 28px rgba(184, 134, 11, 0.45);
    }
    50% {
        box-shadow: 0 8px 32px rgba(184, 134, 11, 0.6), 0 0 0 8px rgba(184, 134, 11, 0.1);
    }
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 36px rgba(184, 134, 11, 0.55);
}

.chatbot-toggle.active {
    transform: scale(0.95);
    opacity: 0.9;
}

.chatbot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: ripple 2s ease-out infinite;
    pointer-events: none;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Ventana del chatbot */
.chatbot-window {
    position: absolute;
    bottom: clamp(70px, 8vh, 85px);
    right: 0;
    width: clamp(300px, 90vw, 360px);
    height: clamp(380px, 55vh, 480px);
    max-height: 75vh;
    max-width: 90vw;
    background: linear-gradient(to bottom, #fefdf9, #f8f4eb);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: clamp(16px, 2.5vw, 24px);
    box-shadow: 0 20px 50px rgba(26, 54, 93, 0.2);
    border: 1px solid rgba(184, 134, 11, 0.15);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Header del chatbot (estilo hotelero - compacto) */
.chatbot-header {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.6), rgba(201, 162, 39, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.chatbot-header-text h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 2px 0;
}

.chatbot-status {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.8);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.2);
    }
}

.chatbot-header .chatbot-close {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease;
}

.chatbot-header .chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

/* Mensajes del chatbot - área principal, prioridad visual */
.chatbot-messages {
    flex: 1;
    min-height: 140px;
    padding: 14px 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(to bottom, #faf8f3, #fefdf9);
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(184, 134, 11, 0.25);
    border-radius: 3px;
}

.chatbot-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(184, 134, 11, 0.4);
}

/* Botón WhatsApp dentro del chatbot - compacto */
.chatbot-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    margin: 0 14px 8px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(37, 211, 102, 0.35);
    flex-shrink: 0;
}
.chatbot-whatsapp-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    color: white !important;
}
.chatbot-whatsapp-btn i {
    font-size: 1rem;
}

.chatbot-message {
    display: flex;
    gap: 8px;
    animation: messageSlide 0.3s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-message-user {
    justify-content: flex-end;
}

.message-avatar {
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a365d, #2c5282);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.25);
}

.chatbot-message-user .message-avatar {
    display: none;
}

.message-content {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 14px;
    position: relative;
}

.chatbot-message-bot .message-content {
    background: linear-gradient(135deg, rgba(254, 253, 249, 0.95), rgba(248, 244, 235, 0.9));
    border: 1px solid rgba(184, 134, 11, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-top-left-radius: 4px;
}

.chatbot-message-user .message-content {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    border-top-right-radius: 4px;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.message-content p {
    margin: 0 0 4px 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.message-time {
    font-size: 0.65rem;
    opacity: 0.7;
    display: block;
    margin-top: 2px;
}

/* Quick actions - compactas */
.chatbot-quick-actions {
    padding: 10px 14px;
    display: flex;
    gap: 6px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(248, 244, 235, 0.6);
    flex-wrap: wrap;
    flex-shrink: 0;
}

.quick-action-btn {
    flex: 1;
    min-width: 80px;
    padding: 7px 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 244, 235, 0.9));
    border: 1px solid rgba(184, 134, 11, 0.15);
    color: var(--dark);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, #1a365d, #2c5282);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
    border-color: transparent;
}

.quick-action-btn i {
    font-size: 12px;
}

/* Input del chatbot - compacto */
.chatbot-input-container {
    padding: 10px 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}

.chatbot-input {
    flex: 1;
    padding: 9px 12px;
    font-size: 0.875rem;
    border: 2px solid rgba(184, 134, 11, 0.15);
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.9);
}

.chatbot-input:focus {
    border-color: #b8860b;
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.15);
    background: white;
}

.chatbot-send {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #1a365d, #2c5282);
    border: none;
    color: white;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.chatbot-send:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.4);
}

.chatbot-send:active {
    transform: translateY(0) scale(0.95);
}

/* Responsive */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: clamp(15px, 3vh, 20px) !important;
        right: clamp(15px, 3vw, 20px) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 99999 !important;
    }

    .chatbot-toggle {
        width: clamp(50px, 7vw, 60px);
        height: clamp(50px, 7vw, 60px);
        font-size: clamp(20px, 3vw, 24px);
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .chatbot-window {
        width: calc(100vw - clamp(24px, 4vw, 32px));
        max-width: 360px;
        height: min(420px, calc(100vh - 90px));
        max-height: 70vh;
        bottom: clamp(68px, 8vh, 82px);
        right: clamp(12px, 2.5vw, 18px);
    }
}

@media (max-width: 480px) {
    .chatbot-container {
        bottom: clamp(12px, 2.5vh, 15px) !important;
        right: clamp(12px, 2.5vw, 15px) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 99999 !important;
    }

    .chatbot-toggle {
        width: clamp(50px, 7vw, 56px);
        height: clamp(50px, 7vw, 56px);
        font-size: clamp(20px, 3vw, 22px);
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .chatbot-window {
        width: calc(100vw - clamp(20px, 4vw, 28px));
        right: clamp(10px, 2vw, 14px);
        border-radius: clamp(14px, 2vw, 18px);
        bottom: clamp(65px, 7vh, 78px);
        height: min(380px, calc(100vh - 85px));
    }

    .chatbot-message .message-content {
        max-width: 85%;
    }
}

/* Asegurar visibilidad en todas las dimensiones */
@media (max-width: 992px) {
    .chatbot-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 99999 !important;
    }
}

@media (max-width: 576px) {
    .chatbot-container {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 99999 !important;
    }
}

/* ================= FUTURISTIC STYLES ================= */

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Section Tag */
.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    color: white;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-tag--light {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--section-title-color);
    line-height: 1.2;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.section-intro {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* ================= ABOUT SECTION ================= */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    padding: 20px 0;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(34, 60, 168, 0.05), rgba(63, 94, 251, 0.05));
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(34, 60, 168, 0.15);
}

.feature-item i {
    font-size: 2rem;
    color: var(--primary);
    min-width: 40px;
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.feature-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    color: white;
    padding: 20px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.badge-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ================= MISSION & VISION ================= */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.mission-card,
.vision-card {
    padding: 50px 40px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.mission-card {
    background: linear-gradient(135deg, rgba(34, 60, 168, 0.1), rgba(63, 94, 251, 0.1));
    border: 1px solid rgba(34, 60, 168, 0.2);
}

.vision-card {
    background: linear-gradient(135deg, rgba(19, 20, 69, 0.1), rgba(34, 60, 168, 0.1));
    border: 1px solid rgba(19, 20, 69, 0.2);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(34, 60, 168, 0.3);
}

.icon-wrapper i {
    font-size: 2rem;
    color: white;
}

.mission-card h3,
.vision-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--dark);
}

.mission-card p,
.vision-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.values-section {
    margin-top: 80px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(244, 246, 251, 0.9));
    border-radius: 20px;
    border: 1px solid rgba(34, 60, 168, 0.1);
    transition: all 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(34, 60, 168, 0.2);
    border-color: var(--primary);
}

.value-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.value-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* ================= TECHNOLOGY SECTION ================= */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}
.tech-grid > *,
.rooms-grid > *,
.prices-grid > *,
.gallery-grid > *,
.news-grid > *,
.polizas-grid > * {
    min-width: 0;
}

.tech-card {
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.tech-card:hover::before {
    opacity: 1;
}

.tech-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.tech-icon {
    width: var(--block-icon-size, 80px);
    height: var(--block-icon-size, 80px);
    margin: 0 auto 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
    transform: rotate(5deg) scale(1.1);
}

.tech-icon i {
    font-size: var(--block-icon-size, 2.5rem);
    color: white;
}

.tech-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
}

.tech-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.tech-card .block-social,
.poliza-item .block-social {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.tech-card .block-social .social-link,
.poliza-item .block-social .social-link {
    pointer-events: auto;
    cursor: pointer;
}

/* ================= Habitaciones, Precios, Galería, Noticias (contenido Hotel) ================= */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.card-detail { cursor: pointer; }
.room-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.room-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.room-card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--alt); }
.room-card__img { width: 100%; height: 100%; object-fit: cover; }
.room-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #cbd5e0; font-size: 3rem; }
.room-card__body { padding: 1.25rem; }
.room-card__title { font-size: 1.2rem; font-weight: 700; margin: 0 0 .5rem; color: var(--dark); }
.room-card__desc { font-size: .9rem; color: #64748b; margin: 0 0 .75rem; line-height: 1.5; }
.room-card__meta-wrap { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: #64748b; }
.room-card__meta { display: inline-flex; align-items: center; gap: .35rem; }

.prices-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.price-card {
    background: rgba(255,255,255,.95);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(34, 60, 168, 0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(34, 60, 168, 0.12);
}
.price-card__title { font-size: 1.15rem; font-weight: 700; margin: 0 0 .5rem; color: var(--dark); }
.price-card__desc { font-size: .9rem; color: #64748b; margin: 0 0 1rem; line-height: 1.5; }
.price-card__amount { font-size: 1.75rem; font-weight: 800; color: var(--primary); }
.price-card__currency { font-size: 1rem; font-weight: 600; color: #64748b; }
.price-card__period { font-size: .85rem; color: #94a3b8; margin-top: .25rem; }

/* Carrusel Tarifas: siempre 4 tarjetas visibles, avance de 1 en 1 (sin bloques vacíos) */
.prices-carousel { width: 100%; }
.prices-carousel-viewport { overflow: hidden; width: 100%; }
.prices-carousel-track { display: flex; gap: 1.5rem; transition: transform 0.35s ease; will-change: transform; }
.prices-carousel-slide { min-width: 0; }
.prices-carousel-slide .price-card { height: 100%; }
.prices-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}
.prices-carousel-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.2);
    background: #fff;
    color: #1e3a5f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.prices-carousel-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: rgba(0,0,0,.3);
}
.prices-carousel-btn:disabled { opacity: .5; cursor: not-allowed; }
.prices-carousel-dots { display: flex; align-items: center; gap: .6rem; }
.prices-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.35);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.prices-carousel-dot:hover { border-color: rgba(0,0,0,.5); }
.prices-carousel-dot.active { background: #334155; border-color: #334155; }
#precios.section--bg2 .prices-carousel-btn { background: rgba(255,255,255,.9); border-color: rgba(255,255,255,.4); color: #1e3a5f; }
#precios.section--bg2 .prices-carousel-btn:hover:not(:disabled) { background: #fff; border-color: rgba(255,255,255,.6); }
#precios.section--bg2 .prices-carousel-dot { border-color: rgba(255,255,255,.5); }
#precios.section--bg2 .prices-carousel-dot:hover { border-color: rgba(255,255,255,.8); }
#precios.section--bg2 .prices-carousel-dot.active { background: #fff; border-color: #fff; }

/* Tarifas: responsive en móvil (1–2 tarjetas visibles, sin overflow) */
@media (max-width: 767px) {
    #precios .prices-carousel-slide .price-card {
        padding: 1.25rem 1rem;
        min-height: 0;
    }
    #precios .prices-carousel-slide .price-card__title { font-size: 1.05rem; }
    #precios .prices-carousel-slide .price-card__desc { font-size: 0.85rem; margin-bottom: 0.75rem; }
    #precios .prices-carousel-slide .price-card__amount { font-size: 1.5rem; }
    #precios .prices-carousel-nav { margin-top: 1.5rem; gap: 0.75rem; }
    #precios .prices-carousel-btn { width: 2.5rem; height: 2.5rem; }
}

@media (max-width: 575px) {
    #precios .prices-carousel-slide .price-card { padding: 1rem 0.75rem; }
    #precios .prices-carousel-slide .price-card__title { font-size: 1rem; }
    #precios .prices-carousel-slide .price-card__amount { font-size: 1.35rem; }
}

/* Carrusel Galería (clásico): siempre 4 ítems visibles, avance de 1 en 1 (igual que Tarifas) */
.gallery-carousel { width: 100%; }
.gallery-carousel-viewport { overflow: hidden; width: 100%; }
.gallery-carousel-track { display: flex; gap: 1rem; transition: transform 0.35s ease; will-change: transform; }
.gallery-carousel-slide { min-width: 0; }
.gallery-carousel-slide .gallery-item { height: 100%; }
.gallery-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}
.gallery-carousel-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.2);
    background: #fff;
    color: #1e3a5f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.gallery-carousel-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: rgba(0,0,0,.3);
}
.gallery-carousel-btn:disabled { opacity: .5; cursor: not-allowed; }
.gallery-carousel-dots { display: flex; align-items: center; gap: .6rem; }
.gallery-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.35);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.gallery-carousel-dot:hover { border-color: rgba(0,0,0,.5); }
.gallery-carousel-dot.active { background: #334155; border-color: #334155; }

/* Galería clásica: responsive en móvil (1 tarjeta visible, pasar tarjeta por tarjeta) */
@media (max-width: 767px) {
    #galeria .gallery-carousel-slide .gallery-item {
        padding: 0;
        min-height: 0;
    }
    #galeria .gallery-carousel-slide .gallery-item__media { border-radius: 12px 12px 0 0; overflow: hidden; }
    #galeria .gallery-carousel-slide .gallery-item__title { font-size: 1rem; padding: 0 1rem; }
    #galeria .gallery-carousel-nav { margin-top: 1.5rem; gap: 0.75rem; }
    #galeria .gallery-carousel-btn { width: 2.5rem; height: 2.5rem; }
}

@media (max-width: 575px) {
    #galeria .gallery-carousel-slide .gallery-item__title { font-size: 0.95rem; padding: 0 0.75rem; }
}

/* ========== Galería estilo "Centrado con escala" (gallery-centered-scale) ========== */
.section--gallery-centered-scale { overflow: visible; padding-top: 2rem; padding-bottom: 2rem; }
.section--gallery-centered-scale .container { overflow: visible; }
/* Sin altura fija ni scroll interno en ningún nivel */
.section--gallery-centered-scale .gallery-cs-carousel,
.section--gallery-centered-scale .gallery-cs-viewport,
.section--gallery-centered-scale .gallery-cs-viewport-inner { overflow: visible; overflow-y: visible; }
/* Espacio compacto entre título/descripción y carrusel */
.section--gallery-centered-scale .section-title { margin-bottom: 0.35rem; }
.section--gallery-centered-scale .container > .text-muted.mb-4 { margin-bottom: 0.6rem !important; }
.section--gallery-centered-scale .gallery-cs-carousel {
    width: 100%;
    margin-top: 0.75rem;
    padding-bottom: 1rem;
    background: transparent;
}
.section--gallery-centered-scale .gallery-cs-viewport {
    width: 100%;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: transparent;
    overflow: visible;
}
/* Alineación a la izquierda; overflow visible para que la tarjeta con foco (escalada) no se recorte en los bordes */
.section--gallery-centered-scale .gallery-cs-viewport-inner {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: transparent;
    overflow: visible;
    clip-path: none;
}
.section--gallery-centered-scale .gallery-cs-track {
    display: flex;
    align-items: center;
    gap: 24px;
    will-change: transform;
    padding: 0.5rem 0;
}
.section--gallery-centered-scale .gallery-cs-card {
    flex-shrink: 0;
    width: 280px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.35s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0,0,0,.06);
}
.section--gallery-centered-scale .gallery-cs-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.section--gallery-centered-scale .gallery-cs-card--center { z-index: 2; box-shadow: 0 12px 40px rgba(0,0,0,.14); }
.section--gallery-centered-scale .gallery-cs-card__media {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--alt);
}
.section--gallery-centered-scale .gallery-cs-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.section--gallery-centered-scale .gallery-cs-card:hover .gallery-cs-card__media img { transform: scale(1.05); }
.section--gallery-centered-scale .gallery-cs-card__favorite {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.9);
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: color 0.2s ease, background 0.2s ease;
}
.section--gallery-centered-scale .gallery-cs-card__favorite:hover { color: #e11d48; background: #fff; }
.section--gallery-centered-scale .gallery-cs-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin: 0.75rem 1rem 0;
    line-height: 1.3;
    text-align: center;
}
.section--gallery-centered-scale .gallery-cs-card__desc {
    font-size: 0.8125rem;
    color: #64748b;
    margin: 0.25rem 1rem 0.5rem;
    line-height: 1.4;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.section--gallery-centered-scale .gallery-cs-card__cta {
    margin: 0 auto 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Evitar botones negros: fondo y texto siempre visibles (fallback si theme_colors es oscuro) */
    background: var(--primary, #0d9488) !important;
    color: #fff !important;
    border-color: var(--primary, #0d9488) !important;
}
.section--gallery-centered-scale .gallery-cs-card__cta:hover {
    background: var(--primary-dark, #0f766e) !important;
    color: #fff !important;
    border-color: var(--primary-dark, #0f766e) !important;
}
.section--gallery-centered-scale .gallery-cs-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 1rem;
}
.section--gallery-centered-scale .gallery-cs-btn {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.2);
    background: #fff;
    color: #1e3a5f;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.section--gallery-centered-scale .gallery-cs-btn:hover:not(:disabled) {
    background: #f1f5f9;
    border-color: rgba(0,0,0,.3);
}
.section--gallery-centered-scale .gallery-cs-btn:disabled { opacity: .5; cursor: not-allowed; }
.section--gallery-centered-scale .gallery-cs-dots { display: flex; align-items: center; gap: .5rem; }
.section--gallery-centered-scale .gallery-cs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.35);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease;
}
.section--gallery-centered-scale .gallery-cs-dot:hover { border-color: rgba(0,0,0,.5); }
.section--gallery-centered-scale .gallery-cs-dot.active { background: #334155; border-color: #334155; }

/* Móvil: una tarjeta por vista, sin escala; ancho = viewport (JS). Overflow para no ver bordes. */
@media (max-width: 767px) {
    .section--gallery-centered-scale .gallery-cs-viewport {
        overflow: hidden;
        padding-left: 0;
        padding-right: 0;
    }
    .section--gallery-centered-scale .gallery-cs-viewport-inner {
        overflow: hidden;
        clip-path: none;
        width: 100%;
        justify-content: flex-start;
    }
    .section--gallery-centered-scale .gallery-cs-track {
        gap: 12px;
    }
    .section--gallery-centered-scale .gallery-cs-card {
        width: auto;
        min-width: 0;
        transform: none;
    }
}

/* Carruseles clásicos: Habitaciones, Camas, Noticias, Blog (misma estructura que Tarifas/Galería) */
.rooms-carousel, .beds-carousel, .news-carousel, .blog-carousel { width: 100%; }
.rooms-carousel-viewport, .beds-carousel-viewport, .news-carousel-viewport, .blog-carousel-viewport { overflow: hidden; width: 100%; }
.rooms-carousel-track, .beds-carousel-track, .news-carousel-track, .blog-carousel-track { display: flex; gap: 1.5rem; transition: transform 0.35s ease; will-change: transform; }
.rooms-carousel-slide, .beds-carousel-slide, .news-carousel-slide, .blog-carousel-slide { min-width: 0; }
.rooms-carousel-slide .room-card, .beds-carousel-slide .room-card { height: 100%; }
.news-carousel-slide .news-card, .blog-carousel-slide .news-card { height: 100%; }
.rooms-carousel-nav, .beds-carousel-nav, .news-carousel-nav, .blog-carousel-nav {
    display: flex; align-items: center; justify-content: center; gap: 1.25rem; margin-top: 2rem;
}
.rooms-carousel-btn, .beds-carousel-btn, .news-carousel-btn, .blog-carousel-btn {
    width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(0,0,0,.2);
    background: #fff; color: #1e3a5f; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.rooms-carousel-btn:hover:not(:disabled), .beds-carousel-btn:hover:not(:disabled), .news-carousel-btn:hover:not(:disabled), .blog-carousel-btn:hover:not(:disabled) {
    background: #f1f5f9; border-color: rgba(0,0,0,.3);
}
.rooms-carousel-btn:disabled, .beds-carousel-btn:disabled, .news-carousel-btn:disabled, .blog-carousel-btn:disabled { opacity: .5; cursor: not-allowed; }
.rooms-carousel-dots, .beds-carousel-dots, .news-carousel-dots, .blog-carousel-dots { display: flex; align-items: center; gap: .6rem; }
.rooms-carousel-dot, .beds-carousel-dot, .news-carousel-dot, .blog-carousel-dot {
    width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(0,0,0,.35);
    background: transparent; padding: 0; cursor: pointer; transition: background .2s ease, border-color .2s ease;
}
.rooms-carousel-dot:hover, .beds-carousel-dot:hover, .news-carousel-dot:hover, .blog-carousel-dot:hover { border-color: rgba(0,0,0,.5); }
.rooms-carousel-dot.active, .beds-carousel-dot.active, .news-carousel-dot.active, .blog-carousel-dot.active { background: #334155; border-color: #334155; }

/* Estilo Clásico centrado: botón VER MÁS siempre centrado en las tarjetas */
.prices-carousel-slide .price-card { text-align: center; }
.gallery-carousel-slide .gallery-item { text-align: center; }
.rooms-carousel-slide .room-card__body, .beds-carousel-slide .room-card__body { text-align: center; }
.news-carousel-slide .news-card__body, .blog-carousel-slide .news-card__body { text-align: center; }
.prices-carousel-slide .btn-detail, .gallery-carousel-slide .btn-detail,
.rooms-carousel-slide .btn-detail, .beds-carousel-slide .btn-detail,
.news-carousel-slide .btn-detail, .blog-carousel-slide .btn-detail { display: inline-flex; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.gallery-item__link,
.gallery-item__media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--alt); }
.gallery-item__link img,
.gallery-item__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item__link:hover img,
.card-detail.gallery-item:hover .gallery-item__media img { transform: scale(1.08); }
.gallery-item__title { font-size: .85rem; color: #64748b; margin: .5rem 0 0; text-align: center; }

.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.news-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}
.news-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--alt); position: relative; }
.news-card__img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__category { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--primary); color: #fff; font-size: 0.7rem; font-weight: 600; padding: 0.25rem 0.6rem; border-radius: 4px; text-transform: uppercase; }
.news-card__body { padding: 1.25rem; }
.news-card__title { font-size: 1.1rem; font-weight: 700; margin: 0 0 .5rem; color: var(--dark); }
.news-card__excerpt { font-size: .9rem; color: #64748b; margin: 0; line-height: 1.5; }

/* ================= Blog (sección y tarjetas) – estilo elegante ================= */
#blog .section-title { letter-spacing: 0.02em; font-weight: 800; }
#blog .blog-carousel { margin-top: 0.5rem; }
#blog .blog-carousel-slide .news-card,
#blog .blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.25s ease;
}
#blog .blog-carousel-slide .news-card:hover,
#blog .blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08), 0 24px 48px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.08);
}
#blog .blog-card .news-card__media {
    position: relative;
    overflow: hidden;
}
#blog .blog-card .news-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.03) 0%, transparent 35%);
    pointer-events: none;
}
#blog .blog-card .news-card__media img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
#blog .blog-card:hover .news-card__media img {
    transform: scale(1.05);
}
#blog .blog-card__category {
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
#blog .blog-card .news-card__body {
    padding: 1.5rem 1.35rem;
}
#blog .blog-card .news-card__title {
    font-size: 1.12rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
#blog .blog-card .news-card__excerpt {
    font-size: 0.9rem;
    line-height: 1.58;
    color: #475569;
}
#blog .blog-card .btn-detail {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    border-radius: 10px;
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}
#blog .blog-card:hover .btn-detail {
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.2);
}
#blog .blog-carousel-nav { margin-top: 2.5rem; }
#blog .blog-carousel-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.25s ease, transform 0.2s ease;
}
#blog .blog-carousel-btn:hover:not(:disabled) {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}
#blog .blog-carousel-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    transition: transform 0.2s ease, background 0.2s ease;
}
#blog .blog-carousel-dot.active { transform: scale(1.2); }

@media (max-width: 768px) {
    .news-card__title { font-size: 1.05rem; }
    .news-card__excerpt { font-size: .875rem; }
    .price-card__title { font-size: 1.05rem; }
    .price-card__desc, .room-card__desc { font-size: .875rem; }
    #blog .blog-card .news-card__body { padding: 1.25rem 1.1rem; }
    #blog .blog-card .news-card__title { font-size: 1.05rem; padding-bottom: 0.4rem; }
}

.btn-detail {
    font-family: var(--btn-font);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    background: var(--primary-light);
    border: 1px solid var(--primary);
    border-radius: 8px;
    cursor: pointer;
    transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn-detail:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
}
.btn-detail.btn-sm { padding: 0.4rem 0.85rem; font-size: 0.8rem; }
.price-card__icon {
    margin-bottom: 0.75rem;
    font-size: 1.75rem;
    color: var(--primary);
}
.section--bg2 .price-card__icon { color: #fff; }
.section--bg2 .btn-detail { color: #fff; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.4); }
.section--bg2 .btn-detail:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* ================= SECCIONES ESTILO ELEGANTE (referencia Nuestra Esencia / Alcaré / Ganem / Santa Cecilia) ================= */
.section--elegant {
    --elegant-title-font: 'Playfair Display', Georgia, serif;
    --elegant-title-color: var(--section-title-color, #3d3a35);
    --elegant-subtitle-color: var(--section-subtitle-color, #5c5852);
    --elegant-card-bg: #ffffff;
    --elegant-card-text: #3d3a35;
    --elegant-card-dark-bg: #3d3a35;
    --elegant-card-dark-text: #ffffff;
    --elegant-btn-bg: #3d3a35;
    --elegant-btn-hover: #2d2a28;
}

/* Estructura dos columnas (como referencia: izquierda texto, derecha modular) */
.section--elegant.section--elegant-structure { padding-top: 0; padding-bottom: 0; }
.section--elegant-structure .elegant-frame {
    height: 6px;
    background: var(--elegant-card-dark-bg);
}
.section--elegant-structure .elegant-frame--top { margin-bottom: 0; }
.section--elegant-structure .elegant-frame--bottom { margin-top: 0; }
.section--elegant-structure .section-bg-wrap { padding: 3rem 0; }
.section--elegant-structure .elegant-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2.5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 991px) {
    .section--elegant-structure .elegant-two-col {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
.section--elegant-structure .elegant-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.section--elegant-structure .elegant-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--elegant-subtitle-color);
    font-family: inherit;
}
.section--elegant-structure .elegant-toggle {
    display: inline-block;
    width: 2.5rem;
    height: 1.25rem;
    border-radius: 999px;
    background: var(--elegant-card-dark-bg);
    position: relative;
    flex-shrink: 0;
}
.section--elegant-structure .elegant-toggle::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: #fff;
}
.section--elegant-structure .elegant-main-title {
    font-family: var(--elegant-title-font) !important;
    font-size: clamp(2.25rem, 5vw, 3.25rem) !important;
    font-weight: 700;
    color: var(--elegant-title-color) !important;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin: 0;
}
.section--elegant-structure .elegant-text-block {
    max-width: 42ch;
}
.section--elegant-structure .elegant-text-block__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--elegant-title-color);
    margin: 0 0 0.35em;
}
.section--elegant-structure .elegant-text-block__body {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--elegant-subtitle-color);
    margin: 0;
}
/* Columna derecha: grid modular (bloque oscuro + imágenes) */
.section--elegant-structure .elegant-modular-inner {
    display: contents;
}
.section--elegant-structure .elegant-modular {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "value large"
        "small large"
        "location image";
    gap: 1rem;
    align-items: stretch;
}
/* Flechas del collage: solo móvil */
.section--elegant-structure .elegant-collage-btn {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #333;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: background 0.2s, color 0.2s;
}
.section--elegant-structure .elegant-collage-btn:hover {
    background: #fff;
    color: var(--elegant-accent, #0d9488);
}
.section--elegant-structure .elegant-collage-prev { left: 8px; }
.section--elegant-structure .elegant-collage-next { right: 8px; }
@media (max-width: 767px) {
    /* Elegante dos columnas: en móvil el bloque de texto se ajusta al contenido (sin hueco fijo); min-height de panels solo en escritorio */
    .section--elegant-structure .elegant-two-col {
        gap: 1rem;
    }
    .section--elegant-structure .elegant-left {
        gap: 1rem;
    }
    .section--elegant-rooms-carousel .elegant-carousel-controls {
        margin-top: 0.75rem;
    }
    .section--elegant-structure .elegant-modular {
        display: block;
        overflow: hidden;
        position: relative;
        grid-template-columns: unset;
        grid-template-rows: unset;
        grid-template-areas: unset;
    }
    .section--elegant-structure .elegant-modular-inner {
        display: flex;
        width: 500%;
        transition: transform 0.35s ease-out;
        will-change: transform;
    }
    .section--elegant-structure .elegant-modular-inner > * {
        flex: 0 0 20%;
        min-width: 20%;
        box-sizing: border-box;
    }
    .section--elegant-structure .elegant-modular-inner .elegant-dark-box,
    .section--elegant-structure .elegant-modular-inner .elegant-img-wrap {
        min-height: 200px;
        height: 100%;
    }
    .section--elegant-structure .elegant-modular-inner .elegant-img-wrap--large {
        min-height: 200px;
    }
    .section--elegant-structure .elegant-collage-btn {
        display: flex;
    }
}
.section--elegant-structure .elegant-dark-box {
    background: var(--elegant-card-dark-bg);
    color: var(--elegant-card-dark-text);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.section--elegant-structure .elegant-dark-box--value { grid-area: value; }
.section--elegant-structure .elegant-dark-box--location { grid-area: location; }
.section--elegant-structure .elegant-dark-box--img {
    padding: 0;
    min-height: 0;
    overflow: hidden;
}
.section--elegant-structure .elegant-dark-box--img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.section--elegant-structure .elegant-dark-box--img .room-card__placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
}
.section--elegant-structure .elegant-dark-box__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    text-align: center;
}
.section--elegant-structure .elegant-dark-box__body {
    font-size: 0.85rem;
    line-height: 1.55;
    margin: 0;
    opacity: 0.95;
}
.section--elegant-structure .elegant-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: #e8e6e3;
    aspect-ratio: 4/3;
}
.section--elegant-structure .elegant-img-wrap--large { grid-area: large; aspect-ratio: auto; min-height: 280px; }
.section--elegant-structure .elegant-img-wrap--small { grid-area: small; }
.section--elegant-structure .elegant-img-wrap--foot { grid-area: image; }
.section--elegant-structure .elegant-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Habitaciones elegante: bloque 1 (info) estático que cambia por habitación; bloque 2 (collage) en carrusel */
/* Invertir columnas: collage a la izquierda, texto a la derecha; ambas columnas alineadas al inicio */
.section--elegant-rooms-carousel .elegant-rooms-two-col.elegant-rooms-swap {
    align-items: start;
}
.section--elegant-rooms-carousel .elegant-rooms-two-col.elegant-rooms-swap .elegant-left {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-top: 0;
    padding-top: 0;
}
.section--elegant-rooms-carousel .elegant-rooms-two-col.elegant-rooms-swap .elegant-rooms-carousel {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
    margin-top: 0;
    padding-top: 0;
}
.section--elegant-rooms-carousel .elegant-rooms-two-col.elegant-rooms-swap .elegant-rooms-carousel .elegant-modular {
    align-self: start;
}
/* En una sola columna (móvil): collage arriba, texto abajo cuando está invertido */
@media (max-width: 991px) {
    .section--elegant-rooms-carousel .elegant-rooms-two-col.elegant-rooms-swap .elegant-left {
        grid-column: 1;
        grid-row: 2;
    }
    .section--elegant-rooms-carousel .elegant-rooms-two-col.elegant-rooms-swap .elegant-rooms-carousel {
        grid-column: 1;
        grid-row: 1;
    }
}
.section--elegant-rooms-carousel .elegant-rooms-info-col {
    position: relative;
}
.section--elegant-rooms-carousel .elegant-rooms-info-panels {
    position: relative;
}
@media (min-width: 768px) {
    .section--elegant-rooms-carousel .elegant-rooms-info-panels {
        min-height: 280px;
    }
}
.section--elegant-rooms-carousel .elegant-info-panel {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    animation: elegantPanelFade 0.35s ease;
}
.section--elegant-rooms-carousel .elegant-info-panel.active {
    display: flex;
}
.section--elegant-rooms-carousel .elegant-amenities-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--elegant-amenity-gap, 0.5rem 0.75rem);
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.section--elegant-rooms-carousel .elegant-amenity-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    color: inherit;
}
.section--elegant-rooms-carousel .elegant-amenity-icon__circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--elegant-amenity-icon-size, 1.75rem);
    height: var(--elegant-amenity-icon-size, 1.75rem);
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    color: inherit;
    /* Icono más pequeño que el círculo para que quede contenido con margen */
    font-size: calc(var(--elegant-amenity-icon-size, 1.75rem) * 0.5);
}
.section--elegant-rooms-carousel .elegant-amenity-icon__circle i {
    font-size: inherit;
}
.section--elegant-rooms-carousel .elegant-amenity-label {
    font-size: var(--elegant-amenity-label-size, 0.65rem);
    line-height: 1.2;
    color: var(--elegant-amenity-label-color, inherit);
    opacity: 0.85;
    text-align: center;
    white-space: nowrap;
}
.section--elegant-rooms-carousel .elegant-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.section--elegant-rooms-carousel .elegant-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.15s;
}
.section--elegant-rooms-carousel .elegant-action-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.section--elegant-rooms-carousel .elegant-room-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}
.section--elegant-rooms-carousel .elegant-room-social .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    color: inherit;
    transition: background 0.2s, color 0.2s;
}
.section--elegant-rooms-carousel .elegant-room-social .social-link:hover {
    background: var(--elegant-card-dark-bg, #3d3a35);
    color: #fff;
}
@keyframes elegantPanelFade {
    from { opacity: 0; }
    to { opacity: 1; }
}
.section--elegant-rooms-carousel .elegant-rooms-carousel {
    position: relative;
    overflow: hidden;
}
.section--elegant-rooms-carousel .elegant-carousel-slides {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}
.section--elegant-rooms-carousel .elegant-carousel-slide {
    flex: 0 0 100%;
    min-width: 0;
}
.section--elegant-rooms-carousel .elegant-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.section--elegant-rooms-carousel .elegant-carousel-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--elegant-card-dark-bg, #3d3a35);
    background: #fff;
    color: var(--elegant-card-dark-bg, #3d3a35);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}
.section--elegant-rooms-carousel .elegant-carousel-btn:hover {
    background: var(--elegant-card-dark-bg, #3d3a35);
    color: #fff;
    transform: scale(1.05);
}
.section--elegant-rooms-carousel .elegant-carousel-dots {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
}
.section--elegant-rooms-carousel .elegant-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1.5px solid var(--elegant-card-dark-bg, #3d3a35);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
}
.section--elegant-rooms-carousel .elegant-carousel-dot:hover,
.section--elegant-rooms-carousel .elegant-carousel-dot.active {
    background: var(--elegant-card-dark-bg, #3d3a35);
    transform: scale(1.2);
}

/* Contacto elegante: cabecera + dos bloques grandes (formulario | mapa) */
.section--elegant-contact .contact-elegant-header {
    margin-bottom: 2.5rem;
    max-width: 36rem;
}
.section--elegant-contact .contact-elegant-title {
    margin-bottom: 0.5rem;
}
.section--elegant-contact .contact-elegant-subtitle {
    font-size: 1rem;
    color: var(--elegant-subtitle-color, #5c5852);
    margin: 0;
    line-height: 1.5;
}
.section--elegant-contact .contact-elegant-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}
@media (max-width: 991px) {
    .section--elegant-contact .contact-elegant-main {
        grid-template-columns: 1fr;
    }
}
.section--elegant-contact .contact-elegant-card {
    background: var(--elegant-card-bg, #fff);
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid rgba(61,58,53,.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}
.section--elegant-contact .contact-elegant-form-card {
    padding: 2rem;
}
.section--elegant-contact .contact-form-card--elegant {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: 100%;
}
.section--elegant-contact .contact-elegant-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 576px) {
    .section--elegant-contact .contact-elegant-form-row {
        grid-template-columns: 1fr;
    }
}
.section--elegant-contact .contact-elegant-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.section--elegant-contact .contact-elegant-field--full {
    grid-column: 1 / -1;
}
.section--elegant-contact .contact-elegant-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--elegant-card-text, #3d3a35);
    margin: 0;
}
.section--elegant-contact .contact-elegant-input {
    padding: 0.65rem 1rem;
    border: 1px solid rgba(61,58,53,.2);
    border-radius: 12px;
    font-size: 1rem;
    background: #fff;
    color: var(--elegant-card-text, #3d3a35);
    transition: border-color .2s, box-shadow .2s;
}
.section--elegant-contact .contact-elegant-input:focus {
    border-color: var(--elegant-btn-bg, #3d3a35);
    box-shadow: 0 0 0 3px rgba(61,58,53,.12);
    outline: none;
}
.section--elegant-contact .contact-elegant-input::placeholder {
    color: #94a3b8;
}
.section--elegant-contact .contact-elegant-textarea {
    resize: vertical;
    min-height: 100px;
}
.section--elegant-contact .btn-contact-submit {
    margin-top: auto;
}
.section--elegant-contact .contact-form-msg { font-size: 0.9rem; margin-top: 0.5rem; }
.section--elegant-contact .contact-form-msg--ok { color: var(--elegant-btn-bg); font-weight: 600; }
.section--elegant-contact .contact-form-msg--err { color: #b91c1c; }

.section--elegant-contact .contact-elegant-map-card {
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}
.section--elegant-contact .contact-elegant-map-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--elegant-card-text, #3d3a35);
    margin: 0;
    padding: 1.5rem 1.5rem 0.5rem;
}
.section--elegant-contact .contact-elegant-map-address {
    font-size: 0.95rem;
    color: var(--elegant-subtitle-color, #5c5852);
    margin: 0 1.5rem 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(61,58,53,.1);
}
.section--elegant-contact .contact-elegant-map-embed {
    flex: 1;
    min-height: 320px;
    background: #e8e6e3;
}
.section--elegant-contact .contact-elegant-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
}

.section--elegant-contact .pqrsf-cta-card--elegant {
    background: var(--elegant-card-dark-bg, #3d3a35);
    border-color: transparent;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
}
.section--elegant-contact .pqrsf-cta-card--elegant:hover {
    border-color: transparent;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
}
.section--elegant-contact .pqrsf-cta-card--elegant .pqrsf-cta-icon {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.section--elegant-contact .pqrsf-cta-card--elegant .pqrsf-cta-title {
    color: #fff;
}
.section--elegant-contact .pqrsf-cta-card--elegant .pqrsf-cta-desc {
    color: rgba(255,255,255,.85);
}
.section--elegant-contact .pqrsf-cta-card--elegant .pqrsf-cta-btn {
    background: rgba(255,255,255,.2);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.4);
    box-shadow: none;
}
.section--elegant-contact .pqrsf-cta-card--elegant .pqrsf-cta-btn:hover {
    background: #fff;
    color: var(--elegant-card-dark-bg, #3d3a35) !important;
    border-color: #fff;
}

.section--elegant .section-title {
    font-family: var(--elegant-title-font) !important;
    font-size: clamp(2.25rem, 5vw, 3.25rem) !important;
    font-weight: 700;
    color: var(--elegant-title-color) !important;
    text-align: left;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.02em;
    line-height: 1.2;
}
.section--elegant .text-muted.mb-5,
.section--elegant .section-subtitle {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    color: var(--elegant-subtitle-color) !important;
    text-align: left;
    max-width: 42ch;
    margin-bottom: 2rem !important;
}
.section--elegant .container > .mb-5:last-of-type { margin-bottom: 2rem !important; }
.section--elegant .rooms-grid,
.section--elegant .prices-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1.75rem;
}
.section--elegant .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
    gap: 1.25rem;
}
.section--elegant .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    gap: 1.75rem;
}
.section--elegant .room-card,
.section--elegant .price-card,
.section--elegant .news-card {
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,.06);
    border: 1px solid rgba(61,58,53,.08);
    background: var(--elegant-card-bg);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.section--elegant .room-card:hover,
.section--elegant .price-card:hover,
.section--elegant .news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,.1);
}
.section--elegant .room-card__title,
.section--elegant .price-card__title,
.section--elegant .news-card__title {
    font-family: var(--elegant-title-font);
    font-size: 1.25rem;
    color: var(--elegant-card-text) !important;
    font-weight: 700;
}
.section--elegant .room-card__desc,
.section--elegant .price-card__desc,
.section--elegant .news-card__excerpt {
    color: var(--elegant-subtitle-color) !important;
    font-size: 0.9rem;
    line-height: 1.55;
}
.section--elegant .room-card__meta-wrap,
.section--elegant .room-card__meta { color: var(--elegant-subtitle-color) !important; }
.section--elegant .price-card__amount { color: var(--elegant-card-text) !important; }
.section--elegant .price-card__icon { color: var(--elegant-card-text) !important; }
.section--elegant .gallery-item__media { border-radius: 16px; overflow: hidden; }
.section--elegant .gallery-item__title { color: var(--elegant-subtitle-color) !important; font-size: 0.9rem; }
/* Botón Ver más en tarjetas normales: gris oscuro elegante (sin rojo/verde) */
.section--elegant .room-card:not(.elegant-card--dark) .btn-detail,
.section--elegant .price-card:not(.elegant-card--dark) .btn-detail,
.section--elegant .news-card:not(.elegant-card--dark) .btn-detail,
.section--elegant .gallery-item:not(.elegant-card--dark) .btn-detail {
    background: var(--elegant-btn-bg);
    color: #fff;
    border-color: var(--elegant-btn-bg);
}
.section--elegant .room-card:not(.elegant-card--dark) .btn-detail:hover,
.section--elegant .price-card:not(.elegant-card--dark) .btn-detail:hover,
.section--elegant .news-card:not(.elegant-card--dark) .btn-detail:hover,
.section--elegant .gallery-item:not(.elegant-card--dark) .btn-detail:hover {
    background: var(--elegant-btn-hover);
    color: #fff;
    border-color: var(--elegant-btn-hover);
}
/* Placeholder de habitación sin imagen: fondo neutro (no verde) */
.section--elegant .room-card__placeholder {
    background: #e8e6e3;
    color: #5c5852;
}
/* Primera tarjeta en estilo elegante puede ser bloque oscuro (opcional) */
.section--elegant .elegant-card--dark.room-card,
.section--elegant .elegant-card--dark.price-card,
.section--elegant .elegant-card--dark.news-card,
.section--elegant .elegant-card--dark.gallery-item {
    background: var(--elegant-card-dark-bg);
    border-color: transparent;
}
.section--elegant .elegant-card--dark .room-card__title,
.section--elegant .elegant-card--dark .price-card__title,
.section--elegant .elegant-card--dark .news-card__title,
.section--elegant .elegant-card--dark .gallery-item__title { color: var(--elegant-card-dark-text) !important; }
.section--elegant .elegant-card--dark .room-card__desc,
.section--elegant .elegant-card--dark .price-card__desc,
.section--elegant .elegant-card--dark .news-card__excerpt,
.section--elegant .elegant-card--dark .room-card__meta { color: rgba(255,255,255,.9) !important; }
.section--elegant .elegant-card--dark .price-card__amount,
.section--elegant .elegant-card--dark .price-card__currency,
.section--elegant .elegant-card--dark .price-card__period { color: #fff !important; }
.section--elegant .elegant-card--dark .price-card__icon { color: rgba(255,255,255,.9) !important; }
.section--elegant .elegant-card--dark .btn-detail {
    background: rgba(255,255,255,.2);
    color: #fff;
    border-color: rgba(255,255,255,.5);
}
.section--elegant .elegant-card--dark .btn-detail:hover {
    background: #fff;
    color: #3d3a35;
    border-color: #fff;
}

/* Modal de detalle (Ver más) */
.detail-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.detail-modal--open {
    opacity: 1;
    visibility: visible;
}
.detail-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}
.detail-modal__box {
    position: relative;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow: hidden;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
    display: flex;
    flex-direction: column;
}
.detail-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #333;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: background .2s, color .2s;
}
.detail-modal__close:hover {
    background: #fff;
    color: var(--primary, #0d9488);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}
.detail-modal__body {
    padding: 1.5rem;
    padding-top: 3rem;
    overflow-y: auto;
    flex: 1;
}
.detail-modal__title {
    margin: 0;
    padding: 0.75rem 0 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}
.detail-modal__img {
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

/* Lightbox imágenes del collage (habitaciones / elegante dos columnas) */
.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.image-lightbox.image-lightbox--open {
    opacity: 1;
    visibility: visible;
}
.image-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
}
.image-lightbox__box {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.image-lightbox__img {
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.4);
}
.image-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(255,255,255,0.95);
    color: #333;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    transition: background 0.2s, color 0.2s;
}
.image-lightbox__close:hover {
    background: #fff;
    color: var(--primary, #0d9488);
}
/* Cursor pointer en celdas del collage que tienen imagen */
.section--elegant-structure .elegant-modular-inner .elegant-img-wrap,
.section--elegant-structure .elegant-modular-inner .elegant-dark-box--img {
    cursor: pointer;
}

/* Carrusel en modal de habitación */
.detail-modal__carousel {
    position: relative;
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}
.detail-modal__carousel-track {
    position: relative;
}
.detail-modal__carousel-slide {
    display: none;
}
.detail-modal__carousel-slide.active {
    display: block;
}
.detail-modal__carousel-slide .detail-modal__img {
    margin-bottom: 0;
}
.detail-modal__carousel-prev,
.detail-modal__carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(13, 148, 136, 0.9);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 2;
}
.detail-modal__carousel-prev:hover,
.detail-modal__carousel-next:hover {
    background: var(--primary-dark);
}
.detail-modal__carousel-prev { left: 10px; }
.detail-modal__carousel-next { right: 10px; }
.detail-modal__carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.detail-modal__carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.5);
    cursor: pointer;
    padding: 0;
    transition: background .2s;
}
.detail-modal__carousel-dot.active {
    background: #fff;
    width: 12px;
    height: 12px;
}
.detail-modal__reserve-btn {
    font-family: var(--btn-font);
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 8px;
    transition: opacity 0.2s ease;
}
.detail-modal__reserve-btn:hover {
    opacity: 0.9;
}
.detail-modal__map-btn {
    font-family: var(--btn-font);
    letter-spacing: 0.06em;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #554d4a;
    background: #f2f0eb;
    border: 1px solid #e8e6e0;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.detail-modal__map-btn:hover {
    background: #e8e6e0;
    border-color: #d4d2cc;
    color: #3d3633;
}
.detail-modal__map-btn i {
    color: #6b6360;
}
.detail-modal__map-btn:hover i {
    color: #554d4a;
}
.detail-modal__amenities {
    margin-top: 0.75rem;
}
.detail-modal__amenities-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
}
.detail-modal__amenity-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    min-width: 3rem;
    font-size: 0.7rem;
    color: #475569;
    line-height: 1.2;
}
.detail-modal__amenity-item i {
    font-size: 1.05rem;
    color: var(--primary, #0d9488);
}
.detail-modal__actions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}
.detail-modal__action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    width: 100%;
    margin-bottom: 0.25rem;
}
.detail-modal__action-buttons .detail-modal__action-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}
.detail-modal__action-buttons .detail-modal__action-btn:hover {
    opacity: 0.9;
}
.detail-modal__actions .detail-modal__reserve-btn {
    margin-right: 4px;
}
.detail-modal__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.detail-modal__actions .detail-modal__reserve-btn + .detail-modal__social,
.detail-modal__actions .btn + .detail-modal__social {
    padding-left: 12px;
    border-left: 1px solid rgba(0,0,0,0.1);
}
.detail-modal__social .social-link {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    color: #475569;
    transition: all 0.2s ease;
}
.detail-modal__social .social-link:hover {
    background: #94a3b8;
    color: #fff;
    transform: translateY(-2px);
}

/* ================= Vista independiente Blog (blog.html) – estilo elegante ================= */
.blog-page {
    padding: 6rem 0 5rem;
    min-height: 70vh;
    background: linear-gradient(180deg, #f5f4f0 0%, #ebe8e2 40%, #f0eeea 100%);
}
.blog-page__container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}
.blog-page__header {
    margin-bottom: 3.5rem;
    text-align: center;
}
.blog-page__header-inner {
    position: relative;
    padding: 2.5rem 2rem 3rem;
    background: linear-gradient(160deg, #f2f0eb 0%, #e8e6e0 50%, #eeebe5 100%);
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05), 0 1px 0 0 rgba(255, 255, 255, 0.8) inset;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.blog-page__title-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}
.blog-page__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #6b6360 0%, #554d4a 100%);
    color: #f5f3ef;
    border-radius: 16px;
    font-size: 1.45rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14), 0 1px 0 0 rgba(255, 255, 255, 0.1) inset;
}
.blog-page__title {
    font-size: 2.35rem;
    font-weight: 800;
    color: #2d2a26;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.blog-page__subtitle {
    font-size: 1.1rem;
    color: #5c5854;
    margin: 0 0 1.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.55;
}
.blog-page__decoration {
    width: 100px;
    height: 4px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, #8a8580 20%, #b8b3ad 50%, #8a8580 80%, transparent);
    border-radius: 2px;
    opacity: 0.9;
}
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.blog-list__item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.25rem;
    align-items: start;
    padding: 2.25rem 0;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.3s ease;
    text-align: left;
    position: relative;
    border-radius: 20px;
}
.blog-list__item + .blog-list__item {
    padding-top: 2.5rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 0 0 rgba(255, 255, 255, 0.6);
}
.blog-list__item:hover {
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem 1.25rem;
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}
.blog-list__item:focus {
    outline: 2px solid #6b6360;
    outline-offset: 2px;
}
.blog-list__thumb {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(145deg, #f1f5f9 0%, #e2e8f0 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(255, 255, 255, 0.5) inset;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.25s ease;
}
.blog-list__item:hover .blog-list__thumb {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}
.blog-list__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.blog-list__item:hover .blog-list__thumb img {
    transform: scale(1.05);
}
.blog-list__thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 2.5rem;
}
.blog-list__body {
    min-width: 0;
}
.blog-list__category {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary, #0d9488);
    margin-bottom: 0.6rem;
}
.blog-list__category i {
    font-size: 0.85rem;
    opacity: 0.9;
}
.blog-list__title {
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 0.6rem;
    line-height: 1.32;
    letter-spacing: -0.01em;
}
.blog-list__date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}
.blog-list__date i {
    font-size: 0.8rem;
    color: var(--primary, #0d9488);
    opacity: 0.8;
}
.blog-list__excerpt {
    font-size: 1rem;
    color: #475569;
    line-height: 1.62;
    margin: 0 0 1rem;
}
.blog-list__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--primary, #0d9488);
    transition: gap 0.25s ease, color 0.2s ease;
}
.blog-list__btn i:first-child {
    font-size: 0.85rem;
}
.blog-list__btn i:last-child {
    font-size: 0.75rem;
    transition: transform 0.25s ease;
}
.blog-list__item:hover .blog-list__btn i:last-child {
    transform: translateX(5px);
}
.blog-list__empty {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(145deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    border: 1px dashed #cbd5e1;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.03);
}
.blog-list__empty i {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
    display: block;
}
.blog-list__empty p {
    font-size: 1.1rem;
    color: #64748b;
    margin: 0;
}
@media (max-width: 768px) {
    .blog-page {
        padding: 5rem 0 3rem;
    }
    .blog-page__container {
        padding: 0 1.25rem;
    }
    .blog-list__item {
        grid-template-columns: 1fr;
        padding: 1.5rem 0;
        gap: 1.25rem;
    }
    .blog-list__item:hover {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
        margin-left: 0;
        margin-right: 0;
    }
    .blog-list__thumb {
        max-width: 100%;
        border-radius: 12px;
    }
    .blog-page__title {
        font-size: 1.75rem;
    }
    .blog-page__title-wrap {
        flex-wrap: wrap;
        justify-content: center;
    }
    .blog-page__icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }
    .blog-page__header-inner {
        padding: 1.5rem 1rem 2rem;
    }
}

/* ================= PQRSF Modal - Diseño hotelero ================= */
.pqrsf-modal__box--wide {
    max-width: 780px;
    width: 100%;
    max-height: 90vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.pqrsf-modal__layout {
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}
.pqrsf-modal__close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 15;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: rgba(0,0,0,0.25);
    color: #fff;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.25rem;
}
.pqrsf-modal__close-btn:hover {
    background: rgba(0,0,0,0.4);
}
.pqrsf-modal__layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 0;
}
.pqrsf-modal__side {
    background: linear-gradient(165deg, #1a365d 0%, #2c5282 50%, #1e3a5f 100%);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 20px 0 0 20px;
}
.pqrsf-modal__side-content { flex: 1; }
.pqrsf-modal__side-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(184, 134, 11, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #c9a227;
    margin-bottom: 1.25rem;
}
.pqrsf-modal__side-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.pqrsf-modal__side-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1.5rem;
}
.pqrsf-modal__side-image {
    height: 120px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
}
.pqrsf-modal__form-wrap {
    padding: 2rem 2rem 2rem 1.75rem;
}
.pqrsf-modal__form-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a365d;
    margin: 0 0 0.25rem;
}
.pqrsf-modal__form-subtitle {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1.5rem;
}
.pqrsf-form__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}
.pqrsf-type-selector { margin-bottom: 1.25rem; }
.pqrsf-type-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pqrsf-type-option {
    margin: 0;
    cursor: pointer;
}
.pqrsf-type-option input { display: none; }
.pqrsf-type-option__inner {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
    transition: all 0.2s;
}
.pqrsf-type-option__inner i {
    font-size: 1rem;
    color: #94a3b8;
}
.pqrsf-type-option input:checked + .pqrsf-type-option__inner {
    border-color: #1a365d;
    background: rgba(26, 54, 93, 0.08);
    color: #1a365d;
}
.pqrsf-type-option__inner i { color: inherit; }
.pqrsf-type-option input:checked + .pqrsf-type-option__inner i { color: #b8860b; }
.pqrsf-type-option:hover .pqrsf-type-option__inner {
    border-color: #94a3b8;
}

.pqrsf-form__group {
    position: relative;
    margin-bottom: 1.25rem;
}
.pqrsf-form__group--icon .pqrsf-form__input { padding-left: 42px; }
.pqrsf-form__group--icon .pqrsf-form__flabel { left: 42px; }
.pqrsf-form__group--textarea .pqrsf-form__flabel { top: 14px; }
.pqrsf-form__group--textarea .pqrsf-form__input:focus ~ .pqrsf-form__flabel,
.pqrsf-form__group--textarea .pqrsf-form__input:not(:placeholder-shown) ~ .pqrsf-form__flabel { top: -8px; }
.pqrsf-form__icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.pqrsf-form__group--textarea .pqrsf-form__icon { top: 18px; transform: none; }
.pqrsf-form__group:focus-within .pqrsf-form__icon { color: #1a365d; }
.pqrsf-form__input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    background: #fff;
    transition: all 0.2s;
}
.pqrsf-form__input:focus {
    outline: none;
    border-color: #1a365d;
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}
.pqrsf-form__textarea {
    min-height: 90px;
    resize: vertical;
    padding-top: 14px;
}
.pqrsf-form__flabel {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: #94a3b8;
    pointer-events: none;
    transition: all 0.2s;
}
.pqrsf-form__input:focus ~ .pqrsf-form__flabel,
.pqrsf-form__input:not(:placeholder-shown) ~ .pqrsf-form__flabel {
    top: -10px;
    left: 12px;
    transform: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1a365d;
    background: #fff;
    padding: 0 6px;
}
.pqrsf-form__msg {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.pqrsf-form__msg.alert-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.pqrsf-form__msg.alert-success { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.pqrsf-form__submit {
    font-family: var(--btn-font);
    letter-spacing: 0.1em;
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 8px;
}
@media (max-width: 640px) {
    .pqrsf-modal__layout { grid-template-columns: 1fr; }
    .pqrsf-modal__side {
        padding: 1.5rem;
        border-radius: 20px 20px 0 0;
    }
    .pqrsf-modal__side-image { display: none; }
    .pqrsf-modal__form-wrap { padding: 1.5rem; }
    .pqrsf-type-options { flex-direction: column; }
}
.detail-modal__content { margin-top: 0.5rem; }
.detail-modal__desc { color: #475569; line-height: 1.6; margin: 0 0 1rem; white-space: pre-wrap; }
.detail-modal__amount { font-size: 1.5rem; font-weight: 800; color: var(--primary); margin: 0 0 0.5rem; }
.detail-modal__period { font-size: 1rem; font-weight: 500; color: #64748b; }
.detail-modal__icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 0.5rem; }
.detail-modal__date { font-size: 0.9rem; color: #64748b; margin: 0 0 0.75rem; }

.section--bg2 .price-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); }
.section--bg2 .price-card__title { color: #fff; }
.section--bg2 .price-card__desc { color: rgba(255,255,255,.8); }
.section--bg2 .price-card__amount { color: #fff; }
.section--bg2 .price-card__currency { color: rgba(255,255,255,.7); }
.section--bg2 .price-card__period { color: rgba(255,255,255,.6); }
.section--bg2 .news-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); }
.section--bg2 .news-card__title { color: #fff; }
.section--bg2 .news-card__excerpt { color: rgba(255,255,255,.8); }

/* Estilos para tech-card según tipo de fondo */
/* Color 1: Claro */
.section--bg1 .tech-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 251, 0.95));
    border: 1px solid rgba(34, 60, 168, 0.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.section--bg1 .tech-card::before {
    background: radial-gradient(circle, rgba(34, 60, 168, 0.1) 0%, transparent 70%);
}

.section--bg1 .tech-card:hover {
    border-color: rgba(34, 60, 168, 0.2);
    box-shadow: 0 20px 40px rgba(34, 60, 168, 0.15);
}

.section--bg1 .tech-icon {
    background: linear-gradient(135deg, rgba(34, 60, 168, 0.1), rgba(34, 60, 168, 0.05));
}

.section--bg1 .tech-card:hover .tech-icon {
    background: linear-gradient(135deg, rgba(34, 60, 168, 0.2), rgba(34, 60, 168, 0.1));
}

.section--bg1 .tech-icon i {
    color: var(--primary);
}

.section--bg1 .tech-card h4 {
    color: var(--dark);
}

.section--bg1 .tech-card p {
    color: rgba(19, 20, 69, 0.7);
}

/* Color 2: Azul oscuro (usa estilos por defecto de tech-card) */
.section--bg2 .tech-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section--bg2 .tech-card::before {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

.section--bg2 .tech-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

.section--bg2 .tech-card:hover .tech-icon {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
}

.section--bg2 .tech-icon i {
    color: white;
}

.section--bg2 .tech-card h4 {
    color: white;
}

.section--bg2 .tech-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Color 3: Gris azulado medio */
.section--bg3 .tech-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85));
    border: 1px solid rgba(34, 60, 168, 0.15);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.section--bg3 .tech-card::before {
    background: radial-gradient(circle, rgba(34, 60, 168, 0.12) 0%, transparent 70%);
}

.section--bg3 .tech-card:hover {
    border-color: rgba(34, 60, 168, 0.25);
    box-shadow: 0 20px 40px rgba(34, 60, 168, 0.2);
}

.section--bg3 .tech-icon {
    background: linear-gradient(135deg, rgba(34, 60, 168, 0.15), rgba(34, 60, 168, 0.08));
}

.section--bg3 .tech-card:hover .tech-icon {
    background: linear-gradient(135deg, rgba(34, 60, 168, 0.25), rgba(34, 60, 168, 0.15));
}

.section--bg3 .tech-icon i {
    color: var(--primary);
}

.section--bg3 .tech-card h4 {
    color: var(--dark);
}

.section--bg3 .tech-card p {
    color: rgba(19, 20, 69, 0.75);
}

/* ================= AI SECTION ================= */
.ai-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.ai-features {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.ai-feature {
    display: flex;
    gap: 24px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 251, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(34, 60, 168, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.ai-feature:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(34, 60, 168, 0.15);
    border-color: var(--primary);
}

.ai-feature-icon {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(34, 60, 168, 0.3);
}

.ai-feature-icon i {
    font-size: 1.8rem;
    color: white;
}

.ai-feature-content h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.ai-feature-content p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.ai-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-animation {
    width: 100%;
    height: 100%;
    position: relative;
}

.neural-network {
    position: relative;
    width: 100%;
    height: 100%;
}

.neural-network .node {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    box-shadow: 0 10px 30px rgba(34, 60, 168, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.neural-network .node:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.neural-network .node:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 0.3s;
}

.neural-network .node:nth-child(3) {
    top: 50%;
    left: 10%;
    animation-delay: 0.6s;
}

.neural-network .node:nth-child(4) {
    top: 50%;
    right: 10%;
    animation-delay: 0.9s;
}

.neural-network .node:nth-child(5) {
    bottom: 20%;
    left: 30%;
    animation-delay: 1.2s;
}

.neural-network .node:nth-child(6) {
    bottom: 20%;
    right: 30%;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* ================= TIMELINE ================= */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), #3f5efb);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-year {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(34, 60, 168, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-year {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(34, 60, 168, 0.5);
}

.timeline-content {
    flex: 1;
    padding: 30px 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 251, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(34, 60, 168, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    transform: translateX(timeline-item:nth-child(odd) ? 10px : -10px);
    box-shadow: 0 15px 40px rgba(34, 60, 168, 0.2);
}

.timeline-content h4 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.timeline-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ================= SOLUTIONS SECTION ================= */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.solution-card {
    padding: 50px 40px;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.solution-card:hover::before {
    left: 100%;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(34, 60, 168, 0.2);
}

.solution-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(34, 60, 168, 0.3);
    transition: all 0.3s ease;
}

.solution-card:hover .solution-icon {
    transform: rotate(5deg) scale(1.1);
}

.solution-icon i {
    font-size: 2rem;
    color: white;
}

.solution-card h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--dark);
}

.solution-card > p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.solution-features li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
    font-size: 1rem;
}

.solution-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.solution-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.solution-link:hover {
    gap: 12px;
    color: #3f5efb;
}

/* ================= INTEGRATIONS SECTION ================= */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.integration-item {
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 251, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(34, 60, 168, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.integration-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(34, 60, 168, 0.15);
    border-color: var(--primary);
}

.integration-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(34, 60, 168, 0.1), rgba(63, 94, 251, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.integration-item:hover .integration-logo {
    background: linear-gradient(135deg, var(--primary), #3f5efb);
    transform: rotate(5deg) scale(1.1);
}

.integration-logo i {
    font-size: 2rem;
    color: var(--primary);
    transition: color 0.3s ease;
}

.integration-item:hover .integration-logo i {
    color: white;
}

.integration-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark);
}

.integration-item p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
}

/* ================= RESPONSIVE UPDATES ================= */
@media (max-width: 992px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: 10px;
        background: rgba(255, 255, 255, 0.95);
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }

    .appbar__nav {
        flex-direction: column;
        align-items: stretch;
    }

    .about-grid,
    .ai-section {
        grid-template-columns: 1fr;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 70px;
    }

    .timeline-year {
        position: absolute;
        left: 0;
    }

    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Móvil/tablet portrait: una columna para todas las secciones dinámicas (prioridad sobre 992px) */
@media (max-width: 768px) {
    .rooms-grid, .prices-grid, .gallery-grid, .news-grid, .tech-grid, .polizas-grid,
    .values-grid, .integrations-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    .solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero__buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero__stats {
        grid-template-columns: 1fr;
    }

    .values-grid,
    .tech-grid,
    .integrations-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .mission-card,
    .vision-card {
        padding: 30px 24px;
    }

    .solution-card {
        padding: 30px 24px;
    }
}

/* ================= PQRSF CTA Card (sección contacto) ================= */
.contact-form-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.pqrsf-cta-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(15, 118, 110, 0.12));
    border: 1px solid rgba(13, 148, 136, 0.25);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.12);
    transition: all 0.3s ease;
}
.pqrsf-cta-card:hover {
    border-color: rgba(13, 148, 136, 0.4);
    box-shadow: 0 8px 28px rgba(13, 148, 136, 0.18);
}
.pqrsf-cta-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 14px;
    color: #fff;
    font-size: 1.5rem;
}
.pqrsf-cta-text { flex: 1; min-width: 200px; }
.pqrsf-cta-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 0.25rem;
}
.pqrsf-cta-desc { font-size: 0.9rem; color: #64748b; }
.btn-contact-submit,
.pqrsf-cta-btn {
    font-family: var(--btn-font) !important;
    letter-spacing: 0.1em !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.2s ease;
}
.btn-contact-submit:hover,
.pqrsf-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.4);
    color: #fff !important;
}
.section--bg2 .pqrsf-cta-card {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}
.section--bg2 .pqrsf-cta-card:hover { border-color: rgba(255, 255, 255, 0.35); }
.section--bg2 .pqrsf-cta-title { color: #fff; }
.section--bg2 .pqrsf-cta-desc { color: rgba(255, 255, 255, 0.8); }
.section--bg2 .pqrsf-cta-icon { background: linear-gradient(135deg, #0d9488, #0f766e); }
@media (max-width: 576px) {
    .pqrsf-cta-card { flex-direction: column; text-align: center; }
    .pqrsf-cta-btn { width: 100%; }
}

/* ================= SECCIÓN INSTAGRAM ================= */
.section--instagram {
    position: relative;
    padding: clamp(2rem, 5vw, 4rem) 0;
    font-family: var(--font-family);
}
.section-instagram-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.section-instagram__container {
    position: relative;
    z-index: 1;
}
.section-instagram__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.section-instagram__title {
    margin: 0;
    font-size: var(--instagram-title-size, clamp(1.25rem, 3vw, 1.75rem));
    font-weight: 700;
    color: var(--instagram-title-color, #1a3456);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-instagram__title-icon {
    color: #8e8e8e;
    font-size: 0.9em;
}
.section-instagram__handle {
    font-size: var(--instagram-subtitle-size, 0.9rem);
    color: var(--instagram-username-color, #525252);
}
.section-instagram__desc {
    margin: 0 0 1.5rem;
    max-width: 60ch;
    font-size: var(--instagram-subtitle-size, 1rem);
    line-height: 1.5;
    color: var(--instagram-subtitle-color, #525252);
}
.instagram-profile-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    background: #fff;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    margin: 0 auto 1.5rem;
    width: 100%;
    max-width: 100%;
}
.instagram-profile-card--link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}
.instagram-profile-card__top {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.instagram-profile-card__feed {
    margin-top: 0.5rem;
}
.instagram-profile-card__feed .instagram-lightwidget-wrap,
.instagram-profile-card__feed .instagram-posts-row {
    margin-top: 0.25rem;
}
.instagram-profile-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    display: flex;
    align-items: center;
    justify-content: center;
}
.instagram-profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.instagram-profile-card__avatar-placeholder {
    color: #fff;
    font-size: 1.25rem;
}
.instagram-profile-card__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.instagram-profile-card__name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--instagram-profile-name-color, #262626);
}
.instagram-profile-card__username {
    font-size: 0.875rem;
    color: var(--instagram-profile-username-color, #8e8e8e);
}
.instagram-profile-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--instagram-btn-bg, #0095f6);
    color: var(--instagram-btn-text, #fff);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}
.instagram-profile-card__btn:hover {
    opacity: 0.9;
    color: var(--instagram-btn-text, #fff);
}
.instagram-posts-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.instagram-posts-track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex: 1;
    min-width: 0;
}
.instagram-posts-track::-webkit-scrollbar {
    display: none;
}
.instagram-post {
    flex: 0 0 auto;
    width: var(--instagram-cell-size, clamp(200px, 28vw, 280px));
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: start;
    background: #f0f0f0;
}
.section--instagram .instagram-lightwidget-wrap {
    width: 100%;
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
}
.section--instagram .instagram-lightwidget-wrap .lightwidget-widget {
    display: block;
    width: 100%;
}
@media (min-width: 768px) {
    .section--instagram .instagram-lightwidget-wrap {
        min-height: var(--instagram-widget-height, 420px);
    }
    .section--instagram .instagram-lightwidget-wrap .lightwidget-widget {
        height: var(--instagram-widget-height, 420px) !important;
    }
}
.instagram-post__link,
.instagram-post__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.instagram-post__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.instagram-post__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c0c0c0;
    font-size: 2rem;
}
.instagram-post__badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.instagram-posts-nav {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.instagram-posts-nav:hover {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
}


/* Página "sitio en mantenimiento" */
.section--maintenance {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background: #f5f5f5;
}
.section--maintenance .container {
    max-width: 720px;
}
.maintenance-card {
    background: #ffffff;
    border-radius: 1.25rem;
    padding: 3rem 2.25rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    text-align: center;
    color: #111827;
}
.maintenance-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    margin: 0 auto 1.5rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 30% 30%, rgba(250, 204, 21, 0.35), rgba(234, 179, 8, 0.12));
}
.maintenance-icon {
    font-size: 2.4rem;
    color: #facc15;
}
.maintenance-title {
    font-size: clamp(1.75rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #111827;
}
.maintenance-subtitle {
    font-size: 0.98rem;
    margin-bottom: 0;
    color: #4b5563;
}
.maintenance-small {
    font-size: 0.8rem;
    color: #9ca3af;
}
@media (max-width: 575.98px) {
    .maintenance-card {
        padding: 2.25rem 1.75rem;
    }
}

