/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: #2D3748;
    line-height: 1.7;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.text-secondary { color: #6B7280; }

/* ===== HEADER ===== */
.site-header {
    background: var(--brand);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
}
.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #fff;
}
.logo-suffix {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.7);
}
.logo-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-phone {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.header-phone:hover { color: #fff; }
.phone-icon { margin-right: 4px; }

/* ===== NAV ===== */
.main-nav { display: flex; align-items: center; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-link {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s, color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}
.nav-link:hover, .active .nav-link { color: #fff; background: rgba(255,255,255,0.1); }

/* Nav CTA */
.nav-cta { margin-left: 8px; }
.btn-accent {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 9px 22px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.btn-accent:hover { background: var(--accent-hover); color: #fff; transform: translateY(-1px); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown-toggle { display: flex; align-items: center; gap: 4px; }
.dropdown-toggle::after {
    content: "";
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    margin-left: 2px;
}
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 260px;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    padding: 8px 0;
    z-index: 200;
}
.dropdown .nav-link {
    color: #2D3748;
    display: block;
    padding: 10px 20px;
    border-radius: 0;
    font-size: 0.88rem;
}
.dropdown .nav-link:hover { background: #F8F9FA; color: var(--brand); }
.has-dropdown:hover .dropdown { display: block; }

/* Mobile toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 8px;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,27,50,0.88) 0%, rgba(27,42,74,0.75) 100%);
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 640px;
    padding: 80px 24px;
    margin: 0 auto 0 max(24px, calc((100% - 1100px)/2 + 24px));
}
.hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 28px;
    line-height: 1.7;
}
.hero .btn-accent { padding: 14px 32px; font-size: 1rem; }

/* ===== HERO COMPACT (service pages) ===== */
.hero-compact {
    background: var(--brand);
    padding: 48px 0;
    text-align: center;
}
.hero-compact h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.hero-compact p {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SECTIONS ===== */
.section { padding: 72px 0; }
.section-light { background: #F8F9FA; }
.section-white { background: #fff; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 12px;
}
.section-header p {
    color: #6B7280;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-header .accent-bar {
    width: 48px;
    height: 3px;
    background: var(--accent);
    margin: 16px auto 0;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: var(--font);
}
.btn-primary {
    background: var(--brand);
    color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--brand);
    border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }

/* ===== CREDENTIALS STRIP ===== */
.credentials-strip {
    background: var(--brand);
    padding: 24px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.credentials-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}
.credential-item {
    text-align: center;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}
.credential-value {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 2px;
}

/* ===== SERVICE CARDS (overview grid) ===== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 32px 28px;
    transition: box-shadow 0.2s, transform 0.15s;
}
.service-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 10px;
}
.service-card p {
    color: #6B7280;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}
.service-card .card-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
}
.service-card .card-link:hover { color: var(--accent-hover); }
.service-card .card-link::after { content: " \2192"; }

/* ===== SERVICE PAGE TEMPLATE ===== */
.service-section { padding: 56px 0; }
.service-content { max-width: 760px; margin: 0 auto; }
.service-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 16px;
}
.service-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}
.service-content ul {
    margin: 16px 0 24px 24px;
    list-style: none;
}
.service-content ul li {
    padding: 6px 0;
    position: relative;
    padding-left: 20px;
}
.service-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 2px;
    background: var(--accent);
}

/* Outcomes box */
.outcomes-box {
    background: #F8F9FA;
    border-left: 3px solid var(--accent);
    border-radius: 0 6px 6px 0;
    padding: 24px 28px;
    margin: 28px 0;
}
.outcomes-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 12px;
}
.outcomes-box ul { margin-left: 24px; }

/* ===== CASE STUDY TEASER ===== */
.case-teaser {
    background: var(--brand);
    color: #fff;
    border-radius: 8px;
    padding: 32px 28px;
    margin: 36px 0;
}
.case-teaser h3 { color: var(--accent); margin-bottom: 8px; font-size: 1rem; font-weight: 600; }
.case-teaser p { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ===== CTA BANNER ===== */
.cta-banner {
    background: var(--brand);
    padding: 56px 0;
    text-align: center;
}
.cta-banner h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.cta-banner p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 24px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}
.cta-banner .btn-accent { padding: 14px 36px; font-size: 1rem; }

/* ===== INSIGHTS / CASE STUDY GRID ===== */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.insight-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.insight-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.insight-card-body { padding: 24px; }
.insight-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 8px;
}
.insight-card p { color: #6B7280; font-size: 0.9rem; line-height: 1.6; }
.insight-tag {
    display: inline-block;
    background: #F8F9FA;
    color: #6B7280;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-details h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 20px;
}
.detail-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.detail-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}
.contact-form h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 20px;
}

/* Form fields */
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2D3748;
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: var(--font);
    color: #2D3748;
    transition: border-color 0.2s;
    background: #fff;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197,151,62,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-status {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 16px;
    display: none;
}
.form-status.success { background: #ECFDF5; color: #065F46; border: 1px solid #A7F3D0; }
.form-status.error { background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }

/* ===== CALENDLY EMBED ===== */
.calendly-section {
    text-align: center;
    padding: 56px 0;
}
.calendly-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 12px;
}
.calendly-section p {
    color: #6B7280;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 32px;
}
.calendly-inline-widget {
    max-width: 700px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
}
.confidentiality-note {
    max-width: 560px;
    margin: 32px auto 0;
    color: #6B7280;
    font-size: 0.88rem;
    text-align: center;
    line-height: 1.6;
}

/* ===== ABOUT PAGE ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-intro-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 16px;
}
.about-intro-text p { margin-bottom: 16px; line-height: 1.8; }
.about-image {
    border-radius: 8px;
    overflow: hidden;
}
.about-image img { width: 100%; height: auto; display: block; }

/* Sectors */
.sector-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.sector-tag {
    background: #F8F9FA;
    color: var(--brand);
    padding: 8px 18px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 500;
    border: 1px solid #E5E7EB;
}

/* Philosophy cards */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.philosophy-card {
    text-align: center;
    padding: 32px 24px;
}
.philosophy-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 10px;
}
.philosophy-card p { color: #6B7280; font-size: 0.9rem; line-height: 1.6; }
.philosophy-icon {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
}

/* ===== CONTENT PAGES (privacy etc) ===== */
.content-page {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px;
}
.content-page h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand);
    margin-bottom: 24px;
}
.content-page h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--brand);
    margin-top: 32px;
    margin-bottom: 12px;
}
.content-page p {
    margin-bottom: 16px;
    line-height: 1.8;
}
.content-page ul {
    margin: 12px 0 20px 24px;
    list-style: disc;
}
.content-page ul li { padding: 4px 0; }

/* ===== FOOTER ===== */
.site-footer {
    background: var(--brand-dark);
    color: rgba(255,255,255,0.7);
    padding: 48px 0 0;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 32px;
}
.footer-brand .footer-logo {
    display: flex;
    align-items: baseline;
    gap: 8px;
    position: relative;
    padding-bottom: 6px;
    margin-bottom: 12px;
}
.footer-brand .footer-logo .logo-name { font-size: 1.2rem; font-weight: 700; letter-spacing: 0.2em; color: #fff; }
.footer-brand .footer-logo .logo-suffix { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.15em; color: rgba(255,255,255,0.5); }
.footer-brand .footer-logo .logo-bar { position: absolute; bottom: 0; left: 0; width: 32px; height: 2px; background: var(--accent); }
.footer-col h3 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.footer-col p { font-size: 0.88rem; margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--accent); }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.88rem; }
.footer-address { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.footer-bottom {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 16px;
    text-align: center;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--brand);
    color: #fff;
    z-index: 9000;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.2);
}
.cookie-banner-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.cookie-banner p { font-size: 0.88rem; color: rgba(255,255,255,0.9); }
.cookie-banner a { color: var(--accent); }
.cookie-dismiss {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.cookie-dismiss:hover { background: var(--accent-hover); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-toggle { display: block; }
    .main-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--brand);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        padding: 12px 0;
    }
    .main-nav.open { display: block; }
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .nav-list li { border-bottom: 1px solid rgba(255,255,255,0.06); }
    .nav-link { display: block; padding: 14px 24px; }
    .nav-cta { margin: 8px 16px; }
    .nav-cta .btn-accent { display: block; text-align: center; }

    .dropdown { display: none; position: static; box-shadow: none; background: rgba(0,0,0,0.15); border-radius: 0; }
    .dropdown-open .dropdown { display: block; }
    .dropdown .nav-link { color: rgba(255,255,255,0.8); padding-left: 40px; }

    .header-phone { display: none; }

    .hero { min-height: 400px; }
    .hero-content { padding: 56px 24px; margin-left: 0; }
    .hero h1 { font-size: 2rem; }

    .hero-compact h1 { font-size: 1.6rem; }

    .section { padding: 48px 0; }
    .section-header h2 { font-size: 1.6rem; }

    .contact-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-intro { grid-template-columns: 1fr; gap: 32px; }
    .philosophy-grid { grid-template-columns: 1fr; }

    .footer-inner { grid-template-columns: 1fr 1fr; }

    .credentials-list { gap: 24px; }
}

@media (max-width: 480px) {
    .header-inner { height: 60px; }
    .logo-name { font-size: 1.2rem; }
    .logo-suffix { font-size: 0.7rem; }
    .main-nav { top: 60px; }
    .hero h1 { font-size: 1.7rem; }
    .hero-content { padding: 40px 16px; }
    .section { padding: 36px 0; }
    .footer-inner { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
}

/* ===== PRINT ===== */
@media print {
    .site-header, .site-footer, .cookie-banner, .cta-banner { display: none; }
    body { color: #000; }
    a { color: #000; text-decoration: underline; }
}
