/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:   #0d1b2a;
    --dark:   #111820;
    --mid:    #1c2b3a;
    --accent: #0077cc;
    --accent2:#00aaff;
    --light:  #e8edf2;
    --muted:  #8899aa;
    --white:  #ffffff;
    --gold:   #f0c040;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background: var(--dark);
    color: var(--light);
    font-size: 1rem;
    line-height: 1.6;
}

/* ── Shared Section Styles ────────────────────────────── */
.section {
    padding: 80px 24px;
    text-align: center;
}

.section-inner {
    max-width: 900px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    font-weight: 700;
    color: var(--accent2);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-sub {
    color: var(--muted);
    max-width: 560px;
    margin: 12px auto 0;
}

h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

p { color: var(--muted); }

.hidden { display: none !important; }

.button {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}
.button:hover  { background: var(--accent2); }
.button:active { transform: scale(0.97); }

.small-print {
    font-size: 0.78rem;
    color: var(--muted);
    opacity: 0.7;
}

/* ── Hero ─────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(160deg, #0d1b2a 0%, #0a2540 50%, #050e18 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0,119,204,0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero .content {
    position: relative;
    max-width: 700px;
    padding: 40px 24px;
}

.hero .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    font-weight: 700;
    color: var(--accent2);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(2.8rem, 10vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1;
    margin-bottom: 16px;
}

.hero h2 {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 400;
    color: var(--muted);
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 8px;
}

/* ── Trusted By ───────────────────────────────────────── */
.trusted {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 48px 24px;
}

.trusted .section-label { margin-bottom: 28px; }

.logo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 32px;
    max-width: 700px;
    margin: 0 auto;
}

.logo-grid div {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--muted);
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    opacity: 0.6;
}

/* ── Services ─────────────────────────────────────────── */
.services { background: var(--dark); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

.card {
    background: var(--mid);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 28px 24px;
    transition: border-color 0.2s, transform 0.2s;
}
.card:hover {
    border-color: rgba(0,170,255,0.3);
    transform: translateY(-2px);
}

.card-icon { font-size: 1.8rem; margin-bottom: 12px; }
.card h3   { color: var(--white); }
.card p    { font-size: 0.88rem; margin-top: 4px; }

/* ── Stats ────────────────────────────────────────────── */
.stats {
    background: var(--accent);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 60px 24px;
}

.stat {
    flex: 1 1 180px;
    padding: 20px 32px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.stat:last-child { border-right: none; }

.stat span {
    display: block;
    font-size: clamp(2.2rem, 5vw, 3rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat p {
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
}

/* ── Testimonials ─────────────────────────────────────── */
.testimonials { background: var(--navy); }

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 40px;
    text-align: left;
}

.testimonial {
    background: var(--mid);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 24px;
}

.testimonial p   { color: var(--light); font-style: italic; font-size: 0.95rem; }
.testimonial cite { display: block; margin-top: 12px; font-size: 0.78rem; color: var(--muted); font-style: normal; }

/* ── FAQ ──────────────────────────────────────────────── */
.faq { background: var(--dark); }

.faq-item {
    max-width: 660px;
    margin: 0 auto 24px;
    text-align: left;
    padding: 24px;
    background: var(--mid);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
}

.faq-item h3 { color: var(--white); margin-bottom: 6px; }
.faq-item p  { font-size: 0.92rem; }

/* ── Announcement ─────────────────────────────────────── */
.announcement {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ── Gift Section ─────────────────────────────────────── */
.gift-section { background: var(--dark); }

#giftBox {
    font-size: 6rem;
    cursor: pointer;
    display: inline-block;
    transition: transform 0.2s;
    user-select: none;
    animation: pulse 2s ease-in-out infinite;
}
#giftBox:hover  { transform: scale(1.15) rotate(-5deg); }
#giftBox:active { transform: scale(0.95); }

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

#giftText {
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.1rem;
    font-weight: 400;
}

/* ── Reveal ───────────────────────────────────────────── */
.reveal {
    background: var(--navy);
    border-top: 3px solid var(--gold);
}

.reveal-inner { max-width: 680px; margin: 0 auto; }

.reveal h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 5vw, 2.6rem);
    margin-bottom: 20px;
}

.reveal-lead {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 28px;
}

.reveal-statement {
    background: var(--mid);
    border-radius: 8px;
    padding: 28px 32px;
    margin: 0 auto 28px;
    text-align: left;
}

.reveal-statement p {
    font-size: 1.1rem;
    color: var(--light);
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.reveal-statement p:last-child { border-bottom: none; }

.reveal-punchline {
    margin: 28px auto;
}
.reveal-punchline p {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 900;
    color: var(--gold);
    letter-spacing: -0.02em;
}

.birthday-message { margin: 32px auto; }
.birthday-message p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 8px;
}
.birthday-message .small-print { margin-top: 12px; }

/* ── Gallery Intro ────────────────────────────────────── */
.gallery-intro {
    background: var(--dark);
    border-top: 3px solid var(--accent);
}

.gallery-intro h2 { color: var(--white); }
.gallery-intro p  { color: var(--muted); }

/* ── Gallery Grid ─────────────────────────────────────── */
#gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 4px;
    background: var(--dark);
    padding: 4px 4px 60px;
}

#gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s, transform 0.3s;
    cursor: zoom-in;
}
#gallery img:hover { opacity: 0.85; transform: scale(1.02); }

/* ── Lightbox ─────────────────────────────────────────── */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: zoom-out;
    padding: 20px;
}

#lightbox img {
    max-width: min(90vw, 900px);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.8);
}

#lightbox-close {
    position: fixed;
    top: 20px;
    right: 24px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
    z-index: 1001;
}
#lightbox-close:hover { opacity: 1; }

/* ── Footer ───────────────────────────────────────────── */
footer {
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 60px 24px 40px;
    text-align: center;
}

footer h2 {
    font-size: 1rem;
    letter-spacing: 0.2em;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 16px;
}

footer p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 8px;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 600px) {
    .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .stat:last-child { border-bottom: none; }

    #gallery {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .reveal-statement { padding: 20px; }
}
