/*
 * assets/css/index.css
 * NaijaBased — Landing Page Styles
 * Brand: Nigerian Green #008753 | Gold #F59E0B | Dark Hero #0A1628
 */

/* ============================================================
   CSS CUSTOM PROPERTIES
============================================================ */
:root {
    --green:          #008753;
    --green-dark:     #005c38;
    --green-light:    #00a868;
    --gold:           #F59E0B;
    --gold-dark:      #D97706;
    --hero-bg:        #0A1628;
    --hero-bg-2:      #0f1f3d;
    --white:          #ffffff;
    --off-white:      #F8FAFC;
    --text-dark:      #0F172A;
    --text-mid:       #475569;
    --text-light:     #94A3B8;
    --border:         #E2E8F0;
    --border-mid:     #CBD5E1;
    --card-shadow:    0 2px 8px rgba(0,0,0,0.07), 0 0 1px rgba(0,0,0,0.05);
    --card-shadow-hover: 0 8px 28px rgba(0,0,0,0.13), 0 0 1px rgba(0,0,0,0.06);
    --radius-card:    12px;
    --radius-pill:    9999px;
    --transition:     0.2s ease;
}

/* ============================================================
   RESET & BASE
============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================================
   LAYOUT UTILITIES
============================================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ============================================================
   CUSTOM SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: var(--radius-pill); }
::-webkit-scrollbar-thumb:hover { background: var(--green-dark); }

/* ============================================================
   SECTION SHARED STYLES
============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-mid);
    max-width: 580px;
    margin: 0 auto;
}

/* ============================================================
   HERO SECTION
============================================================ */
.hero-section {
    background: var(--hero-bg);
    background-image:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(0,135,83,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 20% 20%, rgba(245,158,11,0.07) 0%, transparent 50%);
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle diagonal line texture */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(255,255,255,0.015) 40px,
        rgba(255,255,255,0.015) 41px
    );
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: 3rem;
    align-items: center;
}

/* --- Hero Left --- */
.hero-left {
    color: var(--white);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,135,83,0.3);
    border: 1px solid rgba(0,135,83,0.5);
    color: #6ee7b7;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.hero-flag {
    font-size: 1rem;
    line-height: 1;
}

.hero-headline {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--white);
}

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

.hero-subtext {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Hero CTA buttons */
.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background: var(--green);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-pill);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(0,135,83,0.4);
}

.btn-hero-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,135,83,0.5);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    background: transparent;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: var(--radius-pill);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-hero-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}

/* Hero stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

/* --- Hero Right — Bento Grid --- */
.hero-right {
    position: relative;
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.875rem;
}

.bento-tile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    border-radius: 16px;
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}

.bento-tile::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.04);
    opacity: 0;
    transition: opacity var(--transition);
}

.bento-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.bento-tile:hover::after {
    opacity: 1;
}

.bento-tile--businesses {
    background: linear-gradient(135deg, #004d2e 0%, #007a4a 100%);
    border: 1px solid rgba(0,168,104,0.4);
}

.bento-tile--jobs {
    background: linear-gradient(135deg, #7c3200 0%, #b84d00 100%);
    border: 1px solid rgba(245,158,11,0.3);
}

.bento-tile--events {
    background: linear-gradient(135deg, #1e3a5f 0%, #2d5986 100%);
    border: 1px solid rgba(59,130,246,0.3);
}

.bento-tile--marketplace {
    background: linear-gradient(135deg, #3b0764 0%, #6b21a8 100%);
    border: 1px solid rgba(168,85,247,0.3);
}

.bento-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.12);
    border-radius: 10px;
    flex-shrink: 0;
}

.bento-icon svg {
    width: 20px;
    height: 20px;
    color: var(--white);
}

.bento-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.bento-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.4;
}

/* ============================================================
   FEATURED SECTION — TABS
============================================================ */
.featured-section {
    padding: 4rem 0;
    background: var(--off-white);
}

.tabs-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
}

.tabs-wrapper::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex-shrink: 0;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-mid);
    background: var(--white);
    border: 1.5px solid var(--border);
    transition: color var(--transition), background var(--transition), border-color var(--transition);
    white-space: nowrap;
}

.tab-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.tab-btn.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

/* Tab panels */
.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* ============================================================
   CARDS GRID — shared grid for all tabs
============================================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.125rem;
}

/* ============================================================
   CARD BASE
============================================================ */
.card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: var(--text-dark);
}

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

/* Card image */
.card-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--border);
    flex-shrink: 0;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.card:hover .card-image {
    transform: scale(1.04);
}

/* Card body */
.card-body {
    padding: 0.9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.card-location svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: var(--green);
}

.card-desc {
    font-size: 0.8rem;
    color: var(--text-mid);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pills */
.card-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: var(--radius-pill);
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.card-pill--category {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: rgba(10,22,40,0.7);
    color: var(--white);
    backdrop-filter: blur(4px);
}

/* Verified badge on business images */
.card-verified {
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    width: 24px;
    height: 24px;
    background: var(--green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-verified svg {
    width: 14px;
    height: 14px;
}

/* ============================================================
   EVENT CARD — date chip
============================================================ */
.card-date-chip {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    background: var(--white);
    color: var(--text-dark);
    border-radius: 8px;
    padding: 0.2rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    min-width: 38px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.chip-day {
    font-size: 1rem;
    font-weight: 800;
    color: var(--green);
}

.chip-month {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-mid);
    letter-spacing: 0.04em;
}

/* ============================================================
   JOB CARD — no image, company avatar
============================================================ */
.card--job {
    gap: 0;
}

.card-body--job {
    display: flex;
    flex-direction: row;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
}

.job-avatar {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--white);
}

.job-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.job-company {
    font-size: 0.8rem;
    color: var(--text-mid);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-footer--job {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 0.6rem 1rem 0.9rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.job-salary {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--green);
    margin-left: auto;
}

/* Job type pills */
.pill--type-remote     { background: #dcfce7; color: #166534; }
.pill--type-hybrid     { background: #fef3c7; color: #92400e; }
.pill--type-onsite     { background: #dbeafe; color: #1e40af; }
.pill--type-default    { background: #f1f5f9; color: var(--text-mid); }

/* ============================================================
   MARKETPLACE CARD — price pill + condition badge
============================================================ */
.card-price-pill {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    background: rgba(10,22,40,0.82);
    color: var(--gold);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.card-condition {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    background: var(--gold);
    color: #451a03;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-pill);
}

/* ============================================================
   TAB VIEW ALL LINK
============================================================ */
.tab-view-all {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.5rem;
    background: transparent;
    color: var(--green);
    font-size: 0.875rem;
    font-weight: 700;
    border: 2px solid var(--green);
    border-radius: var(--radius-pill);
    transition: background var(--transition), color var(--transition);
}

.btn-view-all:hover {
    background: var(--green);
    color: var(--white);
}

/* ============================================================
   EMPTY STATE
============================================================ */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--radius-card);
    border: 2px dashed var(--border-mid);
}

.empty-state p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.empty-state a {
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ============================================================
   FEATURES / HOW IT WORKS SECTION
============================================================ */
.features-section {
    padding: 4.5rem 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.feature-icon-wrap--green {
    background: #dcfce7;
    color: var(--green);
}

.feature-icon-wrap--gold {
    background: #fef3c7;
    color: var(--gold-dark);
}

.feature-icon-wrap--blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
}

.feature-desc {
    font-size: 0.88rem;
    color: var(--text-mid);
    line-height: 1.6;
}

.feature-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--green);
    text-decoration: none;
    margin-top: 0.25rem;
    transition: color var(--transition);
}

.feature-link:hover {
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================================
   PROFESSIONALS SECTION
============================================================ */
.professionals-section {
    padding: 4rem 0;
    background: var(--off-white);
    border-top: 1px solid var(--border);
}

.professionals-strip {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pro-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 1.25rem 1rem;
    width: 140px;
    text-align: center;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--card-shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.pro-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.pro-avatar-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--green);
    flex-shrink: 0;
}

.pro-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pro-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-title {
    font-size: 0.75rem;
    color: var(--text-mid);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pro-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.68rem;
    font-weight: 700;
    color: #92400e;
    background: #fef3c7;
    padding: 0.15rem 0.55rem;
    border-radius: var(--radius-pill);
    margin-top: 0.2rem;
}

.pro-badge svg {
    width: 10px;
    height: 10px;
    color: var(--gold);
}

.pros-view-all {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
    padding: 5rem 0;
    background: var(--green-dark);
    background-image:
        radial-gradient(ellipse 70% 80% at 80% 50%, rgba(0,168,104,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 10% 60%, rgba(245,158,11,0.08) 0%, transparent 50%);
}

.cta-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
}

.cta-flag {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.cta-headline {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.cta-subtext {
    font-size: 1rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: var(--white);
    color: var(--green-dark);
    font-size: 0.95rem;
    font-weight: 800;
    border-radius: var(--radius-pill);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.btn-cta-primary:hover {
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-pill);
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-cta-secondary:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
============================================================ */
@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

/* ============================================================
   RESPONSIVE — TABLET SMALL (max 768px)
============================================================ */
@media (max-width: 768px) {
    /* Hero stacks vertically */
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-left {
        text-align: center;
    }

    .hero-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }

    .hero-subtext {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        max-width: 320px;
        margin: 0 auto;
        justify-items: center;
    }

    /* Bento moves below headline on mobile */
    .hero-right {
        order: 0; /* bento goes AFTER left on mobile — left is displayed first */
    }

    /* Features strip: 1 column on small tablets */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .feature-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
    }

    .feature-icon-wrap {
        flex-shrink: 0;
    }

    /* Professionals: horizontal scroll on mobile */
    .professionals-strip {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }

    .professionals-strip::-webkit-scrollbar {
        display: none;
    }

    .pro-card {
        flex-shrink: 0;
    }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 600px)
============================================================ */
@media (max-width: 600px) {
    .hero-section {
        padding: 2.5rem 0 2rem;
    }

    .bento-grid {
        gap: 0.625rem;
    }

    .bento-tile {
        padding: 1rem;
    }

    .bento-label {
        font-size: 0.9rem;
    }

    .bento-desc {
        display: none; /* hide description on very small screens */
    }

    /* Cards: 1 column on mobile */
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .featured-section {
        padding: 2.5rem 0;
    }

    .features-section {
        padding: 2.5rem 0;
    }

    .professionals-section {
        padding: 2.5rem 0;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-flag {
        font-size: 1.75rem;
    }

    /* Job card body stack on mobile */
    .card-body--job {
        gap: 0.65rem;
    }

    .job-avatar {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
}

/* ============================================================
   RESPONSIVE — VERY SMALL (max 400px)
============================================================ */
@media (max-width: 400px) {
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        max-width: 260px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
