/* ==========================================================================
   SYSTEM DESIGN - LOS 4 NOGALES
   ========================================================================== */

   :root {
    /* Colors */
    --color-bg-white: #ffffff;
    --color-bg-light: #f8fafc;
    --color-bg-dark: #0f172a;
    --color-bg-card-dark: #1e293b;
    
    --color-text-dark: #334155;
    --color-text-black: #0f172a;
    --color-text-light: #64748b;
    --color-text-white: #f8fafc;
    
    /* Accents (HSL customized for premium vibrancy and harmony) */
    --accent-orange: hsl(24, 95%, 53%);      /* #f97316 */
    --accent-orange-hover: hsl(24, 95%, 45%);
    --accent-orange-glow: rgba(249, 115, 22, 0.15);
    
    --accent-green: hsl(142, 70%, 45%);       /* #10b981 */
    --accent-green-hover: hsl(142, 70%, 37%);
    --accent-green-glow: rgba(16, 185, 129, 0.15);
    
    --accent-blue: hsl(200, 95%, 43%);        /* #0284c7 */
    --accent-blue-hover: hsl(200, 95%, 35%);
    --accent-blue-glow: rgba(2, 132, 199, 0.15);

    /* Fonts */
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Manrope', sans-serif;

    /* Layout & Utilities */
    --header-height: 90px;
    --header-height-scrolled: 75px;
    --container-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.06), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
    --shadow-premium: 0 30px 60px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-white);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-black);
    letter-spacing: 0.05em;
    font-weight: 400;
}

p {
    font-weight: 400;
    color: var(--color-text-light);
}

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

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

.text-white {
    color: var(--color-text-white);
}

.text-gray {
    color: var(--color-text-light);
}

.relative {
    position: relative;
}

.relative-z {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--color-bg-white);
    box-shadow: 0 4px 14px var(--accent-orange-glow);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-bg-white);
    border: 2px solid var(--color-bg-white);
}

.btn-secondary:hover {
    background-color: var(--color-bg-white);
    color: var(--color-bg-dark);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-orange);
    border: 2px solid var(--accent-orange);
}

.btn-outline:hover {
    background-color: var(--accent-orange);
    color: var(--color-bg-white);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-orange {
    background-color: var(--accent-orange);
    color: var(--color-bg-white);
}

.btn-orange:hover {
    background-color: var(--accent-orange-hover);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-transparent {
    background-color: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    height: var(--header-height-scrolled);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(241, 245, 249, 0.8);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-text-white);
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    /* Keep logo visible on transparent dark header */
    filter: brightness(0) invert(1);
    transition: filter var(--transition-smooth);
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 6px;
}

.logo-accent {
    color: var(--accent-orange);
}

.header-scrolled .logo {
    color: var(--color-text-black);
}

/* On scrolled (light) header, restore logo natural colors */
.header-scrolled .logo-img {
    filter: none;
}

/* Nav Menu */
.nav-menu ul {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 6px 0;
}

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

.nav-link:hover, .nav-link.active {
    color: var(--color-text-white);
}

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

/* Scrolled Nav link style */
.header-scrolled .nav-link {
    color: var(--color-text-light);
}

.header-scrolled .nav-link:hover, .header-scrolled .nav-link.active {
    color: var(--color-text-black);
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--color-bg-white);
    transition: var(--transition-smooth);
}

.header-scrolled .hamburger span {
    background-color: var(--color-text-black);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--color-text-white);
    overflow: hidden;
}

.hero-parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-orange);
    text-transform: uppercase;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-title {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-bg-white);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-bg-white);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-anim 2s infinite;
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes scroll-anim {
    0% { opacity: 1; transform: translate(-50%, 0); }
    100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ==========================================================================
   STAT HIGHLIGHTS BAR
   ========================================================================== */

.highlights-bar {
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.highlights-container {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-premium);
    padding: 30px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.highlight-item:not(:last-child) {
    border-right: 1px solid rgba(226, 232, 240, 0.8);
    padding-right: 30px;
}

.highlight-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-icon.color-orange {
    background-color: var(--accent-orange-glow);
    color: var(--accent-orange);
}

.highlight-icon.color-blue {
    background-color: var(--accent-blue-glow);
    color: var(--accent-blue);
}

.highlight-icon.color-green {
    background-color: var(--accent-green-glow);
    color: var(--accent-green);
}

.highlight-info h4 {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.highlight-info p {
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================================================
   SECTION HEADER UTILITY
   ========================================================================== */

.section-header {
    max-width: 650px;
    margin: 0 auto 60px;
}

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

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.section-tag.color-green { color: var(--accent-green); }
.section-tag.color-blue { color: var(--accent-blue); }
.section-tag.color-orange { color: var(--accent-orange); }

.section-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 16px;
}

.section-line {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    margin: 0 auto 20px;
}

.section-line.color-green { background-color: var(--accent-green); }
.section-line.color-blue { background-color: var(--accent-blue); }
.section-line.color-orange { background-color: var(--accent-orange); }

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ==========================================================================
   AMENITIES SECTION
   ========================================================================== */

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 30px;
}

.amenity-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-md);
    padding: 35px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.amenity-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* Dynamic styling per category */
.amenity-card[data-accent="green"] { border-top-color: var(--accent-green); }
.amenity-card[data-accent="blue"] { border-top-color: var(--accent-blue); }
.amenity-card[data-accent="orange"] { border-top-color: var(--accent-orange); }

.amenity-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-bounce);
}

.amenity-card[data-accent="green"] .amenity-icon {
    background-color: var(--accent-green-glow);
    color: var(--accent-green);
}
.amenity-card[data-accent="blue"] .amenity-icon {
    background-color: var(--accent-blue-glow);
    color: var(--accent-blue);
}
.amenity-card[data-accent="orange"] .amenity-icon {
    background-color: var(--accent-orange-glow);
    color: var(--accent-orange);
}

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

.amenity-icon svg {
    width: 32px;
    height: 32px;
}

.amenity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.amenity-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
   PHOTO GALLERY SECTION
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

/* Bento configuration styles */
.gallery-item.item-large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.item-tall {
    grid-column: span 1;
    grid-row: span 2;
}

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

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: var(--transition-smooth);
}

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

.gallery-item-overlay span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-orange);
    margin-bottom: 4px;
}

.gallery-item-overlay h3 {
    font-size: 1.8rem;
    color: var(--color-text-white);
    line-height: 1.2;
}

/* ==========================================================================
   LIGHTBOX MODAL
   ========================================================================== */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: transparent;
    border: none;
    color: var(--color-text-white);
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--accent-orange);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--color-text-white);
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.lightbox-nav:hover {
    background-color: var(--accent-orange);
}

.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 20px;
    color: var(--color-text-white);
    font-size: 1.25rem;
    font-weight: 500;
    text-align: center;
}

/* ==========================================================================
   HISTORY SECTION
   ========================================================================== */

.story-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 70px;
    align-items: center;
}

.story-image {
    position: relative;
}

.story-image-inner {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    position: relative;
}

.story-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.story-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: var(--color-bg-white);
    padding: 20px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 15px;
    border-left: 5px solid var(--accent-green);
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent-green);
    line-height: 1;
}

.badge-txt {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-text-black);
    text-transform: uppercase;
}

.text-left { text-align: left; }
.text-left-line { margin: 0 0 24px 0; }

.story-paragraph {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.story-paragraph strong {
    color: var(--color-text-black);
    font-weight: 600;
}

.story-values {
    margin-top: 35px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.value-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
}

.value-dot.bg-green { background-color: var(--accent-green); }
.value-dot.bg-blue { background-color: var(--accent-blue); }
.value-dot.bg-orange { background-color: var(--accent-orange); }

.value-item h5 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-black);
    margin-bottom: 2px;
}

.value-item p {
    font-size: 0.9rem;
}

/* ==========================================================================
   CALL TO ACTION & CONTACT FORM
   ========================================================================== */

#contacto {
    position: relative;
    overflow: hidden;
}

.cta-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: radial-gradient(var(--accent-orange) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 60px;
    margin-top: 20px;
}

.contact-info-card {
    background-color: var(--color-bg-card-dark);
    border-radius: var(--border-radius-lg);
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
}

.contact-info-card h3 {
    font-size: 2.2rem;
    color: var(--color-text-white);
    margin-bottom: 16px;
}

.contact-info-card p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #94a3b8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}

.contact-method-link {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.contact-method-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.contact-method-link.whatsapp-style {
    background-color: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.contact-method-link.whatsapp-style:hover {
    background-color: rgba(16, 185, 129, 0.15);
    border-color: var(--accent-green);
}

.contact-method-link.whatsapp-style .method-icon {
    background-color: var(--accent-green);
    color: var(--color-text-white);
}

.method-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-details span {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.method-details strong {
    font-size: 1.1rem;
    color: var(--color-text-white);
    font-weight: 600;
}

.rules-box {
    border-left: 3px solid var(--accent-orange);
    padding-left: 20px;
}

.rules-box h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rules-box ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rules-box li {
    font-size: 0.85rem;
    color: #94a3b8;
    position: relative;
    padding-left: 14px;
}

.rules-box li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

/* Contact Form */
.contact-form-card {
    background-color: var(--color-bg-white);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-lg);
    color: var(--color-text-dark);
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-black);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    color: var(--color-text-black);
    background-color: var(--color-bg-white);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 4px var(--accent-orange-glow);
}

/* Status message style */
.form-status {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-radius: var(--border-radius-sm);
    padding: 0;
    display: none;
}

.form-status.success {
    display: block;
    color: var(--accent-green);
    padding: 12px 16px;
    background-color: var(--accent-green-glow);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    display: block;
    color: #ef4444;
    padding: 12px 16px;
    background-color: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Loading spinner */
.loading-spinner {
    animation: rotate 1s linear infinite;
    margin-left: 10px;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */

.main-footer {
    background-color: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    padding: 80px 0 30px 0;
    color: var(--color-text-dark);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--color-text-black);
    letter-spacing: 0.05em;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-brand p {
    font-size: 0.95rem;
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-bg-white);
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

.social-links a:hover {
    background-color: var(--accent-orange);
    color: var(--color-text-white);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-map-container h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-text-black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 4px;
}

.footer-address {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    color: var(--color-text-dark);
}

.inline-icon {
    vertical-align: middle;
    margin-right: 6px;
    color: var(--accent-orange);
}

.map-iframe-wrapper {
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--color-bg-white);
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ==========================================================================
   SCROLL REVEAL STYLES
   ========================================================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal-fade {
    opacity: 0;
    transition: opacity 1s ease;
}

/* Revealed states triggered by IntersectionObserver */
.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger delay classes (automatically applied in JS or hardcoded) */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

.mobile-cta-item {
    display: none;
}

.hamburger.active span {
    background-color: var(--color-bg-white) !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    html {
        font-size: 15px;
    }
    
    .hero-title {
        font-size: 5rem;
    }
    
    .story-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .story-image img {
        height: 400px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-top {
        grid-template-columns: 1.2fr 1fr;
    }
    
    .footer-map-container {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    /* Navigation */
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--color-bg-dark);
        z-index: 1050;
        display: flex;
        align-items: center;
        padding: 100px 40px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
        transition: right 0.4s ease-in-out;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.3rem;
        color: rgba(255, 255, 255, 0.7);
    }
    
    .nav-link:hover, .nav-link.active {
        color: var(--color-text-white);
    }
    
    .header-cta {
        display: none; /* Reservar en móvil va por el hamburger o menu */
    }

    .mobile-cta-item {
        display: block;
        margin-top: 15px;
        width: 100%;
    }

    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    /* Highlights bar */
    .highlights-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px;
        margin-top: -40px;
    }
    
    .highlight-item:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(226, 232, 240, 0.8);
        padding-right: 0;
        padding-bottom: 20px;
    }
    
    /* Amenities */
    .section-title {
        font-size: 2.8rem;
    }
    
    .amenities-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 12px;
    }
    
    .gallery-item.item-large {
        grid-column: span 2;
        grid-row: span 2;
    }

    .gallery-item.item-tall {
        grid-column: span 1;
        grid-row: span 2;
    }
    
    .lightbox-nav {
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }
    
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-map-container {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .section-padding {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 3.2rem;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .gallery-item.item-large,
    .gallery-item.item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .story-image img {
        height: 300px;
    }

    .story-badge {
        bottom: 15px;
        right: 15px;
        padding: 12px 16px;
        gap: 10px;
    }

    .badge-num {
        font-size: 2rem;
    }

    .badge-txt {
        font-size: 0.65rem;
    }

    .contact-form-card {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}
