/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0a0a0a;
    --secondary-color: #1c1c1c;
    --tertiary-color: #2d2d2d;
    --accent-color: #d4af37;
    --accent-light: #f4e5c3;
    --accent-dark: #b8941f;
    --primary-green: #2c5530;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #faf9f6;
    --white: #ffffff;
    --container-max: 1200px;
    --container-padding: clamp(16px, 3vw, 36px);
    --section-pad-y: clamp(72px, 9vw, 120px);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ============================================
   PRELOADER
   ============================================ */
.preloader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #000000, #1a1a1a);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.intro-preloader {
    background: #000;
    overflow: hidden;
    z-index: 10000;
    isolation: isolate;
}

.intro-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    z-index: 0;
}

.intro-preloader::after {
    content: none;
}

.intro-ui {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    display: grid;
    place-items: end center;
    padding: 24px 18px calc(30px + env(safe-area-inset-bottom, 0px));
    gap: 12px;
}

.intro-logo {
    width: min(240px, 68vw);
    height: auto;
    opacity: 0.95;
    filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.75));
}

.intro-actions {
    pointer-events: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.intro-btn {
    appearance: none;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: linear-gradient(180deg, rgba(224, 192, 74, 0.98), rgba(212, 175, 55, 0.92));
    color: #0a0a0a;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.55),
        0 10px 26px rgba(212, 175, 55, 0.14);
}

.intro-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05) saturate(1.05);
}

.intro-btn:active {
    transform: translateY(0);
}

.intro-btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.22),
        0 12px 32px rgba(0, 0, 0, 0.55),
        0 10px 26px rgba(212, 175, 55, 0.14);
}

.intro-hint {
    pointer-events: none;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.82);
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.is-intro-playing {
    overflow: hidden;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
    .hero {
        background-attachment: scroll;
    }
}

@media (max-width: 480px) {
    .intro-ui {
        padding: 18px 14px calc(22px + env(safe-area-inset-bottom, 0px));
        gap: 10px;
    }

    .intro-logo {
        width: min(200px, 72vw);
    }

    .intro-btn {
        padding: 9px 12px;
        font-size: 0.95rem;
    }

    .intro-hint {
        display: none;
    }
}

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

.preloader-logo {
    width: 270px;
    height: auto;
    margin-bottom: 30px;
    animation: logoFloat 2s ease-in-out infinite;
}

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

.preloader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

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

.container {
    max-width: min(var(--container-max), 92vw);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: var(--transition);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    gap: clamp(1rem, 2.5vw, 2rem);
}

.logo {
    width: clamp(150px, 20vw, 300px);
    height: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(14px, 2vw, 30px);
    align-items: center;
    margin: 0;
}

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    color: #ffffff;
}

.nav-links a:not(.btn-reserva):hover {
    color: var(--accent-color);
}

.nav-links a:not(.btn-reserva)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-reserva):hover::after {
    width: 100%;
}

.btn-reserva {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(130deg, rgba(255, 236, 180, 0.98), var(--accent-color) 45%, var(--accent-dark));
    color: #0a0a0a;
    padding: 12px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    transition: transform 200ms ease, filter 200ms ease, box-shadow 200ms ease;
    overflow: hidden;
}

.btn-reserva::before {
    content: "";
    position: absolute;
    inset: -120% 60% -120% -60%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: translateX(-120%);
    transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-reserva:hover {
    transform: translateY(-2px);
    filter: brightness(1.05) saturate(1.05);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 18px 36px rgba(212, 175, 55, 0.3);
}

.btn-reserva:hover::before {
    transform: translateX(120%);
}

.btn-reserva:active {
    transform: translateY(0);
}

.btn-reserva:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.25),
        0 16px 40px rgba(0, 0, 0, 0.35),
        0 18px 36px rgba(212, 175, 55, 0.3);
}

.btn-map {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(140deg, rgba(224, 192, 74, 0.98), rgba(212, 175, 55, 0.9));
    color: #0a0a0a;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    box-shadow:
        0 12px 28px rgba(0, 0, 0, 0.45),
        0 18px 36px rgba(212, 175, 55, 0.2);
    overflow: hidden;
    transition: var(--transition);
}

.nav-links a.btn-map::after {
    display: none;
}

.btn-map::before {
    content: "";
    position: absolute;
    inset: -120% 60% -120% -60%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: translateX(-120%);
    transition: transform 600ms var(--transition);
}

.btn-map:hover {
    transform: translateY(-2px);
    filter: brightness(1.05) saturate(1.05);
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.5),
        0 18px 48px rgba(212, 175, 55, 0.3);
}

.btn-map:hover::before {
    transform: translateX(120%);
}

/* Legend-style nav buttons (Index head) */
.navbar.navbar-legend {
    background: rgba(0, 0, 0, 0.72);
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
    backdrop-filter: blur(14px);
}

.navbar.navbar-legend .nav-links {
    gap: 10px;
    flex-wrap: wrap;
}

.navbar.navbar-legend .nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    color: #0a0a0a;
    font-weight: 700;
    letter-spacing: 0.25px;
    font-size: 0.92rem;
    text-transform: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: linear-gradient(180deg, rgba(224, 192, 74, 0.98), rgba(212, 175, 55, 0.92));
    box-shadow:
        0 10px 26px rgba(212, 175, 55, 0.14),
        0 16px 40px rgba(0, 0, 0, 0.55);
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.navbar.navbar-legend .nav-links a:hover {
    transform: translateY(-1px);
    filter: brightness(1.06) saturate(1.05);
    box-shadow:
        0 12px 34px rgba(212, 175, 55, 0.2),
        0 18px 44px rgba(0, 0, 0, 0.58);
}

.navbar.navbar-legend .nav-links a:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.22),
        0 12px 34px rgba(212, 175, 55, 0.2),
        0 18px 44px rgba(0, 0, 0, 0.58);
}

.navbar.navbar-legend .nav-links a::after,
.navbar.navbar-legend .nav-links a::before {
    content: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    height: 100vh;
    height: 100svh;
    min-height: 600px;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(28, 28, 28, 0.7) 100%),
                url('https://fundomoragastorage.blob.core.windows.net/assets/images/066D82F6-A14A-4BBC-818F-FB3411BB8D6D.JPEG') center/cover fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 30% 50%,
        rgba(212, 175, 55, 0.12) 0%,
        transparent 60%
    );
    animation: pulseGlow 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 20px rgba(212, 175, 55, 0.3));
    letter-spacing: -1px;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(130deg, rgba(255, 236, 180, 0.98), var(--accent-color) 45%, var(--accent-dark));
    color: #0a0a0a;
    padding: 18px 45px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.4px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 200ms ease, filter 200ms ease, box-shadow 200ms ease;
    box-shadow:
        0 16px 40px rgba(0, 0, 0, 0.3),
        0 14px 28px rgba(212, 175, 55, 0.28);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: -120% 60% -120% -60%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.75), transparent);
    transform: translateX(-120%);
    transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.06) saturate(1.05);
    box-shadow:
        0 20px 46px rgba(0, 0, 0, 0.35),
        0 20px 44px rgba(212, 175, 55, 0.32);
}

.btn-primary:hover::before {
    transform: translateX(120%);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.25),
        0 20px 46px rgba(0, 0, 0, 0.35),
        0 20px 44px rgba(212, 175, 55, 0.32);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, white, transparent);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease-out 0.6s backwards;
}

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

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 100px 0;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 0 auto;
    border-radius: 2px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-intro {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: rotate(0deg);
    transition: all 0.4s ease;
}

.about-image:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

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

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    position: relative;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 35%),
        radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.05), transparent 40%),
        linear-gradient(180deg, #0a0a0a, #111111);
    color: white;
    overflow: hidden;
}

.services-section .section-title {
    color: white;
}

.services-section .section-title::after {
    background: linear-gradient(90deg, var(--accent-color), rgba(212, 175, 55, 0));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15),
                0 2px 8px rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.12), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.service-card:hover::before {
    opacity: 1;
    animation: shine 0.6s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(212, 175, 55, 0.15), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::after {
    opacity: 1;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg);
    box-shadow: 0 25px 60px rgba(212, 175, 55, 0.35),
                0 0 0 1px rgba(212, 175, 55, 0.3);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg,
.info-icon svg {
    width: 48px;
    height: 48px;
    fill: var(--accent-color);
    transition: var(--transition);
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
}

.service-card:hover .service-icon svg,
.info-card:hover .info-icon svg {
    fill: var(--accent-light);
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 24px rgba(212, 175, 55, 0.5));
}

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    fill: var(--primary-color);
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
}

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   GALLERY SECTION
   ============================================ */
.video-section {
    background: var(--bg-light);
    padding: 100px 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    margin-top: 15px;
}

.video-container-wrapper {
    max-width: min(var(--container-max), 92vw);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.video-player {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-player.portrait {
    aspect-ratio: 9 / 16;
    max-width: 520px;
    margin: 0 auto;
    border: 1px solid rgba(212, 175, 55, 0.28);
    box-shadow: 0 30px 80px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.04);
}

.main-video.portrait {
    object-fit: contain;
}

.main-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 2;
}

.video-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-button {
    width: 100px;
    height: 100px;
    background: rgba(212, 175, 55, 0.95);
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
    animation: pulse-play 2s ease-in-out infinite;
}

@keyframes pulse-play {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(212, 175, 55, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(212, 175, 55, 0.6);
    }
}

.play-button:hover {
    transform: scale(1.15);
    background: var(--accent-color);
    box-shadow: 0 15px 60px rgba(212, 175, 55, 0.7);
}

.play-button svg {
    width: 40px;
    height: 40px;
    fill: white;
    margin-left: 5px;
}

.video-title {
    text-align: center;
    color: white;
}

.video-title h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.video-title p {
    font-size: 1.2rem;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.video-player.portrait .video-controls {
    padding: 22px 16px 16px;
}

.video-player.has-started:hover .video-controls,
.video-controls.show {
    opacity: 1;
    pointer-events: auto;
}

.video-overlay:not(.hidden) ~ .video-controls {
    opacity: 0 !important;
    pointer-events: none !important;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-filled {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 3px;
    box-shadow: 0 0 10px var(--accent-color);
}

.controls-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border-radius: 50%;
}

/* ============================================
   VIDEO GALLERY SECTION
   ============================================ */
.video-gallery-section {
    background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08), transparent 35%),
                radial-gradient(circle at 80% 0%, rgba(212, 175, 55, 0.06), transparent 30%),
                var(--bg-dark);
    padding: 100px 0 90px;
    position: relative;
    overflow: hidden;
}

.video-gallery-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 50%);
    pointer-events: none;
}

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.video-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
    border-color: rgba(212, 175, 55, 0.35);
}

.video-thumb {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    display: block;
    filter: saturate(1.05);
    background: #0a0a0a;
}

.video-card .video-chip {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.video-card .video-duration {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
}

.video-card .video-meta {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 18px 18px 16px;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.72) 55%, rgba(0,0,0,0.92) 100%);
    color: white;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.video-card .video-meta h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.video-card .video-meta p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

.video-card .video-play-mini {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.video-card:hover .video-play-mini {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

.video-play-mini svg {
    width: 28px;
    height: 28px;
    fill: white;
    margin-left: 4px;
}

.video-gallery-hint {
    margin-top: 22px;
    color: var(--text-light);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.video-gallery-hint .hint-label {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #000;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.control-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.time-display {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 5px;
    font-variant-numeric: tabular-nums;
}

.controls-row .control-btn:last-child {
    margin-left: auto;
}

/* Gallery kept for reference - can be removed if not needed */
.gallery-section {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 400px;
    cursor: pointer;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    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);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

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

.info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.info-card a {
    color: var(--accent-color);
    font-weight: 500;
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--primary-color);
}

.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 50px 40px;
    border-radius: 20px;
    color: white;
    text-align: center;
    position: sticky;
    top: 100px;
}

.contact-cta h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-cta p {
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.8;
}

.btn-hernando {
    width: 100%;
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.25);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
    border-color: var(--accent-color);
}

.social-links svg {
    transition: transform 0.3s ease;
}

.social-links a:hover svg {
    transform: scale(1.2);
}

.footer h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-contact p {
    opacity: 0.8;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-contact p:hover {
    opacity: 1;
    transform: translateX(5px);
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* ============================================
   CHAT WIDGET
   ============================================ */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-toggle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
    padding: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2),
                    0 0 0 0 rgba(212, 175, 55, 0.65);
    }
    50% {
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2),
                    0 0 0 15px rgba(212, 175, 55, 0);
    }
}

.chat-toggle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: red;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.chat-window {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: min(400px, 90vw);
    height: min(600px, calc(100svh - 160px));
    max-height: calc(100svh - 160px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.active {
    display: flex;
    animation: slideUp 0.3s ease;
}

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

.chat-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid white;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.status {
    font-size: 0.85rem;
    opacity: 0.9;
}

.chat-close {
    margin-left: auto;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--bg-light);
}

.chat-message {
    margin-bottom: 15px;
    display: flex;
}

.chat-message.bot {
    justify-content: flex-start;
}

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

.chat-message p {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 18px;
    line-height: 1.5;
}

.chat-message.bot p {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.chat-message.user p {
    background: var(--primary-color);
    color: white;
}

.chat-footer {
    padding: 20px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    padding: 12px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 25px;
    font-family: inherit;
    font-size: 0.95rem;
}

.chat-footer input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.chat-footer button {
    position: relative;
    background: linear-gradient(130deg, rgba(255, 236, 180, 0.98), var(--accent-color) 45%, var(--accent-dark));
    color: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 12px 25px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    letter-spacing: 0.3px;
    overflow: hidden;
    transition: transform 200ms ease, filter 200ms ease, box-shadow 200ms ease;
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.3),
        0 12px 24px rgba(212, 175, 55, 0.22);
}

.chat-footer button::before {
    content: "";
    position: absolute;
    inset: -120% 60% -120% -60%;
    background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.7), transparent);
    transform: translateX(-120%);
    transition: transform 650ms cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-footer button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05) saturate(1.05);
    box-shadow:
        0 16px 36px rgba(0, 0, 0, 0.35),
        0 16px 30px rgba(212, 175, 55, 0.28);
}

.chat-footer button:hover::before {
    transform: translateX(120%);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (min-width: 1400px) {
    :root {
        --container-max: 1320px;
    }

    .hero-content {
        max-width: 980px;
    }
}

@media (min-width: 1800px) {
    :root {
        --container-max: 1500px;
    }

    .hero-content {
        max-width: 1100px;
    }
}

@media (max-width: 1100px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: #000000;
        width: 100%;
        padding: 40px 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links .btn-map {
        width: 100%;
        justify-content: center;
        letter-spacing: 0.14em;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background: #000000;
        width: 100%;
        padding: 40px 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .about-content,
    .contact-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .chat-window {
        width: calc(100vw - 40px);
        right: 20px;
        bottom: 100px;
        height: min(520px, calc(100svh - 140px));
        max-height: calc(100svh - 140px);
    }
}

@media (max-height: 700px) {
    .chat-window {
        bottom: 90px;
        height: min(460px, calc(100svh - 120px));
        max-height: calc(100svh - 120px);
    }
}

/* ============================================
   PARTICLES CONTAINER
   ============================================ */
.particles-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 20px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

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

.stat-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.stat-label {
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.stat-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.testimonial-track {
    position: relative;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    width: 100%;
    max-width: 800px;
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
    z-index: 2;
}

.testimonial-stars {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 5px;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    text-align: center;
    font-style: italic;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.95rem;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.dot:hover {
    background: rgba(10, 10, 10, 0.4);
    transform: scale(1.2);
}

.dot.active {
    background: var(--accent-color);
    width: 40px;
    border-radius: 6px;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    animation: zoomIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-close {
    top: 30px;
    right: 30px;
}

.lightbox-prev {
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-close:hover {
    transform: scale(1.1) rotate(90deg);
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form-container {
    background: white;
    padding: 50px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    margin-top: 10px;
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
}

.form-status {
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-status.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-status.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    padding: 100px 0 0 0;
    background: var(--bg-light);
}

.map-container {
    position: relative;
    margin-top: 40px;
}

.map-container iframe {
    width: 100%;
    display: block;
    filter: grayscale(30%) contrast(1.1);
}

.map-overlay {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.map-info-card {
    background: white;
    padding: 30px 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    min-width: 350px;
    backdrop-filter: blur(10px);
}

.map-info-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.map-info-card p {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.map-info-card strong {
    color: var(--text-dark);
}

.btn-small {
    padding: 12px 24px;
    font-size: 0.95rem;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   RESPONSIVE UPDATES
   ============================================ */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-card {
        padding: 30px 15px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .contact-form-container {
        padding: 30px 25px;
    }

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

    .map-info-card {
        min-width: auto;
        width: calc(100vw - 40px);
        padding: 25px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    /* Video responsive */
    .video-title h3 {
        font-size: 1.8rem;
    }

    .video-title p {
        font-size: 1rem;
    }

    .play-button {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }

    .play-button svg {
        width: 32px;
        height: 32px;
    }

    .video-controls {
        padding: 20px 15px 15px;
    }

    .controls-row {
        gap: 10px;
    }

    .control-btn svg {
        width: 20px;
        height: 20px;
    }

    .time-display {
        font-size: 0.85rem;
    }
}

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

    .testimonial-card {
        padding: 25px 20px;
    }

    .testimonial-stars {
        font-size: 1.5rem;
    }

    /* Video mobile */
    .video-title h3 {
        font-size: 1.5rem;
    }

    .video-title p {
        font-size: 0.9rem;
    }

    .play-button {
        width: 70px;
        height: 70px;
    }

    .play-button svg {
        width: 28px;
        height: 28px;
    }

    .progress-bar {
        height: 4px;
        margin-bottom: 10px;
    }

    .controls-row {
        gap: 8px;
    }

    .control-btn {
        padding: 6px;
    }

    .control-btn svg {
        width: 18px;
        height: 18px;
    }

    .time-display {
        font-size: 0.8rem;
    }
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */
.section-divider {
    position: relative;
    height: 100px;
    overflow: hidden;
    background: transparent;
}

.section-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.section-divider.top {
    margin-bottom: -1px;
}

.section-divider.bottom {
    margin-top: -1px;
    transform: rotate(180deg);
}

/* Wave animation */
.wave-animate {
    animation: wave 8s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-25px);
    }
}

/* ============================================
   CUSTOM CURSOR (OPTIONAL)
   ============================================ */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.1s ease;
    display: none;
}

.custom-cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.15s ease;
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .custom-cursor,
    .custom-cursor-follower {
        display: block;
    }
}

/* ============================================
   TOOLTIP STYLES
   ============================================ */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    font-size: 0.85rem;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

[data-tooltip]::after {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

[data-tooltip]:hover::before,
[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ============================================
   LOADING BAR
   ============================================ */
.page-loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 99999;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.scroll-to-top.visible {
    display: flex;
}

body.chat-open .scroll-to-top {
    display: none;
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    fill: var(--accent-color);
}

/* ============================================
   ENHANCED ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-on-scroll {
    opacity: 0;
}

.animate-on-scroll.animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up {
    animation-name: fadeInUp;
}

.fade-in-left {
    animation-name: fadeInLeft;
}

.fade-in-right {
    animation-name: fadeInRight;
}

.scale-in {
    animation-name: scaleIn;
}

