/* 
 * Donde Alojarse - Sistema de Estilos Estilo Cabaña (Santa Marta)
 * Estética cálida, rústico-moderna. Tonos madera, arena, blanco cálido y verde natural.
 */

/* Importación de Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Paleta de Colores Cabaña Calidez */
    --bg-sand: #FAF5EF;           /* Fondo arena suave */
    --bg-warm-white: #FFFDFB;     /* Blanco cálido para contenedores */
    --wood-dark: #4E3629;         /* Café madera oscura */
    --wood-medium: #704F38;       /* Café madera media */
    --wood-light: #A78B71;        /* Tono arena oscuro / madera clara */
    --wood-gold: #C69A73;         /* Oro / Madera dorada */
    
    --green-forest: #2B4C3F;      /* Verde bosque profundo natural */
    --green-leaf: #3E6B59;        /* Verde hoja suave */
    --green-accent: #E5ECE9;      /* Verde claro para fondo de tags */

    --text-main: #33261F;         /* Café muy oscuro para texto principal */
    --text-muted: #6E5F57;        /* Tono café grisáceo para subtítulos */
    --text-light: #FAF5EF;        /* Texto inverso sobre fondos oscuros */

    /* Fuentes */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Bordes y Sombras */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 10px rgba(78, 54, 41, 0.05);
    --shadow-md: 0 12px 24px rgba(78, 54, 41, 0.08);
    --shadow-lg: 0 20px 40px rgba(78, 54, 41, 0.12);
    
    /* Transiciones */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Estilos Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-sand);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* --- Navbar (Navegación Cabaña) --- */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
}

/* Header en Home (Inicio transparente) */
.navbar-header.nav-home {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Header en scroll o en otras páginas */
.navbar-header.nav-other,
.navbar-header.scrolled {
    background: rgba(255, 253, 251, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: 75px;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(78, 54, 41, 0.08);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.navbar-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.navbar-header.scrolled .navbar-logo img {
    height: 40px;
}

.navbar-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
}

/* En el Home transparente los enlaces son claros */
.nav-home:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

.nav-link:hover,
.nav-home:not(.scrolled) .nav-link:hover {
    color: var(--green-forest);
}

.nav-home:not(.scrolled) .nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--green-forest);
    transition: var(--transition-smooth);
}

.nav-home:not(.scrolled) .nav-link::after {
    background-color: #fff;
}

.nav-link.active {
    color: var(--green-forest);
}

.nav-home:not(.scrolled) .nav-link.active {
    color: #fff;
}

.nav-link.active::after {
    width: 100%;
}

/* Hamburguesa Móvil */
.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger-bar {
    width: 100%;
    height: 2.5px;
    background-color: var(--wood-dark);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-home:not(.scrolled) .hamburger-bar {
    background-color: #fff;
}

/* --- Hero Banner (Home) --- */
.hero-banner {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 120px 24px 60px;
    overflow: hidden;
}

.hero-banner-content {
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.hero-logo {
    width: 180px;
    height: auto;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 650px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Separador Estilo Rústico */
.cabin-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 50px 0;
}

.cabin-line {
    height: 1px;
    width: 80px;
    background-color: var(--wood-light);
}

.cabin-icon {
    font-size: 1.3rem;
    color: var(--wood-medium);
}

/* --- Botones --- */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--green-forest);
    color: var(--text-light);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(43, 76, 63, 0.25);
    border: 1px solid var(--green-forest);
}

.btn-primary:hover {
    background-color: var(--green-leaf);
    border-color: var(--green-leaf);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(43, 76, 63, 0.35);
}

.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--wood-dark);
    border: 2px solid var(--wood-medium);
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.95rem;
}

.btn-secondary:hover {
    background-color: var(--wood-dark);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* --- Secciones Comunes --- */
.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--green-leaf);
    background-color: var(--green-accent);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin-bottom: 12px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 45px;
}

/* --- Slider/Carrusel de Destacados --- */
.featured-section {
    padding: 20px 0 60px;
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 15px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
}

.slider-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Tarjeta Destacados */
.lodging-card-compact {
    background: var(--bg-warm-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(78, 54, 41, 0.08);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    height: 320px;
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition-smooth);
}

.lodging-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--wood-gold);
}

.lodging-card-compact .card-img-wrapper {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.lodging-card-compact .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.lodging-card-compact:hover .card-img {
    transform: scale(1.04);
}

.card-price-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    background: rgba(78, 54, 41, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-light);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 700;
}

.card-price-badge span {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.8;
}

.lodging-card-compact .card-body {
    width: 50%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.lodging-card-compact .card-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--wood-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.card-features {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 500;
}

.feature-divider {
    color: var(--wood-light);
    opacity: 0.4;
}

.btn-card-details {
    align-self: flex-start;
    padding: 8px 20px;
    border: 1.5px solid var(--green-forest);
    border-radius: var(--radius-sm);
    color: var(--green-forest);
    font-size: 0.85rem;
    font-weight: 700;
}

.btn-card-details:hover {
    background-color: var(--green-forest);
    color: var(--text-light);
}

/* Controles Slider */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: var(--bg-warm-white);
    border: 1px solid rgba(78, 54, 41, 0.1);
    color: var(--wood-dark);
    border-radius: 50%;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: var(--transition-smooth);
    line-height: 1;
}

.slider-nav:hover {
    background: var(--wood-dark);
    color: var(--text-light);
    border-color: var(--wood-dark);
}

.slider-nav-prev { left: -10px; }
.slider-nav-next { right: -10px; }

/* Puntos Slider */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--wood-light);
    opacity: 0.4;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--green-forest);
    opacity: 1;
}

.featured-cta {
    margin-top: 35px;
}

/* --- Sección Experiencia Minca --- */
.experience-section {
    padding: 60px 0;
    background-color: rgba(78, 54, 41, 0.02);
    border-top: 1px solid rgba(78, 54, 41, 0.04);
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.experience-img-block {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.experience-img-block::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--wood-gold);
    border-radius: var(--radius-lg);
    margin: 15px;
    pointer-events: none;
}

.experience-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.experience-content-block {
    text-align: left;
}

.experience-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.experience-list li {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* --- Página Alojamientos (Buscador y Grid) --- */
.page-title-section {
    padding: 130px 0 40px;
    background: linear-gradient(to bottom, rgba(78, 54, 41, 0.03), transparent);
}

.filter-container {
    margin-bottom: 50px;
}

.filter-form {
    background: var(--bg-warm-white);
    border: 1px solid rgba(78, 54, 41, 0.08);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.filter-row-top {
    margin-bottom: 20px;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filter-item label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--wood-dark);
}

.form-input, .form-select {
    width: 100%;
    padding: 11px 16px;
    background: var(--bg-sand);
    border: 1px solid rgba(78, 54, 41, 0.12);
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus {
    border-color: var(--green-leaf);
    box-shadow: 0 0 10px rgba(62, 107, 89, 0.15);
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 1rem;
    opacity: 0.6;
}

.filter-row-bottom {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

/* Grid Completo de Alojamientos */
.lodging-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.lodging-card {
    background: var(--bg-warm-white);
    border-radius: var(--radius-md);
    border: 1px solid rgba(78, 54, 41, 0.06);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-smooth);
}

.lodging-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--wood-gold);
}

.lodging-card .card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.lodging-card .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.lodging-card:hover .card-img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(78, 54, 41, 0.1);
    color: var(--wood-medium);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

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

.lodging-card .card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    color: var(--wood-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.card-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-tag {
    background: var(--bg-sand);
    border: 1px solid rgba(78, 54, 41, 0.06);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--wood-medium);
}

.lodging-card .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(78, 54, 41, 0.05);
    padding-top: 16px;
}

.lodging-card .card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--wood-dark);
}

.lodging-card .card-price span {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-muted);
}

.btn-card-action {
    background: var(--green-forest);
    color: var(--text-light);
    font-weight: 700;
    padding: 8px 18px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.btn-card-action:hover {
    background: var(--green-leaf);
}

/* --- Nosotros Layout --- */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.about-subtitle {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    color: var(--wood-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.about-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.about-values {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-values li {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.about-values li::before {
    content: '🍂';
    position: absolute;
    left: 0;
    top: 2px;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

/* --- Contacto Layout --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
}

.contact-info-panel {
    background: var(--wood-dark);
    color: var(--text-light);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-detail-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.detail-icon {
    font-size: 1.4rem;
}

.contact-detail-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--wood-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail-item p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-form-panel {
    background: var(--bg-warm-white);
    border: 1px solid rgba(78, 54, 41, 0.08);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-row-double {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
}

.form-group-field label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--wood-dark);
}

.form-input-styled {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-sand);
    border: 1px solid rgba(78, 54, 41, 0.12);
    border-radius: var(--radius-sm);
    outline: none;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.form-input-styled:focus {
    border-color: var(--green-leaf);
    box-shadow: 0 0 10px rgba(62, 107, 89, 0.15);
}

.btn-primary-styled {
    padding: 12px 28px;
    background: var(--green-forest);
    color: var(--text-light);
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(43, 76, 63, 0.2);
    transition: var(--transition-smooth);
}

.btn-primary-styled:hover {
    background: var(--green-leaf);
    transform: translateY(-1px);
}

/* --- Footer Rústico --- */
.footer-cabinet {
    background: var(--wood-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 50px;
    padding-bottom: 50px;
}

.footer-logo {
    height: 48px;
    margin-bottom: 20px;
}

.footer-brand-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    font-size: 1.2rem;
}

.footer-title {
    font-family: var(--font-heading);
    color: var(--bg-sand);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links-list, .footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.9rem;
}

.footer-links-list a:hover {
    color: var(--wood-gold);
    padding-left: 5px;
}

.footer-contact-list li {
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* --- Widget Flotante de WhatsApp --- */
.whatsapp-float-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: var(--transition-smooth);
}

.whatsapp-float-widget:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: var(--wood-dark);
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

.whatsapp-float-widget:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* --- Alertas y Spinners --- */
.alert {
    background: rgba(198, 154, 115, 0.12);
    border: 1px solid var(--wood-gold);
    color: var(--wood-dark);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3.5px solid rgba(78, 54, 41, 0.1);
    border-radius: 50%;
    border-top-color: var(--green-leaf);
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Animaciones */
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animate-scale-up {
    animation: scaleUp 0.7s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* --- Responsividad --- */
@media (max-width: 992px) {
    .about-grid, .experience-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .experience-img {
        height: 300px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand-column {
        grid-column: 1 / -1;
    }
    .lodging-card-compact {
        flex-direction: column;
        height: auto;
    }
    .lodging-card-compact .card-img-wrapper,
    .lodging-card-compact .card-body {
        width: 100%;
    }
    .lodging-card-compact .card-img-wrapper {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.35rem;
    }
    .hero-subtitle {
        font-size: 1.05rem;
    }
    .navbar-toggle {
        display: flex;
    }
    .navbar-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-warm-white);
        flex-direction: column;
        gap: 0;
        padding: 10px 0;
        box-shadow: var(--shadow-sm);
        border-top: 1px solid rgba(78, 54, 41, 0.08);
        border-bottom: 1px solid rgba(78, 54, 41, 0.08);
        display: none;
    }
    .navbar-nav.open {
        display: flex;
    }
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px 0;
    }
    .nav-link::after {
        display: none;
    }
    /* Estilo del botón toggle activo */
    .navbar-toggle.open .hamburger-bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .navbar-toggle.open .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    .navbar-toggle.open .hamburger-bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row-double {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* --- Estilos para la Página de Detalle de Alojamiento --- */

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--wood-medium);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 16px;
    background: var(--bg-warm-white);
    border: 1px solid rgba(78, 54, 41, 0.08);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.btn-back:hover {
    color: var(--green-forest);
    border-color: var(--green-forest);
    transform: translateX(-4px);
    box-shadow: var(--shadow-md);
}

.detail-container-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: start;
    margin-top: 20px;
}

.detail-container-grid > * {
    min-width: 0;
}

.detail-main-content {
    background: var(--bg-warm-white);
    border: 1px solid rgba(78, 54, 41, 0.06);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--wood-dark);
    margin: 8px 0 12px;
}

.detail-address {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 30px;
}

/* Galería de Fotos */
.detail-gallery {
    margin-bottom: 40px;
}

.gallery-main-wrapper {
    height: 480px;
    max-width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg-sand);
}

.gallery-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease-in-out;
}

.gallery-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.gallery-thumb-item {
    width: 100px;
    height: 70px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
    flex-shrink: 0;
    opacity: 0.7;
}

.gallery-thumb-item:hover,
.gallery-thumb-item.active {
    border-color: var(--wood-gold);
    opacity: 1;
    transform: scale(1.02);
}

.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Subtítulo de Sección de Detalle */
.detail-section-subtitle {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--wood-dark);
    margin-bottom: 15px;
    border-bottom: 1.5px solid rgba(78, 54, 41, 0.08);
    padding-bottom: 8px;
}

.detail-description-section,
.detail-specs-section,
.detail-services-section,
.detail-rules-section {
    margin-top: 40px;
}

.detail-description-text {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.detail-description-text p {
    margin-bottom: 16px;
}

.detail-description-text h2,
.detail-description-text h3 {
    font-family: var(--font-heading);
    color: var(--wood-dark);
    font-weight: 700;
    margin: 24px 0 12px;
}

.detail-description-text h2 {
    font-size: 1.5rem;
}

.detail-description-text h3 {
    font-size: 1.25rem;
}

.detail-description-text ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.detail-description-text li {
    margin-bottom: 8px;
    color: var(--text-muted);
}

.detail-description-text strong {
    color: var(--wood-dark);
    font-weight: 700;
}

/* Características / Specs Grid */
.detail-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spec-card {
    background: var(--bg-sand);
    border: 1px solid rgba(78, 54, 41, 0.06);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.spec-card-icon {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.spec-card strong {
    font-size: 0.95rem;
    color: var(--wood-dark);
}

.spec-card span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Servicios */
.detail-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-sand);
    border: 1px solid rgba(78, 54, 41, 0.04);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--wood-medium);
}

.service-icon {
    font-size: 1rem;
    color: var(--green-leaf);
}

/* Reglas */
.detail-rules-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-rules-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 20px;
}

.detail-rules-list li::before {
    content: '•';
    color: var(--wood-gold);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Sidebar Reservas */
.detail-sidebar {
    position: sticky;
    top: 110px;
    z-index: 10;
}

.sticky-booking-card {
    background: var(--bg-warm-white);
    border: 1px solid rgba(78, 54, 41, 0.08);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.booking-price-header {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 20px;
}

.booking-price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--wood-dark);
}

.booking-price-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.booking-divider {
    border: none;
    border-top: 1.5px solid rgba(78, 54, 41, 0.08);
    margin: 0 0 20px 0;
}

.booking-guarantee-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .detail-container-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .detail-sidebar {
        position: relative;
        top: 0;
    }
    .gallery-main-wrapper {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .detail-specs-grid {
        grid-template-columns: 1fr;
    }
    .detail-main-content {
        padding: 24px;
    }
    .gallery-main-wrapper {
        height: 260px;
    }
}

/* --- Estilos para la Sección de Blog --- */

.blog-hero {
    position: relative;
    padding: 100px 0;
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}

.blog-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.blog-hero-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

.blog-hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    max-width: 600px;
}

/* Grilla del Blog */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.blog-card {
    background: var(--bg-warm-white);
    border: 1px solid rgba(78, 54, 41, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--wood-gold);
}

.blog-card-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-img {
    transform: scale(1.06);
}

.blog-card-date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: var(--green-leaf);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(62, 107, 89, 0.2);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-author {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.blog-card-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--wood-dark);
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-card-title a {
    transition: var(--transition-smooth);
}

.blog-card-title a:hover {
    color: var(--green-forest);
}

.blog-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-link {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--wood-medium);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.blog-card-link:hover {
    color: var(--green-forest);
}

.blog-card-link .arrow {
    transition: var(--transition-smooth);
}

.blog-card-link:hover .arrow {
    transform: translateX(4px);
}

/* Detalle del Blog */
.blog-detail-wrapper {
    background: var(--bg-warm-white);
    border: 1px solid rgba(78, 54, 41, 0.06);
    border-radius: var(--radius-md);
    padding: 50px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}

.blog-detail-header {
    margin-bottom: 30px;
}

.blog-detail-meta {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

.blog-detail-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--wood-dark);
    line-height: 1.2;
    max-width: 900px;
    margin: 0 auto;
}

.blog-detail-cover {
    height: 520px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.blog-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-detail-content {
    max-width: 780px;
    margin: 0 auto;
}

.blog-detail-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.blog-detail-text p {
    margin-bottom: 22px;
}

.blog-detail-text h2,
.blog-detail-text h3 {
    font-family: var(--font-heading);
    color: var(--wood-dark);
    font-weight: 700;
    margin: 36px 0 16px;
}

.blog-detail-text h2 {
    font-size: 1.7rem;
    border-bottom: 1.5px solid rgba(78, 54, 41, 0.08);
    padding-bottom: 8px;
}

.blog-detail-text h3 {
    font-size: 1.35rem;
}

.blog-detail-text ul {
    margin-bottom: 26px;
    padding-left: 24px;
    list-style-type: disc;
}

.blog-detail-text li {
    margin-bottom: 10px;
}

.blog-detail-text strong {
    color: var(--wood-dark);
    font-weight: 700;
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 60px 0;
    }
    .blog-hero-title {
        font-size: 2.2rem;
    }
    .blog-detail-wrapper {
        padding: 24px;
    }
    .blog-detail-title {
        font-size: 1.95rem;
    }
    .blog-detail-cover {
        height: 300px;
    }
}


