/* ============================================================
   Give Monthly Page — give-monthly.css
   ============================================================ */

/* ── Hero: deep wine/plum + rose-gold, centered content with a floating gadget card ── */
.gm-hero {
    position: relative;
    background: radial-gradient(circle at 85% 0%, rgba(242, 184, 122, 0.22) 0%, transparent 45%),
                linear-gradient(135deg, #3a0f2e 0%, #6b1f4f 55%, #9c2f63 100%);
    overflow: hidden;
    padding-top: clamp(2.5rem, 1.8rem + 3vw, 4rem);
    padding-bottom: 90px;
}

.gm-hero__inner {
    position: relative;
    z-index: 1;
    padding-top: 100px;
    text-align: center;
}

.gm-hero__content {
    max-width: 640px;
    margin: 0 auto;
}

.gm-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    width: 100%;
    height: 64px;
    display: block;
}

.gm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(242, 184, 122, 0.18);
    border: 1px solid rgba(242, 184, 122, 0.45);
    color: #f0b56b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 99px;
    padding: 5px 16px;
    margin-bottom: 16px;
}

.gm-hero__title {
    font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.18;
    margin: 0 auto 16px;
}

.gm-hero__sub {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    line-height: 1.65;
    margin: 0 auto 24px;
}

.gm-hero__trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.gm-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.gm-trust-item .fa { color: #f0b56b; }

/* Gadget card floats between the hero and the page, straddling the wave seam */
.gm-gadget-float {
    position: relative;
    z-index: 2;
    margin-top: -64px;
    padding-bottom: 8px;
}

.gm-gadget-float__inner {
    max-width: 460px;
    margin: 0 auto;
    padding-inline: 20px;
}

/* ── Why give monthly ── */
.gm-why-wrapper { background: #f5faf2; }

.gm-impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 40px;
    text-align: left;
    margin-top: 8px;
}

@media (max-width: 700px) {
    .gm-impact-grid { grid-template-columns: 1fr; }
}

.gm-impact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.gm-impact-item__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #eef6e8;
    border: 1.5px solid #c0deb0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #368420;
    font-size: 1rem;
    flex-shrink: 0;
}

.gm-impact-item strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.gm-impact-item span {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.45;
}

/* ── Donation form card (the hero donate gadget) ── */
.gm-form-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #ddefd4;
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}

/* Beneficiary teaser strip inside the gadget — sympathy touch right where you donate */
.gm-teaser {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fdf1e9;
    border: 1px solid #f0d0b0;
    border-radius: 10px;
    padding: 10px 12px;
    margin-bottom: 20px;
}

.gm-teaser__img-wrap {
    position: relative;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.gm-teaser__img,
.gm-teaser__placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.gm-teaser__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6b1f4f, #9c2f63);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
}

.gm-teaser__text {
    font-size: 0.78rem;
    line-height: 1.4;
    color: #444;
}

.gm-teaser__text strong { color: #6b1f4f; }

.gm-form-card__head {
    background: linear-gradient(135deg, #2a6a18, #368420);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gm-form-body { padding: 24px; }

.gm-step { margin-bottom: 20px; }

.gm-step__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Amount pills */
.gm-amounts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gm-amt { cursor: pointer; }

.gm-amt input { position: absolute; opacity: 0; pointer-events: none; }

.gm-amt span {
    display: block;
    padding: 9px 16px;
    border-radius: 8px;
    border: 1.5px solid #d0e8c8;
    background: #f8fcf5;
    font-size: 0.88rem;
    font-weight: 600;
    color: #333;
    transition: all 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
}

.gm-amt:hover span,
.gm-amt--active span {
    background: #368420;
    border-color: #368420;
    color: #fff;
}

.gm-amt-custom {
    display: flex;
    align-items: center;
    border: 1.5px solid #d0e8c8;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fcf5;
    flex: 1;
    min-width: 140px;
    margin-top: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.gm-amt-custom:focus-within {
    border-color: #368420;
    box-shadow: 0 0 0 3px rgba(54, 132, 32, 0.1);
    background: #fff;
}

.gm-amt-custom__cur {
    padding: 9px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #2a6a18;
    background: #eef6e8;
    border-right: 1.5px solid #d0e8c8;
    flex-shrink: 0;
}

.gm-amt-custom__suffix {
    padding: 9px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #888;
    flex-shrink: 0;
}

.gm-amt-custom__input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 9px 10px !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    color: #1a1a1a !important;
    width: 100%;
    min-width: 0;
}

/* Current pledge display (subscribed state) */
.gm-current {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f7ec;
    border: 1.5px solid #d0e8c8;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 4px;
}

.gm-current__amount {
    font-size: 1.15rem;
    font-weight: 800;
    color: #2a6a18;
}

.gm-current__edit {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #d0e8c8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #368420;
    cursor: pointer;
    transition: background 0.15s ease;
    flex-shrink: 0;
}

.gm-current__edit:hover { background: #eef6e8; }

/* Live "your amount funds this" impact translation — makes the number tangible */
.gm-impact-line {
    background: #fff8ea;
    border: 1px solid #f2dfa6;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #6b5312;
    margin-bottom: 16px;
}

.gm-impact-line .fa {
    color: #d9a41a;
    margin-right: 2px;
}

.gm-impact-line strong { color: #2a6a18; }

/* Submit button */
.gm-submit {
    width: 100%;
    padding: 14px;
    border-radius: 9px;
    background: #368420;
    border: 2px solid #368420;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.gm-submit:hover:not(:disabled) {
    background: #2a6a18;
    border-color: #2a6a18;
}

.gm-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.gm-secure {
    margin-top: 12px;
    text-align: center;
    font-size: 0.75rem;
    color: #999;
}

.gm-secure .fa { color: #368420; }

.gm-cancel-link {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 0.78rem;
    color: #b04242;
    text-decoration: underline !important;
}

.gm-cancel-link:hover { color: #8a2f2f; }

/* ── Real entrepreneurs / beneficiary spotlight gallery ── */
.gm-spotlight-wrapper { background: #fff; }

.gm-spotlight-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-top: 8px;
}

.gm-spotlight-card {
    flex: 0 1 300px;
    max-width: 300px;
    background: #f8fcf5;
    border: 1px solid #ddefd4;
    border-radius: 16px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 4px 18px rgba(54, 132, 32, 0.06);
}

.gm-spotlight-card__img-wrap {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto 16px;
    position: relative;
}

.gm-spotlight-card__img,
.gm-spotlight-card__placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 4px solid #fff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
}

.gm-spotlight-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2f7a1d, #4faa29);
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
}

.gm-spotlight-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.gm-spotlight-card__quote {
    font-style: italic;
    color: #555;
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 16px;
    min-height: 63px;
}

.gm-spotlight-card__bar {
    height: 6px;
    background: #e6efe1;
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 8px;
}

.gm-spotlight-card__bar-fill {
    height: 6px;
    background: linear-gradient(90deg, #2d7019, #5ab82e);
    border-radius: 100px;
}

.gm-spotlight-card__stat {
    font-size: 0.78rem;
    font-weight: 700;
    color: #368420;
}

/* ── "What your gift unlocks" cards ── */
.gm-unlocks-wrapper { background: #fff; }

.gm-card {
    text-align: center;
    background: #fff;
    border: 1px solid #ebebeb;
    border-radius: 16px;
    padding: 32px 26px;
    height: 100%;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gm-card:hover {
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
}

.gm-card__icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #eef6e8;
    color: #368420;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 18px;
}

.gm-card h4 {
    font-weight: 700;
    font-size: 22px;
    margin-bottom: 10px;
}

.gm-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ── FAQ ── */
.gm-faq-wrapper .accordion-button:not(.collapsed) {
    color: #1a1a1a;
    background-color: #f0f7ec;
    box-shadow: none;
}

.gm-faq-wrapper .accordion-button:focus {
    box-shadow: none;
    border-color: #d0e8c8;
}

.gm-faq-wrapper .accordion-button::after {
    filter: hue-rotate(60deg);
}

.gm-faq-wrapper p {
    text-align: center;
    color: #555;
    margin-top: 24px;
}

.gm-faq-wrapper p a { color: #368420; }

/* ── Responsive ── */
@media (max-width: 576px) {
    .gm-hero__title { font-size: 1.8rem; }
    .gm-hero__trust { gap: 14px; }
    .gm-form-body { padding: 16px; }
}
