/* ==========================================================================
   Home sections rendered below the navigation (CMS static blocks via widget)
   1. .rs-usp   — amber trust / USP strip
   2. .rs-hero  — dark navy hero
   Brand palette: amber #F5A800 · navy #12233f / #0f1c33
   Container matches header: width: min(1360px, calc(100% - 32px))
   ========================================================================== */
.cms-home .widget.block.block-static-block {
    margin-bottom: 0;
}
.rs-container {
    width: min(1360px, calc(100% - 32px));
    margin: 0 auto;
}

/* --------------------------------------------------------------------------
   1. USP / trust strip
   -------------------------------------------------------------------------- */
.rs-usp {
    width: 100%;
    background: #F5A800;
    color: #0C1E35;
    font-family: "Lato-Regular", sans-serif;
}

.rs-usp__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
}

.rs-usp__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex: 1 1 auto;
    padding: 10px 18px;
    font-size: 13px !important;
    font-weight: 700;
    white-space: nowrap;
    position: relative;
    margin-bottom: 0;
}

/* thin divider between items */
.rs-usp__item + .rs-usp__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: rgba(18, 35, 63, 0.25);
}

.rs-usp__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.rs-usp__icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* --------------------------------------------------------------------------
   2. Hero
   -------------------------------------------------------------------------- */
.rs-hero {
    width: 100%;
    position: relative;
    background:
        radial-gradient(120% 90% at 82% 8%, rgba(245, 168, 0, 0.10) 0%, rgba(245, 168, 0, 0) 55%),
        linear-gradient(160deg, #0f1c33 0%, #14264a 55%, #101d36 100%);
    color: #fff;
    font-family: "Lato-Regular", sans-serif;
    overflow: hidden;
}

.rs-hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    padding: 56px 0 60px;
}

.rs-hero__content {
    max-width: 560px;
}

/* eyebrow badge */
.rs-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border: 1px solid rgba(245, 168, 0, 0.45);
    border-radius: 999px;
    background: rgba(245, 168, 0, 0.08);
    color: #F5A800;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rs-hero__badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #F5A800;
}

.rs-hero__title {
    margin: 22px 0 0;
    font-size: 60px;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    text-transform: capitalize;
}

.rs-hero__title .rs-hero__accent {
    color: #F5A800;
    position: relative;
    white-space: nowrap;
}

.rs-hero__title .rs-hero__accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 3px;
    background: #F5A800;
    border-radius: 2px;
}

.rs-hero__text {
    margin: 20px 0 0;
    font-size: 18px;
    line-height: 1.6;
    color: #c3ccdb;
}

/* actions */
.rs-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.rs-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 22px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.rs-btn svg {
    width: 16px;
    height: 16px;
}

.rs-btn--primary {
    background: #F5A800;
    color: #0C1E35;
}

.rs-btn--primary:hover {
    background: #f6c700;
    color: #12233f;
}

.rs-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.rs-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.rs-hero__or {
    color: #8b98ad;
    font-size: 14px;
}

.rs-hero__call {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #dfe5ee;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.rs-hero__call:hover {
    color: #F5A800;
}

.rs-hero__call svg {
    width: 15px;
    height: 15px;
}

/* stats */
.rs-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 42px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.rs-stat__value {
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.rs-stat__value span {
    color: #F5A800;
}

.rs-stat__label {
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.4;
    color: #93a0b4;
}

/* hero visual card */
.rs-hero__visual {
    position: relative;
}

.rs-hero__card {
    position: relative;
    border-radius: 18px;
    min-height: 380px;
    background:
        radial-gradient(90% 70% at 50% 30%, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 60%),
        linear-gradient(160deg, #16294a 0%, #0f1f3b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* optional real image: add <img> or set --rs-hero-image */
.rs-hero__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rs-hero__placeholder {
    text-align: center;
    color: rgba(255, 255, 255, 0.18);
}

.rs-hero__placeholder svg {
    width: 90px;
    height: 90px;
    margin: 0 auto 14px;
    display: block;
}

.rs-hero__placeholder-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    line-height: 1.5;
}

/* floating chip top-right */
.rs-hero__chip {
    position: absolute;
    top: 26px;
    right: 22px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    background: #fff;
    color: #12233f;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 12px 26px -12px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

.rs-hero__chip svg {
    width: 14px;
    height: 14px;
    color: #F5A800;
}

/* quote-builder footer card inside the visual */
.rs-hero__quote {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(11, 22, 40, 0.82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.rs-hero__quote-icon {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    background: rgba(245, 168, 0, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #F5A800;
}

.rs-hero__quote-icon svg {
    width: 20px;
    height: 20px;
}

.rs-hero__quote-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.rs-hero__quote-text {
    font-size: 12px;
    color: #fff;
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .rs-hero__inner {
        grid-template-columns: 1fr;
        gap: 36px;
        padding: 40px 0 44px;
    }

    .rs-hero__title {
        font-size: 40px;
    }

    .rs-hero__content {
        max-width: none;
    }
}

@media (max-width: 767px) {
    .rs-usp__list {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .rs-usp__list::-webkit-scrollbar {
        display: none;
    }

    .rs-usp__item {
        flex: 0 0 auto;
    }

    .rs-hero__title {
        font-size: 32px;
    }

    .rs-hero__stats {
        gap: 26px;
    }

    .rs-stat {
        flex: 1 0 40%;
    }

    .rs-hero__actions {
        gap: 12px;
    }

    .rs-btn {
        flex: 1 1 auto;
        justify-content: center;
    }
}

/* ==========================================================================
   3. Stats + accreditations bar   (.rs-stats)
   4. Quick action cards           (.rs-actions)
   ========================================================================== */

/* --------------------------------------------------------------------------
   3. Stats / accreditations bar
   -------------------------------------------------------------------------- */
.rs-stats {
    width: 100%;
    background: #fff;
    border-bottom: 1px solid #e6ebf2;
    font-family: "Lato-Regular", sans-serif;
}

.rs-stats__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px 40px;
    padding: 22px 0;
}

.rs-stats__metrics {
    display: flex;
    align-items: center;
}

.rs-metric {
    display: flex;
    align-items: center;
    gap: 13px;
    border-right: 1px solid #DDE3EC;
    padding-left: 26px;
    padding-right: 28px;
}

.rs-metric__icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rs-metric__icon svg {
    width: 20px;
    height: 20px;
}

.rs-metric__icon--blue  { background: #E5EDFA; color: #2f6fe4; }
.rs-metric__icon--green { background: #E4F5EC; color: #1f9d57; }
.rs-metric__icon--amber { background: #fdf1d8; color: #d69412; }

.rs-metric__value {
    display: block;
    font-size: 22px;
    font-weight: 800;
    color: #0C1E35;
    line-height: 1.1;
}


.rs-metric__label {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: #6a7688;
    line-height: 1.3;
}


.rs-stats__accred-label {
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7A8CA0;
}

.rs-accred {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rs-accred__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #dde3ec;
    border-radius: 7px;
    background: #fff;
    font-size: 11px !important
    font-weight: 700;
    color: #3D4F63;
    white-space: nowrap;
    margin-bottom: 0;
}

.rs-accred__item svg {
    width: 13px;
    height: 13px;
    color: #7c879a;
}

.rs-accred__item--check {
    border-color: #cfe7d7;
    color: #1f9d57;
}

.rs-accred__item--check svg { color: #1f9d57; }

/* --------------------------------------------------------------------------
   4. Quick action cards
   -------------------------------------------------------------------------- */
.rs-actions {
    width: 100%;
    background: #f6f8fb;
    font-family: "Lato-Regular", sans-serif;
    padding: 44px 0;
}

.rs-actions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.rs-action-card {
    --rs-accent: #F5A800;
    --rs-accent-soft: #fdf1d8;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 26px 24px;
    background: #fff;
    border: 1px solid #e4e9f1;
    border-top: 3px solid var(--rs-accent);
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 10px 30px -22px rgba(16, 29, 54, 0.55);
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.rs-action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -24px rgba(16, 29, 54, 0.6);
}

/* featured card = full accent outline */
.rs-action-card--featured {
    border-color: var(--rs-accent);
}

.rs-action-card--amber { --rs-accent: #F5A800; --rs-accent-soft: #fdf1d8; }
.rs-action-card--blue  { --rs-accent: #1f4b9b; --rs-accent-soft: #e8effb; }
.rs-action-card--green { --rs-accent: #1f9d57; --rs-accent-soft: #e6f6ec; }

.rs-action-card__icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: var(--rs-accent-soft);
    color: var(--rs-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.rs-action-card__icon svg {
    width: 22px;
    height: 22px;
}

.rs-action-card__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    color: #0C1E35;
}

.rs-action-card__text {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.55;
    color: #6a7688;
}

.rs-action-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 700;
    color: var(--rs-accent);
}

.rs-action-card__link svg {
    width: 15px;
    height: 15px;
    transition: transform 0.2s ease;
}

.rs-action-card:hover .rs-action-card__link svg {
    transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Responsive — stats bar + cards
   -------------------------------------------------------------------------- */
@media (max-width: 991px) {
    .rs-actions__grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .rs-stats__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .rs-stats__metrics {
        gap: 16px 32px;
    }

    .rs-metric__value {
        font-size: 20px;
    }
}
