/* ==========================================================================
   1. DESIGN TOKENS (Manual de Identidad Corporativa)
   ========================================================================== */

:root {
    --color-blue: #002169;       /* Azul Primario Corporativo */
    --color-light-blue: #0069A7; /* Azul Secundario para Acciones */
    --color-green: #009719;      /* Verde de Conversión */
    --color-honey: #CFDDBB;      /* Tono Miel para Acentos */
    --color-gray: #C1C5C8;       /* Bordes y Líneas */
    --color-dark-gray: #323E48;  /* Gris Premium para Textos */
    --color-white: #FFFFFF;

    --font-headings: 'Gotham', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Adrianna', 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-dark-gray);
    background-color: #FBFDF9;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--color-blue);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ==========================================================================
   BOTÓN TELEFÓNICO FLOTANTE (SIEMPRE FIJO)
   ========================================================================== */

.floating-phone-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--color-green);
    color: var(--color-white);
    padding: 14px 22px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(0, 151, 25, 0.4);
    z-index: 2000;
    transition: transform 0.2s ease, background-color 0.2s ease;
    animation: pulse-green 2s infinite;
}

.floating-phone-btn:hover {
    background-color: #007613;
    transform: scale(1.05);
}

@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(0, 151, 25, 0.7); }
    70%  { box-shadow: 0 0 0 15px rgba(0, 151, 25, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 151, 25, 0); }
}

@media (max-width: 768px) {
    .floating-phone-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 18px;
        font-size: 14px;
    }
}

/* ==========================================================================
   2. MAIN NAVIGATION HEADER
   ========================================================================== */

.site-header {
    background-color: var(--color-white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo-img {
    height: 80px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-placeholder-icon {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-green);
    border-radius: 50%;
    position: relative;
    display: inline-block;
}

.logo-placeholder-icon::before {
    content: "🌲";
    position: absolute;
    top: 4px;
    left: 8px;
    color: var(--color-green);
    font-size: 18px;
}

.logo-text-stack {
    display: flex;
    flex-direction: column;
}

.logo-main-title {
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--color-blue);
    line-height: 1.1;
}

.logo-subtitle {
    font-size: 10px;
    color: var(--color-green);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.logo-wyndham {
    font-size: 9px;
    color: var(--color-light-blue);
    letter-spacing: 1px;
    border-top: 1px solid var(--color-gray);
    margin-top: 2px;
    padding-top: 2px;
    font-weight: bold;
}

.menu-toggle-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--color-blue);
    border-radius: 2px;
    transition: 0.3s ease;
}

.nav-menu {
    display: flex;
    gap: 22px;
    list-style: none;
}

.nav-item {
    font-weight: 600;
    font-size: 14px;
    color: var(--color-dark-gray);
    transition: color 0.2s ease;
}

.nav-item:hover {
    color: var(--color-light-blue);
}

.cta-header-btn {
    background-color: var(--color-light-blue);
    color: var(--color-white);
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.cta-header-btn:hover {
    background-color: var(--color-blue);
}

/* ==========================================================================
   3. HERO SCENERY (Offers Variant)
   ========================================================================== */

.hero-section {
    /* Mantiene la imagen centrada y cubriendo todo el espacio */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    /* El resto de tu configuración intacta */
    height: 55vh;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
    padding: 20px;
    position: relative;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.hero-content .tagline {
    font-size: 24px;
    color: var(--color-honey);
    font-weight: 500;
    margin-bottom: 30px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.booking-engine-container {
    background-color: var(--color-white);
    padding: 22px;
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    width: 100%;
    max-width: 1000px;
    position: absolute;
    bottom: -45px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    gap: 15px;
    align-items: end;
}

.input-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-blue);
    margin-bottom: 6px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-gray);
    border-radius: 6px;
    font-family: var(--font-body);
    background-color: #F8F9FA;
}

.btn-submit-booking {
    background-color: var(--color-green);
    color: var(--color-white);
    border: none;
    padding: 14px 30px;
    border-radius: 6px;
    font-family: var(--font-headings);
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
}

/* ==========================================================================
   4. SECTIONS ARCHITECTURE
   ========================================================================== */

section {
    padding: 90px 20px 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 { font-size: 34px; margin-bottom: 12px; }
.section-header p  { color: #5A656F; max-width: 600px; margin: 0 auto; }

/* 4A. EXCLUSIVE OFFERS GRID */

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 25px;
}

.offer-card {
    background-color: var(--color-white);
    border: 1px solid #E5E8EA;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    transition: transform 0.2s ease;
}

.offer-card:hover { transform: translateY(-5px); }

.offer-image { height: 200px; background-size: cover; background-position: center; position: relative; }

.offer-badge { position: absolute; top: 15px; left: 15px; background-color: var(--color-green); color: var(--color-white); padding: 6px 14px; font-size: 11px; font-weight: bold; border-radius: 4px; text-transform: uppercase; }

.offer-details { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; text-align: left; }
.offer-details h3 { font-size: 20px; margin-bottom: 10px; }
.offer-details p  { font-size: 14px; color: #5A656F; margin-bottom: 20px; flex-grow: 1; }

.offer-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px solid #EFF1F2; }

.offer-promo-code { font-size: 11px; background: #F0F4F8; color: var(--color-light-blue); padding: 4px 8px; border-radius: 4px; font-weight: bold; }

.btn-offer-action { background-color: var(--color-light-blue); color: var(--color-white); padding: 10px 20px; border-radius: 6px; font-weight: bold; font-size: 13px; }

/* 4B. ACCOMMODATIONS (SUITES ARCHITECTURE) */

.rooms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.room-card  { background-color: var(--color-white); border: 1px solid #E5E8EA; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }

.room-image { height: 220px; background-size: cover; background-position: center; position: relative; }

.room-tag { position: absolute; top: 15px; right: 15px; background-color: var(--color-blue); color: var(--color-white); padding: 6px 14px; font-size: 11px; font-weight: bold; border-radius: 4px; text-transform: uppercase; }

.room-details { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; text-align: left; }
.room-details h3 { font-size: 19px; margin-bottom: 8px; }
.room-details p  { font-size: 14px; color: #5A656F; margin-bottom: 15px; }

.room-amenities { list-style: none; display: flex; flex-direction: column; gap: 6px; margin: 15px 0; padding: 15px 0; border-top: 1px solid #EFF1F2; border-bottom: 1px solid #EFF1F2; }
.room-amenities li { font-size: 13px; color: #555; display: flex; align-items: center; gap: 8px; }

.room-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.room-occupancy { font-size: 12px; color: var(--color-green); font-weight: bold; text-transform: uppercase; }

.btn-room-action { background-color: var(--color-light-blue); color: var(--color-white); padding: 10px 18px; border-radius: 6px; font-weight: bold; font-size: 13px; }

/* 4C. AMENITIES FULL EXTENDED */

.amenities-section { background-color: #F3F6F2; max-width: 100%; }
.amenities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.amenity-card { background: var(--color-white); padding: 30px; border-radius: 10px; border-bottom: 4px solid var(--color-honey); text-align: left; }
.amenity-card h3 { font-size: 18px; margin-bottom: 8px; }
.amenity-card p  { font-size: 14px; color: #5A656F; }

/* 4D. ATTRACTIONS FULL EXTENDED */

.attractions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.attraction-card { background: var(--color-white); border-radius: 10px; overflow: hidden; border: 1px solid #E5E8EA; display: flex; flex-direction: column; }

.attraction-img  { height: 180px; background-size: cover; background-position: center; }
.attraction-info { padding: 20px; flex-grow: 1; text-align: left; }
.attraction-info h3 { font-size: 18px; margin-bottom: 8px; }
.attraction-info p  { font-size: 14px; color: #5A656F; }

/* ==========================================================================
   5. LOCATION & CONTACT (Tarjetas Telefónicas Oficiales)
   ========================================================================== */

.location-contact-section { background-color: #F7F9F6; max-width: 100%; }

.location-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }

.map-interactive-box { background-color: var(--color-white); border-radius: 12px; padding: 35px; box-shadow: 0 4px 20px rgba(0,0,0,0.03); border: 1px solid #E5E8EA; text-align: left; }

.map-badge { background: #EAEFEA; color: var(--color-green); padding: 6px 12px; font-size: 12px; font-weight: bold; border-radius: 4px; display: inline-block; margin-bottom: 20px; }

.premium-phone-container { display: flex; flex-direction: column; gap: 16px; margin-bottom: 25px; }

.phone-call-card { display: flex; align-items: center; justify-content: space-between; background-color: var(--color-white); border: 2px solid #E2E8F0; border-radius: 10px; padding: 16px 20px; transition: all 0.2s ease-in-out; cursor: pointer; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02); }

.phone-call-card.reservation-style { border-left: 6px solid var(--color-green); }
.phone-call-card.reservation-style:hover { border-color: var(--color-green); box-shadow: 0 6px 15px rgba(0, 151, 25, 0.12); transform: translateY(-2px); }
.phone-call-card.reservation-style:active { transform: translateY(1px); }

.card-phone-meta { display: flex; flex-direction: column; text-align: left; }
.card-phone-meta .phone-title   { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #718096; margin-bottom: 2px; }
.card-phone-meta .phone-number  { font-size: 22px; font-weight: 800; font-family: var(--font-headings); color: var(--color-blue); line-height: 1.2; }
.card-phone-meta .phone-caption { font-size: 11px; color: #718096; margin-top: 2px; }

.phone-action-circle { width: 48px; height: 48px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 20px; color: var(--color-white); transition: background-color 0.2s ease; }

.reservation-style .phone-action-circle       { background-color: var(--color-green); }
.reservation-style:hover .phone-action-circle { background-color: #007613; }

.map-real-container { width: 100%; height: 230px; margin: 15px 0 25px 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--color-gray); }

.contact-form-box { background: var(--color-white); padding: 40px 30px; border-radius: 12px; box-shadow: 0 6px 25px rgba(0,0,0,0.05); border: 1px solid #E5E8EA; }

.form-field { display: flex; flex-direction: column; margin-bottom: 18px; text-align: left; }
.form-field label { font-size: 12px; font-weight: bold; margin-bottom: 6px; color: var(--color-blue); text-transform: uppercase; }
.form-field input,
.form-field textarea { padding: 12px; border: 1px solid var(--color-gray); border-radius: 6px; background-color: #F8F9FA; }

.btn-submit-form { background-color: var(--color-blue); color: var(--color-white); border: none; padding: 14px; width: 100%; font-weight: bold; border-radius: 6px; cursor: pointer; text-transform: uppercase; }

/* ==========================================================================
   6. SITE FOOTER
   ========================================================================== */

.site-footer { background-color: var(--color-dark-gray); color: var(--color-white); padding: 60px 20px 30px 20px; }

.footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr repeat(2, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid #4F5E6A; }

.footer-brand h4 { color: var(--color-white); margin-bottom: 15px; }
.footer-brand p  { font-size: 14px; color: var(--color-gray); margin-bottom: 8px; }

.footer-links h4 { color: var(--color-honey); margin-bottom: 15px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; font-size: 14px; color: var(--color-gray); }

.footer-bottom { max-width: 1200px; margin: 25px auto 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--color-gray); }

.ada-badge { border: 1px solid #4F5E6A; padding: 5px 10px; border-radius: 4px; }

/* ==========================================================================
   7. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 992px) {
    .rooms-grid,
    .amenities-grid,
    .attractions-grid { grid-template-columns: repeat(2, 1fr); }
    .offers-grid       { grid-template-columns: repeat(2, 1fr); }
    .location-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle-btn { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100vh;
        background-color: var(--color-white);
        box-shadow: -6px 0 20px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 90px 30px;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        gap: 25px;
    }

    .nav-menu.active { right: 0; }
    .nav-item { font-size: 18px; display: block; width: 100%; }
    .cta-header-btn { display: none; }

    .hero-content h1 { font-size: 32px; }

    .offers-grid,
    .amenities-grid,
    .attractions-grid,
    .rooms-grid { grid-template-columns: 1fr; }

    .footer-grid   { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }

    .card-phone-meta .phone-number { font-size: 18px; }
    .phone-action-circle { width: 40px; height: 40px; font-size: 16px; }
}

/* ==========================================================================
   ACTUALIZACIÓN DE IMÁGENES
   ========================================================================== */


.offer-image { height: 200px; position: relative; overflow: hidden; }
.room-image { height: 220px; position: relative; overflow: hidden; }
.attraction-img { height: 180px; position: relative; overflow: hidden; }

.offer-image img,
.room-image img,
.attraction-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center;
    transition: transform 0.4s ease;
}

.offer-card:hover .offer-image img,
.room-card:hover .room-image img,
.attraction-card:hover .attraction-img img {
    transform: scale(1.05);
}

/* ==========================================================================
   LEGAL PAGES (Privacy Policy & Terms and Conditions)
   ========================================================================== */

/* Heros */
.policy-hero { 
    background: linear-gradient(rgba(0, 33, 105, 0.78), rgba(50, 62, 72, 0.76)), url('../img/1.avif') center/cover no-repeat;
    color: var(--color-white); 
    text-align: center; 
    padding: 90px 20px; 
} 

.terms-hero { 
    background: linear-gradient(rgba(0, 33, 105, 0.78), rgba(50, 62, 72, 0.78)), url('../img/9.avif') center/cover no-repeat;
    color: var(--color-white); 
    text-align: center; 
    padding: 95px 20px; 
} 

.policy-hero h1, .terms-hero h1 { 
    color: var(--color-white); 
    font-size: clamp(34px, 5vw, 54px); 
    margin-bottom: 14px; 
    text-shadow: 0 2px 12px rgba(0,0,0,0.28);
} 

.policy-hero p, .terms-hero p { 
    max-width: 820px; 
    margin: 0 auto; 
    color: var(--color-honey); 
    font-size: 18px; 
} 

/* Layout & Typography */
.policy-layout, .terms-layout { 
    max-width: 1180px; 
    margin: 0 auto; 
    padding: 60px 20px 80px; 
    display: grid; 
    grid-template-columns: 285px 1fr; 
    gap: 32px; 
} 

.policy-toc, .terms-toc { 
    position: sticky; 
    top: 95px; 
    align-self: start; 
    background: var(--color-white); 
    border: 1px solid #E5E8EA; 
    border-radius: 14px; 
    padding: 22px; 
    box-shadow: 0 8px 28px rgba(0,0,0,0.04); 
} 

.policy-toc h2, .terms-toc h2 { 
    font-size: 18px; 
    margin-bottom: 12px; 
} 

.policy-toc a, .terms-toc a { 
    display: block; 
    padding: 9px 0; 
    color: #5A656F; 
    font-size: 14px; 
    border-bottom: 1px solid #EFF1F2; 
} 

.policy-toc a:last-child, .terms-toc a:last-child { border-bottom: none; } 
.policy-toc a:hover, .terms-toc a:hover { color: var(--color-light-blue); } 

.policy-card, .terms-card { 
    background: var(--color-white); 
    border: 1px solid #E5E8EA; 
    border-radius: 14px; 
    box-shadow: 0 8px 28px rgba(0,0,0,0.04); 
    padding: 42px; 
} 

.last-updated { 
    display: inline-block; 
    background: #F0F4F8; 
    color: var(--color-light-blue); 
    padding: 8px 12px; 
    border-radius: 6px; 
    font-size: 13px; 
    font-weight: 700; 
    margin-bottom: 28px; 
} 

.policy-section, .terms-section { 
    padding: 28px 0; 
    border-top: 1px solid #EFF1F2; 
} 

.policy-section:first-of-type, .terms-section:first-of-type { 
    border-top: none; 
    padding-top: 0; 
} 

.policy-section h2, .terms-section h2 { 
    font-size: 24px; 
    margin-bottom: 12px; 
} 

.policy-section p, .terms-section p, 
.policy-section li, .terms-section li { 
    color: #5A656F; 
    font-size: 15px; 
} 

.policy-section ul, .terms-section ul { 
    padding-left: 22px; 
    margin-top: 10px; 
} 

.policy-section li, .terms-section li { margin-bottom: 8px; } 

/* Boxes and Notes */
.contact-box, .notice-box { 
    background: #F7F9F6; 
    border-left: 5px solid var(--color-green); 
    padding: 22px; 
    border-radius: 10px; 
    margin-top: 12px; 
} 

.contact-box strong, .notice-box strong { color: var(--color-blue); } 

.source-note { 
    font-size: 13px; 
    color: #5A656F; 
    background: #F8F9FA; 
    border: 1px solid #E5E8EA; 
    border-radius: 8px; 
    padding: 14px; 
    margin-top: 24px; 
} 

.source-note strong { color: var(--color-blue); } 

@media (max-width: 900px) { 
    .policy-layout, .terms-layout { 
        grid-template-columns: 1fr; 
        padding-top: 36px; 
    } 
    .policy-toc, .terms-toc { position: static; } 
} 

@media (max-width: 768px) { 
    .policy-card, .terms-card { padding: 28px 20px; } 
    .terms-hero { padding: 75px 18px; } 
}

/* ==========================================================================
    DISEÑO EXCLUSIVO PARA OFERTA ÚNICA HORIZONTAL
   ========================================================================== */

.single-offer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 40px 20px;
}

.single-offer-card {
    display: flex;
    flex-direction: row; 
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08); 
}

.single-offer-text {
    flex: 1; 
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-offer-image {
    flex: 1; 
    min-height: 320px;
}

.single-offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

@media (max-width: 768px) {
    .single-offer-card {
        flex-direction: column-reverse; 
    }
    .single-offer-text {
        padding: 25px;
    }
    .single-offer-image {
        min-height: 250px;
    }
}
/* ==========================================================================
   AJUSTE RESPONSIVO PARA EL MOTOR DE RESERVAS (SOLO CELULARES)
   ========================================================================== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px !important;
    }

    .booking-engine-container {
        width: 92%;
        padding: 20px;            
        bottom: -65px !important;
    }

    .booking-form {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .booking-form form,
    .btn-submit-booking {
        grid-column: span 2;
        width: 100%;
    }

    .btn-submit-booking {
        padding: 12px;
        margin-top: 4px;
        text-align: center;
    }
}
/* ==========================================================================
   AJUSTE PARA EL TAMAÑO DEL LOGO (SOLO CELULARES)
   ========================================================================== */
@media (max-width: 768px) {
    .site-logo-img {
        max-width: 250px !important; /* Puedes bajar este número a 130px o subirlo a 170px según te guste */
        height: auto;
    }
}