/**
 * Home landing — editorial portal layout (homepage only)
 */

/* Full-width content below site header */
#top-banner-and-menu.outer-top-xs {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
#top-banner-and-menu .margin-l-r {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: none !important;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE SHELL
   ═══════════════════════════════════════════════════════════════ */
.hp-page {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    background: linear-gradient(165deg, #faf9f7 0%, #f0f4f8 45%, #eef1f6 100%);
    color: #1a1a2e;
    font-family: "Mulish", sans-serif;
    scroll-behavior: smooth;
}

/* ═══════════════════════════════════════════════════════════════
   SHARED TYPO
   ═══════════════════════════════════════════════════════════════ */
.hp-kicker {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #01a6fd;
    margin: 0 0 16px;
}

.hp-kicker--dark {
    color: #212158;
    opacity: 0.55;
}

/* ═══════════════════════════════════════════════════════════════
   HERO / INTRO
   ═══════════════════════════════════════════════════════════════ */
.hp-intro {
    position: relative;
    padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 48px) clamp(56px, 7vw, 88px);
    overflow: hidden;
}

/* Brand gradient stripe */
.hp-intro__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #212158 0%, #e34212 50%, #0f7ab0 100%);
    z-index: 2;
}

/* Soft decorative glow behind mosaic */
.hp-intro::before {
    content: '';
    position: absolute;
    top: 10%;
    right: -5%;
    width: min(55vw, 620px);
    height: min(55vw, 620px);
    background: radial-gradient(circle, rgba(1, 166, 253, 0.12) 0%, transparent 68%);
    pointer-events: none;
}

.hp-intro__inner {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: clamp(36px, 5vw, 72px);
    align-items: center;
}

.hp-intro__copy {
    background: #fff;
    border-radius: 20px;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid rgba(33, 33, 88, 0.08);
    box-shadow: 0 16px 48px rgba(33, 33, 88, 0.08);
}

.hp-intro__copy h1 {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #212158;
    margin: 0 0 20px;
}

.hp-title-highlight {
    display: block;
    margin-top: 6px;
    background: linear-gradient(135deg, #212158 0%, #0f7ab0 55%, #01a6fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hp-lead {
    font-size: clamp(1rem, 1.6vw, 1.13rem);
    line-height: 1.75;
    color: #475569;
    margin: 0 0 24px;
}

.hp-quote {
    margin: 0 0 24px;
    padding: 16px 18px;
    border-left: 4px solid #e34212;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(90deg, rgba(227, 66, 18, 0.07) 0%, transparent 100%);
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    font-weight: 700;
    font-style: italic;
    color: #212158;
    line-height: 1.45;
}

.hp-values {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-values li {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #212158;
    padding: 7px 14px;
    background: #f0f4f8;
    border: 1px solid rgba(33, 33, 88, 0.1);
    border-radius: 99px;
}

.hp-scroll-hint {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #212158;
    text-decoration: none !important;
    padding: 12px 20px;
    background: #212158;
    color: #fff !important;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.hp-scroll-hint:hover {
    background: #01a6fd;
    transform: translateY(-2px);
}

.hp-scroll-hint i {
    animation: hpBounce 1.6s ease-in-out infinite;
}

@keyframes hpBounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(4px); }
}

/* Photo mosaic */
.hp-intro__mosaic {
    position: relative;
    min-height: 460px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.15fr 1fr;
    gap: 16px;
}

.hp-mosaic__item {
    position: relative;
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(33, 33, 88, 0.16);
    border: 4px solid #fff;
}

.hp-mosaic__item img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hp-mosaic__item:hover img {
    transform: scale(1.05);
}

.hp-mosaic__label {
    position: absolute;
    left: 14px;
    bottom: 14px;
    margin: 0;
    padding: 6px 14px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(33, 33, 88, 0.75);
    border-radius: 99px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hp-mosaic__item--1 {
    grid-column: 1 / 3;
    grid-row: 1;
    min-height: 240px;
}
.hp-mosaic__item--1 .hp-mosaic__label {
    background: rgba(33, 33, 88, 0.82);
}

.hp-mosaic__item--2 {
    grid-column: 1;
    grid-row: 2;
    min-height: 200px;
}
.hp-mosaic__item--2 .hp-mosaic__label {
    background: rgba(227, 66, 18, 0.88);
}

.hp-mosaic__item--3 {
    grid-column: 2;
    grid-row: 2;
    min-height: 200px;
}
.hp-mosaic__item--3 .hp-mosaic__label {
    background: rgba(15, 122, 176, 0.88);
}

/* Floating stat badge */
.hp-mosaic__badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #fff;
    border: 4px solid #212158;
    box-shadow: 0 12px 36px rgba(33, 33, 88, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    pointer-events: none;
}

.hp-mosaic__badge strong {
    font-family: "Mulish", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #212158;
    line-height: 1;
}

.hp-mosaic__badge span {
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1.35;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   PATH CARDS
   ═══════════════════════════════════════════════════════════════ */
.hp-paths {
    background: #f0f2f8;
    padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 48px);
    border-top: none;
    box-shadow: none;
}

.hp-paths__inner {
    max-width: 1320px;
    margin: 0 auto;
}

.hp-paths__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.hp-paths__header h2 {
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 900;
    color: #212158;
    margin: 0 0 14px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hp-paths__header p {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
    font-weight: 600;
}

.hp-paths__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 32px);
}

/* Full-card clickable tile */
.hp-path-card {
    --hp-accent: #212158;
    display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
    border: 4px solid var(--hp-accent);
    box-shadow:
        0 8px 32px rgba(33, 33, 88, 0.14),
        0 0 0 0 var(--hp-accent);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    min-height: clamp(340px, 42vw, 480px);
}

.hp-path-card:hover,
.hp-path-card:focus-visible {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 28px 64px rgba(33, 33, 88, 0.22);
    outline: none;
}

.hp-path-card__visual {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.hp-path-card__visual img {
    width: 100%;
    height: 100%;
    min-height: clamp(340px, 42vw, 480px);
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.hp-path-card:hover .hp-path-card__visual img {
    transform: scale(1.08);
}

/* Brand-tinted gradient overlay */
.hp-path-card__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(24px, 3vw, 36px);
    pointer-events: none;
}

.hp-path-card:nth-child(1) .hp-path-card__overlay {
    background: linear-gradient(to top, rgba(33, 33, 88, 0.94) 0%, rgba(33, 33, 88, 0.5) 48%, transparent 72%);
}
.hp-path-card:nth-child(2) .hp-path-card__overlay {
    background: linear-gradient(to top, rgba(227, 66, 18, 0.94) 0%, rgba(227, 66, 18, 0.5) 48%, transparent 72%);
}
.hp-path-card:nth-child(3) .hp-path-card__overlay {
    background: linear-gradient(to top, rgba(15, 122, 176, 0.94) 0%, rgba(15, 122, 176, 0.5) 48%, transparent 72%);
}

.hp-path-card__chip {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px 14px;
    border-radius: 99px;
    margin-bottom: 14px;
    backdrop-filter: blur(4px);
}

.hp-path-card__overlay h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 900;
    color: #fff;
    margin: 0 0 10px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hp-path-card__overlay p {
    font-size: clamp(0.88rem, 1.2vw, 1rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
    margin: 0;
    max-width: 28ch;
    font-weight: 500;
}

/* Corner arrow — hint only, not a separate link */
.hp-path-card__go {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #fff;
    color: var(--hp-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
    pointer-events: none;
}

.hp-path-card:hover .hp-path-card__go {
    transform: scale(1.12);
    background: var(--hp-accent);
    color: #fff;
}

/* Site footer sits below landing content */
footer .footer-area-section {
    margin-top: 0;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
    .hp-intro__inner {
        grid-template-columns: 1fr;
    }

    .hp-intro__mosaic {
        min-height: 380px;
        max-width: 560px;
        margin: 0 auto;
        order: -1;
    }

    .hp-intro__copy {
        order: 1;
    }

    .hp-mosaic__badge {
        width: 80px;
        height: 80px;
    }

    .hp-mosaic__badge strong {
        font-size: 1.6rem;
    }

    .hp-paths__grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .hp-path-card {
        min-height: 320px;
    }

    .hp-path-card__visual img {
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .hp-intro__mosaic {
        min-height: 320px;
        gap: 12px;
    }

    .hp-mosaic__item--1 {
        min-height: 180px;
    }

    .hp-mosaic__item--2,
    .hp-mosaic__item--3 {
        min-height: 140px;
    }

    .hp-mosaic__badge {
        width: 72px;
        height: 72px;
    }

    .hp-scroll-hint {
        width: 100%;
        justify-content: center;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .hp-paths__grid {
        gap: 22px;
    }
}
