/* ── Gratitude Page ── */
.gratitude-hero {
    position: relative;
    min-height: 80dvh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    padding: 80px 24px 60px;
    background-image: var(--grat-hero-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}
p.grat-disclaimer {
    text-align: center;
    margin-top: 35px;
}
.gratitude-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
    pointer-events: none;
}

.gratitude-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
    animation: gratFadeUp 1s ease-out;
}

@keyframes gratFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.gratitude-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #00426A;
    color: #00426A;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.gratitude-badge svg {
    width: 14px;
    height: 14px;
}

.gratitude-hero h1,
.gratitude-intro h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.15;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.gratitude-hero h1,
.gratitude-intro h1 em {
    font-style: italic;
    color: #00426A;
}

.gratitude-hero h1,
.gratitude-intro h1.gratitude-thankyou {
    display: block;
    font-family: 'Tangerine', cursive;
    font-size: 130px;
    font-weight: 700;
    color: #C4D600;
    line-height: 1;
    margin: 0 0 24px 0;
}

.gratitude-hero p,
.gratitude-intro p {
    font-size: 18px;
    color: #fff;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gratitude-intro {
    padding: 40px 24px;
    text-align: center;
}
.gratitude-intro .gratitude-hero-inner {
    margin: 0 auto;
}

/* ── Shared Section ── */
.grat-section {
    padding: 80px 24px;
}

.grat-container {
    max-width: 1300px;
    margin: 0 auto;
}

.grat-label {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00426A;
    margin-bottom: 12px;
}

.grat-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 900;
    color: #00426A;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* ── Listening Section ── */
.grat-listening {
    background: #f7f8f7;
}

.grat-listening-text {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.grat-listening-text p {
    font-size: 16px;
    color: #707372;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* ── Feedback Section ── */
.grat-feedback {
    background: linear-gradient(180deg, #f7f8f7 0%, #eef0ee 100%);
}

.grat-feedback-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
}

.grat-feedback-intro p {
    color: #707372;
    font-size: 16px;
}

.grat-feedback-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.grat-fcard {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.grat-fcard:hover {
    transform: translateY(-4px);
}

.grat-fcard-header {
    padding: 32px 32px 0;
}

.grat-fcard-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #00426A;
    margin-bottom: 0;
}

.grat-fcard-body {
    padding: 0px 15px 15px;
}

/* ── Testimonial Ticker ── */
.grat-testimonials {
    background: #00426A;
    padding: 64px 24px;
    overflow: hidden;
    position: relative;
}

.grat-testimonials .grat-label {
    color: rgba(255,255,255,0.45);
    text-align: center;
}

.grat-testimonials .grat-heading {
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.grat-ticker-wrapper {
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}

.grat-ticker-track {
    display: flex;
    gap: 24px;
    width: max-content;
    will-change: transform;
}

.grat-quote-card {
    flex-shrink: 0;
    width: 340px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 14px;
    padding: 28px;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
    position: relative;
}

.grat-quote-card:hover {
    background: rgba(255,255,255,0.12);
}

.grat-zoom-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}

.grat-zoom-btn:hover {
    background: rgba(255,255,255,0.2);
    color: #C4D600;
}

.grat-zoom-btn svg {
    width: 16px;
    height: 16px;
}

/* ── Popup Modal ── */
.grat-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.grat-modal-overlay.active {
    display: flex;
}

.grat-modal {
    background: #fff;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.25);
    animation: gratModalIn 0.25s ease-out;
}

@keyframes gratModalIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.grat-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #E4E5E4;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background 0.2s;
}

.grat-modal-close:hover {
    background: #d0d1d0;
}

.grat-modal-quote {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    margin-bottom: 24px;
}

.grat-modal-quote::before {
    content: '\201C';
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #C4D600;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.grat-modal-footer {
    border-top: 1px solid #E4E5E4;
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.grat-modal-author {
    font-weight: 700;
    color: #00426A;
    font-size: 0.95rem;
}

.grat-modal-date {
    color: #707372;
    font-size: 0.85rem;
}

.grat-quote-text {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}

.grat-quote-text::before {
    content: '\201C';
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #C4D600;
    display: block;
    line-height: 1;
    margin-bottom: 4px;
}

.grat-quote-author {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.grat-quote-date {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    margin-left: 8px;
}

/* ── Responsive ── */
@media (max-width: 990px) {
    .gratitude-hero {
        min-height: 0;
        background-image: none;
        padding: 0 0 48px;
        display: block;
        text-align: center;
        padding-bottom: 0;
    }
    .gratitude-hero::before {
        content: '';
        position: relative;
        display: block;
        inset: auto;
        width: 100%;
        height: 40dvh;
        background: var(--grat-hero-img) center/cover no-repeat;
        margin-bottom: 0px;
    }
    .gratitude-hero-inner {
        padding: 0 20px;
        margin: 0 auto;
    }
    .gratitude-hero p {
        color: #00426A;
        text-shadow: none;
    }
    h1.gratitude-thankyou {
        font-size: 110px;
    }
}

@media (max-width: 768px) {
    .grat-feedback-cards {
        grid-template-columns: 1fr;
    }
    .grat-section {
        padding: 56px 20px;
    }
    h1.gratitude-thankyou {
        font-size: 90px;
    }
}
