/* ═══════════════════════════════════════════════════
   Gordon Business Group — Global Styles
   ═══════════════════════════════════════════════════ */

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

:root {
    --navy:        #0c1a2e;
    --navy-mid:    #142236;
    --navy-light:  #1c2e4a;
    --gold:        #c9a24c;
    --gold-light:  #ddc170;
    --gold-pale:   #f5edd4;
    --cream:       #faf9f6;
    --white:       #ffffff;
    --slate:       #64748b;
    --slate-dark:  #334155;
    --border:      #e2e8f0;
    --text:        #1e293b;
    --radius:      8px;
    --max-w:       1180px;
    --transition:  0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--cream);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography ──────────────────────────────────── */

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

.section-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 0.6rem;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 1.2rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--slate);
    max-width: 620px;
    line-height: 1.7;
}

/* ── Layout ──────────────────────────────────────── */

.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

/* ── Navigation ──────────────────────────────────── */

.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(12, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 162, 76, 0.15);
    transition: background var(--transition);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.logo svg {
    height: 38px;
    width: auto;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 300;
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    line-height: 1.3;
}

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

.nav-links a {
    display: block;
    padding: 0.5rem 1.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.4rem;
    right: 1.4rem;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.nav-cta {
    margin-left: 0.8rem;
    padding: 0.6rem 1.6rem !important;
    background: var(--gold);
    color: var(--navy) !important;
    border-radius: 6px;
    font-weight: 600 !important;
    letter-spacing: 0.04em !important;
    transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover {
    background: var(--gold-light) !important;
    color: var(--navy) !important;
    transform: translateY(-1px);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: var(--transition);
}

/* ── Hero ────────────────────────────────────────── */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--navy);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(12, 26, 46, 0.92) 0%,
        rgba(12, 26, 46, 0.6) 50%,
        rgba(12, 26, 46, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    color: #fff;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    max-width: 700px;
}

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

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.7);
    max-width: 540px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── Buttons ─────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
}

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

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-dark {
    background: var(--navy);
    color: #fff;
}
.btn-dark:hover {
    background: var(--navy-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 26, 46, 0.3);
}

/* ── Stat Bar ────────────────────────────────────── */

.stat-bar {
    background: var(--navy);
    border-top: 1px solid rgba(201,162,76,0.2);
    border-bottom: 1px solid rgba(201,162,76,0.2);
}

.stat-bar .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    padding: 3rem 2rem;
    gap: 2rem;
}

.stat-num {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.5);
}

/* ── Cards ───────────────────────────────────────── */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.card:hover::before { transform: scaleX(1); }

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.4rem;
    color: var(--gold);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.card p {
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── Image + Text Blocks ─────────────────────────── */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.split-img {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    position: relative;
}

.split-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 380px;
}

.split-img-accent {
    position: absolute;
    bottom: -12px;
    right: -12px;
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold);
    border-radius: var(--radius);
    z-index: -1;
}

/* ── CTA Banner ──────────────────────────────────── */

.cta-banner {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 5rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Footer ──────────────────────────────────────── */

footer {
    background: var(--navy);
    color: rgba(255,255,255,0.5);
    padding: 4rem 0 2rem;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.6rem;
}

.footer-col a {
    color: rgba(255,255,255,0.5);
    transition: color var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom span { color: rgba(255,255,255,0.3); font-size: 0.82rem; }

/* ── Page Headers (inner pages) ──────────────────── */

.page-header {
    background: var(--navy);
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-header h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.8rem;
}

.page-header p {
    color: rgba(255,255,255,0.5);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ── Contact Form ────────────────────────────────── */

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.contact-form .full { grid-column: 1 / -1; }

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
    font-family: inherit;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    color: var(--text);
    transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--gold);
}

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

/* ── Contact Info Cards ──────────────────────────── */

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--gold-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.info-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.info-card p {
    color: var(--slate);
    font-size: 0.9rem;
}

/* ── Image Gallery Grid ──────────────────────────── */

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 280px 280px;
    gap: 1rem;
    margin-top: 3rem;
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-grid .gallery-main { grid-row: 1 / -1; }

/* ── Scroll Animations ────────────────────────────── */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(.4,0,.2,1), transform 0.8s cubic-bezier(.4,0,.2,1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 0.12s); }

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 2.5rem; }
    .split.reverse .split-img { order: -1; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stat-bar .container { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .gallery-grid .gallery-main { grid-row: auto; }
    .insight-feature { grid-template-columns: 1fr !important; }
    .insight-pair { grid-template-columns: 1fr !important; }
    .founder-quote-flex { flex-direction: column; text-align: center; }
}

@media (max-width: 700px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--navy);
        flex-direction: column;
        padding: 1rem 0;
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: block; }
    .nav-cta { margin: 0.5rem 1.4rem !important; text-align: center; }
    .hero { min-height: 80vh; }
    section { padding: 4rem 0; }
    .contact-form { grid-template-columns: 1fr; }
}
