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

:root {
    --navy-deep: #060F1E;
    --navy: #0B1D3A;
    --navy-light: #132D54;
    --navy-lighter: #1A3A6B;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #A8893A;
    --cream: #F5F0E8;
    --white: #FFFFFF;
    --text-light: #C8C4BC;
    --text-muted: #8A8580;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    background: var(--navy-deep);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── NAV ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
    transition: background var(--transition);
}

.nav.scrolled {
    background: rgba(6, 15, 30, 0.97);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.nav-logo span {
    font-size: 0.85rem;
    color: var(--gold);
    font-family: var(--font-body);
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
}

.btn--gold {
    background: var(--gold);
    color: var(--navy-deep);
}

.btn--gold:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(201, 168, 76, 0.3);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn--lg {
    padding: 18px 48px;
    font-size: 0.938rem;
}

/* ── HERO ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 15, 30, 0.92) 0%,
        rgba(11, 29, 58, 0.85) 50%,
        rgba(6, 15, 30, 0.88) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    padding: 0 24px;
    text-align: center;
}

.hero-eyebrow {
    font-size: 0.813rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-headline .gold {
    color: var(--gold);
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto 40px;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--gold);
    opacity: 0.6;
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ── SECTIONS ── */
.section {
    padding: 120px 0;
}

.section--dark {
    background: var(--navy);
}

.section-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 64px;
}

/* ── SERVICES ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--navy-light);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 8px;
    padding: 40px 32px;
    transition: all var(--transition);
}

.service-card:hover {
    border-color: rgba(201, 168, 76, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.service-icon {
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.938rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ── ABOUT ── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.about-stat {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--navy-deep);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 8px;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat .gold {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.about-stat span:last-child {
    font-size: 0.813rem;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

.about-content p {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.813rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ── PORTFOLIO ── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.portfolio-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-card img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6, 15, 30, 0.95) 0%, rgba(6, 15, 30, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    transition: background var(--transition);
}

.portfolio-tag {
    display: inline-block;
    font-size: 0.688rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(201, 168, 76, 0.3);
    padding: 4px 12px;
    border-radius: 2px;
    width: fit-content;
    margin-bottom: 12px;
}

.portfolio-card-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 4px;
}

.portfolio-card-overlay p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--navy-light);
    border: 1px solid rgba(201, 168, 76, 0.08);
    border-radius: 8px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    margin-bottom: 20px;
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    flex: 1;
    margin-bottom: 24px;
}

.testimonial-author {
    font-size: 0.875rem;
    color: var(--gold);
    font-weight: 500;
}

/* ── CTA ── */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(6, 15, 30, 0.94) 0%, rgba(11, 29, 58, 0.9) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content .section-title {
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.063rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.cta-contact {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.cta-phone,
.cta-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.938rem;
    color: var(--gold);
    text-decoration: none;
    transition: color var(--transition);
}

.cta-phone:hover,
.cta-email:hover {
    color: var(--gold-light);
}

.cta-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* ── FOOTER ── */
.footer {
    background: var(--navy-deep);
    border-top: 1px solid rgba(201, 168, 76, 0.1);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 16px;
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 0.938rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    text-decoration: none;
    font-size: 0.875rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-nav a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(201, 168, 76, 0.08);
    padding-top: 24px;
    text-align: center;
}

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

/* ── SCROLL REVEAL (below fold only, progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(6, 15, 30, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(201, 168, 76, 0.1);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .section {
        padding: 80px 0;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap img {
        height: 360px;
    }

    .about-stat {
        bottom: -16px;
        right: 16px;
        padding: 16px 24px;
    }

    .about-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

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

    .portfolio-card img {
        height: 280px;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
    }

    .cta-contact {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

    .section-title {
        margin-bottom: 40px;
    }
}
