/* ========================================
   CSS Custom Properties
======================================== */
:root {
    --navy-900: #0a1628;
    --navy-800: #1e3a5f;
    --navy-700: #264a73;
    --navy-600: #2d5580;
    --gold-500: #c9a84c;
    --gold-400: #d4b76a;
    --gold-300: #e0c985;
    --gold-200: #e8d5a0;
    --cream-50: #faf8f5;
    --cream-100: #f5f0ea;
    --cream-200: #ede6db;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-800);
    background: var(--cream-50);
    line-height: 1.7;
    font-size: 16px;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ========================================
   Section Header
======================================== */
.section-eyebrow {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--navy-800);
    margin-bottom: 20px;
}

.section-line {
    width: 48px;
    height: 1px;
    background: var(--gold-500);
    margin-bottom: 32px;
}

/* ========================================
   Buttons
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.04em;
    padding: 14px 28px;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.btn-primary {
    background: var(--gold-500);
    color: var(--navy-900);
}

.btn-primary:hover {
    background: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--cream-50);
    border: 1px solid rgba(250, 248, 245, 0.4);
}

.btn-outline:hover {
    border-color: var(--cream-50);
    background: rgba(250, 248, 245, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ========================================
   Navigation
======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 0;
    box-shadow: 0 1px 0 rgba(201, 168, 76, 0.15);
}

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

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--cream-50);
    letter-spacing: 0.02em;
}

.nav-logo-icon {
    color: var(--gold-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    color: rgba(250, 248, 245, 0.75);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

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

.nav-cta {
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--gold-500) !important;
    border: 1px solid var(--gold-500);
    padding: 8px 18px;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta:hover {
    background: var(--gold-500);
    color: var(--navy-900) !important;
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle-line {
    width: 22px;
    height: 1.5px;
    background: var(--cream-50);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* ========================================
   Hero
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(30, 58, 95, 0.95) 0%, rgba(10, 22, 40, 0.98) 60%, #0a1628 100%),
        linear-gradient(135deg, #1e3a5f 0%, #0a1628 40%, #1a2744 70%, #2d4a6f 100%);
    z-index: 0;
}

/* Subtle decorative elements */
.hero-gradient::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-500);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    line-height: 1.15;
    color: var(--cream-50);
    margin-bottom: 28px;
}

.hero-accent {
    color: var(--gold-500);
    font-style: italic;
}

.hero-sub {
    font-size: 17px;
    font-weight: 300;
    color: rgba(250, 248, 245, 0.7);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 44px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.hero-scroll span {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 248, 245, 0.4);
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-500), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ========================================
   Services
======================================== */
.services {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.section-header .section-line {
    margin: 0 auto 32px;
}

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

.service-card {
    padding: 40px 32px;
    background: var(--cream-100);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out);
}

.service-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(10, 22, 40, 0.08);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gold-500);
    border-radius: 2px;
    color: var(--gold-500);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.35rem;
    color: var(--navy-800);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ========================================
   About
======================================== */
.about {
    padding: 120px 0;
    background: var(--cream-50);
}

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

.about-image-wrap {
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 1px solid var(--gold-500);
    border-radius: 4px;
    z-index: -1;
}

.about-content p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--navy-800);
}

.stat-label {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-300);
}

/* ========================================
   Approach
======================================== */
.approach {
    padding: 120px 0;
    background: var(--navy-900);
}

.approach .section-eyebrow {
    color: var(--gold-500);
}

.approach .section-title {
    color: var(--cream-50);
}

.approach .section-line {
    margin: 0 auto 64px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.approach-step {
    position: relative;
    padding: 32px 24px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 4px;
    transition: all 0.4s var(--ease-out);
}

.approach-step:hover {
    border-color: var(--gold-500);
    background: rgba(201, 168, 76, 0.04);
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--gold-500);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 20px;
    display: block;
}

.approach-step h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--cream-50);
    margin-bottom: 12px;
}

.approach-step p {
    font-size: 14px;
    color: rgba(250, 248, 245, 0.6);
    line-height: 1.7;
}

/* ========================================
   Testimonial
======================================== */
.testimonial {
    padding: 100px 0;
    background: var(--cream-100);
}

.testimonial-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-quote {
    color: var(--gold-500);
    opacity: 0.4;
    margin-bottom: 28px;
}

.testimonial blockquote {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: clamp(1.3rem, 3vw, 1.75rem);
    font-style: italic;
    line-height: 1.6;
    color: var(--navy-800);
    margin-bottom: 28px;
}

.testimonial-source {
    font-size: 13px;
    color: var(--gray-500);
    letter-spacing: 0.06em;
}

/* ========================================
   Contact
======================================== */
.contact {
    padding: 120px 0;
    background: var(--cream-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.contact-intro {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.85;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    color: var(--gold-500);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.contact-item span,
.contact-item a {
    font-size: 15px;
    color: var(--gray-700);
}

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

/* Form */
.contact-form-wrap {
    background: var(--cream-100);
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    padding: 40px;
}

.contact-form h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--navy-800);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--gray-800);
    background: var(--cream-50);
    border: 1px solid var(--gray-300);
    border-radius: 2px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-500);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    margin-top: 16px;
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid var(--gold-500);
    border-radius: 2px;
    color: var(--navy-800);
    font-size: 14px;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

/* ========================================
   Map
======================================== */
.map-section {
    height: 350px;
    filter: grayscale(0.6) contrast(1.05);
    transition: filter 0.4s ease;
}

.map-section:hover {
    filter: grayscale(0) contrast(1);
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--navy-900);
    padding: 56px 0 32px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    margin-bottom: 32px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 18px;
    color: var(--cream-50);
}

.footer-logo-icon {
    color: var(--gold-500);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(250, 248, 245, 0.6);
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(250, 248, 245, 0.4);
}

.footer-bottom a {
    color: rgba(250, 248, 245, 0.5);
    transition: color 0.3s ease;
}

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

/* ========================================
   Scroll Animations
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

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

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

    .about-layout {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        padding: 40px;
        transition: right 0.4s var(--ease-out);
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 15px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 24px 60px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .services {
        padding: 80px 0;
    }

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

    .about {
        padding: 80px 0;
    }

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

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

    .about-image-accent {
        display: none;
    }

    .approach {
        padding: 80px 0;
    }

    .approach-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact {
        padding: 80px 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form-wrap {
        padding: 28px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .service-card {
        padding: 28px 24px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero-scroll-line {
        animation: none;
        opacity: 0.6;
    }
}
