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

:root {
    --navy:        #1E3A5F;
    --navy-dark:   #152A45;
    --navy-deeper: #0F1F33;
    --gold:        #D4A017;
    --gold-light:  #E8B930;
    --gold-dark:   #B8860F;
    --slate:       #334155;
    --slate-light: #64748B;
    --gray:        #94A3B8;
    --gray-light:  #CBD5E1;
    --off-white:   #F1F5F9;
    --white:       #FFFFFF;
    --radius:      12px;
    --radius-sm:   8px;
    --shadow:      0 4px 24px rgba(15, 31, 51, 0.10);
    --shadow-lg:   0 12px 48px rgba(15, 31, 51, 0.15);
    --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--slate);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--navy);
    line-height: 1.2;
    font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--navy); color: var(--white); padding: 10px 20px;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm); z-index: 9999;
    font-weight: 600;
}
.skip-link:focus { top: 0; }

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

/* ===== HEADER ===== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(30, 58, 95, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
    transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.3); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { flex-shrink: 0; }
.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem; font-weight: 700; color: var(--white);
    letter-spacing: -0.02em;
}
.logo-accent { color: var(--gold); }

/* Nav */
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
    color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500;
    transition: color var(--transition); position: relative;
}
.nav-menu a:hover { color: var(--gold); }
.nav-menu a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--gold); transition: width var(--transition);
}
.nav-menu a:hover::after { width: 100%; }

.btn-nav {
    background: var(--gold); color: var(--navy-dark) !important;
    padding: 8px 18px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.85rem;
    display: flex; align-items: center; gap: 6px;
    transition: background var(--transition), transform var(--transition);
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--navy-dark) !important; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle-bar {
    width: 24px; height: 2px; background: var(--white);
    transition: var(--transition); display: block;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: center;
    background: var(--navy);
    padding: 100px 0 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 40%, rgba(212,160,23,0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 80% at 10% 90%, rgba(212,160,23,0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(212, 160, 23, 0.12);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: var(--gold); font-size: 0.8rem; font-weight: 600;
    padding: 6px 14px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.06em;
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}
.text-gold { color: var(--gold); }

.hero-sub {
    font-size: 1.1rem; color: rgba(255,255,255,0.7);
    max-width: 480px; margin-bottom: 32px; line-height: 1.7;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }

.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.95rem;
    transition: all var(--transition); white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
    background: var(--gold); color: var(--navy-dark);
    box-shadow: 0 4px 16px rgba(212,160,23,0.3);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(212,160,23,0.4); }

.btn-outline-light {
    background: transparent; color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.btn-gold {
    background: var(--gold); color: var(--navy-dark);
    box-shadow: 0 4px 16px rgba(212,160,23,0.3);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
    background: transparent; color: var(--navy);
    border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.hero-note {
    display: flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.5); font-size: 0.85rem;
}

/* Hero Visual */
.hero-visual { position: relative; }

.hero-img-card {
    position: relative; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-img-card img { width: 100%; height: 400px; object-fit: cover; }
.hero-img-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(30,58,95,0.2) 0%, transparent 60%);
    pointer-events: none;
}

.stat-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    display: flex; align-items: center; gap: 14px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}
.stat-card-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold); flex-shrink: 0;
}
.stat-card-number { display: block; font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.stat-card-label { display: block; font-size: 0.78rem; color: var(--slate-light); margin-top: 2px; }

.stat-card--left { top: -20px; left: -30px; }
.stat-card--right { top: 40px; right: -24px; }
.stat-card--bottom { bottom: -16px; left: 20px; }

/* ===== TRUST BAR ===== */
.trust-bar {
    background: var(--off-white);
    border-top: 1px solid rgba(30,58,95,0.06);
    border-bottom: 1px solid rgba(30,58,95,0.06);
    padding: 20px 0;
}
.trust-items {
    display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
}
.trust-item {
    display: flex; align-items: center; gap: 10px;
    font-size: 0.9rem; font-weight: 500; color: var(--slate);
}
.trust-item svg { flex-shrink: 0; }

/* ===== SECTION COMMON ===== */
.section-tag {
    display: inline-block;
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--gold-dark); margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.05rem; color: var(--slate-light);
    max-width: 560px; line-height: 1.7;
}

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--white); }
.services .container { text-align: center; }
.services .section-header { margin-bottom: 56px; }
.services .section-desc { margin: 0 auto; }

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

.service-card {
    background: var(--white);
    border: 1px solid rgba(30,58,95,0.08);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
    text-align: left;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--navy), var(--gold));
    transform: scaleX(0); transform-origin: left;
    transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 56px; height: 56px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(30,58,95,0.08) 0%, rgba(212,160,23,0.08) 100%);
    display: flex; align-items: center; justify-content: center;
    color: var(--navy); margin-bottom: 20px;
    transition: all var(--transition);
}
.service-card:hover .service-icon { background: var(--navy); color: var(--gold); }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; font-family: 'Inter', sans-serif; font-weight: 700; }
.service-card p { font-size: 0.92rem; color: var(--slate-light); line-height: 1.65; }

/* ===== WHY US ===== */
.why-us { padding: 100px 0; background: var(--off-white); }
.why-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.why-content .section-desc { margin-bottom: 36px; }

.why-list { display: flex; flex-direction: column; gap: 24px; }
.why-list-item { display: flex; gap: 16px; }
.why-list-icon {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--navy); display: flex; align-items: center; justify-content: center;
    color: var(--gold); flex-shrink: 0; margin-top: 2px;
}
.why-list-item strong { display: block; font-size: 1rem; color: var(--navy); margin-bottom: 4px; }
.why-list-desc { font-size: 0.9rem; color: var(--slate-light); line-height: 1.6; }

.why-image { position: relative; }
.why-image img {
    width: 100%; height: 620px; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.why-image-accent {
    position: absolute; bottom: -16px; right: -16px;
    width: 120px; height: 120px; border-radius: var(--radius);
    background: var(--gold); z-index: -1;
}

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: var(--white); }
.about-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-text .section-desc { margin-bottom: 20px; }
.about-text p { font-size: 0.95rem; color: var(--slate-light); line-height: 1.75; margin-bottom: 16px; }

.about-stats {
    display: flex; align-items: center; gap: 24px;
    margin-top: 32px; padding-top: 32px;
    border-top: 1px solid rgba(30,58,95,0.08);
}
.about-stat { text-align: center; }
.about-stat-num { display: block; font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.about-stat-label { display: block; font-size: 0.82rem; color: var(--slate-light); margin-top: 4px; }
.about-stat-divider { width: 1px; height: 48px; background: rgba(30,58,95,0.1); }

.about-image img {
    width: 100%; height: 360px; object-fit: cover;
    border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ===== CTA ===== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--navy);
    overflow: hidden;
}
.cta-bg-pattern {
    position: absolute; inset: 0;
    background-image:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(212,160,23,0.1) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 90% 30%, rgba(212,160,23,0.06) 0%, transparent 60%);
    pointer-events: none;
}
.cta-inner {
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 40px; flex-wrap: wrap;
}
.cta-content { max-width: 520px; }
.cta-title { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--white); margin-bottom: 16px; }
.cta-desc { font-size: 1.05rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--off-white); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.contact-info .section-desc { margin-bottom: 36px; }

.contact-details { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-detail { display: flex; gap: 16px; align-items: flex-start; }
.contact-detail-icon {
    width: 44px; height: 44px; border-radius: var(--radius-sm);
    background: var(--navy); display: flex; align-items: center; justify-content: center;
    color: var(--gold); flex-shrink: 0;
}
.contact-detail strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 4px; }
.contact-detail span, .contact-detail a { font-size: 0.9rem; color: var(--slate-light); }
.contact-detail a:hover { color: var(--gold-dark); }

.contact-map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* Contact Form */
.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(30,58,95,0.06);
}
.contact-form-title { font-size: 1.4rem; margin-bottom: 8px; }
.contact-form-desc { font-size: 0.9rem; color: var(--slate-light); margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block; font-size: 0.85rem; font-weight: 600;
    color: var(--navy); margin-bottom: 6px;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 14px;
    border: 1.5px solid rgba(30,58,95,0.15);
    border-radius: var(--radius-sm);
    background: var(--off-white);
    color: var(--slate);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.12);
    background: var(--white);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: none; align-items: center; gap: 12px;
    background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.2);
    border-radius: var(--radius-sm); padding: 16px 20px;
    color: #166534; font-size: 0.9rem; margin-top: 16px;
}
.form-success svg { color: #16a34a; flex-shrink: 0; }

/* ===== FOOTER ===== */
.footer { background: var(--navy-deeper); color: rgba(255,255,255,0.6); padding: 64px 0 0; }
.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; max-width: 300px; }
.footer-brand .logo { margin-bottom: 4px; }

.footer-links h4, .footer-contact h4 {
    color: var(--white); font-family: 'Inter', sans-serif;
    font-size: 0.85rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
    font-size: 0.9rem; color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-contact ul { display: flex; flex-direction: column; gap: 14px; }
.footer-contact li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.88rem; line-height: 1.5;
}
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
    padding: 24px 0;
    font-size: 0.82rem; color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}
.reveal[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal[data-reveal].revealed {
        opacity: 1;
        transform: none;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { max-width: 520px; }
    .stat-card--left { left: 0; }
    .stat-card--right { right: 0; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-image { order: -1; }
    .why-image img { height: 400px; }
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-image img { height: 280px; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 72px; left: 0; right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        box-shadow: 0 8px 24px rgba(0,0,0,0.3);
        z-index: 999;
    }
    .nav-menu.open {
        transform: translateY(0); opacity: 1;
    }
    .btn-nav { justify-content: center; width: 100%; }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-headline { font-size: clamp(1.8rem, 7vw, 2.6rem); }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { justify-content: center; }
    .stat-card { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .services { padding: 72px 0; }

    .why-us { padding: 72px 0; }
    .why-image img { height: 300px; }
    .why-image-accent { display: none; }

    .about { padding: 72px 0; }
    .about-stats { flex-wrap: wrap; gap: 20px; }

    .cta-section { padding: 72px 0; }
    .cta-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }

    .contact { padding: 72px 0; }
    .contact-form-wrap { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }

    .trust-items { gap: 24px; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero { padding: 90px 0 48px; }
    .hero-headline { font-size: 1.7rem; }
    .section-title { font-size: 1.6rem; }
}
