/* ==============================
   DÁVALOS DIGITAL STUDIO — CSS
   White theme, blue accents, no card borders
   ============================== */

:root {
    --bg: #ffffff;
    --bg-alt: #f5f5f7;
    --text: #1d1d1f;
    --text-mid: #424245;
    --text-light: #86868b;
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --blue-pale: rgba(0, 113, 227, 0.08);
    --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --header-h: 160px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body { overflow-x: hidden; }

/* ===== HEADER ===== */
#global-header {
    position: fixed; top: 0; left: 0; width: 100%;
    height: var(--header-h);
    background: rgba(255,255,255,0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    z-index: 1000;
    overflow: visible;
}

.nav-container {
    max-width: 980px; height: 100%; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 0 22px;
}

#nav-logo {
    height: 280px; width: auto; opacity: 0; transform: scale(0.85);
    transition: opacity 0.4s ease, transform 0.4s ease;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,0.18));
}

.nav-links a {
    color: var(--text-mid); text-decoration: none;
    font-size: 12px; font-weight: 500; margin-left: 22px;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
    background: var(--blue) !important; color: #fff !important;
    padding: 5px 12px !important; border-radius: 12px;
}
.nav-cta:hover { background: var(--blue-hover) !important; }

/* ===== HERO ===== */
#hero-scene {
    height: 130vh;
    position: relative;
    background: linear-gradient(165deg, #0a1628 0%, #0d2137 40%, #0f2b4a 100%);
}

.hero-sticky {
    position: sticky; top: 0; height: 100vh; width: 100%;
    display: flex; justify-content: center; align-items: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(0,113,227,0.18) 0%, transparent 65%);
    filter: blur(60px);
    animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

#hero-logo-wrap {
    position: relative; z-index: 2; text-align: center;
    display: flex; flex-direction: column; align-items: center;
}

#hero-logo {
    width: 540px; max-width: 85vw; height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 71, 163, 0.18));
}

.hero-tagline {
    display: flex; align-items: center; gap: 16px;
    margin-top: 18px;
}

.hero-tagline p {
    font-size: 13px; font-weight: 600;
    letter-spacing: 0.25em; text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}

.tagline-line {
    display: block; width: 40px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,113,227,0.5), transparent);
}

.scroll-hint {
    margin-top: 32px;
    font-size: 13px; color: rgba(255,255,255,0.35);
    display: flex; align-items: center; gap: 6px;
    animation: hintBounce 2s infinite;
}

@keyframes hintBounce {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ===== SLOGAN ===== */
#slogan-scene {
    height: 130vh;
    position: relative;
}

.slogan-sticky {
    position: sticky; top: 0; height: 100vh; width: 100%;
    display: flex; justify-content: center; align-items: center;
    padding: var(--header-h) 24px 0;
}

.slogan-content {
    max-width: 680px; text-align: center;
}

.slogan-content h2 {
    font-size: clamp(36px, 5.5vw, 56px);
    font-weight: 800; line-height: 1.12;
    letter-spacing: -0.03em;
}

.reveal-sub {
    font-size: 20px; font-weight: 500;
    color: var(--text-light);
    margin-top: 20px;
    opacity: 0; transform: translateY(12px);
}

/* ===== SHARED TEXT ELEMENTS ===== */
.rw {
    display: inline-block; opacity: 0.12;
    margin-right: 6px;
    transition: none; /* GSAP controls it */
}
.rw.accent { color: var(--blue); }

.section-inner {
    max-width: 780px; margin: 0 auto;
    padding: 80px 24px;
}

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

.label-tag {
    text-transform: uppercase; font-size: 12px; font-weight: 700;
    letter-spacing: 0.12em; color: var(--blue);
    margin-bottom: 12px; display: block;
}

.section-heading {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800; line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.body-text {
    font-size: 17px; line-height: 1.6;
    color: var(--text-mid);
    max-width: 560px; margin: 0 auto;
}

.reveal-up {
    opacity: 0; transform: translateY(24px);
}

/* ===== PURPOSE ===== */
#purpose-section {
    background: var(--bg-alt);
}

.two-col {
    display: flex; gap: 40px; margin-top: 10px;
}

.col {
    flex: 1; text-align: center;
    padding: 30px 20px;
}

.icon-wrap {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--blue-pale);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.icon-wrap svg { color: var(--blue); width: 24px; height: 24px; }

.col h3 {
    font-size: 20px; font-weight: 700;
    margin-bottom: 8px;
}
.col p {
    font-size: 15px; color: var(--text-mid); line-height: 1.5;
}

/* ===== SHOWCASE GALLERY ===== */
#showcase-section { background: var(--bg); }

#showcase-gallery { margin-top: 10px; }

.gallery-nav {
    display: flex; justify-content: center; gap: 8px;
    margin-bottom: 30px; flex-wrap: wrap;
}

.gallery-btn {
    background: var(--bg-alt); border: none;
    padding: 8px 18px; border-radius: 20px;
    font-family: var(--font); font-size: 13px; font-weight: 600;
    color: var(--text-mid); cursor: pointer;
    transition: all 0.3s;
}
.gallery-btn:hover { color: var(--blue); }
.gallery-btn.active {
    background: var(--blue); color: #fff;
}

.gallery-viewport {
    width: 100%; position: relative;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    aspect-ratio: 16/10;
    perspective: 1000px;
}

.gallery-track { position: relative; width: 100%; height: 100%; }

.gallery-slide {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0; transform: scale(0.96) rotateY(8deg);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.gallery-slide.active {
    opacity: 1; transform: scale(1) rotateY(0deg);
    pointer-events: auto;
}

.gallery-slide img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 16px;
}

.slide-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 40px 30px 24px; border-radius: 0 0 16px 16px;
    color: #fff;
}
.slide-caption h4 { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.slide-caption p { font-size: 13px; opacity: 0.85; }

/* ===== PACKAGES ===== */
#packages-section { background: var(--bg-alt); }

.packages-row {
    display: flex; gap: 30px; margin-top: 10px;
    justify-content: center;
}

.pkg {
    flex: 1; max-width: 400px;
    padding: 40px 36px;
    border-radius: 20px;
    background: var(--bg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.pkg:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.06);
}

.pkg.featured {
    position: relative;
    box-shadow: 0 12px 40px rgba(0,113,227,0.08);
}

.rec-badge {
    position: absolute; top: 18px; right: 18px;
    background: var(--blue); color: #fff;
    font-size: 9px; font-weight: 700; text-transform: uppercase;
    padding: 4px 10px; border-radius: 10px;
}

.pkg h3 {
    font-size: 24px; font-weight: 800; margin-bottom: 4px;
}
.pkg-sub {
    font-size: 13px; color: var(--text-light); margin-bottom: 24px;
}

.pkg ul { list-style: none; margin-bottom: 28px; }
.pkg ul li {
    font-size: 14px; color: var(--text-mid);
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 14px;
}
.pkg ul li svg { width: 15px; height: 15px; color: var(--blue); flex-shrink: 0; }
.pkg ul li.muted { opacity: 0.4; }
.pkg ul li.muted svg { color: var(--text-light); }

.pkg-price {
    display: block; text-align: center;
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; color: var(--blue); margin-bottom: 16px;
}

.pkg-link {
    display: block; text-align: center;
    padding: 13px; border-radius: 12px;
    font-size: 13px; font-weight: 700;
    text-decoration: none;
    background: var(--bg-alt); color: var(--text);
    transition: all 0.3s;
}
.pkg-link:hover { background: var(--blue); color: #fff; }
.pkg-link.primary { background: var(--blue); color: #fff; }
.pkg-link.primary:hover { background: var(--blue-hover); }

/* ===== CONTACT ===== */
#contact-section {
    background: var(--text);
    color: #fff;
    padding: 100px 24px 60px;
}

.contact-wrap {
    max-width: 960px; margin: 0 auto;
    display: grid; grid-template-columns: 4fr 5fr; gap: 70px;
}

.contact-left .label-tag { color: var(--blue); }
.contact-left .section-heading .rw { color: #fff; }
.contact-left .section-heading .rw.accent { color: var(--blue); }
.contact-left .body-text { color: rgba(255,255,255,0.6); }

.contact-details { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.detail {
    font-size: 14px; display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.8);
}
.detail svg { color: var(--blue); width: 18px; height: 18px; }

/* Form */
.contact-right form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; gap: 18px; }
.form-row .fg { flex: 1; }
.fg { display: flex; flex-direction: column; gap: 6px; }
.fg label {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    color: rgba(255,255,255,0.5); letter-spacing: 0.08em;
}
.fg input, .fg select, .fg textarea {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; padding: 12px 16px; border-radius: 10px;
    font-family: var(--font); font-size: 13px;
    outline: none; transition: all 0.3s;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,0.25); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 12px rgba(0,113,227,0.2);
}
.fg select option { background: var(--text); color: #fff; }

.submit-btn {
    background: var(--blue); color: #fff; border: none;
    padding: 14px; border-radius: 10px;
    font-family: var(--font); font-size: 13px; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: background 0.3s;
}
.submit-btn:hover { background: var(--blue-hover); }
.submit-btn svg { width: 14px; height: 14px; }

/* Footer */
.site-footer {
    max-width: 960px; margin: 60px auto 0;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; gap: 16px;
    font-size: 12px; color: rgba(255,255,255,0.35);
}
.footer-logo { height: 22px; width: auto; opacity: 0.4; }

/* ===== RESPONSIVE ===== */
@media(max-width: 768px) {
    :root {
        --header-h: 80px;
    }
    #nav-logo {
        height: 140px;
    }
    .nav-container {
        padding: 0 12px;
    }
    .nav-links a {
        font-size: 11px;
        margin-left: 8px;
    }
    .nav-cta {
        padding: 4px 8px !important;
        border-radius: 8px;
    }
    .two-col { flex-direction: column; gap: 20px; }
    .packages-row { flex-direction: column; align-items: center; }
    .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
    .form-row { flex-direction: column; gap: 18px; }
    .site-footer { flex-direction: column; text-align: center; }
    #hero-logo { width: 340px; }
    .hero-tagline p { font-size: 11px; letter-spacing: 0.18em; }
    .tagline-line { width: 28px; }
}
