#primary.site-main.cecip-home,
#content.site-main.cecip-home,
.site-main.cecip-home {
    width: 100%;
    max-width: none;
    margin: 0;
    margin-top: calc(var(--home-header-offset) * -1);
    padding: 0;
}

.cecip-home {
    --home-navy: #112e4f;
    --home-blue: #3370a6;
    --home-blue-deep: #1e4f86;
    --home-kicker: #3e768c;
    --home-text: #272727;
    --home-muted: #5d7f9a;
    --home-safety: #b3becf;
    --home-cost: #aadaff;
    --home-wrap: 1180px;
    --home-header-offset: 110px;
    background: #fff;
    color: var(--home-text);
    font-family: "Poppins", sans-serif;
    overflow-x: clip;
}

.cecip-home *,
.cecip-home *::before,
.cecip-home *::after {
    box-sizing: border-box;
}

.cecip-home h1,
.cecip-home h2,
.cecip-home h3,
.cecip-home p {
    margin: 0;
}

.cecip-home img {
    max-width: 100%;
    display: block;
}

.cecip-home a {
    color: inherit;
    text-decoration: none;
}

.home-wrap {
    width: min(var(--home-wrap), calc(100% - 3rem));
    margin-inline: auto;
}

.cecip-home a.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 22px;
    border-radius: 999px;
    background: var(--home-navy);
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cecip-home a.home-button:hover,
.cecip-home a.home-button:focus-visible {
    background: var(--home-blue);
    color: #fff;
}

.home-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    height: 507px;
    min-height: 507px;
    max-height: 507px;
    padding: 0 0 2.75rem;
    color: #fff;
    isolation: isolate;
    box-sizing: border-box;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-color: #8ea8bc;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(17, 46, 79, 0.55) 0%, rgba(17, 46, 79, 0.18) 48%, rgba(17, 46, 79, 0.05) 100%),
        rgba(0, 0, 0, 0.18);
}

.home-hero h1 {
    max-width: 34rem;
    font-size: clamp(1.3rem, 2vw, 1.75rem);
    font-weight: 400;
    line-height: 1.35;
    text-shadow: 0 8px 24px rgba(17, 46, 79, 0.28);
}

.home-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
    color: var(--home-navy);
    border-bottom: 1px solid rgba(17, 46, 79, 0.08);
}

.home-stats__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    padding: 1.6rem 1.5rem;
}

.home-stats__item:first-child {
    border-right: 1px solid rgba(17, 46, 79, 0.12);
}

.home-stats__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    color: var(--home-blue);
    font-size: 1.7rem;
}

.home-stats__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 11rem;
}

.home-stats__label,
.home-stats__value,
.home-stats__caption {
    text-transform: uppercase;
}

.home-stats__value {
    color: var(--home-navy);
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 600;
    line-height: 1;
}

.home-stats__label {
    margin-top: 0.2rem;
    color: var(--home-blue);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.home-stats__caption {
    margin-top: 0.15rem;
    color: var(--home-muted);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.home-about {
    padding: 6.25rem 0;
    background: #fff;
}

.home-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.home-kicker {
    margin-bottom: 0.35rem;
    color: var(--home-kicker);
    font-size: 1.125rem;
    font-weight: 600;
}

.home-about h2 {
    margin-bottom: 1rem;
    color: var(--home-blue);
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-about__copy p:last-of-type {
    max-width: 38rem;
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    line-height: 1.55;
}

.home-about__figure img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.home-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.home-pillars__item {
    padding: 4rem clamp(1.5rem, 5vw, 6.5rem);
    text-align: center;
}

.home-pillars__item i {
    margin-bottom: 0.8rem;
    font-size: 2.4rem;
}

.home-pillars__item h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.15rem, 1.5vw, 1.45rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.25;
    text-transform: uppercase;
}

.home-pillars__item p {
    font-size: 1rem;
    line-height: 1.5;
}

.home-pillars__item--safety {
    background: var(--home-safety);
    color: var(--home-navy);
}

.home-pillars__item--cost {
    background: var(--home-cost);
    color: var(--home-navy);
}

.home-pillars__item--care {
    background: var(--home-navy);
    color: #fff;
}

.home-areas {
    padding: 5.5rem 0;
    background: var(--home-blue);
    color: #fff;
}

.home-areas__head {
    max-width: 40rem;
    margin: 0 auto 2.25rem;
    text-align: center;
}

.home-areas h2 {
    margin-bottom: 0.85rem;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.home-areas__head p {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.5;
}

.home-areas__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-area-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    min-width: 0;
    min-height: 158px;
    padding: 1.35rem 0.85rem;
    border-radius: 18px;
    background: #fff;
    color: var(--home-navy);
    text-align: center;
    box-shadow: 0 12px 28px rgba(17, 46, 79, 0.14);
}

.home-area-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--home-blue);
    font-size: 1.85rem;
}

.home-area-card h3 {
    max-width: 100%;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.3;
    overflow-wrap: break-word;
    text-transform: uppercase;
}

.home-studies {
    padding: 5.5rem 0;
    background-color: #f7fafc;
    background-image: url("../img/home-dots.svg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
}

.home-studies__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.home-studies h2 {
    margin-bottom: 1rem;
    color: var(--home-blue);
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-studies__copy > p {
    max-width: 38rem;
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.55;
}

.home-studies__points {
    display: grid;
    gap: 0.7rem;
    margin: 0 0 1.6rem;
    padding: 0;
    list-style: none;
}

.home-studies__points li {
    position: relative;
    padding-left: 1.7rem;
    color: var(--home-navy);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.home-studies__points li::before {
    content: "";
    position: absolute;
    top: 0.45em;
    left: 0;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 50%;
    background: var(--home-blue);
}

.home-studies__figure img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 16px;
    object-fit: cover;
}

.home-reviews {
    padding: 5.5rem 0;
    background: #fcfcfc;
    text-align: center;
}

.home-reviews h2,
.home-partners h2 {
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.home-reviews h2 {
    margin-bottom: 1.75rem;
    color: #1a1a1a;
}

.home-reviews__widget {
    text-align: initial;
}

.home-partners {
    padding: 4.5rem 0 5rem;
    background: #fff;
    text-align: center;
}

.home-partners h2 {
    margin-bottom: 2rem;
    color: var(--home-blue);
}

.home-marquee {
    overflow: hidden;
}

.home-marquee__track {
    display: flex;
    width: max-content;
    animation: home-marquee 42s linear infinite;
}

.home-marquee:hover .home-marquee__track {
    animation-play-state: paused;
}

.home-marquee__group {
    display: flex;
    align-items: center;
    gap: 3.5rem;
    padding-right: 3.5rem;
}

.home-marquee img {
    width: auto;
    height: 110px;
    object-fit: contain;
}

@keyframes home-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .home-areas__cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-pillars__item {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 767px) {
    .home-wrap {
        width: min(var(--home-wrap), calc(100% - 2rem));
    }

    .home-hero {
        height: 420px;
        min-height: 420px;
        max-height: 420px;
        padding-bottom: 1.75rem;
    }

    .home-hero h1 {
        max-width: none;
        font-size: 1.25rem;
    }

    .home-stats,
    .home-about__grid,
    .home-studies__grid,
    .home-pillars {
        grid-template-columns: 1fr;
    }

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

    .home-area-card {
        min-height: 148px;
        padding: 1.1rem 0.7rem;
    }

    .home-area-card h3 {
        font-size: 0.78rem;
        letter-spacing: 0.02em;
    }

    .home-stats__item {
        justify-content: flex-start;
        width: min(18.5rem, 100%);
        margin-inline: auto;
        padding-inline: 0.25rem;
    }

    .home-stats__item:first-child {
        border-right: 0;
        border-bottom: 1px solid rgba(17, 46, 79, 0.12);
    }

    .home-stats__body {
        min-width: 0;
    }

    .home-about,
    .home-areas,
    .home-studies,
    .home-reviews,
    .home-partners {
        padding: 3.5rem 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-marquee__track {
        animation: none;
    }
}
