/* =====================================================================
   Maanusham CI4 — Hirehive design system
   ===================================================================== */

:root {
    --hh-green: #0a4938;
    --hh-green-deep: #073328;
    --hh-green-soft: #f4f7f1;
    --hh-lime: #c4eb33;
    --hh-lime-soft: #e9f9a5;
    --hh-text: #1f2a26;
    --hh-text-muted: #5a6b65;
    --hh-line: #e3e8e1;
    --hh-bg: #ffffff;
    --hh-bg-alt: #f6f8f3;
    --hh-radius: 14px;
    --hh-radius-lg: 22px;
    --hh-shadow: 0 8px 28px rgba(10, 73, 56, .08);
    --hh-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --hh-font-display: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--hh-font);
    color: var(--hh-text);
    background: var(--hh-bg);
    line-height: 1.55;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Layout ---------- */
.hh-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.hh-section { padding: 90px 0; }
.hh-section-tight { padding: 60px 0; }
.hh-grid { display: grid; gap: 24px; }

/* ---------- Typography ---------- */
.hh-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--hh-lime-soft);
    color: var(--hh-green-deep);
    font-size: 12px; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase;
    padding: 7px 14px; border-radius: 999px;
}
.hh-eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--hh-green); }
.hh-eyebrow.on-dark { background: rgba(196, 235, 51, .18); color: var(--hh-lime); }
.hh-eyebrow.on-dark::before { background: var(--hh-lime); }

h1, h2, h3, h4 { font-family: var(--hh-font-display); margin: 0 0 16px; line-height: 1.15; color: var(--hh-text); font-weight: 700; }
h1 { font-size: 56px; letter-spacing: -.02em; }
h2 { font-size: 42px; letter-spacing: -.015em; }
h3 { font-size: 22px; }
h4 { font-size: 17px; }
p { margin: 0 0 14px; color: var(--hh-text-muted); }

.hh-section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.hh-section-head .hh-eyebrow { margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.hh-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 26px; border-radius: 999px;
    font-weight: 600; font-size: 15px;
    border: 1px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    cursor: pointer;
}
.hh-btn:hover { transform: translateY(-1px); }
.hh-btn-primary { background: var(--hh-lime); color: var(--hh-green-deep); }
.hh-btn-primary:hover { box-shadow: 0 10px 24px rgba(196, 235, 51, .45); }
.hh-btn-dark { background: var(--hh-green); color: #fff; }
.hh-btn-dark:hover { background: var(--hh-green-deep); }
.hh-btn-outline { background: transparent; color: var(--hh-text); border-color: var(--hh-line); }
.hh-btn-outline:hover { border-color: var(--hh-green); color: var(--hh-green); }
.hh-btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.25); }

/* ---------- Header ---------- */
.hh-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(150%) blur(10px);
    border-bottom: 1px solid var(--hh-line);
}
.hh-header-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 24px; }
.hh-logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; color: var(--hh-green-deep); text-decoration: none; }
.hh-logo img { display: block; height: 40px; width: auto; max-width: 100%; }
.hh-logo-mark { width: 28px; height: 28px; border-radius: 8px; background: var(--hh-green); position: relative; }
.hh-logo-mark::after { content: ''; position: absolute; inset: 6px; border-radius: 4px; background: var(--hh-lime); }
.hh-nav { display: flex; gap: 28px; }
.hh-nav a { font-size: 15px; color: var(--hh-text); font-weight: 500; }
.hh-nav a:hover { color: var(--hh-green); }
.hh-header-cta { display: flex; align-items: center; gap: 16px; }
.hh-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--hh-text); font-size: 14px; }
.hh-phone-icon { width: 32px; height: 32px; border-radius: 50%; background: var(--hh-lime-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--hh-green); font-size: 14px; }

/* ---------- Hero ---------- */
.hh-hero {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, var(--hh-bg-alt) 100%);
    padding: 80px 0 60px;
    overflow: hidden;
}
.hh-hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hh-hero h1 { margin-top: 18px; }
.hh-hero p { font-size: 17px; max-width: 480px; margin-bottom: 28px; }
.hh-hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hh-hero-img { position: relative; border-radius: var(--hh-radius-lg); overflow: hidden; aspect-ratio: 5/4; background: var(--hh-green-soft); }
.hh-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hh-hero-badge {
    position: absolute; top: 24px; right: -12px;
    background: var(--hh-lime); color: var(--hh-green-deep);
    padding: 12px 18px; border-radius: 999px;
    font-size: 13px; font-weight: 700;
    box-shadow: var(--hh-shadow);
}

/* ---------- Brand strip ---------- */
.hh-brands { padding: 50px 0; border-bottom: 1px solid var(--hh-line); }
.hh-brands-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; align-items: center; opacity: .7; }
.hh-brand-logo { font-weight: 700; font-size: 20px; color: var(--hh-text-muted); text-align: center; letter-spacing: .02em; }

/* ---------- Service cards ---------- */
.hh-services-grid { grid-template-columns: repeat(3, 1fr); }
.hh-service-card {
    background: #fff; border: 1px solid var(--hh-line); border-radius: var(--hh-radius);
    padding: 28px; transition: box-shadow .2s ease, transform .2s ease;
    display: flex; flex-direction: column; gap: 14px;
}
.hh-service-card:hover { box-shadow: var(--hh-shadow); transform: translateY(-3px); }
.hh-service-card .hh-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: var(--hh-lime-soft); color: var(--hh-green-deep);
    display: inline-flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800;
}
.hh-service-card h3 { margin-bottom: 6px; }
.hh-service-card .hh-card-img { margin-top: 10px; aspect-ratio: 16/10; border-radius: 10px; overflow: hidden; background: var(--hh-bg-alt); }
.hh-service-card .hh-card-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Dark feature band ---------- */
.hh-dark-band { background: var(--hh-green-deep); color: #fff; padding: 90px 0; border-radius: 28px; margin: 60px 24px; max-width: calc(100% - 48px); }
.hh-dark-band .hh-container { max-width: 1140px; }
.hh-dark-band h2 { color: #fff; }
.hh-dark-band p { color: rgba(255,255,255,.78); }
.hh-dark-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hh-feature-list { display: flex; flex-direction: column; gap: 12px; }
.hh-feature-item {
    display: flex; align-items: center; gap: 14px;
    background: rgba(255,255,255,.06); border-radius: 999px;
    padding: 14px 22px; font-weight: 600; color: #fff;
}
.hh-feature-item .hh-tick { width: 28px; height: 28px; border-radius: 50%; background: var(--hh-lime); color: var(--hh-green-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0; }
.hh-dark-img { border-radius: var(--hh-radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.hh-dark-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.hh-stats { padding: 60px 0; border-bottom: 1px solid var(--hh-line); }
.hh-stats-grid { grid-template-columns: repeat(4, 1fr); text-align: center; }
.hh-stat-num { font-size: 56px; font-weight: 800; color: var(--hh-green-deep); letter-spacing: -.02em; line-height: 1; }
.hh-stat-num sup { color: var(--hh-lime); font-size: 28px; }
.hh-stat-label { color: var(--hh-text-muted); font-size: 14px; margin-top: 10px; }

/* ---------- Portfolio ---------- */
.hh-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.hh-tab { padding: 10px 18px; border-radius: 999px; background: var(--hh-bg-alt); color: var(--hh-text-muted); font-size: 14px; font-weight: 600; cursor: pointer; border: 0; }
.hh-tab.active { background: var(--hh-green); color: #fff; }
.hh-portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.hh-portfolio-card { position: relative; border-radius: var(--hh-radius); overflow: hidden; aspect-ratio: 4/3; background: var(--hh-bg-alt); }
.hh-portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.hh-portfolio-card:hover img { transform: scale(1.05); }
.hh-portfolio-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 51, 40, .85) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; }
.hh-portfolio-overlay .tag { font-size: 12px; opacity: .8; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 4px; }
.hh-portfolio-overlay h3 { color: #fff; font-size: 22px; margin: 0; }

/* ---------- Two-col split (Helping organizations) ---------- */
.hh-split-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.hh-feature-row { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--hh-line); }
.hh-feature-row:last-child { border-bottom: 0; }
.hh-feature-row .hh-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--hh-lime-soft); display: inline-flex; align-items: center; justify-content: center; color: var(--hh-green-deep); font-weight: 800; flex-shrink: 0; }
.hh-feature-row h4 { margin: 0 0 6px; font-size: 17px; }
.hh-feature-row p { margin: 0; font-size: 14px; }
.hh-split-img { border-radius: var(--hh-radius-lg); overflow: hidden; aspect-ratio: 4/5; background: var(--hh-bg-alt); }
.hh-split-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Approach (3 cards) ---------- */
.hh-approach-bg { background: var(--hh-bg-alt); padding: 80px 0; }
.hh-approach-grid { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.hh-approach-card { background: #fff; border-radius: var(--hh-radius); padding: 30px; box-shadow: 0 4px 18px rgba(10, 73, 56, .04); }
.hh-approach-card.lime { background: var(--hh-lime); }
.hh-approach-card h3 { margin-bottom: 10px; }
.hh-chart { margin-top: 18px; height: 130px; display: flex; align-items: flex-end; gap: 10px; }
.hh-chart-bar { flex: 1; background: var(--hh-green); border-radius: 6px 6px 0 0; }
.hh-chart-bar.alt { background: var(--hh-lime); }

/* ---------- Tags row ---------- */
.hh-tags { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.hh-tag { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--hh-line); font-size: 13px; color: var(--hh-text-muted); }

/* ---------- Team band ---------- */
.hh-team-band { background: var(--hh-green); color: #fff; padding: 90px 0; }
.hh-team-band h2 { color: #fff; }
.hh-team-band p { color: rgba(255,255,255,.78); }
.hh-team-grid { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.hh-team-card { text-align: center; }
.hh-team-img { border-radius: var(--hh-radius); overflow: hidden; aspect-ratio: 3/4; background: rgba(255,255,255,.08); margin-bottom: 14px; }
.hh-team-img img { width: 100%; height: 100%; object-fit: cover; }
.hh-team-card h4 { color: #fff; margin: 0; }
.hh-team-card .role { color: var(--hh-lime); font-size: 13px; }

/* ---------- Marquee strip ---------- */
.hh-marquee { background: var(--hh-lime); padding: 18px 0; overflow: hidden; }
.hh-marquee-row { display: flex; gap: 36px; font-weight: 700; color: var(--hh-green-deep); white-space: nowrap; }
.hh-marquee-row span { display: inline-flex; align-items: center; gap: 14px; font-size: 16px; }
.hh-marquee-row span::after { content: '★'; color: var(--hh-green-deep); margin-left: 18px; }

/* ---------- Testimonials ---------- */
.hh-testimonial-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 32px; align-items: start; }
.hh-testimonial-card { background: var(--hh-bg-alt); border-radius: var(--hh-radius); padding: 28px; margin-bottom: 18px; }
.hh-testimonial-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hh-testimonial-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.hh-testimonial-head .name { font-weight: 700; }
.hh-testimonial-head .meta { font-size: 13px; color: var(--hh-text-muted); }
.hh-stars { color: #f5b400; font-size: 14px; margin-bottom: 10px; }
.hh-testimonial-quote { font-size: 15px; color: var(--hh-text); }

/* ---------- FAQ + image ---------- */
.hh-faq-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.hh-faq-item { border-bottom: 1px solid var(--hh-line); padding: 18px 0; }
.hh-faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 600; color: var(--hh-text); }
.hh-faq-q .toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--hh-lime-soft); color: var(--hh-green-deep); display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.hh-faq-a { display: none; padding-top: 12px; color: var(--hh-text-muted); font-size: 14px; }
.hh-faq-item.open .hh-faq-a { display: block; }
.hh-faq-item.open .hh-faq-q .toggle { background: var(--hh-green); color: #fff; }
.hh-faq-img { border-radius: var(--hh-radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.hh-faq-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- CTA Band (start tracking) ---------- */
.hh-cta-band { background: var(--hh-green-deep); color: #fff; border-radius: 22px; padding: 50px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center; margin: 60px 0; }
.hh-cta-band h2 { color: #fff; font-size: 32px; }
.hh-cta-band .stat { background: var(--hh-lime); border-radius: 18px; padding: 28px; color: var(--hh-green-deep); text-align: center; }
.hh-cta-band .stat .num { font-size: 42px; font-weight: 800; line-height: 1; }
.hh-cta-band .stat .lbl { font-size: 13px; margin-top: 6px; }

/* ---------- Insights / blog ---------- */
.hh-blog-grid { grid-template-columns: repeat(3, 1fr); margin-top: 40px; }
.hh-blog-card { background: #fff; border: 1px solid var(--hh-line); border-radius: var(--hh-radius); overflow: hidden; }
.hh-blog-img { aspect-ratio: 16/10; background: var(--hh-bg-alt); position: relative; }
.hh-blog-img img { width: 100%; height: 100%; object-fit: cover; }
.hh-blog-date { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 10px; padding: 8px 12px; text-align: center; font-weight: 700; color: var(--hh-green-deep); }
.hh-blog-date .day { font-size: 18px; line-height: 1; }
.hh-blog-date .mo { font-size: 11px; color: var(--hh-text-muted); }
.hh-blog-body { padding: 22px; }
.hh-blog-body .cat { font-size: 12px; color: var(--hh-text-muted); text-transform: uppercase; letter-spacing: .1em; }
.hh-blog-body h4 { margin: 8px 0 0; font-size: 17px; }

/* ---------- Footer ---------- */
.hh-newsletter { background: var(--hh-green); color: #fff; padding: 50px 0; }
.hh-newsletter-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; }
.hh-newsletter h3 { color: #fff; font-size: 26px; margin: 0; }
.hh-newsletter form { display: flex; gap: 0; }
.hh-newsletter input {
    flex: 1; border: 0; padding: 16px 20px;
    border-radius: 999px 0 0 999px;
    font-size: 15px; outline: none;
}
.hh-newsletter button {
    border: 0; background: var(--hh-lime); color: var(--hh-green-deep);
    padding: 16px 26px; font-weight: 700; border-radius: 0 999px 999px 0; cursor: pointer;
}

.hh-footer { background: var(--hh-green-deep); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.hh-footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.hh-footer h5 { color: #fff; margin: 0 0 18px; font-size: 15px; font-weight: 700; }
.hh-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.hh-footer ul a:hover { color: var(--hh-lime); }
.hh-footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; font-size: 13px; }

/* ---------- Auth pages ---------- */
.hh-auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.hh-auth-left { background: linear-gradient(160deg, var(--hh-green) 0%, var(--hh-green-deep) 100%); color: #fff; padding: 60px; display: flex; flex-direction: column; justify-content: space-between; }
.hh-auth-left h2 { color: #fff; }
.hh-auth-left p { color: rgba(255,255,255,.78); }
.hh-auth-right { padding: 60px; display: flex; flex-direction: column; justify-content: center; max-width: 480px; margin: 0 auto; width: 100%; }
.hh-form-group { margin-bottom: 18px; }
.hh-form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--hh-text); }
.hh-form-group input, .hh-form-group select {
    width: 100%; padding: 12px 16px; border: 1px solid var(--hh-line);
    border-radius: 12px; font-size: 15px; outline: none; transition: border .15s;
}
.hh-form-group input:focus, .hh-form-group select:focus { border-color: var(--hh-green); }
.hh-form-actions { margin-top: 24px; }
.hh-form-actions .hh-btn { width: 100%; justify-content: center; }
.hh-form-foot { font-size: 14px; text-align: center; margin-top: 18px; color: var(--hh-text-muted); }
.hh-form-foot a { color: var(--hh-green); font-weight: 600; }
.hh-role-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; padding: 4px; background: var(--hh-bg-alt); border-radius: 12px; }
.hh-role-tab { padding: 10px; border-radius: 8px; text-align: center; font-weight: 600; font-size: 14px; cursor: pointer; color: var(--hh-text-muted); }
.hh-role-tab.active { background: #fff; color: var(--hh-green-deep); box-shadow: 0 2px 6px rgba(10,73,56,.06); }
.hh-alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 16px; }
.hh-alert-error { background: #fde8e8; color: #9b1c1c; border: 1px solid #fbd5d5; }
.hh-alert-success { background: #def7ec; color: #03543f; border: 1px solid #bcf0da; }

/* ---------- Dashboard ---------- */
.hh-dash { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; background: var(--hh-bg-alt); }
.hh-side { background: var(--hh-green-deep); color: rgba(255,255,255,.85); padding: 30px 18px; }
.hh-side .hh-logo { color: #fff; margin-bottom: 32px; }
.hh-side-nav { display: flex; flex-direction: column; gap: 4px; }
.hh-side-nav a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; font-size: 14px; color: rgba(255,255,255,.75); }
.hh-side-nav a:hover, .hh-side-nav a.active { background: rgba(255,255,255,.08); color: #fff; }
.hh-main { padding: 32px 40px; }
.hh-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.hh-topbar h1 { font-size: 26px; margin: 0; }
.hh-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.hh-stat-card { background: #fff; padding: 22px; border-radius: var(--hh-radius); border: 1px solid var(--hh-line); }
.hh-stat-card .num { font-size: 28px; font-weight: 700; color: var(--hh-green-deep); }
.hh-stat-card .lbl { font-size: 13px; color: var(--hh-text-muted); margin-top: 4px; }
.hh-panel { background: #fff; border-radius: var(--hh-radius); border: 1px solid var(--hh-line); padding: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    h1 { font-size: 38px; }
    h2 { font-size: 30px; }
    .hh-section { padding: 60px 0; }
    .hh-nav, .hh-header-cta .hh-btn, .hh-phone span { display: none; }
    .hh-hero-grid, .hh-dark-grid, .hh-split-grid, .hh-faq-grid, .hh-newsletter-grid, .hh-testimonial-grid, .hh-cta-band { grid-template-columns: 1fr; }
    .hh-services-grid, .hh-approach-grid, .hh-team-grid, .hh-blog-grid, .hh-portfolio-grid, .hh-footer-grid { grid-template-columns: 1fr 1fr; }
    .hh-stats-grid { grid-template-columns: 1fr 1fr; }
    .hh-brands-row { grid-template-columns: repeat(2, 1fr); }
    .hh-auth-wrap { grid-template-columns: 1fr; }
    .hh-auth-left { display: none; }
    .hh-dash { grid-template-columns: 1fr; }
    .hh-side { display: none; }
    .hh-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .hh-services-grid, .hh-approach-grid, .hh-team-grid, .hh-blog-grid, .hh-portfolio-grid, .hh-footer-grid, .hh-stats-grid, .hh-cards { grid-template-columns: 1fr; }
}
