/* ============================================================
   MEEZAN ADS — MASTER STYLESHEET v4
   Single source of truth. No duplicate declarations.
   No conflicting overrides. Mobile-first structure.
   ============================================================ */

/* ── Design tokens ─────────────────────────────────────────────────────────── */
:root {
    --off-white:   #F7F5F0;
    --warm-beige:  #E8E1D2;
    --sage:        #7C817C;
    --charcoal:    #151515;
    --navy-blue:   #202A44;
    --silver:      #242424;
    --gold-start:  #D4AF37;
    --gold-end:    #C5A028;
    --transition:  all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ── Base ──────────────────────────────────────────────────────────────────── */
html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--off-white);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

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

h1, h2, h3, .logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    word-break: break-word;
    overflow-wrap: break-word;
}

a { color: inherit; text-decoration: none; }

/* ── NAVIGATION ────────────────────────────────────────────────────────────── */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--warm-beige);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.logo-container img,
.nav-brand-logo {
    height: 52px;
    width: auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
}

.nav-tagline {
    font-size: 10px;
    letter-spacing: 2px;
    color: var(--sage);
    text-transform: uppercase;
    font-weight: 700;
    display: none;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--charcoal);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    transition: var(--transition);
    padding: 6px 0;
}

.nav-links a:not(:last-child)::after {
    content: "|";
    margin: 0 15px;
    color: var(--sage);
    opacity: 0.5;
    font-weight: 300;
    pointer-events: none;
}

.nav-links a:hover,
.nav-links a.nav-active { color: var(--sage); }

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

.nav-mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--charcoal);
    display: block;
    transition: var(--transition);
}

/* ── BUTTONS ───────────────────────────────────────────────────────────────── */
.btn-primary {
    background: var(--charcoal);
    color: var(--off-white);
    padding: 18px 36px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover { background: var(--sage); }

.btn-primary-pricing-insight {
    background: var(--silver);
    color: var(--off-white);
    padding: 18px 36px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-secondary {
    padding: 14px 28px;
    border: 1px solid var(--charcoal);
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    display: inline-block;
    transition: var(--transition);
}
.btn-secondary:hover { background: var(--charcoal); color: white; }

/* ── SECTION HOME ──────────────────────────────────────────────────────────── */
.section-home {
    display: block;
    width: 100%;
}

/* ── HERO ──────────────────────────────────────────────────────────────────── */
.hero {
    display: block;
    text-align: center;
    min-height: auto;
    background-color: var(--warm-beige);
    width: 100%;
    margin: 0;
    padding: 80px 5%;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.tagline {
    color: var(--sage);
    letter-spacing: 3px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    display: block;
}

h1 {
    font-size: clamp(28px, 5.5vw, 72px);
    line-height: 1.05;
    margin-bottom: 25px;
    color: var(--charcoal);
}

.sub-headline {
    font-size: clamp(15px, 2vw, 19px);
    max-width: 600px;
    margin: 0 auto 40px;
    opacity: 0.85;
    width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

/* ── TRUST BAR & MARQUEE ───────────────────────────────────────────────────── */
.trust-bar {
    display: block;
    width: 100%;
    background: var(--warm-beige);
    padding: 40px 0 0;
    text-align: center;
    border-top: 1px solid rgba(124,129,124,0.15);
    box-sizing: border-box;
    overflow: hidden;
}

.trust-bar .tagline {
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 24px;
    padding: 0 5%;
    display: block;
}

.trust-marquee {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 340px;
    position: relative;
    left: 0;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    display: block;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.marquee-track {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    gap: 180px;
    align-items: center;
    animation: scrollLogos 10s linear infinite;
    min-width: 100%;
}

.marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.marquee-logo {
    height: 44px;
    width: auto;
    max-width: 160px;
    filter: grayscale(100%) contrast(80%) opacity(0.5);
    transition: var(--transition);
    object-fit: contain;
    flex-shrink: 0;
}

.marquee-logo:hover {
    filter: grayscale(0%) contrast(100%) opacity(1);
    transform: scale(1.1);
    cursor: pointer;
}

.marquee-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--charcoal);
    opacity: 0.6;
}

@keyframes scrollLogos {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ── DIRECTORY LAYOUT ──────────────────────────────────────────────────────── */
.directory-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ── SIDEBAR ───────────────────────────────────────────────────────────────── */
.sidebar {
    width: 310px;
    flex-shrink: 0;
    background: var(--warm-beige);
    padding: 40px 30px;
    border-right: 1px solid rgba(0,0,0,0.06);
    height: 100vh;
    position: sticky;
    top: 0;
    overflow-y: auto;
}

.filter-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    margin-bottom: 4px;
}

.filter-header p {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--sage);
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.search-wrap      { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.search-input     { width: 100%; padding: 12px; border: 1px solid var(--sage); background: var(--off-white); font-size: 14px; font-family: inherit; transition: var(--transition); }
.search-input:focus { border-color: var(--charcoal); background: white; outline: none; }
.search-btn       { width: 100%; padding: 12px; }

.filter-group  { margin-bottom: 20px; }
.filter-label  { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; color: var(--sage); margin-bottom: 8px; font-weight: 600; }
.filter-select { width: 100%; padding: 10px 12px; border: 1px solid var(--sage); background: var(--off-white); font-family: inherit; font-size: 13px; cursor: pointer; transition: var(--transition); }
.filter-select:focus { outline: none; border-color: var(--charcoal); }
.filter-chips  { display: flex; flex-wrap: wrap; gap: 8px; }
.chip          { padding: 6px 12px; background: white; border: 1px solid var(--sage); color: var(--charcoal); cursor: pointer; font-size: 11px; text-transform: uppercase; transition: var(--transition); }
.chip:hover    { background: var(--charcoal); color: var(--off-white); border-color: var(--charcoal); }

.result-count     { font-size: 11px; color: var(--sage); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 24px; }
.btn-join-sidebar { width: 100%; text-align: center; margin-top: 10px; }

/* ── SHOWCASE ──────────────────────────────────────────────────────────────── */
.showcase-main {
    flex: 1;
    padding: 40px 50px;
    background: var(--off-white);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.showcase-header {
    text-align: left;
    width: 100%;
    margin-bottom: 30px;
    border-left: 4px solid var(--sage);
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.showcase-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 36px; }
.showcase-header p  { color: var(--sage); font-size: 15px; }

/* ── BUSINESS GRID ─────────────────────────────────────────────────────────── */
.business-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    transition: opacity 0.2s ease;
}

.biz-card {
    background: white;
    padding: 22px 18px;
    border: 1px solid var(--warm-beige);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    min-height: 240px;
}
.biz-card:hover {
    border-color: var(--sage);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.biz-badge {
    background: var(--warm-beige);
    color: var(--sage);
    font-size: 9px;
    padding: 3px 8px;
    width: fit-content;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.biz-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.biz-details { flex: 1; }

.biz-info {
    font-size: 11px;
    margin: 6px 0;
    line-height: 1.4;
    color: var(--charcoal);
    opacity: 0.85;
}

.biz-info strong {
    display: block;
    font-size: 9px;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 1;
}

.card-actions {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 10px;
}

.view-profile {
    font-size: 10px;
    text-decoration: none;
    color: var(--charcoal);
    border-bottom: 1px solid var(--sage);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.view-profile:hover { color: var(--sage); }
.view-profile.muted { border-bottom: none; opacity: 0.4; cursor: default; }

.grid-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--sage);
}
.grid-empty p { font-size: 16px; margin-bottom: 12px; }
.grid-empty a { color: var(--charcoal); font-weight: 600; border-bottom: 1px solid var(--sage); }

.grid-spinner { display: flex; justify-content: center; width: 100%; padding: 20px 0; }
.spinner {
    width: 32px; height: 32px;
    border: 2px solid var(--warm-beige);
    border-top-color: var(--sage);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── PAGINATION ────────────────────────────────────────────────────────────── */
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 32px; width: 100%; }
.page-btn {
    padding: 8px 14px;
    border: 1px solid var(--warm-beige);
    background: white;
    font-size: 12px;
    font-weight: 600;
    color: var(--charcoal);
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    user-select: none;
}
.page-btn:hover  { border-color: var(--sage); color: var(--sage); }
.page-btn.active { background: var(--charcoal); color: white; border-color: var(--charcoal); }

/* ── JOIN PARTNER NETWORK ──────────────────────────────────────────────────── */
.join-hero {
    background: var(--warm-beige);
    padding: 60px 5%;
    text-align: center;
}
.join-hero-content { max-width: 700px; margin: 0 auto; }
.join-hero-content h2 { font-size: clamp(32px, 5vw, 52px); margin-bottom: 10px; }
.join-sub { font-size: 16px; color: var(--sage); margin-top: 10px; }

.join-form-wrap {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 5%;
    background: var(--off-white);
}

.contact-form-panel {
    background: var(--charcoal);
    color: var(--off-white);
    padding: 50px 60px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 40px;
}

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

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

.form-group label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.req { color: #e05; font-style: normal; }

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 0;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    font-size: 15px;
    color: var(--off-white);
    font-family: inherit;
    transition: border-color 0.2s ease;
}
.form-group select { padding: 12px 4px; cursor: pointer; }
.form-group select option { background: var(--charcoal); color: var(--off-white); }
.form-group input:focus,
.form-group select:focus { outline: none; border-bottom-color: var(--sage); }
.form-group input::placeholder { color: rgba(255,255,255,0.3); }

.form-alert { padding: 12px 16px; margin-bottom: 28px; font-size: 13px; border-radius: 2px; }
.form-alert-error { background: rgba(180,40,40,0.15); color: #f5a5a5; border: 1px solid rgba(180,40,40,0.3); }

.form-note { font-size: 12px; opacity: 0.5; text-align: center; margin: 10px 0 30px; }
.form-submit-row { text-align: center; }
.btn-submit { min-width: 220px; }

/* ── MODALS ────────────────────────────────────────────────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(21,21,21,0.93);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}
.modal-overlay.modal-active { display: flex; }

.modal-content {
    background: var(--warm-beige);
    padding: 50px 40px;
    max-width: 460px;
    width: 90%;
    text-align: center;
    position: relative;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.modal-icon { font-size: 40px; margin-bottom: 16px; line-height: 1; }
.modal-content h3 { font-size: 28px; margin-bottom: 14px; color: var(--charcoal); }
.modal-content p  { font-size: 15px; line-height: 1.65; margin-bottom: 30px; color: var(--charcoal); opacity: 0.85; }
.modal-content .btn-primary { min-width: 180px; }

.modal-close {
    position: absolute;
    top: 18px; right: 22px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--sage);
    line-height: 1;
    transition: var(--transition);
}
.modal-close:hover { color: var(--charcoal); }
.success-accent { border-top: 5px solid var(--sage); }

/* ── GLOBAL FORMS ──────────────────────────────────────────────────────────── */
form label {
    display: block;
    margin-top: 25px;
    font-size: 11px;
    font-weight: 700;
    color: var(--sage);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
form input {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--sage);
    background: transparent;
    font-size: 16px;
    color: var(--charcoal);
    font-family: inherit;
    transition: var(--transition);
}
form input:focus { outline: none; border-bottom-color: var(--charcoal); }

/* ── MAP ───────────────────────────────────────────────────────────────────── */
.partner-map {
    width: 100%;
    height: 400px;
    background: var(--warm-beige);
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* ── CONTACT SPLIT ─────────────────────────────────────────────────────────── */
.contact-split {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 10vh;
    background-color: var(--warm-beige);
    padding: 0 !important;
    margin: 0 !important;
}

/* ── PRICING ───────────────────────────────────────────────────────────────── */
.pricing-section { padding: 80px 5%; background-color: var(--off-white); text-align: center; }
.pricing-header  { margin-bottom: 50px; }
.pricing-header h2 { font-size: 42px; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--warm-beige);
    padding: 50px 40px;
    border: 1px solid var(--warm-beige);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.pricing-card h3     { font-size: 22px; color: var(--sage); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.pricing-card .price { font-size: 48px; font-weight: 700; color: var(--charcoal); margin-bottom: 5px; }
.pricing-card .time  { font-weight: 700; color: var(--sage); margin-bottom: 30px; font-size: 14px; }
.pricing-card ul     { list-style: none; text-align: left; margin-bottom: 40px; flex-grow: 1; }
.pricing-card ul li  { padding: 12px 0; border-bottom: 1px solid rgba(124,129,124,0.1); font-size: 14px; }

.pricing-card.highlighted {
    background: var(--charcoal);
    color: var(--off-white);
    transform: scale(1.05);
    border: none;
}
.pricing-card.highlighted h3     { color: var(--sage); }
.pricing-card.highlighted .price { color: white; }
.pricing-card.highlighted .time  { color: var(--warm-beige); }
.pricing-card.highlighted ul li  { border-bottom-color: rgba(255,255,255,0.1); }

.pricing-card.optimization-gold {
    background: linear-gradient(135deg, var(--gold-start) 0%, #F5E0A3 50%, var(--gold-end) 100%);
    color: var(--charcoal);
    border: none;
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(212,175,55,0.2);
}
.pricing-card.optimization-gold h3,
.pricing-card.optimization-gold .time { color: #5C430D; }
.pricing-card.optimization-gold .price { color: var(--charcoal); }
.pricing-card.optimization-gold ul li  { border-bottom-color: rgba(92,67,13,0.15); }
.pricing-card.optimization-gold .btn-secondary { background: var(--charcoal); color: white; border: none; }

/* ── BADGES ────────────────────────────────────────────────────────────────── */
.biz-ownership    { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 8px; }
.badge-muslim-biz { background: #E8F5E9; color: #2E7D32; font-size: 8px; font-weight: 700; letter-spacing: .5px; padding: 2px 7px; border-radius: 99px; }
.badge-woman-biz  { background: #FCE4EC; color: #880E4F; font-size: 8px; font-weight: 700; letter-spacing: .5px; padding: 2px 7px; border-radius: 99px; }

/* ── SIDEBAR EXTRAS ────────────────────────────────────────────────────────── */
.filter-divider { height: 0.5px; background: rgba(255,255,255,.08); margin: 14px 0; }
.filter-check   { display: flex; align-items: center; gap: 7px; margin-bottom: 8px; cursor: pointer; }
.filter-check input[type=checkbox] { width: 13px; height: 13px; accent-color: var(--sage); cursor: pointer; }
.filter-check span { font-size: 12px; color: #000; text-transform: uppercase; letter-spacing: .5px; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE — single source, no conflicts
   ════════════════════════════════════════════════════════════ */

@media (min-width: 900px) {
    .nav-tagline { display: block; }
    .logo-container img,
    .nav-brand-logo { height: 75px; }
}

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

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--warm-beige);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 5%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        width: 100%;
    }

    nav.nav-open .nav-links { display: flex; }
    .nav-links a:not(:last-child)::after { display: none; }
    .nav-links a { padding: 12px 0; border-bottom: 1px solid rgba(124,129,124,0.15); }

    .marquee-logo  { height: 32px; }
    .marquee-track { gap: 40px; }
    .marquee-name  { font-size: 12px; }
}

@media (max-width: 1400px) { .business-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1100px) { .business-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .business-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .business-grid { grid-template-columns: 1fr; } }

@media (max-width: 900px) {
    .directory-layout { flex-direction: column; overflow-x: hidden; }
    .sidebar          { width: 100%; height: auto; position: relative; top: auto; padding: 24px 20px; }
    .showcase-main    { padding: 24px 16px; width: 100%; max-width: 100%; }
    .showcase-header h2 { font-size: 26px; }
    .contact-split    { flex-direction: column; }
    .hero             { min-height: 60vh; }
}

@media (max-width: 700px) {
    h1 { font-size: clamp(26px, 7vw, 42px); }

    .form-grid          { grid-template-columns: 1fr; gap: 0; }
    .contact-form-panel { padding: 28px 16px; max-width: 100%; }
    .join-form-wrap     { padding: 30px 4%; }
    .join-hero          { padding: 40px 5%; }
    .join-hero-content h2 { font-size: clamp(26px, 7vw, 42px); }

    .pricing-card.highlighted,
    .pricing-card.optimization-gold { transform: scale(1); }
    .pricing-grid   { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-section { padding: 44px 5%; }

    .btn-primary,
    .btn-secondary  { padding: 14px 22px; font-size: 12px; }
    .btn-submit     { min-width: unset; width: 100%; }

    .modal-content  { padding: 32px 18px; width: 94%; }
}

@media (max-width: 380px) {
    nav  { padding: 10px 4%; }
    .hero { padding: 32px 4%; }
    h1   { font-size: 26px; }
    .tagline { font-size: 9px; letter-spacing: 1px; }
    .contact-form-panel { padding: 22px 14px; }
}


/* New Home Section */
/* ============================================================
   HOME SECTIONS & FOOTER — append to bottom of style.css
   ============================================================ */

/* ── Shared section base ───────────────────────────────────── */
.home-section {
    width: 100%;
    padding: 10px 0%;
    box-sizing: border-box;
    background: var(--off-white);
}

.home-section--dark {
    background: var(--charcoal);
    color: var(--off-white);
}

.home-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.home-section-inner--centered {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.home-section-inner--split {
    align-items: flex-start;
    gap: 80px;
}

.home-section-label {
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    font-weight: 600;
    color: var(--warm-beige);
    line-height: 1;
    flex-shrink: 0;
    user-select: none;
}

.home-section-label--light {
    color: rgba(255,255,255,0.08);
}

.home-section-body {
    flex: 1;
}

.section-eyebrow {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--sage);
    margin-bottom: 16px;
    display: block;
}

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

.home-section h2 {
    font-size: clamp(28px, 3.5vw, 48px);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--charcoal);
}

.section-h2--light {
    color: var(--off-white) !important;
}

.section-text {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.85;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.section-text--light {
    color: var(--off-white);
}

.section-text--centered {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Section 1 — Who We Are ────────────────────────────────── */
.home-who {
    border-bottom: 1px solid rgba(124,129,124,0.12);
}

/* ── Section 2 — Data & AI ─────────────────────────────────── */
.data-ai-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.data-ai-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 28px 24px;
    transition: var(--transition);
}

.data-ai-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: var(--sage);
}

.data-ai-icon {
    font-size: 24px;
    color: var(--sage);
    display: block;
    margin-bottom: 14px;
}

.data-ai-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    color: var(--off-white);
    margin-bottom: 10px;
}

.data-ai-card p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(247,245,240,0.65);
}

/* ── Section 3 — Solutions ─────────────────────────────────── */
.home-split-left {
    flex: 0 0 380px;
    position: sticky;
    top: 80px;
}

.home-split-right {
    flex: 1;
}

.solutions-list {
    list-style: none;
    margin-top: 10px;
}

.solutions-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(124,129,124,0.12);
    font-size: 15px;
    color: var(--charcoal);
}

.solutions-check {
    color: var(--sage);
    font-weight: 700;
    flex-shrink: 0;
}

/* ── Section 4 — Dashboard ─────────────────────────────────── */
.dashboard-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 60px;
    width: 100%;
}

.dashboard-feature {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
}

.dashboard-feature-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    color: var(--sage);
    margin-bottom: 12px;
    line-height: 1;
}

.dashboard-feature h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    color: var(--off-white);
    margin-bottom: 10px;
}

.dashboard-feature p {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(247,245,240,0.6);
}

/* ── Section 5 — Team ──────────────────────────────────────── */
.team-pillars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
    width: 100%;
    text-align: left;
}

.team-pillar-line {
    width: 40px;
    height: 2px;
    background: var(--sage);
    margin-bottom: 20px;
}

.team-pillar h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.team-pillar p {
    font-size: 13px;
    line-height: 1.7;
    color: var(--charcoal);
    opacity: 0.7;
}

/* ── Section 6 — Contact ───────────────────────────────────── */
.btn-contact-trigger {
    margin-top: 12px;
    background: var(--sage);
    color: var(--off-white);
}

.btn-contact-trigger:hover {
    background: var(--off-white);
    color: var(--charcoal);
}

/* ── FOOTER ────────────────────────────────────────────────── */
.site-footer {
    background: var(--charcoal);
    color: var(--off-white);
    width: 100%;
    padding: 60px 5%;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    min-width: 180px;
}

.footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--off-white);
}

.footer-copy {
    font-size: 11px;
    color: rgba(247,245,240,0.4);
    letter-spacing: 0.5px;
}

.footer-middle {
    flex: 1;
    min-height: 1px;
}

.footer-nav {
    display: flex;
    gap: 60px;
    flex-shrink: 0;
}

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

.footer-nav-heading {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage);
    margin-bottom: 6px;
}

.footer-nav-col a {
    font-size: 13px;
    color: rgba(247,245,240,0.55);
    text-decoration: none;
    transition: var(--transition);
}

.footer-nav-col a:hover {
    color: var(--off-white);
}

/* ── Responsive: home sections ─────────────────────────────── */
@media (max-width: 1024px) {
    .data-ai-grid       { grid-template-columns: repeat(2, 1fr); }
    .dashboard-features { grid-template-columns: repeat(2, 1fr); }
    .team-pillars       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .home-section { padding: 70px 5%; }

    .home-section-inner { flex-direction: column; gap: 24px; }
    .home-section-inner--split { flex-direction: column; gap: 32px; }

    .home-section-label { font-size: 48px; }
    .home-split-left    { flex: none; position: relative; top: auto; }

    .data-ai-grid       { grid-template-columns: 1fr; }
    .dashboard-features { grid-template-columns: 1fr 1fr; }
    .team-pillars       { grid-template-columns: 1fr 1fr; }

    .footer-inner  { flex-direction: column; gap: 40px; }
    .footer-middle { display: none; }
    .footer-nav    { gap: 32px; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .dashboard-features { grid-template-columns: 1fr; }
    .team-pillars       { grid-template-columns: 1fr; }
    .footer-nav         { flex-direction: column; gap: 28px; }
}