/* ==========================================================
   SGM ARC SOLUTIONS — Public Site Styles
   ========================================================== */

:root {
    --navy: #1b2b4b;
    --navy-light: #2c4270;
    --orange: #e8631c;
    --orange-dark: #c94f0f;
    --cream: #f7f8fa;
    --gray-text: #5b6472;
    --gray-border: #e6e9ee;
    --radius-lg: 16px;
    --radius-md: 10px;
    --font-display: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: #1f2733;
    line-height: 1.6;
    background: #fff;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--navy);
    line-height: 1.2;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: var(--orange);
    color: #fff;
}
.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(232, 99, 28, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--gray-border);
}
.btn-outline:hover { border-color: var(--navy); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: var(--navy);
}

.brand-subtitle {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: var(--gray-text);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    color: var(--navy);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
}

.main-nav a.active {
    border-bottom-color: var(--orange);
    color: var(--orange);
}

.main-nav a:hover { color: var(--orange); }

.nav-social {
    background: var(--navy);
    color: #fff !important;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nav-cta { padding: 10px 22px; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
    padding: 64px 0 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.eyebrow {
    color: var(--orange);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-lede {
    font-size: 17px;
    color: var(--gray-text);
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Trust bar (accreditations) ---------- */
.trust-bar {
    margin-top: 56px;
}

.trust-bar-inner {
    background: #fff;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(27,43,75,0.08);
    padding: 28px 36px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.trust-item-icon {
    font-size: 28px;
    color: var(--navy);
    margin-bottom: 8px;
}

.trust-item-label {
    font-size: 11px;
    color: var(--gray-text);
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-top: auto;
    padding-top: 10px;
}

.trust-item-title {
    font-weight: 700;
    color: var(--navy);
    font-size: 15px;
}

/* ---------- Clients strip ---------- */
.clients-strip {
    background: var(--cream);
    padding: 36px 0;
    margin-top: -1px;
}

.clients-strip p {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--gray-text);
    text-transform: uppercase;
    margin-bottom: 24px;
}

.clients-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.client-logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: #1f2733;
    opacity: 0.55;
}

/* ---------- Solutions ---------- */
.section {
    padding: 80px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 48px;
}

.section-heading h2 {
    font-size: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

.solution-card {
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    padding: 28px 22px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.solution-card p {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 14px;
    flex: 1;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

.solution-card:hover {
    box-shadow: 0 16px 36px rgba(27,43,75,0.1);
    transform: translateY(-3px);
}

.solution-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fdeee4;
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 16px;
}

.solution-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
}

.solution-card p {
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 14px;
    flex: 1;
}

.learn-more {
    color: var(--orange);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.learn-more:hover { gap: 9px; }

/* ---------- Why SGM Arc ---------- */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.why-grid h2 { font-size: 28px; margin-bottom: 16px; position: relative; padding-bottom: 14px; }
.why-grid h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px; height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.why-grid p {
    color: var(--gray-text);
    margin-bottom: 28px;
}

.why-points {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.why-point {
    display: flex;
    align-items: center;
    gap: 14px;
}

.why-point-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-point-text { font-weight: 600; font-size: 14.5px; color: var(--navy); }

.why-media {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
}
.why-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Upcoming events / news (dynamic) ---------- */
.cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.info-card {
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.info-card .date-pill {
    display: inline-block;
    background: #fdeee4;
    color: var(--orange-dark);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.info-card h3 { font-size: 17px; margin-bottom: 8px; }
.info-card p { font-size: 14px; color: var(--gray-text); }

.empty-state {
    text-align: center;
    color: var(--gray-text);
    padding: 40px;
    border: 1px dashed var(--gray-border);
    border-radius: var(--radius-md);
    grid-column: 1 / -1;
}

/* ---------- Trust bar logo images ---------- */
.trust-logo {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}

.trust-logo-wide {
    height: 36px;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    min-height: 90px;
    padding: 4px 0;
}

.trust-item-label {
    font-size: 11px;
    color: var(--gray-text);
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-top: auto;
    padding-top: 10px;
}

/* ---------- Sharon founder section ---------- */
.sharon-section { background: var(--cream); }

.sharon-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 64px;
    align-items: center;
}

.sharon-photo-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(27,43,75,0.15);
}

.sharon-photo-wrap img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center 20%;
}

.sharon-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    position: relative;
}

.sharon-content h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 48px; height: 3px;
    background: var(--orange);
    border-radius: 2px;
}

.sharon-content p {
    color: var(--gray-text);
    margin-bottom: 16px;
    font-size: 15px;
}

.sharon-creds {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.sharon-creds span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--navy);
}

.sharon-creds i {
    color: var(--orange);
    font-size: 16px;
}

/* ---------- CTA band ---------- */
.cta-band {
    background: var(--navy);
    border-radius: var(--radius-lg);
    padding: 56px;
    text-align: center;
    color: #fff;
    margin: 0 24px;
}
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }



/* ---------- Page header (for sub-pages) ---------- */
.page-header {
    background: var(--cream);
    padding: 64px 0 56px;
    text-align: center;
}
.page-header .eyebrow { display: block; }
.page-header h1 { font-size: 38px; margin-bottom: 12px; }
.page-header p { color: var(--gray-text); max-width: 560px; margin: 0 auto; }

/* ---------- Contact form ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-form {
    background: var(--cream);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin: 16px 0 6px;
}
.contact-form label:first-of-type { margin-top: 0; }

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid var(--gray-border);
    font-family: inherit;
    font-size: 14px;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: 2px solid var(--orange);
    border-color: var(--orange);
}

.contact-form button { margin-top: 22px; width: 100%; justify-content: center; }

.contact-info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: #fdeee4;
    color: var(--orange);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}

.contact-info-item h4 { font-size: 15px; margin-bottom: 4px; }
.contact-info-item p { font-size: 14px; color: var(--gray-text); }

/* ---------- Team grid (Who we are) ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card { text-align: center; }
.team-photo {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
    background: var(--cream);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 17px; margin-bottom: 4px; }
.team-card .role { color: var(--orange); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.team-card p.bio { font-size: 13.5px; color: var(--gray-text); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .solutions-grid { grid-template-columns: repeat(3, 1fr); }
    .cards-row { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 24px 24px;
        gap: 18px;
        border-bottom: 1px solid var(--gray-border);
        display: none;
    }
    .main-nav.open { display: flex; }
    .nav-cta { width: 100%; justify-content: center; }

    .hero-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 34px; }
    .trust-bar-inner { grid-template-columns: 1fr 1fr; }
    .solutions-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .sharon-grid { grid-template-columns: 1fr; }
    .cards-row { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .cta-band { margin: 0; border-radius: 0; padding: 48px 24px; }
}

/* ---------- Redesigned footer (maroon + Sharon photo) ---------- */
.site-footer {
    background: #4E0E13;
    color: rgba(255,255,255,0.85);
    margin-top: 80px;
}

.footer-main {
    display: grid;
    grid-template-columns: 280px 1fr;
    align-items: end;
}

.footer-photo-col {
    overflow: hidden;
    align-self: end;
}

.footer-sharon-photo {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-top-right-radius: 0;
}

.footer-content {
    padding: 48px 48px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-brand-block {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}

.footer-brand-name {
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.5;
}

.footer-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    margin-bottom: 10px;
    transition: color 0.15s ease;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 18px 0;
}

.footer-bottom-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-bottom p {
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}

@media (max-width: 768px) {
    .footer-main { grid-template-columns: 1fr; }
    .footer-photo-col { display: none; }
    .footer-content { padding: 36px 24px 0; }
    .footer-cols { grid-template-columns: 1fr; gap: 24px; }
}
