/* ═══════════════════════════════════════════════════════════
   AUTOMATE YOUR FINANCE — Premium Advisory Website
   ═══════════════════════════════════════════════════════════ */

:root {
    --navy: #0F1B2D;
    --navy-light: #1A2B45;
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-light: #DBEAFE;
    --accent: #0EA5E9;
    --gold: #D4A843;
    --slate: #475569;
    --slate-light: #94A3B8;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --bg-dark: #0F172A;
    --border: #E2E8F0;
    --text: #1E293B;
    --text-light: #64748B;
    --text-white: #F1F5F9;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.12);
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; font-family: 'Inter', sans-serif; font-weight: 600; }
h4 { font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 600; }

p { color: var(--text-light); }

a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue-dark); }

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow { max-width: 800px; }

/* ── BUTTONS ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}
.btn-primary:hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

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

.btn-nav {
    background: var(--blue);
    color: white;
    padding: 8px 20px;
    font-size: 0.85rem;
    border-color: var(--blue);
}
.btn-nav:hover {
    background: var(--blue-dark);
    color: white;
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-white { background: white; color: var(--navy); border-color: white; }
.btn-white:hover { background: var(--bg-alt); color: var(--navy); }

/* ── HEADER ── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
}

.logo-mark {
    background: var(--navy);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.5px;
}

.logo-text {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
}

.logo-light {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--slate-light);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

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

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate);
    text-decoration: none;
    position: relative;
    padding: 4px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue);
    border-radius: 1px;
}

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

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── HERO ── */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(168deg, #F8FAFC 0%, #EFF6FF 50%, #DBEAFE 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    max-width: 780px;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    color: var(--navy);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--slate);
    max-width: 640px;
    margin-bottom: 36px;
    line-height: 1.8;
}

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

.hero-proof {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.proof-item {
    text-align: left;
}

.proof-item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    font-family: 'Inter', sans-serif;
}

.proof-item {
    font-size: 0.85rem;
    color: var(--slate-light);
    font-weight: 500;
}

/* ── TRUST STRIP ── */
.trust-strip {
    padding: 48px 0;
    background: var(--navy);
    color: var(--text-white);
}

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

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.trust-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    color: var(--accent);
}

.trust-icon svg {
    width: 100%;
    height: 100%;
}

.trust-item p {
    font-size: 0.9rem;
    color: var(--text-white);
    opacity: 0.85;
    line-height: 1.5;
}

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

.section-light { background: var(--bg); }
.section-dark { background: var(--bg-dark); color: white; }
.section-dark h2, .section-dark h3 { color: white; }
.section-dark p { color: var(--slate-light); }
.section-alt { background: var(--bg-alt); }

.section-accent {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: white;
}
.section-accent h2, .section-accent h3 { color: white; }
.section-accent p { color: var(--slate-light); }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-dark .section-eyebrow,
.section-accent .section-eyebrow { color: var(--accent); }

.section-desc {
    font-size: 1.1rem;
    margin-top: 16px;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

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

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--blue);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--blue);
    margin-bottom: 16px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card p {
    font-size: 0.92rem;
    line-height: 1.7;
}

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

.who-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.who-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.who-card h3 { margin-bottom: 12px; }
.who-card p { font-size: 0.92rem; }

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

.result-card {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 36px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.result-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.result-number {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}

.result-unit {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--slate-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 4px 0 16px;
}

.result-card p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ── WHY GRID ── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.why-item {
    padding: 32px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.why-item h3 { margin-bottom: 12px; }

/* ── INDUSTRIES ── */
.industries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.industry-tag {
    padding: 10px 24px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate);
    transition: var(--transition);
}

.industry-tag:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

/* ── ENGAGEMENT ── */
.engagement-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.engagement-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.eng-step {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
    opacity: 0.6;
}

.engagement-card h3 { margin-bottom: 12px; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover { background: var(--bg-alt); }

.faq-arrow {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--slate-light);
    transition: var(--transition);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-item.open .faq-arrow {
    transform: rotate(45deg);
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ── CTA SECTION ── */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 32px;
}

/* ── FOOTER ── */
.site-footer {
    background: var(--navy);
    color: var(--text-white);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
    color: var(--slate-light);
    font-size: 0.9rem;
    margin-top: 16px;
}

.footer-nav a,
.footer-services a {
    display: block;
    color: var(--slate-light);
    font-size: 0.9rem;
    padding: 4px 0;
    transition: var(--transition);
}

.footer-nav a:hover,
.footer-services a:hover { color: white; }

.site-footer h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-cta p {
    color: var(--slate-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-light);
    opacity: 0.6;
}

.site-footer .logo { margin-bottom: 8px; }
.site-footer .logo-text { color: white; }

/* ── ABOUT PAGE ── */
.page-hero {
    padding: 140px 0 80px;
    background: linear-gradient(168deg, #F8FAFC 0%, #EFF6FF 100%);
}

.page-hero h1 { color: var(--navy); margin-bottom: 16px; }
.page-hero p { font-size: 1.15rem; max-width: 640px; }

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

.about-text h2 { margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; font-size: 1rem; }

.about-values {
    display: grid;
    gap: 20px;
}

.value-item {
    padding: 24px;
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.value-item h3 { margin-bottom: 8px; color: var(--navy); }
.value-item p { font-size: 0.92rem; }

/* ── SERVICES PAGE ── */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}

.service-detail:nth-child(even) { direction: rtl; }
.service-detail:nth-child(even) > * { direction: ltr; }
.service-detail:last-child { border-bottom: none; }

.service-detail h2 { margin-bottom: 16px; color: var(--navy); }
.service-detail p { margin-bottom: 12px; }

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 0.95rem;
    color: var(--text-light);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 16px;
    height: 16px;
    background: var(--blue-light);
    border-radius: 4px;
}

.service-visual {
    background: var(--bg-alt);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    border: 1px solid var(--border);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-visual-icon {
    width: 120px;
    height: 120px;
    color: var(--blue);
    opacity: 0.3;
}

.service-visual-icon svg { width: 100%; height: 100%; }

/* ── RESULTS PAGE ── */
.case-study-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.case-study-card:hover {
    box-shadow: var(--shadow-lg);
}

.cs-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.cs-industry {
    padding: 4px 14px;
    background: var(--blue-light);
    color: var(--blue);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cs-outcome {
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--blue);
}

.cs-body { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cs-body h4 { margin-bottom: 8px; color: var(--navy); }
.cs-body p { font-size: 0.92rem; }

/* ── CONTACT PAGE ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 24px; font-size: 1.05rem; }

.contact-form {
    background: var(--bg-alt);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

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

.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 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: white;
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.form-note {
    font-size: 0.8rem;
    color: var(--slate-light);
    margin-top: 12px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── CONTACT LAYOUT ── */
.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-form-wrap h2 { margin-bottom: 8px; }

.contact-info-card {
    background: var(--bg-alt);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-info-card h3 {
    font-size: 1.15rem;
    margin-bottom: 20px;
    color: var(--navy);
}

.contact-info-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.contact-info-card p:last-child { margin-bottom: 0; }

.contact-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-step:last-child { margin-bottom: 0; }

.contact-step-num {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin-top: 2px;
}

.contact-step p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 0;
    margin-top: 4px;
}

/* ── MOBILE ── */
@media (max-width: 1024px) {
    .services-grid,
    .who-grid,
    .results-grid { grid-template-columns: repeat(2, 1fr); }
    .engagement-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-items { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .about-content { grid-template-columns: 1fr; }
    .service-detail { grid-template-columns: 1fr; }
    .service-detail:nth-child(even) { direction: ltr; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .cs-body { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .btn-nav { display: none; }
    .mobile-toggle { display: flex; }

    .main-nav.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 16px;
    }

    .hero { padding: 120px 0 64px; }
    .hero-proof { gap: 24px; }
    .proof-item strong { font-size: 1.4rem; }
    .section { padding: 64px 0; }
    .services-grid,
    .who-grid,
    .results-grid,
    .why-grid { grid-template-columns: 1fr; }
    .trust-items { grid-template-columns: 1fr; }
    .engagement-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; justify-content: center; }
}


/* Accessibility/SEO utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
