/* =========================================================
   SmileAge — Get Involved page styles
   -----------------------------------------------------------
   Every selector is namespaced "sa-gi-" so nothing collides
   with style.css (untouched) or any other page's CSS file.
   Fully self-contained — does not load invest.css/programs.css,
   per the site's "own file per page" convention. Visual recipes
   (accent-stripe cards, dot-grid CTA pattern, oversized
   watermark icons) intentionally echo the language already
   established on other pages, rebuilt here from scratch rather
   than imported, so this page stays self-contained.
   ========================================================= */

/* body defaults to a dark background site-wide (see style.css) —
   every section must set its own background or it shows through. */
.sa-gi-section {
    background-color: #fff;
    padding-block: clamp(3rem, 6vh, 4.5rem);
}

.sa-gi-section-tint {
    background-color: var(--cream-bg, #f8f4ee);
}

.sa-gi-head {
    max-width: 40rem;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.sa-gi-eyebrow {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--green, #2fa878);
    margin-bottom: 0.75rem;
}

.sa-gi-title {
    font-family: var(--font-serif, "Playfair Display", serif);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--navy-heading, #16213e);
    margin-bottom: 0.6rem;
}

.sa-gi-subtitle {
    font-size: 1.02rem;
    color: var(--mission-muted, #6f6c63);
    margin-bottom: 0;
}

/* ---------- Hero ---------- */
.sa-gi-hero {
    position: relative;
    overflow: hidden;
    background: var(--cream-bg, #f8f4ee);
    padding-block: clamp(3.5rem, 8vh, 5.5rem);
}

.sa-gi-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(3rem);
    pointer-events: none;
}

.sa-gi-hero-blob-a {
    width: 26rem;
    height: 26rem;
    top: -8rem;
    right: -6rem;
    background: rgba(47, 168, 120, 0.14);
}

.sa-gi-hero-blob-b {
    width: 22rem;
    height: 22rem;
    bottom: -10rem;
    left: -6rem;
    background: rgba(238, 101, 24, 0.1);
}

.sa-gi-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.sa-gi-hero-badge {
    display: inline-flex;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(22, 33, 62, 0.08);
    color: var(--green-dark, #16362a);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.5rem 1.25rem rgba(22, 33, 62, 0.06);
}

.sa-gi-hero-badge i { color: var(--green, #2fa878); }

.sa-gi-hero-title {
    font-family: var(--font-serif, "Playfair Display", serif);
    font-size: clamp(2.1rem, 4.5vw, 3.1rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-heading, #16213e);
    margin-bottom: 1.1rem;
}

.sa-gi-accent {
    background-image: linear-gradient(90deg, var(--green, #2fa878), var(--blue, #2f6fd6));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sa-gi-hero-subtitle {
    font-size: 1.08rem;
    line-height: 1.7;
    color: var(--mission-muted, #6f6c63);
    margin-bottom: 2rem;
}

.sa-gi-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.sa-gi-hero-ghost-btn {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-heading, #16213e);
    padding: 0.75rem 0.25rem;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.sa-gi-hero-ghost-btn:hover {
    color: var(--green, #2fa878);
    border-color: var(--green, #2fa878);
}

.sa-gi-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 42rem;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(22, 33, 62, 0.08);
}

.sa-gi-hero-stats strong {
    display: block;
    font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--navy-heading, #16213e);
}

.sa-gi-hero-stats span {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mission-muted, #6f6c63);
}

/* ---------- Ways to get involved: future-proof flex-wrap grid ---------- */
.sa-gi-ways-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.sa-gi-way-card {
    position: relative;
    flex: 1 1 20rem;
    max-width: 26rem;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(22, 33, 62, 0.08);
    border-top: 4px solid transparent;
    border-radius: 1.25rem;
    padding: 2.25rem 2rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Staggered reveal — cards cascade in one after another instead of
   popping in all at once; harmless no-op past the 5th card if more
   paths are added later (they'd just appear together with #5). */
.sa-gi-ways-grid .sa-gi-way-card:nth-child(1) { transition-delay: 0s; }
.sa-gi-ways-grid .sa-gi-way-card:nth-child(2) { transition-delay: 0.08s; }
.sa-gi-ways-grid .sa-gi-way-card:nth-child(3) { transition-delay: 0.16s; }
.sa-gi-ways-grid .sa-gi-way-card:nth-child(4) { transition-delay: 0.24s; }
.sa-gi-ways-grid .sa-gi-way-card:nth-child(5) { transition-delay: 0.32s; }

.sa-gi-way-card:hover {
    transform: translateY(-6px);
}

.sa-gi-way-card-green:hover { box-shadow: 0 1.5rem 2.75rem rgba(47, 168, 120, 0.18); border-color: rgba(47, 168, 120, 0.25); }
.sa-gi-way-card-purple:hover { box-shadow: 0 1.5rem 2.75rem rgba(124, 58, 237, 0.16); border-color: rgba(124, 58, 237, 0.25); }
.sa-gi-way-card-orange:hover { box-shadow: 0 1.5rem 2.75rem rgba(238, 101, 24, 0.16); border-color: rgba(238, 101, 24, 0.25); }
.sa-gi-way-card-blue:hover { box-shadow: 0 1.5rem 2.75rem rgba(47, 111, 214, 0.16); border-color: rgba(47, 111, 214, 0.25); }

.sa-gi-way-card-green { border-top-color: var(--green, #2fa878); }
.sa-gi-way-card-purple { border-top-color: var(--purple, #7c3aed); }
.sa-gi-way-card-orange { border-top-color: var(--orange, #ee6518); }
.sa-gi-way-card-blue { border-top-color: var(--blue, #2f6fd6); }

.sa-gi-way-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.sa-gi-way-card:hover .sa-gi-way-icon {
    transform: scale(1.1) rotate(-4deg);
}

.sa-gi-way-card-green .sa-gi-way-icon { background: var(--icon-green-bg, #e2f0e8); color: var(--icon-green-fg, #2f8a63); }
.sa-gi-way-card-purple .sa-gi-way-icon { background: var(--purple-soft, #ede4fb); color: var(--purple, #7c3aed); }
.sa-gi-way-card-orange .sa-gi-way-icon { background: var(--icon-orange-bg, #fbe6d8); color: var(--icon-orange-fg, #e2632e); }
.sa-gi-way-card-blue .sa-gi-way-icon { background: var(--blue-soft, #e3edfb); color: var(--blue, #2f6fd6); }

.sa-gi-way-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: var(--mission-muted, #6f6c63);
    margin-bottom: 0.6rem;
}

.sa-gi-way-card h3 {
    font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy-heading, #16213e);
    margin-bottom: 0.65rem;
}

.sa-gi-way-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--mission-muted, #6f6c63);
    margin-bottom: 1.75rem;
    flex: 1;
}

.sa-gi-way-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-heading, #16213e);
    transition: gap 0.2s ease, color 0.2s ease;
}

.sa-gi-way-card:hover .sa-gi-way-link {
    gap: 0.65rem;
    color: var(--green, #2fa878);
}

/* ---------- How it works: 3-step strip ---------- */
.sa-gi-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.sa-gi-step {
    position: relative;
    flex: 1 1 15rem;
    max-width: 18rem;
    text-align: center;
    padding-top: 0.5rem;
}

.sa-gi-step-num {
    display: block;
    font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mission-muted, #6f6c63);
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.sa-gi-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(22, 33, 62, 0.08);
    color: var(--green, #2fa878);
    font-size: 1.4rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 0.5rem 1.5rem rgba(22, 33, 62, 0.07);
}

.sa-gi-step h3 {
    font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy-heading, #16213e);
    margin-bottom: 0.5rem;
}

.sa-gi-step p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--mission-muted, #6f6c63);
}

/* ---------- Voices ---------- */
.sa-gi-voices-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.sa-gi-voice-card {
    position: relative;
    overflow: hidden;
    flex: 1 1 20rem;
    background: var(--cream-bg, #f8f4ee);
    border-radius: 1.1rem;
    padding: 2rem;
}

.sa-gi-voice-mark {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    color: rgba(22, 33, 62, 0.08);
}

.sa-gi-voice-card p {
    position: relative;
    font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--ink, #1c1b17);
    margin-bottom: 1.5rem;
}

.sa-gi-voice-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sa-gi-voice-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--icon-green-bg, #e2f0e8);
    color: var(--icon-green-fg, #2f8a63);
    font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
    font-weight: 700;
    flex-shrink: 0;
}

.sa-gi-voice-person strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy-heading, #16213e);
}

.sa-gi-voice-person span {
    font-size: 0.78rem;
    color: var(--mission-muted, #6f6c63);
}

/* ---------- Ready to make a difference: full-bleed CTA ---------- */
.sa-gi-cta {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(46rem 26rem at 15% 10%, rgba(47, 111, 214, 0.16), transparent 55%),
        radial-gradient(42rem 24rem at 88% 100%, rgba(238, 101, 24, 0.14), transparent 55%),
        linear-gradient(135deg, var(--green-dark, #16362a) 0%, var(--navy-heading, #16213e) 100%);
    padding-block: clamp(3.5rem, 7vh, 5rem);
    text-align: center;
}

.sa-gi-cta-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(42rem 24rem at 50% 45%, #000 0%, transparent 75%);
    mask-image: radial-gradient(42rem 24rem at 50% 45%, #000 0%, transparent 75%);
    pointer-events: none;
}

.sa-gi-cta-watermark {
    position: absolute;
    top: -2rem;
    left: 4%;
    font-size: 10rem;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(10deg);
    pointer-events: none;
}

.sa-gi-cta-inner {
    position: relative;
    z-index: 1;
    max-width: 34rem;
    margin: 0 auto;
}

.sa-gi-cta-inner h2 {
    font-family: var(--font-serif, "Playfair Display", serif);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
}

.sa-gi-cta-inner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 1.75rem;
}

/* ---------- Send Us a Message: form + side panel ---------- */
.sa-gi-contact-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    align-items: start;
}

.sa-gi-form-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(22, 33, 62, 0.08);
    border-radius: 1.25rem;
    padding: 2rem;
    box-shadow: 0 1.5rem 3rem rgba(22, 33, 62, 0.06);
}

.sa-gi-field-label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy-heading, #16213e);
    margin: 1.1rem 0 0.5rem;
}

.sa-gi-form-fields > .sa-gi-field-label:first-child { margin-top: 0; }

.sa-gi-field-label i { color: var(--green, #2fa878); }

.sa-required { color: var(--orange, #ee6518); }

.sa-gi-char-count {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--mission-muted, #6f6c63);
    text-transform: none;
    letter-spacing: normal;
}

.sa-gi-input {
    width: 100%;
    font-size: 0.92rem;
    font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
    color: var(--ink, #1c1b17);
    background: var(--cream-bg, #f8f4ee);
    border: 1px solid rgba(22, 33, 62, 0.1);
    border-radius: 0.65rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sa-gi-input:focus {
    outline: none;
    border-color: var(--green, #2fa878);
    box-shadow: 0 0 0 3px rgba(47, 168, 120, 0.15);
    background: #fff;
}

.sa-gi-select { appearance: auto; cursor: pointer; }

.sa-gi-textarea { resize: vertical; min-height: 8rem; }

.sa-gi-form-row { margin: 0; }

.sa-gi-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 1.5rem;
    background: linear-gradient(135deg, var(--green, #2fa878), var(--navy-heading, #16213e));
    color: #fff;
    font-weight: 700;
    font-size: 0.98rem;
    border: none;
    border-radius: 0.75rem;
    padding: 0.9rem 1.5rem;
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sa-gi-submit-btn:hover {
    box-shadow: 0 1rem 2rem rgba(22, 33, 62, 0.2);
    transform: translateY(-2px);
}

.sa-gi-submit-btn:disabled {
    opacity: 0.7;
    cursor: default;
    transform: none;
}

.sa-gi-form-success {
    display: none;
    text-align: center;
    padding: 2.5rem 1rem;
}

.sa-gi-form-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--icon-green-bg, #e2f0e8);
    color: var(--icon-green-fg, #2f8a63);
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
}

.sa-gi-form-success h3 {
    font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy-heading, #16213e);
    margin-bottom: 0.5rem;
}

.sa-gi-form-success p {
    font-size: 0.92rem;
    color: var(--mission-muted, #6f6c63);
    max-width: 24rem;
    margin: 0 auto;
}

.sa-gi-form-card.sa-gi-form-sent .sa-gi-form-success { display: block; }
.sa-gi-form-card.sa-gi-form-sent .sa-gi-form-fields { display: none; }

.sa-gi-contact-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sa-gi-touch-card {
    background: linear-gradient(135deg, var(--green-dark, #16362a) 0%, #124a63 100%);
    border-radius: 1.25rem;
    padding: 2rem;
    color: #fff;
}

.sa-gi-touch-card h3 {
    font-family: var(--font-sans, "Plus Jakarta Sans", sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.sa-gi-touch-row {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    margin-bottom: 1.25rem;
}

.sa-gi-touch-row:last-child { margin-bottom: 0; }

.sa-gi-touch-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 1rem;
    flex-shrink: 0;
}

.sa-gi-touch-row div > span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.2rem;
}

.sa-gi-touch-row a,
.sa-gi-touch-row strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
}

.sa-gi-touch-row a { word-break: break-word; }

.sa-gi-touch-socials {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.sa-gi-touch-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.sa-gi-touch-socials a:hover { background: rgba(255, 255, 255, 0.28); }

.sa-gi-compliance-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.sa-gi-compliance-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #fff;
    border: 1px solid rgba(22, 33, 62, 0.08);
    color: var(--navy-heading, #16213e);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
}

.sa-gi-compliance-row i { color: var(--green, #2fa878); }
