/* =====================================================
   KRADEON CSR PAGE
   File: assets/css/csr.css
   ===================================================== */

.csr-page {
    overflow-x: hidden;
    background: #ffffff;
}

/* ---------------- HERO ---------------- */

.csr-page-hero {
    min-height: 560px;
    background:
        radial-gradient(circle at 82% 22%, rgba(247, 147, 30, 0.22), transparent 29%),
        radial-gradient(circle at 14% 82%, rgba(122, 15, 46, 0.28), transparent 31%),
        linear-gradient(135deg, rgba(6, 27, 79, 0.98), rgba(3, 58, 150, 0.91));
}

.csr-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent);
    pointer-events: none;
}

.csr-page-hero .inner-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
}

.csr-page-hero h1 {
    max-width: 760px;
}

.csr-page-hero p {
    max-width: 780px;
}

/* ---------------- INTRO ---------------- */

.csr-intro-section {
    position: relative;
    z-index: 4;
    margin-top: -68px;
    padding: 0 0 86px;
}

.csr-intro-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 34px;
    align-items: center;
    padding: 44px 48px;
    border: 1px solid rgba(3, 58, 150, 0.09);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 28px 70px rgba(6, 27, 79, 0.15);
}

.csr-intro-icon {
    width: 112px;
    height: 112px;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, rgba(3, 58, 150, 0.12), rgba(122, 15, 46, 0.1));
    color: var(--brand-blue);
    font-size: 44px;
    box-shadow: inset 0 0 0 1px rgba(3, 58, 150, 0.08);
}

.csr-intro-card .section-eyebrow {
    margin-bottom: 10px;
}

.csr-intro-card h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.csr-intro-card p {
    max-width: 930px;
    color: var(--grey-500);
    line-height: 1.88;
}

/* ---------------- ALTERNATING STORY BLOCKS ---------------- */

.csr-stories {
    position: relative;
}

.csr-story-section {
    position: relative;
    padding: 92px 0;
    overflow: hidden;
    background: #ffffff;
}

.csr-story-section.section-alt {
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.csr-story-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    right: -190px;
    top: 80px;
    border: 1px solid rgba(3, 58, 150, 0.08);
    pointer-events: none;
}

.csr-story-section.section-alt::before {
    right: auto;
    left: -190px;
    border-color: rgba(122, 15, 46, 0.08);
}

.csr-story-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 76px;
    align-items: center;
}

.csr-story-grid.is-reverse .csr-story-media {
    order: 2;
}

.csr-story-grid.is-reverse .csr-story-content {
    order: 1;
}

.csr-story-media {
    position: relative;
}

.csr-image-frame {
    position: relative;
    min-height: 430px;
    padding: 13px;
    border-radius: 30px;
    background: #ffffff;
    border: 1px solid rgba(3, 58, 150, 0.1);
    box-shadow: 0 28px 70px rgba(6, 27, 79, 0.15);
}

.csr-image-frame::before {
    content: "";
    position: absolute;
    width: 112px;
    height: 112px;
    left: -24px;
    top: -24px;
    border-radius: 24px;
    background: rgba(122, 15, 46, 0.09);
    z-index: -1;
}

.csr-image-frame::after {
    content: "";
    position: absolute;
    width: 92px;
    height: 92px;
    right: -22px;
    bottom: -22px;
    border-radius: 50%;
    background: rgba(3, 58, 150, 0.09);
    z-index: -1;
}

.csr-image-frame img {
    width: 100%;
    height: 100%;
    min-height: 404px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
}

.csr-image-label {
    position: absolute;
    left: 34px;
    bottom: 34px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 68px);
    padding: 13px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--brand-blue-dark);
    font-size: 0.88rem;
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(6, 27, 79, 0.16);
    backdrop-filter: blur(10px);
}

.csr-image-label i {
    color: var(--brand-maroon);
}

.csr-story-content {
    position: relative;
}

.csr-story-number {
    display: block;
    margin-bottom: -8px;
    color: rgba(3, 58, 150, 0.09);
    font-family: var(--font-display);
    font-size: clamp(4rem, 8vw, 6.4rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

.csr-story-content .section-eyebrow {
    margin-bottom: 12px;
}

.csr-story-content h2 {
    margin-bottom: 22px;
    color: var(--brand-blue-dark);
    font-size: clamp(2rem, 3.4vw, 2.85rem);
    line-height: 1.16;
}

.csr-story-content > p {
    color: var(--grey-500);
    line-height: 1.88;
    margin-bottom: 16px;
}

.csr-story-content strong {
    color: var(--brand-blue-dark);
}

.csr-inline-point {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 26px;
    padding: 19px 21px;
    border-left: 4px solid var(--brand-maroon);
    border-radius: 0 14px 14px 0;
    background: rgba(122, 15, 46, 0.055);
    color: var(--brand-blue-dark);
    font-weight: 700;
    line-height: 1.55;
}

.csr-inline-point i {
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-maroon);
    color: #ffffff;
    font-size: 0.7rem;
    margin-top: 1px;
}

.csr-check-list {
    display: grid;
    gap: 13px;
    margin-top: 25px;
}

.csr-check-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--brand-blue-dark);
    font-weight: 700;
}

.csr-check-list i {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-blue);
    color: #ffffff;
    font-size: 0.72rem;
}

.csr-quote-card {
    position: relative;
    margin-top: 28px;
    padding: 30px 30px 30px 74px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
    box-shadow: 0 22px 50px rgba(3, 58, 150, 0.2);
}

.csr-quote-card > i {
    position: absolute;
    left: 27px;
    top: 31px;
    color: rgba(255, 255, 255, 0.22);
    font-size: 31px;
}

.csr-quote-card blockquote {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-display);
    font-size: 1.07rem;
    font-weight: 700;
    line-height: 1.75;
}

/* ---------------- IMPACT SUMMARY ---------------- */

.csr-impact-section {
    position: relative;
    padding: 108px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(122, 15, 46, 0.18), transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(247, 147, 30, 0.14), transparent 28%),
        linear-gradient(135deg, #061b4f 0%, #033a96 100%);
}

.csr-impact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.csr-impact-section .container {
    position: relative;
    z-index: 2;
}

.csr-impact-section .section-eyebrow,
.csr-impact-section .section-title,
.csr-impact-section .section-lead {
    color: #ffffff;
}

.csr-impact-section .section-eyebrow::before {
    background: var(--accent-orange);
}

.csr-impact-section .section-lead {
    color: rgba(255, 255, 255, 0.78);
}

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

.csr-impact-card {
    min-height: 250px;
    padding: 32px 26px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.09);
    color: #ffffff;
    backdrop-filter: blur(13px);
    transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.csr-impact-card:hover {
    transform: translateY(-7px);
    background: rgba(255, 255, 255, 0.14);
}

.csr-impact-card > i {
    width: 58px;
    height: 58px;
    margin-bottom: 25px;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-maroon);
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 13px 30px rgba(0, 0, 0, 0.18);
}

.csr-impact-card h3 {
    margin-bottom: 11px;
    color: #ffffff;
    font-size: 1.18rem;
}

.csr-impact-card p {
    color: rgba(255, 255, 255, 0.77);
    line-height: 1.72;
}

/* ---------------- FINAL CTA ---------------- */

.csr-final-cta {
    padding: 72px 0;
    background: #ffffff;
}

.csr-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    padding: 42px 46px;
    border-radius: 24px;
    border: 1px solid rgba(3, 58, 150, 0.1);
    background:
        linear-gradient(135deg, rgba(3, 58, 150, 0.055), rgba(122, 15, 46, 0.045));
    box-shadow: 0 18px 45px rgba(3, 58, 150, 0.09);
}

.csr-final-cta-inner span {
    display: block;
    margin-bottom: 8px;
    color: var(--brand-maroon);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.csr-final-cta-inner h2 {
    max-width: 720px;
    color: var(--brand-blue-dark);
    font-size: clamp(1.8rem, 3vw, 2.55rem);
}

/* ---------------- RESPONSIVE ---------------- */

@media (max-width: 1100px) {
    .csr-story-grid {
        gap: 52px;
    }

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

@media (max-width: 991px) {
    .csr-page-hero {
        min-height: 500px;
    }

    .csr-intro-section {
        margin-top: -42px;
        padding-bottom: 68px;
    }

    .csr-intro-card {
        grid-template-columns: 84px minmax(0, 1fr);
        gap: 25px;
        padding: 34px;
        border-radius: 22px;
    }

    .csr-intro-icon {
        width: 84px;
        height: 84px;
        border-radius: 22px;
        font-size: 34px;
    }

    .csr-story-section {
        padding: 72px 0;
    }

    .csr-story-grid {
        grid-template-columns: 1fr;
        gap: 43px;
    }

    .csr-story-grid.is-reverse .csr-story-media,
    .csr-story-grid.is-reverse .csr-story-content {
        order: initial;
    }

    .csr-story-media {
        order: 1 !important;
    }

    .csr-story-content {
        order: 2 !important;
    }

    .csr-image-frame {
        min-height: 390px;
    }

    .csr-image-frame img {
        min-height: 364px;
    }

    .csr-impact-section {
        padding: 86px 0;
    }

    .csr-final-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .csr-page-hero {
        min-height: 460px;
    }

    .csr-intro-section {
        margin-top: -28px;
        padding-bottom: 52px;
    }

    .csr-intro-card {
        grid-template-columns: 1fr;
        padding: 28px 24px;
    }

    .csr-intro-icon {
        width: 68px;
        height: 68px;
        border-radius: 18px;
        font-size: 28px;
    }

    .csr-story-section {
        padding: 58px 0;
    }

    .csr-image-frame {
        min-height: 310px;
        padding: 9px;
        border-radius: 23px;
    }

    .csr-image-frame img {
        min-height: 292px;
        border-radius: 17px;
    }

    .csr-image-label {
        left: 22px;
        bottom: 22px;
        max-width: calc(100% - 44px);
        padding: 11px 15px;
        white-space: normal;
    }

    .csr-story-number {
        margin-bottom: -2px;
    }

    .csr-story-content h2 {
        margin-bottom: 17px;
    }

    .csr-quote-card {
        padding: 64px 24px 25px;
    }

    .csr-quote-card > i {
        left: 24px;
        top: 24px;
    }

    .csr-impact-grid {
        grid-template-columns: 1fr;
    }

    .csr-impact-card {
        min-height: auto;
    }

    .csr-final-cta {
        padding: 52px 0;
    }

    .csr-final-cta-inner {
        padding: 31px 24px;
        border-radius: 20px;
    }

    .csr-final-cta-inner .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .csr-page-hero {
        min-height: 430px;
    }

    .csr-image-frame {
        min-height: 270px;
    }

    .csr-image-frame img {
        min-height: 252px;
    }

    .csr-image-label {
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .csr-impact-card,
    .csr-page * {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
