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

:root {
    --navy: #060d1f;
    --deep: #0a1628;
    --dark-blue: #0d2137;
    --ocean: #0c4a6e;
    --sea: #1a6fa0;
    --sky: #38bdf8;
    --cyan: #22d3ee;
    --sand: #f4e8d1;
    --gold: #d4a853;
    --gold-light: #e8c872;
    --white: #ffffff;
    --glass: rgba(255,255,255,0.04);
    --glass2: rgba(255,255,255,0.07);
    --glass-border: rgba(255,255,255,0.08);
    --radius: 16px;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== PAGE TRANSITION ===== */
.page-transition {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--navy);
    transform: translateY(100%);
    pointer-events: none;
}

.page-transition.active {
    animation: pageSlideIn 0.5s ease forwards, pageSlideOut 0.5s 0.5s ease forwards;
}

@keyframes pageSlideIn {
    to { transform: translateY(0); }
}
@keyframes pageSlideOut {
    to { transform: translateY(-100%); }
}

/* ===== WAVE CANVAS ===== */
#waveCanvas {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
}

/* ===== OCEAN PARTICLES ===== */
.particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.6), transparent 70%);
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 0.7rem 0;
    background: rgba(6, 13, 31, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white);
    position: relative;
}

.logo span { color: var(--gold); }

.logo-wave {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--cyan), var(--gold));
    background-size: 200% 100%;
    border-radius: 2px;
    animation: logoWave 3s ease infinite;
}

@keyframes logoWave {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.nav-menu {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

.nav-menu a {
    display: block;
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    border-radius: 8px;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: var(--glass2);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy) !important;
    border-radius: 50px;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    transition: all 0.3s !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.3);
    background: linear-gradient(135deg, var(--gold-light), var(--gold)) !important;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 4px;
    z-index: 1001;
}

.burger span {
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5.5px, 5.5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5.5px, -5.5px); }

/* ===== MOBILE NAV ===== */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(6, 13, 31, 0.97);
    backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

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

.mobile-menu a {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--gold); }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 60px;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(212, 168, 83, 0.35);
}

.btn-glass {
    background: var(--glass2);
    color: var(--white);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-glass:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.btn-wa {
    background: #25d366;
    color: white;
}

.btn-wa:hover {
    background: #22c55e;
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.35);
}

/* ===== SECTION BASICS ===== */
.section { padding: 7rem 2rem; position: relative; z-index: 1; }
.section-lg { padding: 9rem 2rem; }

.container { max-width: 1200px; margin: 0 auto; }
.container-lg { max-width: 1400px; margin: 0 auto; }

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    padding: 0.5rem 1.2rem;
    border: 1px solid rgba(212, 168, 83, 0.2);
    border-radius: 50px;
    background: rgba(212, 168, 83, 0.05);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 400;
    line-height: 1.2;
}

.section-title em { font-style: italic; color: var(--gold); }

.section-desc {
    max-width: 600px;
    margin: 1.2rem auto 0;
    color: rgba(255,255,255,0.5);
    font-weight: 300;
    line-height: 1.8;
}

/* ===== DIVIDERS ===== */
.wave-divider {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    width: 100%;
    height: 80px;
    display: block;
}

.wave-divider.flip { transform: rotate(180deg); }

/* ===== ANIMATED WAVES SVG ===== */
.ocean-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
    z-index: 2;
}

.ocean-waves svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.ocean-waves .wave1 { animation: waveAnim 7s linear infinite; opacity: 0.3; }
.ocean-waves .wave2 { animation: waveAnim 5s linear infinite reverse; opacity: 0.2; bottom: 5px; }
.ocean-waves .wave3 { animation: waveAnim 9s linear infinite; opacity: 0.15; bottom: 10px; }

@keyframes waveAnim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== CARDS ===== */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2.5rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
    transition: left 0.6s;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 83, 0.15);
    background: var(--glass2);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

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

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 900;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.wa-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 36px rgba(37, 211, 102, 0.6);
}

.wa-float svg { width: 30px; height: 30px; fill: white; }

.wa-float .pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: waPulse 2s ease-out infinite;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(6, 13, 31, 0.95);
    backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 80vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.5);
    pointer-events: none;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass2);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
    z-index: 10;
}

.lightbox-close:hover { background: rgba(255,255,255,0.15); }

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--glass2);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.lightbox-arrow:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev { left: 2rem; }
.lightbox-arrow.next { right: 2rem; }

.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 2px;
    z-index: 10;
}

@media (max-width: 768px) {
    .lightbox-arrow { width: 44px; height: 44px; font-size: 1.2rem; }
    .lightbox-arrow.prev { left: 1rem; }
    .lightbox-arrow.next { right: 1rem; }
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    background: var(--navy);
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding: 5rem 0 3rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    line-height: 1.8;
    margin-top: 1rem;
    max-width: 300px;
}

.footer h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

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

.footer-links li { margin-bottom: 0.8rem; }

.footer-links a {
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.25);
    font-size: 0.8rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .burger { display: flex; }
    .section { padding: 5rem 1.5rem; }
    .section-lg { padding: 6rem 1.5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; }
}
</style>
