/* ============================================
   MERIDIAN CAPITAL — Financial Consulting
   styles.css
   ============================================ */

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

:root {
    --navy: #0F172A;
    --navy-light: #1E293B;
    --gold: #C5A059;
    --gold-hover: #D4B06A;
    --white: #FFFFFF;
    --offwhite: #F8FAFC;
    --slate: #1E293B;
    --border-color: #E2E8F0;
    --text-body: #475569;
    --text-muted: #94A3B8;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius: 4px;
    --transition: 300ms ease;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--navy);
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition);
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    padding: 10px 24px;
    text-transform: uppercase;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}
.btn-gold:hover {
    background: var(--gold-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(197, 160, 89, 0.35);
}

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

.btn-lg {
    padding: 14px 32px;
    font-size: 15px;
}

.btn-full {
    width: 100%;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--gold);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    border-radius: 2px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.01em;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.02em;
    transition: color var(--transition);
}
.nav-link:hover {
    color: var(--gold);
}

.header-cta {
    font-size: 13px;
    padding: 8px 20px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
}

/* ---------- Hero ---------- */
.hero {
    padding: 140px 0 80px;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(197,160,89,0.06) 0%, transparent 60%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-text {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 36px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.hero-image {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}
.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}
.hero-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    pointer-events: none;
}

/* ---------- Trusted ---------- */
.trusted {
    padding: 48px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.trusted-label {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 28px;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-placeholder {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 600;
    color: var(--border-color);
    letter-spacing: 0.03em;
    opacity: 0.7;
}

/* ---------- Section Shared ---------- */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}

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

.section-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 17px;
    color: var(--text-body);
    max-width: 560px;
    margin: 0 auto;
}

/* ---------- Services ---------- */
.services {
    padding: 96px 0;
    background: var(--offwhite);
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--offwhite);
    border-radius: var(--radius);
    color: var(--gold);
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--navy);
}

.service-text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.02em;
}
.service-link:hover {
    color: var(--gold-hover);
}

/* ---------- About ---------- */
.about {
    padding: 96px 0;
    background: var(--white);
}

.about-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: start;
}

.about-text {
    font-size: 16px;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 28px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--navy);
}

.about-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.number-card {
    background: var(--offwhite);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
}

.number-value {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    color: var(--navy);
}

.number-suffix {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--gold);
}

.number-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.02em;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: 96px 0;
    background: var(--offwhite);
}

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

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 32px 28px;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    background: var(--navy);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.testimonial-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* ---------- Contact ---------- */
.contact {
    padding: 96px 0;
    background: var(--navy);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.contact-text {
    font-size: 16px;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 28px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255,255,255,0.7);
}

.contact-form {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: 36px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 15px;
    transition: border-color var(--transition);
}
.form-input::placeholder {
    color: rgba(255,255,255,0.3);
}
.form-input:focus {
    outline: none;
    border-color: var(--gold);
}

.form-select {
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2394A3B8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.form-disclaimer {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    text-align: center;
    margin-top: 12px;
}

/* ---------- Footer ---------- */
.footer {
    background: #0A1120;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand .logo-text {
    font-size: 16px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 12px;
    max-width: 280px;
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    transition: color var(--transition);
}
.footer-col a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ---------- Fade-up Animation ---------- */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-title {
        font-size: 40px;
    }
    .hero-image img {
        height: 360px;
    }
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-inner,
    .contact-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .footer-top {
        flex-direction: column;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 640px) {
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--navy);
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav.active {
        display: flex;
    }
    .mobile-toggle {
        display: flex;
    }
    .header-cta {
        display: none;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .about-features {
        grid-template-columns: 1fr;
    }
    .about-numbers {
        grid-template-columns: 1fr 1fr;
    }
    .section-title {
        font-size: 30px;
    }
    .contact-title {
        font-size: 30px;
    }
    .contact-form {
        padding: 24px;
    }
    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
    .trusted-logos {
        gap: 24px;
    }
    .logo-placeholder {
        font-size: 14px;
    }
}
