/* ==========================================================
   CARE'S CORNER CHILDCARE
   LOCAL VOUCHER PAGE
========================================================== */

.voucher-page {
    background: #fffdf9;
}

.voucher-breadcrumb {
    padding: 20px 0;
    background: #fff9f2;
    border-bottom: 1px solid #eadfd7;
}

.voucher-breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: #725e55;
    font-size: .82rem;
}

.voucher-breadcrumb li + li::before {
    margin-right: 8px;
    color: #b59f94;
    content: "/";
}

.voucher-breadcrumb a {
    color: #725e55;
    text-decoration: none;
}

.voucher-breadcrumb a:hover {
    color: #167a98;
}

.voucher-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 92px;
    background:
        radial-gradient(circle at 8% 18%, rgba(244, 197, 66, .2), transparent 24%),
        linear-gradient(135deg, #fff9f2 0%, #eef9ec 52%, #e9f9fc 100%);
}

.voucher-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: center;
    gap: 64px;
}

.voucher-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    color: #167a98;
    font-family: var(--font-heading);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.voucher-eyebrow::before {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f4c542;
    box-shadow: 0 0 0 6px rgba(244, 197, 66, .18);
    content: "";
}

.voucher-hero h1 {
    max-width: 760px;
    margin: 0 0 22px;
    color: #4a2d20;
    font-size: clamp(2.5rem, 5.5vw, 4.9rem);
}

.voucher-hero__lead {
    max-width: 700px;
    margin: 0 0 28px;
    font-size: clamp(1.06rem, 1.7vw, 1.25rem);
    line-height: 1.75;
}

.voucher-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

.voucher-hero__facts li {
    padding: 9px 13px;
    border: 1px solid rgba(22, 122, 152, .18);
    border-radius: 999px;
    color: #365965;
    background: rgba(255, 255, 255, .72);
    font-size: .82rem;
    font-weight: 800;
}

.voucher-hero__media {
    position: relative;
}

.voucher-hero__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    display: block;
    object-fit: cover;
    border: 10px solid #fff;
    border-radius: 42% 58% 45% 55% / 48% 42% 58% 52%;
    box-shadow: 0 28px 70px rgba(74, 45, 32, .16);
}

.voucher-hero__badge {
    position: absolute;
    right: -12px;
    bottom: 24px;
    max-width: 220px;
    padding: 16px 18px;
    border-radius: 18px;
    color: #4a2d20;
    background: #fff;
    box-shadow: 0 16px 42px rgba(74, 45, 32, .17);
    font-family: var(--font-heading);
    font-size: .9rem;
    font-weight: 900;
    line-height: 1.35;
}

.voucher-section {
    padding: 92px 0;
}

.voucher-section--soft {
    background: #f4fbfc;
}

.voucher-section--warm {
    background: #fff9f2;
}

.voucher-section__intro {
    max-width: 780px;
    margin-bottom: 42px;
}

.voucher-section h2 {
    margin: 0 0 18px;
    color: #4a2d20;
}

.voucher-section__intro p,
.voucher-copy p {
    font-size: 1.06rem;
    line-height: 1.8;
}

.voucher-answer {
    display: grid;
    grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
    align-items: center;
    gap: 48px;
    padding: 42px;
    border: 1px solid #d9ebef;
    border-radius: 30px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.voucher-answer__yes {
    display: grid;
    place-items: center;
    min-height: 210px;
    border-radius: 24px;
    color: #2f211b;
    background: linear-gradient(145deg, #fff3c8, #f4ca55);
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
}

.voucher-answer h2 {
    margin-bottom: 16px;
}

.voucher-answer p {
    margin: 0 0 16px;
    font-size: 1.08rem;
    line-height: 1.8;
}

.voucher-answer__note {
    padding: 14px 16px;
    border-left: 4px solid #73c66b;
    border-radius: 8px;
    background: #eef9ec;
    font-size: .92rem !important;
}

.voucher-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.voucher-card {
    padding: 28px;
    border: 1px solid #e6efec;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(23, 59, 72, .07);
}

.voucher-card__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: 14px;
    color: #167a98;
    background: #e9f9fc;
    font-size: 1.15rem;
}

.voucher-card:nth-child(2n) .voucher-card__icon {
    color: #4f7d3f;
    background: #eef9ec;
}

.voucher-card:nth-child(3n) .voucher-card__icon {
    color: #8b6b13;
    background: #fff8de;
}

.voucher-card h3 {
    margin: 0 0 12px;
    color: #4a2d20;
    font-size: 1.22rem;
}

.voucher-card p {
    margin: 0;
    line-height: 1.7;
}

.voucher-card a {
    color: #167a98;
    font-weight: 800;
}

.voucher-card a:hover,
.voucher-card a:focus-visible {
    color: #4a2d20;
}

.voucher-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 58px;
}

.voucher-checks {
    display: grid;
    gap: 14px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.voucher-checks li {
    position: relative;
    padding-left: 30px;
    color: #526e77;
    line-height: 1.65;
}

.voucher-checks li::before {
    position: absolute;
    top: 1px;
    left: 0;
    color: #568a62;
    font-weight: 900;
    content: "✓";
}

.voucher-inline-cta {
    margin-top: 30px;
}

.voucher-faq {
    display: grid;
    gap: 14px;
    max-width: 900px;
}

.voucher-faq details {
    border: 1px solid #dcebed;
    border-radius: 18px;
    background: #fff;
}

.voucher-faq summary {
    position: relative;
    padding: 21px 56px 21px 22px;
    color: #4a2d20;
    font-family: var(--font-heading);
    font-weight: 900;
    cursor: pointer;
    list-style: none;
}

.voucher-faq summary::-webkit-details-marker {
    display: none;
}

.voucher-faq summary::after {
    position: absolute;
    top: 50%;
    right: 22px;
    color: #167a98;
    font-size: 1.3rem;
    content: "+";
    transform: translateY(-50%);
}

.voucher-faq details[open] summary::after {
    content: "−";
}

.voucher-faq p {
    margin: 0;
    padding: 0 22px 22px;
    line-height: 1.75;
}

.voucher-page .final-cta {
    scroll-margin-top: 90px;
}

.voucher-page .floating-care-request {
    text-decoration: none;
}

.site-footer__list a {
    color: inherit;
    text-decoration-color: rgba(244, 202, 85, .55);
    text-underline-offset: 3px;
}

.site-footer__list a:hover {
    color: #fff;
}

@media (max-width: 980px) {
    .voucher-hero__grid,
    .voucher-answer,
    .voucher-split {
        grid-template-columns: 1fr;
    }

    .voucher-hero__content {
        order: 1;
    }

    .voucher-hero__media {
        order: 2;
        width: min(100%, 660px);
        margin-inline: auto;
    }

    .voucher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .voucher-answer__yes {
        min-height: 150px;
    }
}

@media (max-width: 700px) {
    .voucher-hero {
        padding: 60px 0 72px;
    }

    .voucher-hero__grid {
        gap: 42px;
    }

    .voucher-hero h1 {
        font-size: clamp(2.35rem, 12vw, 3.5rem);
    }

    .voucher-hero__badge {
        right: 8px;
        bottom: 12px;
        max-width: 190px;
    }

    .voucher-section {
        padding: 72px 0;
    }

    .voucher-grid {
        grid-template-columns: 1fr;
    }

    .voucher-answer {
        gap: 28px;
        padding: 24px;
    }
}

@media (max-width: 430px) {
    .voucher-hero__facts {
        align-items: stretch;
        flex-direction: column;
    }

    .voucher-hero__facts li {
        text-align: center;
    }

    .voucher-hero__image {
        border-width: 7px;
    }

    .voucher-hero__badge {
        position: static;
        max-width: none;
        margin: 14px 8px 0;
        text-align: center;
    }

    .voucher-card {
        padding: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .voucher-page *,
    .voucher-page *::before,
    .voucher-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
