/* ==========================================================================
   CSS Variables & Settings
   ========================================================================== */
:root {
    /* Brand Colors */
    --primary-color: #2565A8;       /* Azul de marca */
    --primary-light: #3d7bc7;
    --primary-dark: #1a4d87;
    --accent-color: #C9A96E;        /* Dorado cálido complementario */
    --accent-hover: #a88850;
    --cream: #F5EDD8;               /* Crema del logo */
    --text-main: #2C3242;
    --text-muted: #6B7A8D;
    --bg-main: #ffffff;
    --bg-light: #F7F4EF;            /* Blanco cálido */
    --border-color: #E2DDD5;
    --error-color: #e53e3e;
    --success-color: #38a169;

    /* Typography */
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;

    /* Spacing & Sizes */
    --section-spacing: 5rem;
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease-in-out;
    --shadow-sm: 0 4px 6px -1px rgba(37, 101, 168, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px -3px rgba(37, 101, 168, 0.12), 0 4px 10px -2px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 40px -5px rgba(37, 101, 168, 0.15), 0 10px 16px -5px rgba(0, 0, 0, 0.07);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--primary-color);
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.container-narrow {
    max-width: 900px;
}

.py-section {
    padding-top: var(--section-spacing);
    padding-bottom: var(--section-spacing);
}

.bg-light {
    background-color: var(--bg-light);
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    display: block;
    width: 2.75rem;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin: 0.875rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 1.25rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.97);
    padding: 0.75rem 0;
    box-shadow: 0 1px 20px rgba(37, 101, 168, 0.1);
    backdrop-filter: blur(8px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 72px;
    width: auto;
    transition: var(--transition);
}

/* Logo claro visible en hero oscuro, logo azul al scrollear */
.logo-dark  { display: none; }
.logo-light { display: block; }

.header.scrolled .logo-dark  { display: block; }
.header.scrolled .logo-light { display: none; }

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

.nav-list {
    display: flex;
    gap: 2.5rem;
}

.nav-list a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    position: relative;
}

.header:not(.scrolled) .nav-list a {
    color: rgba(255, 255, 255, 0.9);
}

.header:not(.scrolled) .mobile-menu-btn {
    color: white;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-list a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 3rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Imagen de fondo */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('img/518109548.jpg');
    background-size: cover;
    background-position: center calc(40% + var(--hero-parallax, 0px));
    z-index: 0;
    will-change: background-position;
}

/* Overlay con degradado */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        rgba(8, 22, 50, 0.93) 0%,
        rgba(8, 22, 50, 0.86) 52%,
        rgba(8, 22, 50, 0.70) 100%
    );
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: white;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-title em {
    display: block;
    font-style: italic;
    font-size: 1.08em;
    color: var(--accent-color);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 520px;
}

/* Highlights grid */
.hero-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
}

.highlight-item i {
    color: var(--accent-color);
    font-size: 0.875rem;
    width: 16px;
    flex-shrink: 0;
}

/* CTA Buttons */
.hero-ctas {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 101, 168, 0.4); }
    50%       { box-shadow: 0 4px 28px rgba(37, 101, 168, 0.65), 0 0 0 6px rgba(37, 101, 168, 0.12); }
}

.btn-booking {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(37, 101, 168, 0.4);
    transition: var(--transition);
    letter-spacing: 0.01em;
    text-transform: none;
    animation: pulse-glow 3s ease-in-out infinite;
}

.btn-booking:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(37, 101, 168, 0.55);
    animation: none;
}

.btn-outline {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.88);
    padding: 1rem 1.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-transform: none;
    letter-spacing: 0;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.75);
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
}

/* Rating row */
.hero-rating {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.rating-score-pill {
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 8px 8px 8px 0;
    line-height: 1;
}

.rating-details {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.rating-details strong {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
}

.rating-details span {
    font-size: 0.775rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Hero Form Card */
.hero-form-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
}

.hero-form-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1.5px solid var(--border-color);
}

.hero-form-header h3 {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 0.4rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-form-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Legacy hero-image-outer kept for safety */
.hero-image-outer {
    position: relative;
    padding-bottom: 2rem;
}

.hero-image-outer::before {
    content: '';
    position: absolute;
    top: 1.75rem;
    right: -1.75rem;
    left: 1.75rem;
    bottom: 2.5rem;
    border: 2px solid rgba(245, 237, 216, 0.35);
    border-radius: var(--border-radius-lg);
    pointer-events: none;
    z-index: 0;
}

.hero-image-wrapper {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

/* Vignette suave en la parte inferior de la imagen */
.hero-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(37, 101, 168, 0.28) 0%,
        transparent 45%
    );
    pointer-events: none;
    border-radius: inherit;
}

/* Animación Ken Burns al cargar */
@keyframes ken-burns {
    from { transform: scale(1.07); }
    to   { transform: scale(1); }
}

.hero-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    animation: ken-burns 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    transition: transform 0.6s ease;
}

.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
    animation: none;
}

.floating-badge {
    position: absolute;
    bottom: 2rem;
    left: -2rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Booking.com Badges */
.booking-badge-float {
    background: #003b95;
    color: white;
    padding: 0.5rem 1rem;
    gap: 0.75rem;
    border-radius: 8px;
}

.booking-score {
    background: #003b95;
    color: white;
    padding: 0.5rem;
    border-radius: 8px 8px 8px 0;
    font-weight: bold;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.booking-text {
    display: flex;
    flex-direction: column;
}

.booking-text strong {
    font-size: 1rem;
    color: white;
}

.booking-text span {
    font-size: 0.75rem;
    color: #e6e6e6;
    font-weight: normal;
}

/* ==========================================================================
   Amenities
   ========================================================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.amenity-item {
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.amenity-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.amenity-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.85;
}

.amenity-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.amenity-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(37, 101, 168, 0.85) 0%, rgba(37, 101, 168, 0) 55%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: white;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    border-left: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

/* Comilla decorativa */
.testimonial-card::before {
    content: '\201C';
    font-family: var(--font-heading);
    font-size: 9rem;
    color: var(--primary-color);
    opacity: 0.06;
    position: absolute;
    top: -1.5rem;
    left: 0.75rem;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-text {
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.7;
    font-family: var(--font-heading);
    font-weight: 400;
}

.guest-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.guest-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.guest-date {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

/* Booking Summary */
.booking-summary-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.booking-score-large {
    background: #003b95;
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 10px 10px 10px 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.booking-summary-text {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.booking-summary-text strong {
    color: #003b95;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.booking-summary-text span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.booking-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.category-badge {
    background: rgba(37, 101, 168, 0.07);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(37, 101, 168, 0.18);
}

.guest-avatar-initial {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.booking-initial {
    background-color: var(--primary-color);
}

.flag-icon {
    width: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}

/* ==========================================================================
   Location
   ========================================================================== */
.distances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.distance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.1rem 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--primary-color);
}

.distance-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
    width: 20px;
    flex-shrink: 0;
    opacity: 0.8;
}

.distance-item div {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.distance-item strong {
    font-size: 0.875rem;
    color: var(--text-main);
    font-weight: 600;
    font-family: var(--font-body);
}

.distance-item span {
    font-size: 0.775rem;
    color: var(--text-muted);
}


.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: white;
}

.map-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 1.5rem;
    background: white;
    border-top: 1px solid var(--border-color);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--primary-color);
}

.info-item i {
    color: var(--accent-color);
    font-size: 1.125rem;
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.accordion-item {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.accordion-item.active {
    border-color: rgba(37, 101, 168, 0.3);
    box-shadow: var(--shadow-md);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: none;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.125rem;
    color: var(--primary-color);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary-light);
}

.accordion-header i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
    font-size: 0.875rem;
    opacity: 0.7;
    flex-shrink: 0;
    margin-left: 1rem;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: white;
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-img {
    height: 72px;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: rgba(245, 237, 216, 0.75);
    margin-bottom: 1.5rem;
    max-width: 300px;
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(245, 237, 216, 0.12);
    border-radius: 50%;
    color: var(--cream);
    border: 1px solid rgba(245, 237, 216, 0.2);
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(245, 237, 216, 0.25);
    border-color: var(--cream);
    transform: translateY(-3px);
}

.footer h4 {
    font-family: var(--font-heading);
    color: var(--cream);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(245, 237, 216, 0.65);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-contact p {
    color: rgba(245, 237, 216, 0.65);
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--accent-color);
    width: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.25rem 0;
    text-align: center;
    color: rgba(245, 237, 216, 0.5);
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    visibility: hidden;
}

.reveal.active {
    opacity: 1;
    visibility: visible;
}

/* Fade Up */
.fade-up {
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-up.active {
    transform: translateY(0);
}

/* Fade Left */
.fade-left {
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-left.active {
    transform: translateX(0);
}

/* Zoom In */
.zoom-in {
    transform: scale(0.92);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.zoom-in.active {
    transform: scale(1);
}

/* ==========================================================================
   Media Queries (Responsive)
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        gap: 2.5rem;
    }

    .hero-title {
        font-size: 2.75rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* Navigation */
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        font-size: 1.125rem;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    /* Hero */
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .hero-form-card {
        padding: 1.5rem;
    }

    /* Amenities: 1 columna en móvil */
    .amenities-grid {
        grid-template-columns: 1fr;
    }

    /* Contact form inferior */
    .contact-form {
        padding: 1.5rem 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* General */
    .section-title {
        font-size: 2.25rem;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand .logo-img {
        height: 60px;
    }

    /* WhatsApp */
    .whatsapp-float {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }

    /* Hero contact bar */
    .hero-contact-bar {
        font-size: 0.72rem;
        gap: 0.4rem;
    }
}

/* ==========================================================================
   Hero Contact Bar
   ========================================================================== */
.hero-contact-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    letter-spacing: 0.04em;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.hero-contact-bar i {
    font-size: 0.75rem;
    color: var(--accent-color);
}

.hero-contact-sep {
    color: var(--accent-color);
    font-weight: 300;
}

/* ==========================================================================
   Contact Form Section
   ========================================================================== */
.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* El form inferior siempre en columna única */
.contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background: var(--bg-light);
    transition: border-color 0.2s;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e53e3e;
}

.form-error {
    font-size: 0.8rem;
    color: #e53e3e;
    display: none;
}

.form-group.error .form-error {
    display: block;
}

.btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 0.25rem;
}

.form-success {
    margin-top: 1.25rem;
    padding: 1rem 1.25rem;
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    border-radius: var(--border-radius);
    display: none;
    align-items: center;
    gap: 0.75rem;
    color: #276749;
    font-size: 0.95rem;
}

.form-success i {
    color: #38a169;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* ==========================================================================
   WhatsApp Floating Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

